Hi Loren, Open rest-api/config/properties.xml in some text editor, and remove or comment out the line:
<update-policy>merge-metadata</update-policy> Must have been added in ML8+. It is hard to track such subtle changes, and compensate or warn about them all from within Roxy. Would be worth a ticket though at https://github.com/marklogic/roxy/issues Cheers, Geert From: <[email protected]<mailto:[email protected]>> on behalf of Loren Cahlander <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Tuesday, March 28, 2017 at 4:33 PM To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Subject: [MarkLogic Dev General] Roxy rest deployment error to MarkLogic 7.0-2.3 on RedHat 5.1 I am in the process of introducing roxy to my client. They are currently running MarkLogic 7.0-2.3 on RedHat 5.1. When I try to deploy modules to the server, I get the following error: client-search lcahlander$ ./ml dev deploy modules Loaded 0 documents from /Users/lcahlander/IdeaProjects/client-search/src to 192.168.56.101:9020/client-search-modules at 03/28/2017 09:59:52 am Loading REST properties in /Users/lcahlander/IdeaProjects/client-search/rest-api/config/properties.xml ERROR: 400 "Bad Request" ERROR: <rapi:error xmlns:rapi="http://marklogic.com/rest-api"><rapi:status-code>400</rapi:status-code><rapi:status>Bad Request</rapi:status><rapi:message-code>RESTAPI-INVALIDCONTENT</rapi:message-code><rapi:message>RESTAPI-INVALIDCONTENT: (err:FOER0000) Invalid content: Property specification invalid: update-policy invalid property name </rapi:message></rapi:error> I created a VirtualBox copy with CentOS 5.1 and MarkLogic 7.0-2.3 and will make it available to MarkLogic employees. I used the latest roxy on my local machine to create client-search. ./ml new client-search --server-version=7 --branch=master --app-type=rest The bootstrap went file, but the deploy modules gave the very same error. The dev.properties is: user=admin password=mladmin dev-server=192.168.56.101 app-port=9022 xcc-port=9020 server-version=7 # path to your local mlcp shell mlcp-home=/Users/lcahlander/Library/mlcp-8.0-5/bin/mlcp.sh The client is going to be upgrading the RedHat 7 and MarkLogic 8, so this error will most likely be moot, but I thought that I should report it. - Loren
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
