Skip to content

Commit 82291a0

Browse files
committed
Merge branch 'release/1.1.3' into 1.0-master
2 parents 9122ae8 + 0aa4889 commit 82291a0

File tree

123 files changed

+2440
-2786
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+2440
-2786
lines changed

.travis/Dockerfile-ml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
11
FROM centos:centos7
22

33
ENV LANG C.UTF-8
4-
4+
ENV JAVA_VERSION 8u131
5+
ENV BUILD_VERSION b11
6+
ENV SUM d54c1d3a095b4ff2b6607d096fa80163
57
RUN yum -y install glibc.i686 \
68
gdb.x86_64 redhat-lsb.x86_64 vim \
79
bzip2 \
810
unzip \
9-
xz-utils \
10-
java-1.8.0-openjdk-devel 2>&1 > /dev/null
11+
wget \
12+
xz-utils 2>&1 > /dev/null
13+
14+
# Downloading Java
15+
RUN wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/$JAVA_VERSION-$BUILD_VERSION/$SUM/jdk-$JAVA_VERSION-linux-x64.rpm" -O /tmp/jdk-8-linux-x64.rpm
16+
RUN yum -y install /tmp/jdk-8-linux-x64.rpm
17+
18+
RUN alternatives --install /usr/bin/java jar /usr/java/latest/bin/java 200000
19+
RUN alternatives --install /usr/bin/javaws javaws /usr/java/latest/bin/javaws 200000
20+
RUN alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 200000
21+
22+
ENV JAVA_HOME /usr/java/latest
1123

1224
# Install MarkLogic
1325
COPY ./MarkLogic.rpm /tmp/MarkLogic.rpm
@@ -16,7 +28,7 @@ RUN yum -y install /tmp/MarkLogic.rpm 2>&1 > /dev/null
1628

1729
# Expose MarkLogic Server ports - add additional ones for your REST, etc
1830
# endpoints
19-
EXPOSE 7997-8002
31+
EXPOSE 7997-8020
2032

2133
# init
2234
COPY .travis/startml.sh /tmp/startml.sh

.travis/download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ echo "Logging in to Docker registry"
44
docker login -u ${DOCKER_USER} -p ${DOCKER_PASSWORD}
55

66
echo "Getting Docker Image"
7-
docker pull paxtonhare/marklogic-datahub-1x
7+
docker pull marklogiccommunity/marklogic-datahub-1x

CHANGELOG.md

Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,59 @@
11
# Change Log
22

3-
## [v1.1.2](https://github.com/marklogic/marklogic-data-hub/tree/v1.1.2)
3+
## [v1.1.3](https://github.com/marklogic/marklogic-data-hub/tree/v1.1.3)
44

5+
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v2.0.0-alpha.4...v1.1.3)
6+
7+
**Implemented enhancements:**
8+
9+
- Expose the ability to pass custom properties via gradle [\#416](https://github.com/marklogic/marklogic-data-hub/issues/416)
10+
- Add gradle wrapper to scaffolded project [\#415](https://github.com/marklogic/marklogic-data-hub/issues/415)
11+
- Entity view: show "Loading entities..." rather than "You don't have any entities yet" [\#411](https://github.com/marklogic/marklogic-data-hub/issues/411)
12+
- Better default document format for input flow [\#410](https://github.com/marklogic/marklogic-data-hub/issues/410)
13+
- Add button to sync indexes [\#393](https://github.com/marklogic/marklogic-data-hub/issues/393)
14+
- ugly scrollbars appear on project list in quickstart [\#385](https://github.com/marklogic/marklogic-data-hub/issues/385)
15+
- Handle Batch Flow Errors [\#379](https://github.com/marklogic/marklogic-data-hub/issues/379)
16+
- Default the harmonize collector to only get items in a standard input collection [\#344](https://github.com/marklogic/marklogic-data-hub/issues/344)
17+
- Add ability to specify source/target database for a Harmonize flow [\#319](https://github.com/marklogic/marklogic-data-hub/issues/319)
18+
19+
**Fixed bugs:**
20+
21+
- MLCP options: Output URI Replace is not working as expected [\#414](https://github.com/marklogic/marklogic-data-hub/issues/414)
22+
- Can't do load on Windows [\#407](https://github.com/marklogic/marklogic-data-hub/issues/407)
23+
- Illegal/unsupported escape sequence in Windows 10 when creating entities [\#406](https://github.com/marklogic/marklogic-data-hub/issues/406)
24+
- Better feedback for client-side validation failures [\#398](https://github.com/marklogic/marklogic-data-hub/issues/398)
25+
- XQuery bug detected but not shown on QuickStart GUI [\#395](https://github.com/marklogic/marklogic-data-hub/issues/395)
26+
- Save Options in Input Flow doesn't save changes to 'Output URI Replace' [\#390](https://github.com/marklogic/marklogic-data-hub/issues/390)
27+
- Default forests are created/attached even with custom forest JSON definitions [\#389](https://github.com/marklogic/marklogic-data-hub/issues/389)
28+
- mlReloadModules may not work [\#386](https://github.com/marklogic/marklogic-data-hub/issues/386)
29+
- Can't run harmonize on 2.0.0-alpha.2 [\#382](https://github.com/marklogic/marklogic-data-hub/issues/382)
30+
- Compile issue [\#381](https://github.com/marklogic/marklogic-data-hub/issues/381)
31+
- When one item fails in a harmonize batch run, other items in the chunk do not get processed [\#279](https://github.com/marklogic/marklogic-data-hub/issues/279)
32+
33+
**Closed issues:**
34+
35+
- Need to update my forest location while setting up the datahub framework; [\#356](https://github.com/marklogic/marklogic-data-hub/issues/356)
36+
- Harmonization flow not hitting staging port defined in gradle.properties [\#342](https://github.com/marklogic/marklogic-data-hub/issues/342)
37+
- gradle commands for flow creation [\#339](https://github.com/marklogic/marklogic-data-hub/issues/339)
38+
- gradle hubInit failing [\#307](https://github.com/marklogic/marklogic-data-hub/issues/307)
39+
- QuickStart App data loaded to incorrect directory? [\#251](https://github.com/marklogic/marklogic-data-hub/issues/251)
40+
- Allow Ingest to feed directly to conform w/o storing data [\#186](https://github.com/marklogic/marklogic-data-hub/issues/186)
41+
- DataHub::isInstalled\(\) is not sufficient [\#165](https://github.com/marklogic/marklogic-data-hub/issues/165)
42+
- Auto Generate Indexes based on entity defs [\#105](https://github.com/marklogic/marklogic-data-hub/issues/105)
43+
- Allow Exploration on the staged, raw data [\#2](https://github.com/marklogic/marklogic-data-hub/issues/2)
44+
45+
**Merged pull requests:**
46+
47+
- display a "Loading" message while retrieving entities [\#412](https://github.com/marklogic/marklogic-data-hub/pull/412) ([dmcassel](https://github.com/dmcassel))
48+
- disabled frame options in quickstart so it can be run inside an iframe [\#364](https://github.com/marklogic/marklogic-data-hub/pull/364) ([ryan321](https://github.com/ryan321))
49+
50+
## [v2.0.0-alpha.4](https://github.com/marklogic/marklogic-data-hub/tree/v2.0.0-alpha.4) (2017-05-12)
51+
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v2.0.0-alpha.3...v2.0.0-alpha.4)
52+
53+
## [v2.0.0-alpha.3](https://github.com/marklogic/marklogic-data-hub/tree/v2.0.0-alpha.3) (2017-05-08)
54+
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v1.1.2...v2.0.0-alpha.3)
55+
56+
## [v1.1.2](https://github.com/marklogic/marklogic-data-hub/tree/v1.1.2) (2017-04-12)
557
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v1.1.1...v1.1.2)
658

759
**Fixed bugs:**
@@ -14,7 +66,7 @@
1466
- QuickStart Template Compile Error 2.0-alpha.2 [\#380](https://github.com/marklogic/marklogic-data-hub/issues/380)
1567

1668
## [v1.1.1](https://github.com/marklogic/marklogic-data-hub/tree/v1.1.1) (2017-03-20)
17-
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v1.1.0...v1.1.1)
69+
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v2.0.0-alpha.2...v1.1.1)
1870

1971
**Implemented enhancements:**
2072

@@ -39,8 +91,27 @@
3991
- Adds CLA requirement \(\#361\) [\#362](https://github.com/marklogic/marklogic-data-hub/pull/362) ([jmakeig](https://github.com/jmakeig))
4092
- Updates Java Client API dependency to stable build [\#359](https://github.com/marklogic/marklogic-data-hub/pull/359) ([jmakeig](https://github.com/jmakeig))
4193

94+
## [v2.0.0-alpha.2](https://github.com/marklogic/marklogic-data-hub/tree/v2.0.0-alpha.2) (2017-01-16)
95+
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v1.1.0...v2.0.0-alpha.2)
96+
97+
**Implemented enhancements:**
98+
99+
- Allow exernal data to be passed in to a flow's options-map [\#334](https://github.com/marklogic/marklogic-data-hub/issues/334)
100+
- Integrate with Entity Services [\#283](https://github.com/marklogic/marklogic-data-hub/issues/283)
101+
- show traces for a given flow [\#277](https://github.com/marklogic/marklogic-data-hub/issues/277)
102+
103+
**Fixed bugs:**
104+
105+
- Returning json:object\(\) isn't invoking ES serialization in flow [\#345](https://github.com/marklogic/marklogic-data-hub/issues/345)
106+
107+
**Closed issues:**
108+
109+
- "No message available" when following Quick Start [\#352](https://github.com/marklogic/marklogic-data-hub/issues/352)
110+
- Add job-id to harmonized documents [\#351](https://github.com/marklogic/marklogic-data-hub/issues/351)
111+
- Entity modeling rendering incorrectly [\#347](https://github.com/marklogic/marklogic-data-hub/issues/347)
112+
42113
## [v1.1.0](https://github.com/marklogic/marklogic-data-hub/tree/v1.1.0) (2016-12-16)
43-
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v1.0.2...v1.1.0)
114+
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v2.0.0-alpha.1...v1.1.0)
44115

45116
**Implemented enhancements:**
46117

@@ -61,6 +132,13 @@
61132
- Keep user database settings separate from hub database settings [\#325](https://github.com/marklogic/marklogic-data-hub/issues/325)
62133
- Create a non-admin user for doing hub stuff [\#200](https://github.com/marklogic/marklogic-data-hub/issues/200)
63134

135+
## [v2.0.0-alpha.1](https://github.com/marklogic/marklogic-data-hub/tree/v2.0.0-alpha.1) (2016-11-30)
136+
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v1.0.2...v2.0.0-alpha.1)
137+
138+
**Implemented enhancements:**
139+
140+
- Visual entity type model editor [\#286](https://github.com/marklogic/marklogic-data-hub/issues/286)
141+
64142
## [v1.0.2](https://github.com/marklogic/marklogic-data-hub/tree/v1.0.2) (2016-11-22)
65143
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v1.0.1...v1.0.2)
66144

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ plugins {
7171
...
7272
7373
// comment out this line. It pulls the version from the cloud
74-
// id 'com.marklogic.ml-data-hub' version '1.1.2'
74+
// id 'com.marklogic.ml-data-hub' version '1.1.3'
7575
}
7676
7777
// this tells gradle to apply the plugin you included above in the buildscript section

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Alternatively you can include the jar file as a build dependency in your Java pr
4646
**Gradle**
4747

4848
```groovy
49-
compile('com.marklogic:marklogic-data-hub:1.1.2')
49+
compile('com.marklogic:marklogic-data-hub:1.1.3')
5050
```
5151

5252
**Maven**
@@ -55,15 +55,15 @@ compile('com.marklogic:marklogic-data-hub:1.1.2')
5555
<dependency>
5656
<groupId>com.marklogic</groupId>
5757
<artifactId>marklogic-data-hub</artifactId>
58-
<version>1.1.2</version>
58+
<version>1.1.3</version>
5959
<type>pom</type>
6060
</dependency>
6161
```
6262

6363
**Ivy**
6464

6565
```xml
66-
<dependency org='com.marklogic' name='marklogic-data-hub' rev='1.1.2'>
66+
<dependency org='com.marklogic' name='marklogic-data-hub' rev='1.1.3'>
6767
<artifact name='$AID' ext='pom'></artifact>
6868
</dependency>
6969
```
@@ -74,7 +74,7 @@ If you prefer to use gradle for all of your hub interactions then you can includ
7474

7575
```groovy
7676
plugins {
77-
id 'com.marklogic.ml-data-hub' version '1.1.2'
77+
id 'com.marklogic.ml-data-hub' version '1.1.3'
7878
}
7979
```
8080

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '2'
22
services:
33
marklogic:
4-
image: paxtonhare/marklogic-datahub-1x
4+
image: marklogiccommunity/marklogic-datahub-1x
55
ports:
66
- "8000-8020"
77
volumes:

examples/spring-batch/build.gradle

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,38 @@
1-
buildscript {
2-
repositories {
3-
maven {url 'http://developer.marklogic.com/maven2/'}
4-
}
5-
}
6-
71
plugins {
82
id 'java'
9-
id 'eclipse'
10-
id 'idea'
113
id 'application'
124
id 'net.saliman.properties' version '1.4.6'
13-
id 'com.marklogic.ml-data-hub' version '1.1.2'
5+
id 'com.marklogic.ml-data-hub' version '1.1.3'
146
}
157

168
repositories {
9+
mavenLocal()
1710
jcenter()
1811
maven {url 'http://developer.marklogic.com/maven2/'}
1912
}
2013

2114
dependencies {
22-
compile 'com.marklogic:marklogic-data-hub:1.1.2'
23-
compile 'com.marklogic:marklogic-spring-batch-core:0.6.0'
24-
compile 'com.marklogic:ml-javaclient-util:2.13.0'
25-
testCompile 'com.marklogic:marklogic-spring-batch-test:0.6.0'
26-
}
15+
compile 'com.marklogic:marklogic-data-hub:1.1.3'
16+
compile "com.marklogic:marklogic-spring-batch-core:0.7.4"
17+
compile 'com.marklogic:ml-javaclient-util:4.0.alpha4'
2718

28-
distributions {
29-
main {
30-
baseName = 'baseJob'
31-
}
19+
testCompile "com.marklogic:marklogic-spring-batch-test:0.7.4"
20+
runtime "com.marklogic:marklogic-spring-batch-core:0.7.2"
3221
}
3322

34-
mainClassName = "com.marklogic.spring.batch.hub.HubJobRunner"
23+
mainClassName = "com.marklogic.spring.batch.Main"
24+
25+
task importMonsters(type: JavaExec) {
26+
classpath = sourceSets.main.runtimeClasspath
27+
main = "com.marklogic.spring.batch.Main"
28+
args = [
29+
"--config", "example.LoadAndRunFlow",
30+
"--project_dir", ".",
31+
"--env", "local",
32+
"--input_file_path", "./input",
33+
"--input_file_pattern", ".*\\.xml",
34+
"--entity_name", "Monster",
35+
"--flow_name", "ingest-monster",
36+
"--chunk", "100"
37+
]
38+
}

examples/spring-batch/gradle.properties

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,65 @@
88
#
99
# ....
1010
mlHost=localhost
11-
mlAppName=data-hub
1211

12+
# Your MarkLogic Username and Password
1313
mlUsername=admin
1414
mlPassword=admin
1515

16+
# If specified, the manage username/password combo is used with the ML Management REST API for managing application
17+
# resources; this user must have the manage-admin and rest-admin roles.
18+
#
19+
# If these are not set, then mlUsername/mlPassword is used for managing application resources.
20+
# mlManageUsername=
21+
# mlManagePassword=
22+
23+
# If specified, these values can override where the DHF thinks
24+
# MarkLogic default ports are at. You would only use this if you
25+
# have changed the ports on which MarkLogic listens
26+
#
27+
# mlAppServicesPort=8000
28+
# mlAdminPort=8001
29+
# mlManagePort=8002
30+
31+
# If specified, the admin username/password combo is used with the ML Management REST API for creating users and roles. This
32+
# user must have the manage-admin or admin role. A good practice is to use your admin account here to create app-specific
33+
# users and roles, which can then be used as mlManageUsername/mlManagePassword and mlUsername/mlPassword.
34+
#
35+
# These properties are also used for connecting to the admin application on port 8001 - e.g. for initializing ML and for
36+
# waiting for ML to restart.
37+
#
38+
# If these properties are not set, then mlUsername/mlPassword will be used.
39+
# mlAdminUsername=
40+
# mlAdminPassword=
41+
1642
mlStagingAppserverName=data-hub-STAGING
1743
mlStagingPort=8010
1844
mlStagingDbName=data-hub-STAGING
1945
mlStagingForestsPerHost=4
46+
mlStagingAuth=digest
2047

2148
mlFinalAppserverName=data-hub-FINAL
2249
mlFinalPort=8011
2350
mlFinalDbName=data-hub-FINAL
2451
mlFinalForestsPerHost=4
52+
mlFinalAuth=digest
2553

2654
mlTraceAppserverName=data-hub-TRACING
2755
mlTracePort=8012
2856
mlTraceDbName=data-hub-TRACING
2957
mlTraceForestsPerHost=1
58+
mlTraceAuth=digest
3059

3160
mlJobAppserverName=data-hub-JOBS
3261
mlJobPort=8013
3362
mlJobDbName=data-hub-JOBS
3463
mlJobForestsPerHost=1
64+
mlJobAuth=digest
3565

3666
mlModulesDbName=data-hub-MODULES
3767
mlTriggersDbName=data-hub-TRIGGERS
3868
mlSchemasDbName=data-hub-SCHEMAS
69+
70+
# The name of the Role to create for Hub Access
71+
mlHubUserRole=data-hub-ROLE
72+
mlHubUserName=data-hub-user

examples/spring-batch/settings.gradle

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)