
The SSL mechanism relies on the JVM truststore. Finally, insert the module in database, like: return xdmp:document-insert("", text, $permissions).Declare a variable containing right permissions to execute module, like: let $permissions := ( xdmp:permission("", "execute") ).Declare a variable containing the content of xqy file, like: let $module := '.'.You can use the qconsole to insert properly modules in the modules database, you can access it here: Below the steps to insert modules:
SET UP A WEBDAV SERVER FOR MARKLOGIC UPDATE
These modules are used to update documents, lock/unlock them or search them (NXQL search).Ī module is basically a regular document stored in the module database, here nuxeo-modules. The MarkLogic connector needs some modules in order to properly work. Under Security/Users, create a new user to use in MarkLogic connector to access to your database through XDBC app server.Ĭhoose a username and password, and add nuxeo-reader and nuxeo-writer in Roles section. Default permissions: add nuxeo-reader with read capability, nuxeo-writer with update capability and nuxeo-writer with insert capability.Execute Privileges: any-collection, any-uri, xdbc:insert, xdbc:insert-in.Execute Privileges: xdbc:eval, xdbc:eval-in, xdbc:invoke, xdbc:invoke-in, xdbc:spawn, xdbc:spawn-in, xdmp:value, xdmp:with-namespaces.In order to secure your database access, you can create new roles to protect it. Select the nuxeo-modules database in the modules input.Select the nuxeo database in the database input.Choose a server name and a port (for example 8010).You need to create a new XDBC App Server linked to the nuxeo database and nuxeo-modules modules, as described in the MarkLogic documentation.

By convention we use nuxeo-modules as modules database. You can achieve that with MarkLogic administration GUI under Databases.īy default Nuxeo stores its information in the database nuxeo. One for documents and another one for modules. In order to run Nuxeo on MarkLogic, you need to have two databases. It can be installed like any other package with nuxeoctl command line or from the Marketplace. This addon requires no specific installation steps.

The Nuxeo Platform supports the following MarkLogic version: This addon is deprecated since Nuxeo Platform LTS 2019.ĭocument-Based Storage is an architectural abstraction in the Nuxeo Platform that allows the storage of documents in a document-oriented store, for instance NoSQL databases.
