mlxprs | MarkLogic Extension for Visual Studio Code
kandi X-RAY | mlxprs Summary
kandi X-RAY | mlxprs Summary
MarkLogic Extension for Visual Studio Code
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mlxprs
mlxprs Key Features
mlxprs Examples and Code Snippets
Community Discussions
Trending Discussions on mlxprs
QUESTION
MarkLogic Visual Studio Code Extension provides a way to dynamically send the Xquery code to different MarkLogic enviroments by changing mlxps:setting in its header comment block.
However, it does not work if the Xquery will need to refer to other Xquery library files stored on the local drive, as there is no option to set which ML Http server that the Xquery should be evaluated at.
In contrast, if we need to run the same Xquery from QConsole,
Here is the screenshot if I try send it to port 8300 which is the used for that http server form visual studio code.
Any solution for that? Does it mean this mlxprs could only work for Module in Module DB? (This is the same problem for sending Xquery form ml-gradle, as one could not specify which App server the XQuery will be sent to.)
...ANSWER
Answered 2021-Sep-05 at 14:25I think there may be an issue that in order to eval code against the appserver, it needs to use the /v1/eval
endpoint, and that appserver needs to be configured as a REST-API server.
However, configuring the modules database to use the filesystem is not supported for REST API appservers.
The path of least resistance would be to use a modules database and deploy your modules, rather than trying to use the filesystem, but it is an inconvenient limitation.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mlxprs
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page