Marklogic rest resource extension deployment -


is there way modify xquery module & deploy multiple rest extensions on http server? rest resource name should unique each developer can test xquery module changes on dev machine.

the problem using curl resource name should match namespace in xquery module.

curl --anyauth --user : -x put -h "content-type: application/xquery" -d@"./dev-search.xqy" "http://host:port/v1/config/resources/dev-search-v4?title=retrieval interface&version=1.0&provider=marklogic&description=this module returns marklogic document&method=get"

it sounds have multiple developers using same http application server on same marklogic instance test code writing it. think that's problem should solve.

first, having each developer use local copy of marklogic. if that's not option, i'd set each developer separate application server , content database (with small subset of data). each developer can deploy whatever , whenever or wants.

once developer happy set of changes, can checked git (or whatever) , deployed (automatically, using jenkins, instance) integration server.

you can use roxy deployer manage multi-environment deployments this.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -