marklogic-community / roxy

Deployment tool for MarkLogic applications. Also provides optional unit test and XQuery MVC structure
Other
87 stars 66 forks source link

ML Version 9 - Unable to deploy Modules using Roxy 1.7.7 #894

Open Basheer-Ahmed opened 5 years ago

Basheer-Ahmed commented 5 years ago

Thank you for submitting an issue!

If this is a bug, please use the bug template below. If this is an enhancement request, please use the RFE template below. Before submitting your issue, please do us a favor and search currently open issues. If your issue already exists, please make a comment there advocating your issue be addressed sooner.

Bug Template

The issue

Short description of the problem:

What are the steps to reproduce the problem?

  1. One
  2. Two
  3. Three

Tech Specs

Which Operating System are you using?

Which version of MarkLogic are you using?

Which version of Roxy are you using (see version.txt)?

RFE Template

The RFE

Short description of the problem:

Your business use case. How much time would this save you? Can you currently work around this missing feature?

Timeframe : How urgently do you feel you need this RFE addressed? Why?

Basheer-Ahmed commented 5 years ago

We have recently migrated to ML 9. We are currently testing the ML 9 in one of our AWS DEV Server. I have bootstrapped my project using roxy 1.7.7 and see no issues but when I try to deploy the modules, I am receiving the below error. It fails while registering the REST Extensions.

Loading REST extensions from C:/Users/basheer_mohammed/Desktop/ML_Platts/Ahmed/G it_Hub/ContentServices_MarkLogic/rest-api/ext

ERROR: 500 "Internal Server Error" ERROR: {"Platts":{"Error":{"Status":"400 : badRequest", "Code":"RESTAPI-INVALIDC ONTENT", "Desc":"RESTAPI-INVALIDCONTENT: (err:FOER0000) Invalid content: invalid alerting extension: could not parse XQuery extension alerting; please see the s erver error log for detail XDMP-UNDFUN: (err:XPST0017) Undefined function entity :add-entity-prefix(); alerting either is not a valid module or does not provide extension functions (delete, get, put, post) in the http://marklogic.com/rest-ap i/resource/alerting namespace"}}}

Is it because the functions in entity.xqy of MarkLogic has been changed to private?