marklogic / entity-services

Data modeling and code scaffolding for data integration in MarkLogic
https://docs.marklogic.com/guide/entity-services
Apache License 2.0
7 stars 10 forks source link
data-integration data-modeling javascript marklogic semantics xquery

entity-services

This is the repository for entity services, a feature in MarkLogic 9. Its code is shipped with MarkLogic server, but this repository is used for testing the feature, and also contains examples code.

It contains several sub-projects configured to build with gradle.

Development Prerequisite

To develop with this project, you'll need

Once you have cloned this repository, you'll use this code by making a symbolic link from either:

or

For either method of server development, you'll need to symbolically link

./entity-services/src/main/xdmp/entity-services

to

{MarkLogicdirectory}/Modules/MarkLogic/entity-services

Now, when you import and use entity services code, it will be the copy served from this local checkout.

Setup

To set up a server for running tests,

./gradlew mlDeploy from this directory (/entity-services)

This command takes the configuration at gradle.properties and creates forests, databases and servers for running the tests. It also sets up a separate database and server for examples.