Skip to content

Commit c1d6980

Browse files
committed
4.0.3 example changes
1 parent a21546d commit c1d6980

File tree

23 files changed

+135
-33
lines changed

23 files changed

+135
-33
lines changed

examples/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
This folder contains working examples of various DHF usage scenarios.
44

5+
1. [DHS-e2e](https://github.com/marklogic/marklogic-data-hub/tree/master/examples/DHS-e2e) - an end to end example demonstrating ingestion, harmonization and retrieval of data in DHS environment
56
1. [barebones](https://github.com/marklogic/marklogic-data-hub/tree/master/examples/barebones) - an example of the minimum configuration necessary to run a Gradle based Data Hub
67
1. [custom-tokens](https://github.com/marklogic/marklogic-data-hub/tree/master/examples/custom-tokens) - an example where gradle environment properties are used in substitutions of configuration files that is based off of the barebones example
8+
1. [gradle-tasks-demo](https://github.com/marklogic/marklogic-data-hub/tree/master/examples/gradle-tasks-demo) - a demonstration of gradle commands in DHS
9+
environment
710
1. [healthcare](https://github.com/marklogic/marklogic-data-hub/tree/master/examples/healthcare) - an example of a Healthcare 360 Data Hub
811
1. [hr-hub](https://github.com/marklogic/marklogic-data-hub/tree/master/examples/hr-hub) - an example used for our 1.x tutorial. This example harmonizes data from various HR systems
912
1. [load-binaries](https://github.com/marklogic/marklogic-data-hub/tree/master/examples/load-binaries) - an example of how to ingest binaries via an MLCP Input Flow

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.3'
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.3'
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.3'
1111
}

examples/custom-tokens/gradle.properties

Lines changed: 11 additions & 2 deletions
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.3
1111
mlHost=localhost
1212

1313
# If you are working with a load balancer please specify it here
@@ -30,7 +30,13 @@ mlPassword=
3030
# To use SSL on the Manage appserver (port 8002 by default)
3131
# mlManageScheme=https
3232
# mlManageSimpleSsl=true
33-
33+
#
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.3'
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.3'
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.3'
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.3'
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: 11 additions & 2 deletions
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.3
1717
mlHost=localhost
1818

1919
# If you are working with a load balancer please specify it here
@@ -36,7 +36,13 @@ mlPassword=
3636
# To use SSL on the Manage appserver (port 8002 by default)
3737
# mlManageScheme=https
3838
# mlManageSimpleSsl=true
39-
39+
#
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.3'
1111
}
1212

1313
ext {

examples/external-security/gradle-example.properties

Lines changed: 11 additions & 2 deletions
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.3
1111
mlHost=localhost
1212

1313
# If you are working with a load balancer please specify it here
@@ -30,7 +30,13 @@ mlPassword=
3030
# To use SSL on the Manage appserver (port 8002 by default)
3131
# mlManageScheme=https
3232
# mlManageSimpleSsl=true
33-
33+
#
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

0 commit comments

Comments
 (0)