Is there a CLI argument or parameter to deploy configuration of a particular database instead of deploying all the database configurations under src/main/ml-config/databases?
e.g. when I use the gradle mlDeployDatabases
command, it deploys all the database configurations.
I am looking for an argument like -PmlDatabaseName=Database1
that lets me deploy just the Database1 DB.
gradle mlDeployDatabases -PmlDatabaseName=Database1
There are a couple of properties that can be used to either include or exclude resource files:
https://github.com/marklogic-community/ml-gradle/wiki/Property-reference#other-resource-properties
If your "Database1" file was "Database1.json", then something like: