Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 65b5445

Browse files
committed
#129 migrate deployment to gradle w/o tests
1 parent 66aec0e commit 65b5445

File tree

163 files changed

+881
-54050
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+881
-54050
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ eclipse/org.eclipse.bpmn2.modeler.runtime.jboss.jbpm5
55
shtests/*-out.txt
66
shtests/output.log
77
.idea/*
8+
..iml
9+
gradle/.gradle

gradle/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
plugins {
2+
id "net.saliman.properties" version "1.4.6"
3+
id "com.marklogic.ml-gradle" version "3.8.1"
4+
}

gradle/gradle.properties

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# Roxy properties that were mapped to ml-gradle properties
2+
mlAppName=workflow
3+
mlRestPort=8040
4+
mlRestAdminPassword=5cPeht38`|NU32OX_?+H
5+
mlRestAuthentication=digest
6+
mlContentDatabaseName=${app-name}-content
7+
mlContentForestsPerHost=1
8+
mlGroupName=Default
9+
mlModulesDatabaseName=${app-name}-modules
10+
mlPassword=admin
11+
mlTestRestPort=8042
12+
mlUsername=admin
13+
14+
# Added automatically by ml-gradle under the assumption that a Roxy application defines all of the app servers that it needs
15+
# and thus doesn't need ml-gradle to automatically create a REST API server for it.
16+
mlNoRestServer=true
17+
18+
# All other Roxy properties
19+
xquery.dir=${basedir}/src
20+
controller-ext=xqy
21+
mlGroupName=Default
22+
app-type=rest
23+
rest-options.dir=${basedir}/rest-api/config
24+
data.dir=${basedir}/data
25+
config.file=${basedir}/deploy/ml-config.xml
26+
triggers.file=${basedir}/deploy/triggers-config.xml
27+
schemas.dir=${basedir}/schemas
28+
schemas.root=/
29+
mlUsername=admin
30+
mlPassword=admin
31+
mlAppName=workflow
32+
modules-root=/
33+
modules-prefix=/
34+
app-role=${app-name}-role
35+
mlContentDatabaseName=${app-name}-content
36+
mlModulesDatabaseName=${app-name}-modules
37+
app-modules-db=${modules-db}
38+
mlContentForestsPerHost=1
39+
do-not-deploy-tests=prod
40+
xquery-test.dir=${basedir}/src/test
41+
bootstrap-port-five=8002
42+
bootstrap-port-four=8000
43+
qconsole-port=8000
44+
load-html-as-xml=false
45+
load-js-as-binary=false
46+
load-css-as-binary=true
47+
mlRestPort=8040
48+
xcc-port=8041
49+
install-xcc=true
50+
use-https=false
51+
use-https-for-rest=false
52+
mlRestAuthentication=digest
53+
default-user=${app-name}-user
54+
xdbc-authentication-method=digest
55+
url-rewriter=/MarkLogic/rest-api/rewriter.xml
56+
error-handler=/MarkLogic/rest-api/error-handler.xqy
57+
environments=local,dev,prod
58+
wipe_environments=local
59+
server-version=9
60+
local-server=localhost
61+
mlcp-home=/usr/local/mlcp
62+
mlcp-vmargs=-Xmx512m
63+
mlcp-user=${user}
64+
mlcp-password=${password}
65+
evaler-port=7998
66+
system-dbs=App-Services,Documents,Extensions,Fab,Last-Login,Meters,Modules,Schemas,Security,Triggers
67+
http.retry-count=3
68+
http.open-timeout=5
69+
http.read-timeout=300
70+
http.retry-delay=15
71+
application-conf-file=src/app/config/config.xqy
72+
verify_retry_max=5
73+
verify_retry_interval=10
74+
pipeline-config-file=${basedir}/deploy/pipeline-config.xml
75+
test-content-db=${app-name}-content-test
76+
test-modules-db=${app-name}-modules
77+
mlTestRestPort=8042
78+
triggers-db=${app-name}-triggers
79+
mlRestAdminPassword=5cPeht38`|NU32OX_?+H
80+
rest-ext.dir=${basedir}/rest-api/ext
81+
rest-transforms.dir=${basedir}/rest-api/transforms
82+
rewrite-resolves-globally=true
83+
save-commit-info=false
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
{
2+
"database-name" : "workflow-content-test",
3+
"security-database" : "Security",
4+
"schema-database" : "Schemas",
5+
"triggers-database" : "workflow-triggers",
6+
"enabled" : true,
7+
"data-encryption" : "off",
8+
"encryption-key-id" : "",
9+
"retired-forest-count" : 0,
10+
"language" : "en",
11+
"stemmed-searches" : "basic",
12+
"word-searches" : false,
13+
"word-positions" : false,
14+
"fast-phrase-searches" : true,
15+
"fast-reverse-searches" : false,
16+
"triple-index" : false,
17+
"triple-positions" : false,
18+
"fast-case-sensitive-searches" : true,
19+
"fast-diacritic-sensitive-searches" : true,
20+
"fast-element-word-searches" : true,
21+
"element-word-positions" : false,
22+
"fast-element-phrase-searches" : true,
23+
"element-value-positions" : false,
24+
"attribute-value-positions" : false,
25+
"field-value-searches" : false,
26+
"field-value-positions" : false,
27+
"three-character-searches" : false,
28+
"three-character-word-positions" : false,
29+
"fast-element-character-searches" : false,
30+
"trailing-wildcard-searches" : false,
31+
"trailing-wildcard-word-positions" : false,
32+
"fast-element-trailing-wildcard-searches" : false,
33+
"two-character-searches" : false,
34+
"one-character-searches" : false,
35+
"uri-lexicon" : true,
36+
"collection-lexicon" : true,
37+
"reindexer-enable" : true,
38+
"reindexer-throttle" : 5,
39+
"reindexer-timestamp" : 0,
40+
"directory-creation" : "manual",
41+
"maintain-last-modified" : false,
42+
"maintain-directory-last-modified" : false,
43+
"inherit-permissions" : false,
44+
"inherit-collections" : false,
45+
"inherit-quality" : false,
46+
"in-memory-limit" : 108544,
47+
"in-memory-list-size" : 213,
48+
"in-memory-tree-size" : 53,
49+
"in-memory-range-index-size" : 7,
50+
"in-memory-reverse-index-size" : 7,
51+
"in-memory-triple-index-size" : 28,
52+
"in-memory-geospatial-region-index-size" : 7,
53+
"large-size-threshold" : 1024,
54+
"locking" : "fast",
55+
"journaling" : "fast",
56+
"journal-size" : 426,
57+
"journal-count" : 2,
58+
"preallocate-journals" : false,
59+
"preload-mapped-data" : false,
60+
"preload-replica-mapped-data" : false,
61+
"range-index-optimize" : "facet-time",
62+
"positions-list-max-size" : 256,
63+
"format-compatibility" : "automatic",
64+
"index-detection" : "automatic",
65+
"expunge-locks" : "none",
66+
"tf-normalization" : "scaled-log",
67+
"merge-priority" : "lower",
68+
"merge-max-size" : 32768,
69+
"merge-min-size" : 1024,
70+
"merge-min-ratio" : 2,
71+
"merge-timestamp" : 0,
72+
"retain-until-backup" : false,
73+
"range-element-attribute-index" : [ {
74+
"scalar-type" : "string",
75+
"parent-namespace-uri" : "http://marklogic.com/workflow",
76+
"parent-localname" : "process",
77+
"namespace-uri" : "",
78+
"localname" : "id",
79+
"collation" : "http://marklogic.com/collation/",
80+
"range-value-positions" : false,
81+
"invalid-values" : "ignore"
82+
}, {
83+
"scalar-type" : "string",
84+
"parent-namespace-uri" : "http://marklogic.com/workflow",
85+
"parent-localname" : "attachment",
86+
"namespace-uri" : "",
87+
"localname" : "uri",
88+
"collation" : "http://marklogic.com/collation/",
89+
"range-value-positions" : false,
90+
"invalid-values" : "ignore"
91+
} ],
92+
"field" : [ {
93+
"field-name" : "",
94+
"include-root" : true
95+
} ],
96+
"database-replication" : null,
97+
"rebalancer-enable" : true,
98+
"rebalancer-throttle" : 5,
99+
"assignment-policy" : {
100+
"assignment-policy-name" : "bucket"
101+
}
102+
}
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
{
2+
"database-name" : "workflow-content",
3+
"security-database" : "Security",
4+
"schema-database" : "Schemas",
5+
"triggers-database" : "workflow-triggers",
6+
"enabled" : true,
7+
"data-encryption" : "off",
8+
"encryption-key-id" : "",
9+
"retired-forest-count" : 0,
10+
"language" : "en",
11+
"stemmed-searches" : "basic",
12+
"word-searches" : false,
13+
"word-positions" : false,
14+
"fast-phrase-searches" : true,
15+
"fast-reverse-searches" : false,
16+
"triple-index" : false,
17+
"triple-positions" : false,
18+
"fast-case-sensitive-searches" : true,
19+
"fast-diacritic-sensitive-searches" : true,
20+
"fast-element-word-searches" : true,
21+
"element-word-positions" : false,
22+
"fast-element-phrase-searches" : true,
23+
"element-value-positions" : false,
24+
"attribute-value-positions" : false,
25+
"field-value-searches" : false,
26+
"field-value-positions" : false,
27+
"three-character-searches" : false,
28+
"three-character-word-positions" : false,
29+
"fast-element-character-searches" : false,
30+
"trailing-wildcard-searches" : false,
31+
"trailing-wildcard-word-positions" : false,
32+
"fast-element-trailing-wildcard-searches" : false,
33+
"two-character-searches" : false,
34+
"one-character-searches" : false,
35+
"uri-lexicon" : true,
36+
"collection-lexicon" : true,
37+
"reindexer-enable" : true,
38+
"reindexer-throttle" : 5,
39+
"reindexer-timestamp" : 0,
40+
"directory-creation" : "manual",
41+
"maintain-last-modified" : false,
42+
"maintain-directory-last-modified" : false,
43+
"inherit-permissions" : false,
44+
"inherit-collections" : false,
45+
"inherit-quality" : false,
46+
"in-memory-limit" : 108544,
47+
"in-memory-list-size" : 213,
48+
"in-memory-tree-size" : 53,
49+
"in-memory-range-index-size" : 7,
50+
"in-memory-reverse-index-size" : 7,
51+
"in-memory-triple-index-size" : 28,
52+
"in-memory-geospatial-region-index-size" : 7,
53+
"large-size-threshold" : 1024,
54+
"locking" : "fast",
55+
"journaling" : "fast",
56+
"journal-size" : 426,
57+
"journal-count" : 2,
58+
"preallocate-journals" : false,
59+
"preload-mapped-data" : false,
60+
"preload-replica-mapped-data" : false,
61+
"range-index-optimize" : "facet-time",
62+
"positions-list-max-size" : 256,
63+
"format-compatibility" : "automatic",
64+
"index-detection" : "automatic",
65+
"expunge-locks" : "none",
66+
"tf-normalization" : "scaled-log",
67+
"merge-priority" : "lower",
68+
"merge-max-size" : 32768,
69+
"merge-min-size" : 1024,
70+
"merge-min-ratio" : 2,
71+
"merge-timestamp" : 0,
72+
"retain-until-backup" : false,
73+
"range-element-attribute-index" : [ {
74+
"scalar-type" : "string",
75+
"parent-namespace-uri" : "http://marklogic.com/workflow",
76+
"parent-localname" : "process",
77+
"namespace-uri" : "",
78+
"localname" : "id",
79+
"collation" : "http://marklogic.com/collation/",
80+
"range-value-positions" : false,
81+
"invalid-values" : "ignore"
82+
}, {
83+
"scalar-type" : "string",
84+
"parent-namespace-uri" : "http://marklogic.com/workflow",
85+
"parent-localname" : "attachment",
86+
"namespace-uri" : "",
87+
"localname" : "uri",
88+
"collation" : "http://marklogic.com/collation/",
89+
"range-value-positions" : false,
90+
"invalid-values" : "ignore"
91+
} ],
92+
"field" : [ {
93+
"field-name" : "",
94+
"include-root" : true
95+
} ],
96+
"database-replication" : null,
97+
"rebalancer-enable" : true,
98+
"rebalancer-throttle" : 5,
99+
"assignment-policy" : {
100+
"assignment-policy-name" : "bucket"
101+
}
102+
}
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"database-name" : "workflow-modules",
3+
"security-database" : "Security",
4+
"schema-database" : "Schemas",
5+
"enabled" : true,
6+
"data-encryption" : "off",
7+
"encryption-key-id" : "",
8+
"retired-forest-count" : 0,
9+
"language" : "en",
10+
"stemmed-searches" : "off",
11+
"word-searches" : false,
12+
"word-positions" : false,
13+
"fast-phrase-searches" : false,
14+
"fast-reverse-searches" : false,
15+
"triple-index" : false,
16+
"triple-positions" : false,
17+
"fast-case-sensitive-searches" : false,
18+
"fast-diacritic-sensitive-searches" : false,
19+
"fast-element-word-searches" : false,
20+
"element-word-positions" : false,
21+
"fast-element-phrase-searches" : false,
22+
"element-value-positions" : false,
23+
"attribute-value-positions" : false,
24+
"field-value-searches" : false,
25+
"field-value-positions" : false,
26+
"three-character-searches" : false,
27+
"three-character-word-positions" : false,
28+
"fast-element-character-searches" : false,
29+
"trailing-wildcard-searches" : false,
30+
"trailing-wildcard-word-positions" : false,
31+
"fast-element-trailing-wildcard-searches" : false,
32+
"two-character-searches" : false,
33+
"one-character-searches" : false,
34+
"uri-lexicon" : true,
35+
"collection-lexicon" : false,
36+
"reindexer-enable" : true,
37+
"reindexer-throttle" : 5,
38+
"reindexer-timestamp" : 0,
39+
"directory-creation" : "automatic",
40+
"maintain-last-modified" : false,
41+
"maintain-directory-last-modified" : false,
42+
"inherit-permissions" : false,
43+
"inherit-collections" : false,
44+
"inherit-quality" : false,
45+
"in-memory-limit" : 108544,
46+
"in-memory-list-size" : 213,
47+
"in-memory-tree-size" : 53,
48+
"in-memory-range-index-size" : 7,
49+
"in-memory-reverse-index-size" : 7,
50+
"in-memory-triple-index-size" : 28,
51+
"in-memory-geospatial-region-index-size" : 7,
52+
"large-size-threshold" : 1024,
53+
"locking" : "fast",
54+
"journaling" : "fast",
55+
"journal-size" : 426,
56+
"journal-count" : 2,
57+
"preallocate-journals" : false,
58+
"preload-mapped-data" : false,
59+
"preload-replica-mapped-data" : false,
60+
"range-index-optimize" : "facet-time",
61+
"positions-list-max-size" : 256,
62+
"format-compatibility" : "automatic",
63+
"index-detection" : "automatic",
64+
"expunge-locks" : "none",
65+
"tf-normalization" : "scaled-log",
66+
"merge-priority" : "lower",
67+
"merge-max-size" : 32768,
68+
"merge-min-size" : 1024,
69+
"merge-min-ratio" : 2,
70+
"merge-timestamp" : 0,
71+
"retain-until-backup" : false,
72+
"field" : [ {
73+
"field-name" : "",
74+
"include-root" : true
75+
} ],
76+
"database-replication" : null,
77+
"rebalancer-enable" : true,
78+
"rebalancer-throttle" : 5,
79+
"assignment-policy" : {
80+
"assignment-policy-name" : "bucket"
81+
}
82+
}

0 commit comments

Comments
 (0)