Skip to content

Commit 66e4be7

Browse files
author
Rob Rudin
committed
Merge branch 'dev'
2 parents 2d14fcf + bd568e2 commit 66e4be7

File tree

29 files changed

+598
-19
lines changed

29 files changed

+598
-19
lines changed

LICENSE

Lines changed: 204 additions & 10 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
buildscript {
22
repositories {
3+
jcenter()
34
maven {
45
url "https://plugins.gradle.org/m2/"
56
}
67
}
78
dependencies {
89
classpath "com.gradle.publish:plugin-publish-plugin:0.9.5"
10+
classpath "com.smokejumperit.gradle.license:Gradle-License-Report:0.0.2"
911
}
1012
}
1113

@@ -19,6 +21,9 @@ plugins {
1921

2022
apply plugin: "com.gradle.plugin-publish"
2123

24+
// gradle dependencyLicenseReport to generate your report in build/reports/dependency-license
25+
apply plugin:'license-report'
26+
2227
sourceCompatibility = "1.7"
2328
targetCompatibility = "1.7"
2429

examples/local-testing-project/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Set this to the version you used when running
22
# "gradle -Pversion=(something) publishToMavenLocal" on your local ml-gradle repo
3-
mlGradleVersion=2.6.DEV
3+
mlGradleVersion=DEV
44

55
mlHost=localhost
66
mlAppName=example

examples/mlcp-project/build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,12 @@ repositories {
3030
configurations {
3131
// This configuration captures the dependencies for running mlcp (Content Pump). This is only needed if you want
3232
// to run mlcp via Gradle tasks. If you do, using com.marklogic.gradle.task.MlcpTask is a useful starting point, as
33-
// shown below.
34-
mlcp
33+
// shown below. Need to force to use certain version of xml-apis library.
34+
mlcp {
35+
resolutionStrategy {
36+
force "xml-apis:xml-apis:1.4.01"
37+
}
38+
}
3539
}
3640

3741
/**
@@ -43,9 +47,7 @@ configurations {
4347
* bin/winutils.exe. This does not appear to have any impact on mlcp behavior though.
4448
*/
4549
dependencies {
46-
mlcp "com.marklogic:mlcp:8.0-5"
47-
//mlcp "com.marklogic:mlcp-Hadoop2:1.3-2"
48-
//mlcp "com.marklogic:marklogic-mapreduce2:2.1.3"
50+
mlcp "com.marklogic:mlcp:8.0.6.3"
4951

5052
/**
5153
* If you need to import delimited text, be sure to include this dependency as well.

examples/schemas-project/src/main/ml-schemas/tde/my.ruleset

Whitespace-only changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
This project shows how to deploy a sample temporal config - including lsqt config
2+
3+
Note that (as of this version), the deployed temporal config cannot be changed except for
4+
5+
1. The temporal collection option properties (refer to https://docs.marklogic.com/temporal:collection-set-options for possible values)
6+
1. The lsqt temporal collection option properties (refer to https://docs.marklogic.com/REST/PUT/manage/v2/databases/[id-or-name]/temporal/collections/lsqt/properties@collection=[name]) for possible values)
7+
1. Note that the lsqt config filename must correspond to the name of the temporal collection it is modifying
8+
1. E.g. ml-config/temporal/collections/lsqt/my-temporal-collection.json will modify the lsqt properties for the 'my-temporal-collection' temporal collection
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
plugins {
2+
id "com.marklogic.ml-gradle" version "2.6.0"
3+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mlHost=localhost
2+
mlAppName=temporal-lsqt-project
3+
mlRestPort=8450
4+
mlUsername=admin
5+
mlPassword=admin
6+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"database-name": "%%DATABASE%%",
3+
"triggers-database": "%%TRIGGERS_DATABASE%%",
4+
"schema-database": "%%SCHEMAS_DATABASE%%",
5+
"range-element-index": [
6+
{
7+
"collation": "",
8+
"invalid-values": "reject",
9+
"localname": "validStart",
10+
"namespace-uri": "",
11+
"range-value-positions": false,
12+
"scalar-type": "dateTime"
13+
}
14+
,
15+
{
16+
"collation": "",
17+
"invalid-values": "reject",
18+
"localname": "validEnd",
19+
"namespace-uri": "",
20+
"range-value-positions": false,
21+
"scalar-type": "dateTime"
22+
}
23+
,
24+
{
25+
"collation": "",
26+
"invalid-values": "reject",
27+
"localname": "systemStart",
28+
"namespace-uri": "",
29+
"range-value-positions": false,
30+
"scalar-type": "dateTime"
31+
}
32+
,
33+
{
34+
"collation": "",
35+
"invalid-values": "reject",
36+
"localname": "systemEnd",
37+
"namespace-uri": "",
38+
"range-value-positions": false,
39+
"scalar-type": "dateTime"
40+
}
41+
]
42+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"database-name": "%%SCHEMAS_DATABASE%%"
3+
}

0 commit comments

Comments
 (0)