Skip to content

Commit fe1f5c5

Browse files
committed
dmui tut
1 parent 8dbc175 commit fe1f5c5

File tree

7 files changed

+1207
-1
lines changed

7 files changed

+1207
-1
lines changed

uml2es/tutorials/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ A few tools tutorials:
1010

1111
[How to edit the profile in Papyrus](papyrus_profile_edit.md)
1212

13-
[Employee Hub Cradle To Grave](employeeCradleToGrave.md)
13+
[Employee Hub Cradle To Grave](employeeCradleToGrave.md)
14+
15+
[Zero Code Model-Map-Harmonize](dmui.md)
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
buildscript {
2+
repositories {
3+
maven {url 'http://developer.marklogic.com/maven2/'}
4+
}
5+
}
6+
7+
plugins {
8+
id 'java'
9+
id 'eclipse'
10+
id 'idea'
11+
12+
// This plugin allows you to create different environments
13+
// for your gradle deploy. Each environment is represented
14+
// by a gradle-${env}.properties file
15+
// See https://github.com/stevesaliman/gradle-properties-plugin
16+
// specify the env on the command line with:
17+
// gradle -PenvironmentName=x ...
18+
id 'net.saliman.properties' version '1.4.6'
19+
20+
// This gradle plugin extends the ml-gradle plugin with
21+
// commands that make the Data Hub Framework do its magic
22+
id 'com.marklogic.ml-data-hub' version '4.1.0'
23+
}
24+
25+
repositories {
26+
jcenter()
27+
maven {url 'http://developer.marklogic.com/maven2/'}
28+
29+
// Needed for mlcp dependencies
30+
maven { url "http://plugins.gradle.org/m2" }
31+
maven { url "http://developer.marklogic.com/maven2/" }
32+
33+
// Needed for hadoop dependencies for mlcp
34+
maven { url "http://repository.cloudera.com/artifactory/cloudera-repos/" }
35+
}
36+
37+
configurations {
38+
// This configuration captures the dependencies for running mlcp (Content Pump). This is only needed if you want
39+
// to run mlcp via Gradle tasks. If you do, using com.marklogic.gradle.task.MlcpTask is a useful starting point, as
40+
// shown below. Need to force to use certain version of xml-apis library.
41+
mlcp {
42+
resolutionStrategy {
43+
force "xml-apis:xml-apis:1.4.01"
44+
}
45+
}
46+
}
47+
48+
dependencies {
49+
// this allows you to write custom java code that depends
50+
// on the Data Hub Framework library
51+
compile 'com.marklogic:marklogic-data-hub:4.1.0'
52+
compile 'com.marklogic:marklogic-xcc:9.0.7'
53+
54+
mlcp "com.marklogic:mlcp:9.0.6"
55+
mlcp "org.apache.commons:commons-csv:1.2"
56+
mlcp files("lib")
57+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
mlDHFVersion=4.1.0
2+
mlHost=localhost
3+
mlUsername=admin
4+
mlPassword=admin
5+
6+
mlStagingAppserverName=xmi2es-tutorials-dmHub-STAGING
7+
mlStagingPort=14400
8+
mlStagingDbName=xmi2es-tutorials-dmHub-STAGING
9+
mlStagingForestsPerHost=3
10+
mlStagingAuth=digest
11+
# To enable SSL for staging
12+
# mlStagingSimpleSsl=true
13+
14+
mlFinalAppserverName=xmi2es-tutorials-dmHub-FINAL
15+
mlFinalPort=14401
16+
mlFinalDbName=xmi2es-tutorials-dmHub-FINAL
17+
mlFinalForestsPerHost=3
18+
mlFinalAuth=digest
19+
# To enable SSL for final
20+
# mlFinalSimpleSsl=true
21+
22+
mlJobAppserverName=xmi2es-tutorials-dmHub-JOBS
23+
mlJobPort=14403
24+
mlJobDbName=xmi2es-tutorials-dmHub-JOBS
25+
mlJobForestsPerHost=4
26+
mlJobAuth=digest
27+
# To enable SSL for jobs
28+
# mlJobSimpleSsl=true
29+
30+
mlModulesDbName=xmi2es-tutorials-dmHub-MODULES
31+
mlModulesForestsPerHost=1
32+
33+
mlStagingTriggersDbName=xmi2es-tutorials-dmHub-staging-TRIGGERS
34+
mlStagingTriggersForestsPerHost=1
35+
36+
mlStagingSchemasDbName=xmi2es-tutorials-dmHub-staging-SCHEMAS
37+
mlStagingSchemasForestsPerHost=1
38+
39+
mlFinalTriggersDbName=xmi2es-tutorials-dmHub-final-TRIGGERS
40+
mlFinalTriggersForestsPerHost=1
41+
42+
mlFinalSchemasDbName=xmi2es-tutorials-dmHub-final-SCHEMAS
43+
mlFinalSchemasForestsPerHost=1
44+
45+
# You can override this to specify an alternate folder for your
46+
# custom forest info. Defaults to user-config/forests/
47+
# mlCustomForestPath=forests
48+
49+
# The name of the Role to create for Hub Access
50+
mlHubUserRole=data-hub-role
51+
mlHubUserName=data-hub-user
52+
# this password is autogenerated for you via the 'gradle hubInit' task
53+
mlHubUserPassword=g?E)I^h67^hH{QqN2jY[
54+
55+
# The name of the role to create for hub deployment/development
56+
mlHubAdminRole=hub-admin-role
57+
mlHubAdminUserName=hub-admin-user
58+
mlHubAdminUserPassword=?t4K$z-W5gjb@PI31(wj
59+
60+
# Deprecated property
61+
# If you are working with a load balancer please indicate so using
62+
# property "mlIsHostLoadBalancer"
63+
# When "mlIsHostLoadBalancer" is set to "true", the value specified for "mlHost" will be used as the load balancer.
64+
# You do not need to explicitly set the value of "mlLoadBalancerHosts" but if you do it must match the value of the property "mlHost"
65+
# mlLoadBalancerHosts=your-load-balancer-hostname
66+
67+
# Default module permissions which allow data-hub-role to execute flows
68+
mlModulePermissions=rest-reader,read,rest-writer,insert,rest-writer,update,rest-extension-user,execute,data-hub-role,read,data-hub-role,execute
69+
70+
# If DHF is running in a provisioned environment please specify it here
71+
# mlIsProvisionedEnvironment=false
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#root logger option
2+
log4j.rootLogger=INFO, stdout
3+
4+
# Direct log messages to stdout
5+
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
6+
log4j.appender.stdout.Target=System.out
7+
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
8+
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
9+

uml2es/tutorials/dm_install.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# How To Declarative Mapper (MarkLogic Internal)
2+
3+
## Declarative Mapper UI
4+
5+
- Get a local clone of the DMUI tool at https://project.marklogic.com/repo/scm/~ckelly/dm-framework-gui.git
6+
- Navigate to dm-framework-gui directory
7+
- Delete the .npmrc file
8+
- Run npm install
9+
- Run below commands in different terminals
10+
* npm run build-commonjs
11+
* npm run watch-dist (Wait until green tick mark completes in start webpack-watch)
12+
* npm run desktop
13+
14+
## Declarative Mapper Engine
15+
16+
- Get a local clone of the DM engine tool at https://project.marklogic.com/repo/scm/int/declarative-mapper.git. Switch to the json-sc branch!

0 commit comments

Comments
 (0)