Skip to content

Commit 078d348

Browse files
committed
MLE-24733 - Setup temporal and LSQT
My most recent run only had a single failing test.
1 parent c6c2d9e commit 078d348

File tree

9 files changed

+111
-1
lines changed

9 files changed

+111
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ test-app/gradle-local.properties
1515
test-app/docker
1616
test-app/containerLogs
1717
test-complete-app/build
18-
test-complete-app/.gradle
18+
test-complete-app/.gradle
19+
test-complete-app-mlDeploy/build
20+
test-complete-app-mlDeploy/.gradle

test-complete-app-mlDeploy/src/main/ml-config/databases/node-client-api-rest-server.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
{
22
"database-name": "node-client-api-rest-server",
33
"schema-database": "Schemas",
4+
"stemmed-searches": "basic",
45
"range-element-index": [
6+
{
7+
"scalar-type": "double",
8+
"namespace-uri": "",
9+
"localname": "amt",
10+
"range-value-positions": false,
11+
"invalid-values": "ignore"
12+
},
513
{
614
"scalar-type": "double",
715
"namespace-uri": "",
@@ -29,6 +37,34 @@
2937
"localname": "datetime",
3038
"range-value-positions": false,
3139
"invalid-values": "ignore"
40+
},
41+
{
42+
"scalar-type": "dateTime",
43+
"namespace-uri": "",
44+
"localname": "systemStartTime",
45+
"range-value-positions": false,
46+
"invalid-values": "ignore"
47+
},
48+
{
49+
"scalar-type": "dateTime",
50+
"namespace-uri": "",
51+
"localname": "systemEndTime",
52+
"range-value-positions": false,
53+
"invalid-values": "ignore"
54+
},
55+
{
56+
"scalar-type": "dateTime",
57+
"namespace-uri": "",
58+
"localname": "validStartTime",
59+
"range-value-positions": false,
60+
"invalid-values": "ignore"
61+
},
62+
{
63+
"scalar-type": "dateTime",
64+
"namespace-uri": "",
65+
"localname": "validEndTime",
66+
"range-value-positions": false,
67+
"invalid-values": "ignore"
3268
}
3369
],
3470
"range-path-index": [
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"axis-name": "systemTime",
3+
"axis-start": {
4+
"element-reference": {
5+
"namespace-uri": "",
6+
"localname": "systemStartTime",
7+
"scalar-type": "dateTime"
8+
}
9+
},
10+
"axis-end": {
11+
"element-reference": {
12+
"namespace-uri": "",
13+
"localname": "systemEndTime",
14+
"scalar-type": "dateTime"
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"axis-name": "validTime",
3+
"axis-start": {
4+
"element-reference": {
5+
"namespace-uri": "",
6+
"localname": "validStartTime",
7+
"scalar-type": "dateTime"
8+
}
9+
},
10+
"axis-end": {
11+
"element-reference": {
12+
"namespace-uri": "",
13+
"localname": "validEndTime",
14+
"scalar-type": "dateTime"
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"collection-name": "temporalCollection",
3+
"system-axis": "systemTime",
4+
"valid-axis": "validTime",
5+
"option": [ "updates-safe" ]
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"collection-name": "temporalCollectionLsqt",
3+
"system-axis": "systemTime",
4+
"valid-axis": "validTime",
5+
"option": [ "updates-safe" ]
6+
}

test-complete-app-mlDeploy/src/main/ml-config/databases/nodeOpticFunctionalTest.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"fast-element-trailing-wildcard-searches": true,
55
"two-character-searches": true,
66
"one-character-searches": true,
7+
"triple-index": true,
78
"uri-lexicon": true,
9+
"collection-lexicon": true,
810
"range-element-index": [
911
{
1012
"scalar-type": "string",
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"role-name": "rest-temporal-writer",
3+
"description": "REST writer with temporal privileges",
4+
"role": [
5+
"rest-writer"
6+
],
7+
"privilege": [
8+
{
9+
"privilege-name": "temporal-statement-set-system-time",
10+
"action": "http://marklogic.com/xdmp/privileges/temporal-statement-set-system-time",
11+
"kind": "execute"
12+
},
13+
{
14+
"privilege-name": "temporal-document-protect",
15+
"action": "http://marklogic.com/xdmp/privileges/temporal-document-protect",
16+
"kind": "execute"
17+
},
18+
{
19+
"privilege-name": "temporal-document-wipe",
20+
"action": "http://marklogic.com/xdmp/privileges/temporal-document-wipe",
21+
"kind": "execute"
22+
}
23+
]
24+
}

0 commit comments

Comments
 (0)