Skip to content

Commit

Permalink
Adding in missing user configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuang-ml authored and aebadirad committed Oct 24, 2019
1 parent 7edfb04 commit 58bc83d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
16 changes: 8 additions & 8 deletions examples/custom-tokens/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,27 +39,27 @@ mlPassword=admin
# mlAdminPort=8001
# mlManagePort=8002

mlStagingAppserverName=data-hub-STAGING-custom-tokens-test-database
mlStagingAppserverName=data-hub-STAGING
mlStagingPort=8010
mlStagingDbName=data-hub-STAGING-custom-tokens-test-database
mlStagingDbName=data-hub-STAGING
mlStagingForestsPerHost=4
mlStagingAuth=digest

mlFinalAppserverName=data-hub-FINAL-custom-tokens-test-database
mlFinalAppserverName=data-hub-FINAL
mlFinalPort=8011
mlFinalDbName=data-hub-FINAL-custom-tokens-test-database
mlFinalDbName=data-hub-FINAL
mlFinalForestsPerHost=4
mlFinalAuth=digest

mlTraceAppserverName=data-hub-TRACING-custom-tokens-test-database
mlTraceAppserverName=data-hub-TRACING
mlTracePort=8012
mlTraceDbName=data-hub-TRACING-custom-tokens-test-database
mlTraceDbName=data-hub-TRACING
mlTraceForestsPerHost=1
mlTraceAuth=digest

mlJobAppserverName=data-hub-JOBS-custom-tokens-test-database
mlJobAppserverName=data-hub-JOBS
mlJobPort=8013
mlJobDbName=data-hub-JOBS-custom-tokens-test-database
mlJobDbName=data-hub-JOBS
mlJobForestsPerHost=1
mlJobAuth=digest

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"database-name": "%%TEST_DATABASE_NAME%%"
}
14 changes: 14 additions & 0 deletions examples/custom-tokens/user-config/servers/test-server.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"server-name": "%%TEST_SERVER_NAME%%",
"server-type": "http",
"root": "/",
"group-name": "%%GROUP%%",
"port": "%%TEST_SERVER_PORT%%",
"modules-database": "%%mlModulesDbName%%",
"content-database": "%%TEST_DATABASE_NAME%%",
"authentication": "%%TEST_TRACE_AUTH%%",
"default-error-format": "json",
"error-handler": "/MarkLogic/rest-api/error-handler.xqy",
"url-rewriter": "/MarkLogic/rest-api/rewriter.xml",
"rewrite-resolves-globally": true
}

0 comments on commit 58bc83d

Please sign in to comment.