Skip to content

Commit 550f8da

Browse files
committed
fixed #302
prepping for rc.6 release
1 parent ebb561f commit 550f8da

File tree

136 files changed

+4187
-1470
lines changed

Some content is hidden

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

136 files changed

+4187
-1470
lines changed

CHANGELOG.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,30 @@
11
# Change Log
22

3-
## [v1.0.0-rc.5](https://github.com/marklogic/marklogic-data-hub/tree/v1.0.0-rc.5)
3+
## [v1.0.0-rc.6](https://github.com/marklogic/marklogic-data-hub/tree/v1.0.0-rc.6)
44

5+
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v1.0.0-rc.5...v1.0.0-rc.6)
6+
7+
**Fixed bugs:**
8+
9+
- Deadlock when evaling from writer [\#231](https://github.com/marklogic/marklogic-data-hub/issues/231)
10+
11+
**Closed issues:**
12+
13+
- Update Trace UI in Trace server [\#302](https://github.com/marklogic/marklogic-data-hub/issues/302)
14+
- Trace enhancement: Not logging enough for error trace [\#301](https://github.com/marklogic/marklogic-data-hub/issues/301)
15+
- ArrayIndexOutOfBoundsException [\#298](https://github.com/marklogic/marklogic-data-hub/issues/298)
16+
- Getting Started Tutorial - Sample code for Acme Tech header plugin does not update 'latest' variable [\#297](https://github.com/marklogic/marklogic-data-hub/issues/297)
17+
- Not all data is processed in harmonize flow when thread count is greater than 1 [\#296](https://github.com/marklogic/marklogic-data-hub/issues/296)
18+
- New Mlcp Error grabbing has false positives on windows [\#295](https://github.com/marklogic/marklogic-data-hub/issues/295)
19+
- Clarify that ML DHF is FOSS and not supported MarkLogic product [\#294](https://github.com/marklogic/marklogic-data-hub/issues/294)
20+
- custom thread count throws parsing error [\#292](https://github.com/marklogic/marklogic-data-hub/issues/292)
21+
- RC5: the ingest steps in quick start gives a exception and is not runned [\#291](https://github.com/marklogic/marklogic-data-hub/issues/291)
22+
- fix gradle tasks for run flow [\#290](https://github.com/marklogic/marklogic-data-hub/issues/290)
23+
- When exception is thrown, not all flow traces are persisted. [\#278](https://github.com/marklogic/marklogic-data-hub/issues/278)
24+
- Add ability to clear the Staging or Final database [\#198](https://github.com/marklogic/marklogic-data-hub/issues/198)
25+
- mlcp\_transform needs profiling [\#162](https://github.com/marklogic/marklogic-data-hub/issues/162)
26+
27+
## [v1.0.0-rc.5](https://github.com/marklogic/marklogic-data-hub/tree/v1.0.0-rc.5) (2016-09-27)
528
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v1.0.0-rc.4...v1.0.0-rc.5)
629

730
**Implemented enhancements:**

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
subprojects {
22
apply plugin: 'java'
3-
apply plugin: 'eclipse'
43

54
sourceCompatibility = "1.8"
65
targetCompatibility = "1.8"

examples/spring-batch/build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,17 @@ plugins {
33
id 'eclipse'
44
id 'idea'
55
id 'application'
6-
id 'net.saliman.properties' version '1.4.5'
7-
id 'com.marklogic.ml-gradle' version '2.3.1'
8-
id 'com.marklogic.ml-data-hub' version '1.0.0-rc.5'
6+
id 'net.saliman.properties' version '1.4.6'
7+
id 'com.marklogic.ml-data-hub' version '1.0.0-rc.6'
98
}
109

1110
repositories {
12-
mavenLocal()
1311
jcenter()
1412
maven {url 'http://developer.marklogic.com/maven2/'}
1513
}
1614

1715
dependencies {
18-
compile 'com.marklogic:marklogic-data-hub:1.0.0-rc.5'
16+
compile 'com.marklogic:marklogic-data-hub:1.0.0-rc.6'
1917
compile "com.marklogic:marklogic-spring-batch-core:0.6.0"
2018
compile "com.marklogic:ml-javaclient-util:2.9.1"
2119
testCompile "com.marklogic:marklogic-spring-batch-test:0.6.0"

marklogic-data-hub/build.gradle

Lines changed: 36 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
plugins {
2-
id 'net.saliman.properties' version '1.4.4'
2+
id 'net.saliman.properties' version '1.4.6'
33
id 'java'
4-
id 'eclipse'
5-
id 'idea'
64
id 'maven-publish'
7-
id 'com.jfrog.bintray' version '1.6'
5+
id 'com.jfrog.bintray' version '1.7.2'
86
id 'com.marklogic.ml-gradle' version '2.3.4'
7+
id 'com.moowork.node' version '0.13'
98
}
109

1110
repositories {
@@ -35,6 +34,22 @@ dependencies {
3534
testCompile 'org.easymock:easymock:3.4'
3635
}
3736

37+
node {
38+
// Version of node to use.
39+
version = '6.8.1'
40+
41+
// Version of npm to use.
42+
npmVersion = '3.10.8'
43+
44+
download = true
45+
46+
// Set the work directory for unpacking node
47+
workDir = file("${project.buildDir}/nodejs")
48+
49+
// Set the work directory where node_modules should be located
50+
nodeModulesDir = file("${project.projectDir}/src/trace-ui")
51+
}
52+
3853
task javadocJar(type: Jar, dependsOn: javadoc) {
3954
classifier = 'javadoc'
4055
from javadoc.destinationDir
@@ -45,24 +60,29 @@ task sourcesJar(type: Jar, dependsOn: classes) {
4560
from sourceSets.main.allSource
4661
}
4762

48-
task npmInstallTraceUI(type:Exec) {
49-
workingDir './src/trace-ui'
50-
commandLine 'npm', 'install'
63+
task cleanUI(type: Delete) {
64+
delete 'src/main/resources/ml-modules/root/trace-ui'
65+
}
66+
67+
task npmInstallUI(type: NpmTask) {
68+
args = ['install']
69+
dependsOn tasks.cleanUI
5170
}
5271

53-
task buildTraceUI(type:Exec) {
54-
workingDir './src/trace-ui'
55-
commandLine 'npm', 'run', 'build'
56-
dependsOn tasks.npmInstallTraceUI
72+
task buildUI(type: NpmTask) {
73+
args = ['run', 'build.prod']
74+
dependsOn tasks.npmInstallUI
5775
}
5876

59-
task watchTraceUI(type:Exec) {
60-
workingDir './src/trace-ui'
61-
commandLine 'npm', 'start'
62-
dependsOn tasks.npmInstallTraceUI
77+
task copyUIAssets(type: Copy) {
78+
from 'src/trace-ui/dist'
79+
into 'src/main/resources/ml-modules/root/trace-ui'
80+
dependsOn tasks.buildUI
6381
}
6482

65-
build.dependsOn buildTraceUI
83+
if (!gradle.startParameter.taskNames.contains('bootrun')) {
84+
processResources.dependsOn copyUIAssets
85+
}
6686

6787
javadoc {
6888
options.overview = 'src/main/resources/overview.html'
@@ -131,7 +151,6 @@ bintray {
131151
repo = 'maven'
132152
name = project.name
133153
desc = pomCustomizations.textdescription.text()
134-
// userOrg = user
135154
licenses = ['Apache-2.0']
136155
websiteUrl = pomCustomizations.url
137156
vcsUrl = pomCustomizations.scm.url

marklogic-data-hub/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ hubModulesPath=examples/hr-hub/plugins
3636
mlReplaceTokensInModules=true
3737
mlUseRoxyTokenPrefix=false
3838

39-
version=1.0.0-rc.5
39+
version=1.0.0-rc.6
4040

4141

marklogic-data-hub/src/main/java/com/marklogic/hub/FlowManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ private JobParameters buildJobParameters(Flow flow, int batchSize, int threadCou
161161
* Runs a given flow
162162
* @param flow - the flow to run
163163
* @param batchSize - the size to use for batching transactions
164+
* @param threadCount - the number of threads to use
164165
* @param statusListener - the callback to receive job status updates
165166
* @return a JobExecution instance
166167
*/

marklogic-data-hub/src/main/resources/ml-modules/root/com.marklogic.hub/tracing-rewriter.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<dispatch>/trace-ui/index.html</dispatch>
1212
</match-path>
1313

14-
<match-path matches="^/(app|vendor).*\.(js|css)(\.map)?$">
14+
<match-path matches="^/.*\.(js|css|ttf|eot|woff|woff2|svg)$">
1515
<add-query-param name="uri">$0</add-query-param>
1616
<dispatch>/com.marklogic.hub/endpoints/trace-ui.xqy</dispatch>
1717
</match-path>
1818

19-
<match-path matches="^/resources/.+$">
19+
<match-path matches="^/assets/.+$">
2020
<add-query-param name="uri">$0</add-query-param>
2121
<dispatch>/com.marklogic.hub/endpoints/trace-ui.xqy</dispatch>
2222
</match-path>

marklogic-data-hub/src/main/resources/scaffolding/build_gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ plugins {
22
id 'java'
33
id 'eclipse'
44
id 'idea'
5-
id 'net.saliman.properties' version '1.4.5'
6-
id 'com.marklogic.ml-gradle' version '2.3.1'
7-
id 'com.marklogic.ml-data-hub' version '1.0.0-rc.5'
5+
id 'net.saliman.properties' version '1.4.6'
6+
id 'com.marklogic.ml-data-hub' version '1.0.0-rc.6'
87
}
98

109
repositories {
11-
mavenLocal()
1210
jcenter()
1311
maven {url 'http://developer.marklogic.com/maven2/'}
1412
}

marklogic-data-hub/src/trace-ui/.babelrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

marklogic-data-hub/src/trace-ui/.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)