2
votes

I have a MarkLogic 7 database and I can install Content Processing Framework from the Admin Interface. After installing CPF I can load a Pipeline from file system and link it with a Domain.

I can perform the above mentioned operations from the Admin Interface BUT I need a way to deploy the CPF pipeline that I have created along with the CPF action modules.

Is there any way to install and deploy the CPF pipeline with some kind of deployment script?

2

2 Answers

2
votes

you will find scripting examples here

http://docs.marklogic.com/guide/admin-api/cpf

upcoming versions of MarkLogic will allow one to do this 100% with REST calls to management api

2
votes

Worth mentioning here too is Roxy. It has a very good deployment mechanism, capable of deploying against multiple versions of MarkLogic. It also provides means to configure, deploy, and remove CPF from an installation:

https://github.com/marklogic/roxy/wiki/Working-with-CPF

It runs on top of Ruby, but you can create a jar out of it as well..

HTH!