marklogicworkflow
marklogicworkflow copied to clipboard
MBO Package for downloading as a dependency
To allow MarkLogic XQuery developers to create a new MarkLogic Workflow based project by issuing a Gradle-ml command. Rob Rudin.
Act in a similar manner to the ml-unit-test - eg:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.marklogic:ml-workflow-client:0.11.1"
}
}
@eouthwaite @luisjmart The comment above differs from the original description. The comment above shows an example of MW (marklogicworkflow) being packaged up and distributed via the jcenter repository. And specifically, the comment above implies the existence of a Java client for talking to the MW REST endpoints (which may be a useful thing to have if it doesn't exist already).
I think the first thing you'd want to do is copy the build.gradle file for ml-unit-test, which shows how to package up and distribute the ml-unit-test modules into a jar that's deployed to jcenter. A developer could then include ML in their ml-gradle project via:
dependencies {
mlRestApi "com.marklogic:ml-workflow:(some version number)"
}
Requires documentation
https://github.com/features/package-registry ?