mlGradle和配置副本林

时间:2016-08-01 20:31:23

标签: marklogic marklogic-8 ml-gradle

有没有人有关于使用mlGradle配置副本林的任何示例?我查看了我可以从mlGradle项目中找到的示例。

https://github.com/rjrudin/ml-gradle/tree/master/examples/sample-project/src/main/ml-config/forests https://github.com/rjrudin/ml-gradle/tree/master/examples/failover-project

ML管理文档。

https://github.com/rjrudin/ml-gradle/tree/master/examples/failover-project

但我不知道如何为自己的森林配置它。我尝试使用mlDeployForestReplicas,但没有看到任何副本创建。

1 个答案:

答案 0 :(得分:1)

mlDeployForestReplicas提供了一种添加副本的简单方法。对自定义林+副本的支持是ml-gradle版本2.3.0 - 它是通过此票证提供的 - https://github.com/rjrudin/ml-gradle/issues/111

您可以在ml-app-deployer中查看它的外观 - https://github.com/rjrudin/ml-app-deployer/tree/dev/src/test/resources/sample-app/custom-forests/forests/sample-app-content

有一个2.3.0-RC1版本的ml-gradle,它有这种支持。我将完成2.3.0并在ml-gradle中包含一个示例项目。