-
Notifications
You must be signed in to change notification settings - Fork 1
Building
To build the MarkLogic Monitoring app from source, clone the Github repository:
git clone https://github.com/marklogic-community/marklogic-monitoring-for-splunk.git
and run this command from the top-level folder:
./gradlew build -x generateLookups -x appInspect
The generateLookups task will retrieve the latest set of MarkLogic features and error codes to generate Splunk lookups with the latest information published to the MarkLogic website, which requires a local MarkLogic instance in order to eval some XQuery to fetch and parse the information from http://docs.marklogic.com.
mlHost=localhost
mlRestPort=8000
mlUsername=admin
mlPassword=admin
You can override any of the default connection properties for your local MarkLogic instance by adding entries to your ~/.gradle/gradle.properties
, or by specifying on on commandline:
The appInspect task will validate the application using the Splunk AppInspector. You will need to specify your Splunk credentials. You can set these project properties using commandline switches:
./gradlew build -PappInspectorUsername=myUsername -PappInspectorPassword=myPassword
or you can add the properties to your ~/.gradle/gradle.properties
appInspectorUsername=myUsername
appInspectorPassword=myPassword
and then you can run the build with AppInspector validation:
./gradlew build