Re: [MarkLogic Dev General] Good Way to Automatical

2018-01-22 Thread Geert Josten
I just wanted to mention you also have manage rest api to setup CPF: http://docs.marklogic.com/REST/management/content-processing-framework-(cpf ) Which is leveraged by ml-gradle for deployment of CPF: https://github.com/marklogic-community/ml-gradle/tree/625e3aaadeb58dfa9f040 46a31234b33724b4134/

Re: [MarkLogic Dev General] Good Way to Automatical

2018-01-22 Thread Eliot Kimber
I've taken the Admin install CPF script and reworked it as a function library and removed the code related to default domains (I don't want default domains in any case). What's left includes code to set up the pipelines and triggers, as described in the CPF Configuration chapter. *But* It als

Re: [MarkLogic Dev General] Good Way to Automatical

2018-01-22 Thread Mary Holstege
There isn't a single API that orchestrates all the pieces, but there are APIs do do all the necessary parts in the pipelines and domains modules. These should be executed against your triggers database. If you share a triggers database, you don't need to do it all over again. p:insert to pu

[MarkLogic Dev General] Good Way to Automatical

2018-01-22 Thread Eliot Kimber
I'm putting together a script that will do all the configuration for a server all the way through defining a FlexRep app server, domains, and targets. The requirement is avoid the need for any manual intervention once the configuration is started. The one fly in this ointment is the CPF--since