Skip to content

Commit 63b124a

Browse files
committed
4.0.2 example changes
1 parent 0950a4d commit 63b124a

File tree

23 files changed

+123
-29
lines changed

23 files changed

+123
-29
lines changed

examples/barebones/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ plugins {
1313
// it includes ml-gradle. This plugin is what lets you
1414
// run DHF (Data Hub Framework) tasks from the
1515
// command line
16-
id 'com.marklogic.ml-data-hub' version '4.0.1'
16+
id 'com.marklogic.ml-data-hub' version '4.0.2'
1717
}
1818
```
1919

examples/barebones/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ plugins {
77
// it includes ml-gradle. This plugin is what lets you
88
// run DHF (Data Hub Framework) tasks from the
99
// command line
10-
id 'com.marklogic.ml-data-hub' version '4.0.1'
10+
id 'com.marklogic.ml-data-hub' version '4.0.2'
1111
}

examples/custom-tokens/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ plugins {
77
// it includes ml-gradle. This plugin is what lets you
88
// run DHF (Data Hub Framework) tasks from the
99
// command line
10-
id 'com.marklogic.ml-data-hub' version '4.0.1'
10+
id 'com.marklogic.ml-data-hub' version '4.0.2'
1111
}

examples/custom-tokens/gradle.properties

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# named gradle-prod.properties.
88
#
99
# ....
10-
mlDHFVersion=4.0.1
10+
mlDHFVersion=4.0.2
1111
mlHost=localhost
1212

1313
# If you are working with a load balancer please specify it here
@@ -31,6 +31,12 @@ mlPassword=
3131
# mlManageScheme=https
3232
# mlManageSimpleSsl=true
3333

34+
# If specified, mlSecurityUsername/mlSecurityPassword is used for talking to Security end points on port 8002; this
35+
# user must have the "manage-admin" and "security" roles.
36+
#
37+
# mlSecurityUsername=
38+
# mlSecurityPassword=
39+
3440
# If specified, the admin username/password combo is used with the ML Management REST API for creating users and roles. This
3541
# user must have the manage-admin or admin role. A good practice is to use your admin account here to create app-specific
3642
# users and roles, which can then be used as mlManageUsername/mlManagePassword and mlUsername/mlPassword.
@@ -125,6 +131,9 @@ mlHubAdminUserPassword=o@r*'.2HAt(3iAoXR/*v
125131
# Default module permissions which allow data-hub-role to execute flows
126132
mlModulePermissions=rest-reader,read,rest-writer,insert,rest-writer,update,rest-extension-user,execute,data-hub-role,read,data-hub-role,execute
127133

134+
# If DHF is running in a provisioned environment please specify it here
135+
# mlIsProvisionedEnvironment=false
136+
128137
# Custom properties defined here
129138
TEST_DATABASE_NAME=custom-tokens-test-database
130139
TEST_SERVER_NAME=custom-tokens-test-database-server

examples/data-integration-tests/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ plugins {
1919

2020
// This gradle plugin extends the ml-gradle plugin with
2121
// commands that make the Data Hub Framework do its magic
22-
id 'com.marklogic.ml-data-hub' version '4.0.1'
22+
id 'com.marklogic.ml-data-hub' version '4.0.2'
2323

2424
id "org.jetbrains.kotlin.jvm" version "1.2.21"
2525
}
@@ -34,7 +34,7 @@ repositories {
3434
dependencies {
3535
// this allows you to write custom java code that depends
3636
// on the Data Hub Framework library
37-
compile 'com.marklogic:marklogic-data-hub:4.0.1'
37+
compile 'com.marklogic:marklogic-data-hub:4.0.2'
3838
compile 'com.marklogic:marklogic-xcc:9.0.7'
3939
compile 'com.marklogic:marklogic-client-api:4.1.1'
4040
// prototyping with kotlin tests

examples/disconnected-project/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ plugins {
1919

2020
// This gradle plugin extends the ml-gradle plugin with
2121
// commands that make the Data Hub Framework do its magic
22-
id 'com.marklogic.ml-data-hub' version '4.0.1'
22+
id 'com.marklogic.ml-data-hub' version '4.0.2'
2323
}
2424

2525
repositories {
@@ -42,7 +42,7 @@ dependencies {
4242
// this allows you to write custom java code that depends
4343
// on the Data Hub Framework library
4444
// Remove if not needed
45-
compile 'com.marklogic:marklogic-data-hub:4.0.1'
45+
compile 'com.marklogic:marklogic-data-hub:4.0.2'
4646
compile 'com.marklogic:marklogic-xcc:9.0.7'
4747

4848
//sample mlcp dependency. Remove if not required

examples/disconnected-project/gradle.properties

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ projectGradleHome=build/gradle-home
1313
# named gradle-prod.properties.
1414
#
1515
# ....
16-
mlDHFVersion=4.0.1
16+
mlDHFVersion=4.0.2
1717
mlHost=localhost
1818

1919
# If you are working with a load balancer please specify it here
@@ -37,6 +37,12 @@ mlPassword=
3737
# mlManageScheme=https
3838
# mlManageSimpleSsl=true
3939

40+
# If specified, mlSecurityUsername/mlSecurityPassword is used for talking to Security end points on port 8002; this
41+
# user must have the "manage-admin" and "security" roles.
42+
#
43+
# mlSecurityUsername=
44+
# mlSecurityPassword=
45+
4046
# If specified, the admin username/password combo is used with the ML Management REST API for creating users and roles. This
4147
# user must have the manage-admin or admin role. A good practice is to use your admin account here to create app-specific
4248
# users and roles, which can then be used as mlManageUsername/mlManagePassword and mlUsername/mlPassword.
@@ -130,3 +136,6 @@ mlHubAdminUserPassword=o@r*'.2HAt(3iAoXR/*v
130136

131137
# Default module permissions which allow data-hub-role to execute flows
132138
mlModulePermissions=rest-reader,read,rest-writer,insert,rest-writer,update,rest-extension-user,execute,data-hub-role,read,data-hub-role,execute
139+
140+
# If DHF is running in a provisioned environment please specify it here
141+
# mlIsProvisionedEnvironment=false

examples/external-security/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
// it includes ml-gradle. This plugin is what lets you
88
// run DHF (Data Hub Framework) tasks from the
99
// command line
10-
id 'com.marklogic.ml-data-hub' version '4.0.1'
10+
id 'com.marklogic.ml-data-hub' version '4.0.2'
1111
}
1212

1313
ext {

examples/external-security/gradle-example.properties

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# named gradle-prod.properties.
88
#
99
# ....
10-
mlDHFVersion=4.0.1
10+
mlDHFVersion=4.0.2
1111
mlHost=localhost
1212

1313
# If you are working with a load balancer please specify it here
@@ -31,6 +31,12 @@ mlPassword=
3131
# mlManageScheme=https
3232
# mlManageSimpleSsl=true
3333

34+
# If specified, mlSecurityUsername/mlSecurityPassword is used for talking to Security end points on port 8002; this
35+
# user must have the "manage-admin" and "security" roles.
36+
#
37+
# mlSecurityUsername=
38+
# mlSecurityPassword=
39+
3440
# If specified, the admin username/password combo is used with the ML Management REST API for creating users and roles. This
3541
# user must have the manage-admin or admin role. A good practice is to use your admin account here to create app-specific
3642
# users and roles, which can then be used as mlManageUsername/mlManagePassword and mlUsername/mlPassword.
@@ -125,6 +131,9 @@ mlHubAdminUserPassword=o@r*'.2HAt(3iAoXR/*v
125131
# Default module permissions which allow data-hub-role to execute flows
126132
mlModulePermissions=rest-reader,read,rest-writer,insert,rest-writer,update,rest-extension-user,execute,data-hub-role,read,data-hub-role,execute
127133

134+
# If DHF is running in a provisioned environment please specify it here
135+
# mlIsProvisionedEnvironment=false
136+
128137
#cp are Custom properties see https://github.com/marklogic/marklogic-data-hub/tree/master/examples/custom-tokens for details
129138
#this should match the name of the exteranl security configuration
130139
cpExternalSecurity=LDAPConfig

examples/gradle-tasks-demo/Readme

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
Assumptions:
2+
1) This project assumes that DHF environment is already provisioned
3+
2) You have information about load balancer hosts
4+
5+
16
Sample Project to work on DHS:
27

38
1) Add the build.gradle file from the docs folder into the current directory
49
2) install gradle and run gradle wrapper --gradle-version 3.4
510
3) ./gradlew build
611
4) ./gradlew hubInit
7-
5) Copy the gradle.properties file from docs and update the user credentials
12+
5) Copy the gradle.properties file from docs and update the user credentials (Refer to this documentation: https://marklogic.github.io/marklogic-data-hub/project/dhsdeploy/)
813
6) ./gradlew hubInstallModules (Installs dhf modules into DHS env)
914
7) ./gradlew hubCreateEntity -PentityName=Product
1015
8) Copy the file Product.entity.json file from docs/entities folder into plugins/entities/Product in your current directory
@@ -18,4 +23,4 @@ Sample Project to work on DHS:
1823
16) ./gradlew mlLoadModules
1924
17) run create_hm_flows.sh file
2025
18) ./gradlew mlLoadModules
21-
19) run run_hm_flows.sh file
26+
19) run run_hm_flows.sh file

0 commit comments

Comments
 (0)