Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Merging resources

rjrudin edited this page Apr 16, 2019 · 4 revisions

ml-app-deployer 3.14.0 includes support for merging resource files from multiple configuration paths that reference the same resource. This support is initially intended to address the following two use cases:

  1. A Data Hub [https://github.com/marklogic/marklogic-data-hub] application has multiple configuration files for the staging and final databases. Currently, multiple calls are made, one for each file. This can introduce issues if the files have different values for arrays - i.e. if two files for the same database have different sets of range indexes. Making a single call for each database avoids these issues and results in faster deployment times.
  2. To allow for mlBundle dependencies in ml-gradle to contain configuration files that may need to be merged into an application's configuration files - i.e. a bundle may wish to provide some range indexes.

For version 3.14.0, merging is supported for the following resource types:

  • Databases
  • Privileges
  • Roles
  • Scheduled tasks
  • Servers
  • Triggers
  • Users
Clone this wiki locally