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

Building forests

rjrudin edited this page Jun 4, 2018 · 1 revision

Release 3.7.0 introduces a class com.marklogic.appdeployer.command.forests.ForestBuilder that knows how to take a set of inputs and construct a series of primary forests and replica forests based on the inputs.

The class does have a dependency on the AppConfig class, which is why it's in the com.marklogic.appdeployer package and not com.marklogic.mgmt. This dependency could be removed in the future such that the inputs that ForestBuilder looks for in AppConfig or provided directly to ForestBuilder.

To see this class in action, check out the BuildForestTest and BuildForestReplicaTest unit tests (both are true unit tests and require no connection to MarkLogic).

Clone this wiki locally