Skip to content

Commit 119ee41

Browse files
committed
Merge branch 'release/2.0.0-rc.2' into 2.0-master
2 parents f19cfef + b6a19d0 commit 119ee41

File tree

577 files changed

+23276
-10986
lines changed

Some content is hidden

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

577 files changed

+23276
-10986
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ node_modules/
2323
.tmp/
2424
*.sublime-*
2525
.vscode/
26+
*.iml
27+
*.ipr
28+
*.iws
29+
*.db
File renamed without changes.

CHANGELOG.md

Lines changed: 113 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,119 @@
11
# Change Log
22

3-
## [Unreleased](https://github.com/marklogic-community/marklogic-data-hub/tree/v2.0.0-beta.2)
3+
## [v2.0.0-rc.2](https://github.com/marklogic-community/marklogic-data-hub/tree/v2.0.0-rc.2)
44

5-
[Full Changelog](https://github.com/marklogic-community/marklogic-data-hub/compare/v1.1.3...v2.0.0-beta.2)
5+
[Full Changelog](https://github.com/marklogic-community/marklogic-data-hub/compare/v1.1.5...v2.0.0-rc.2)
6+
7+
**Implemented enhancements:**
8+
9+
- Add Fastload support for MLCP [\#490](https://github.com/marklogic-community/marklogic-data-hub/issues/490)
10+
- Refactor to use main.xqy [\#484](https://github.com/marklogic-community/marklogic-data-hub/issues/484)
11+
- Refactor classes that break openjdk [\#482](https://github.com/marklogic-community/marklogic-data-hub/issues/482)
12+
13+
**Fixed bugs:**
14+
15+
- Next button not working when browsing to new hub project directory [\#502](https://github.com/marklogic-community/marklogic-data-hub/issues/502)
16+
- Quickstart gets stuck in Loading... with js error [\#501](https://github.com/marklogic-community/marklogic-data-hub/issues/501)
17+
- scaffolded flow from empty ES model has errors [\#495](https://github.com/marklogic-community/marklogic-data-hub/issues/495)
18+
- Need to properly escape the path for RegEx [\#494](https://github.com/marklogic-community/marklogic-data-hub/issues/494)
19+
- Files are being locked on Windows [\#450](https://github.com/marklogic-community/marklogic-data-hub/issues/450)
20+
21+
**Closed issues:**
22+
23+
- Increase gradleVersion to 3.4 for the wrapper task [\#499](https://github.com/marklogic-community/marklogic-data-hub/issues/499)
24+
- MLCP 9.0.2 isn't backwards compatible [\#498](https://github.com/marklogic-community/marklogic-data-hub/issues/498)
25+
- Example: Make a barebones example for cmd line ninjas [\#497](https://github.com/marklogic-community/marklogic-data-hub/issues/497)
26+
- ML behind Firewall + different ports [\#489](https://github.com/marklogic-community/marklogic-data-hub/issues/489)
27+
- Ports 8010 and 8011 conflicting with Ops-Director [\#447](https://github.com/marklogic-community/marklogic-data-hub/issues/447)
28+
29+
**Merged pull requests:**
30+
31+
- Support MLCP fastload [\#500](https://github.com/marklogic-community/marklogic-data-hub/pull/500) ([RobertSzkutak](https://github.com/RobertSzkutak))
32+
33+
## [v1.1.5](https://github.com/marklogic-community/marklogic-data-hub/tree/v1.1.5) (2017-08-14)
34+
[Full Changelog](https://github.com/marklogic-community/marklogic-data-hub/compare/v1.1.4...v1.1.5)
35+
36+
**Implemented enhancements:**
37+
38+
- Update Quickstart Ready message [\#478](https://github.com/marklogic-community/marklogic-data-hub/issues/478)
39+
- Example: Migrating a RDBMS to Data Hub using Spring Batch [\#473](https://github.com/marklogic-community/marklogic-data-hub/issues/473)
40+
41+
**Fixed bugs:**
42+
43+
- Providing different source/dest DB for the hubRunFlow does not work [\#488](https://github.com/marklogic-community/marklogic-data-hub/issues/488)
44+
- Path to code has wrong slash on Windows [\#467](https://github.com/marklogic-community/marklogic-data-hub/issues/467)
45+
- Job status stuck on STARTED for Input Flows [\#466](https://github.com/marklogic-community/marklogic-data-hub/issues/466)
46+
- File not saving properly from quickstart to fix a bug [\#430](https://github.com/marklogic-community/marklogic-data-hub/issues/430)
47+
- Error on initial run of QuickStart GUI [\#394](https://github.com/marklogic-community/marklogic-data-hub/issues/394)
48+
- Error saving entity - collation not legal [\#337](https://github.com/marklogic-community/marklogic-data-hub/issues/337)
49+
50+
**Closed issues:**
51+
52+
- collection name is hard coded in online store example [\#474](https://github.com/marklogic-community/marklogic-data-hub/issues/474)
53+
- add \(rest-extension-user,read\) to XML documents in modules-db [\#470](https://github.com/marklogic-community/marklogic-data-hub/issues/470)
54+
- column-width, or tooltip with full "Identifier" in traces table [\#469](https://github.com/marklogic-community/marklogic-data-hub/issues/469)
55+
- Initializing DHF Project against existing DB is dropping indexes [\#468](https://github.com/marklogic-community/marklogic-data-hub/issues/468)
56+
- Saving the changes in a flow code never finishes \*sometimes\* [\#462](https://github.com/marklogic-community/marklogic-data-hub/issues/462)
57+
- Sometimes a trace for a failed Harmonize job is not available/not existing [\#461](https://github.com/marklogic-community/marklogic-data-hub/issues/461)
58+
- Unable to ingest image \(.png\) documents using DHF Quick-Start application [\#420](https://github.com/marklogic-community/marklogic-data-hub/issues/420)
59+
- Load files into the data hub schemas database [\#288](https://github.com/marklogic-community/marklogic-data-hub/issues/288)
60+
- Ability to override uri for input flows [\#182](https://github.com/marklogic-community/marklogic-data-hub/issues/182)
61+
- Create concept of a domain [\#82](https://github.com/marklogic-community/marklogic-data-hub/issues/82)
62+
63+
**Merged pull requests:**
64+
65+
- Feature/473 msb example [\#480](https://github.com/marklogic-community/marklogic-data-hub/pull/480) ([sastafford](https://github.com/sastafford))
66+
- Some typos and suggestions [\#475](https://github.com/marklogic-community/marklogic-data-hub/pull/475) ([patrickmcelwee](https://github.com/patrickmcelwee))
67+
68+
## [v1.1.4](https://github.com/marklogic-community/marklogic-data-hub/tree/v1.1.4) (2017-07-25)
69+
[Full Changelog](https://github.com/marklogic-community/marklogic-data-hub/compare/v2.0.0-rc.1...v1.1.4)
70+
71+
## [v2.0.0-rc.1](https://github.com/marklogic-community/marklogic-data-hub/tree/v2.0.0-rc.1) (2017-07-24)
72+
[Full Changelog](https://github.com/marklogic-community/marklogic-data-hub/compare/v2.0.0-beta.1...v2.0.0-rc.1)
73+
74+
**Implemented enhancements:**
75+
76+
- Cannot specify default permissions for data-hub-modules db [\#434](https://github.com/marklogic-community/marklogic-data-hub/issues/434)
77+
78+
**Fixed bugs:**
79+
80+
- MlcpRunner is being started improperly [\#452](https://github.com/marklogic-community/marklogic-data-hub/issues/452)
81+
- Code deploy fails when An entity is deleted [\#451](https://github.com/marklogic-community/marklogic-data-hub/issues/451)
82+
- error during data hub workshop [\#437](https://github.com/marklogic-community/marklogic-data-hub/issues/437)
83+
- when scaffolding code for an array, have it be empty list \[\] rather than null [\#432](https://github.com/marklogic-community/marklogic-data-hub/issues/432)
84+
- gradlew is generated without execute permission [\#428](https://github.com/marklogic-community/marklogic-data-hub/issues/428)
85+
- RunFlowTask using dyslexic string for hub key [\#419](https://github.com/marklogic-community/marklogic-data-hub/issues/419)
86+
87+
**Closed issues:**
88+
89+
- Upgrade quick-start to mlcp 9.0.2 [\#465](https://github.com/marklogic-community/marklogic-data-hub/issues/465)
90+
- QuickStart app doesn't work on Internet Explorer 11 [\#463](https://github.com/marklogic-community/marklogic-data-hub/issues/463)
91+
- Redeploy modules removes trace and debugging settings [\#460](https://github.com/marklogic-community/marklogic-data-hub/issues/460)
92+
- Quickstart Application not working on Internet Explorer [\#456](https://github.com/marklogic-community/marklogic-data-hub/issues/456)
93+
- Envelope instance created does not include "info" [\#455](https://github.com/marklogic-community/marklogic-data-hub/issues/455)
94+
- Error when creating a harmonize flow based on entity definition [\#454](https://github.com/marklogic-community/marklogic-data-hub/issues/454)
95+
- tutorial link is 404: https://marklogic.github.io/marklogic-data-hub/ [\#449](https://github.com/marklogic-community/marklogic-data-hub/issues/449)
96+
- Changes to $options not persisting if set in headers or triples in Harmonization flow [\#448](https://github.com/marklogic-community/marklogic-data-hub/issues/448)
97+
- Input flow job \(load-acme-tech\) failing on 2.0.0-beta.1 [\#446](https://github.com/marklogic-community/marklogic-data-hub/issues/446)
98+
- Fix AppVeyor CI [\#445](https://github.com/marklogic-community/marklogic-data-hub/issues/445)
99+
- consider using windows compatible line breaks [\#444](https://github.com/marklogic-community/marklogic-data-hub/issues/444)
100+
- RFE: support setting log level [\#442](https://github.com/marklogic-community/marklogic-data-hub/issues/442)
101+
- Setting replica forest data path [\#441](https://github.com/marklogic-community/marklogic-data-hub/issues/441)
102+
- Replica forests not created from quick-start [\#439](https://github.com/marklogic-community/marklogic-data-hub/issues/439)
103+
- Error in documentation for the REST transform [\#433](https://github.com/marklogic-community/marklogic-data-hub/issues/433)
104+
- Harmonization hits maximum document size in collector output [\#427](https://github.com/marklogic-community/marklogic-data-hub/issues/427)
105+
- Create a checklist for making DHF releases [\#424](https://github.com/marklogic-community/marklogic-data-hub/issues/424)
106+
- Expose the ability to set the writer plugin's target database in gradle [\#423](https://github.com/marklogic-community/marklogic-data-hub/issues/423)
107+
- Document all gradle hub tasks [\#402](https://github.com/marklogic-community/marklogic-data-hub/issues/402)
108+
- Document query-only mode for plugins [\#368](https://github.com/marklogic-community/marklogic-data-hub/issues/368)
109+
- Generated code template from Entity for nested item hides vars \(v2/Entities\) [\#353](https://github.com/marklogic-community/marklogic-data-hub/issues/353)
110+
- Control what runs in update mode to minimize locking [\#300](https://github.com/marklogic-community/marklogic-data-hub/issues/300)
111+
- Library Modules not being autodeployed [\#299](https://github.com/marklogic-community/marklogic-data-hub/issues/299)
112+
- Uninstall doesn't always finish on the UI [\#266](https://github.com/marklogic-community/marklogic-data-hub/issues/266)
113+
- Consider name and description for data hub framework and tooling [\#175](https://github.com/marklogic-community/marklogic-data-hub/issues/175)
114+
115+
## [v2.0.0-beta.1](https://github.com/marklogic-community/marklogic-data-hub/tree/v2.0.0-beta.1) (2017-05-31)
116+
[Full Changelog](https://github.com/marklogic-community/marklogic-data-hub/compare/v1.1.3...v2.0.0-beta.1)
6117

7118
**Implemented enhancements:**
8119

CONTRIBUTING.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Looking to build the code from source? Look no further.
2424
You need these to get started
2525

2626
- Java 8 JDK
27-
- Gradle (3.1 or greater)
27+
- Gradle (3.4 or greater)
2828
- Node JS 6.5 or newer
2929
- Typings `npm -g install typings`
3030
- A decent IDE. IntelliJ is nice.
@@ -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 '2.0.0-rc.1'
74+
// id 'com.marklogic.ml-data-hub' version '2.0.0-rc.2'
7575
}
7676
7777
// this tells gradle to apply the plugin you included above in the buildscript section
@@ -91,9 +91,8 @@ cd /path/to/data-hub-project
9191

9292
**Terminal window 2** - This runs the Quickstart UI
9393
```
94-
cd /path/to/data-hub-project/quick-start
95-
npm install
96-
npm start
94+
cd /path/to/data-hub-project
95+
./gradlew runui
9796
```
9897

9998
Now open your browser to [http://localhost:4200](http://localhost:4200) to use the debug version of the Quickstart UI.
@@ -129,10 +128,10 @@ your vision does not align with that of a project maintainer.
129128
#### Create a branch for your changes
130129

131130
Okay, so you have decided to fix something. Create a feature branch
132-
and start hacking. **Note** that we use git flow and thus our most recent changes live on the 2.0-develop branch.
131+
and start hacking. **Note** that we use git flow and thus our most recent changes live on the develop branch.
133132

134133
```sh
135-
$ git checkout -b my-feature-branch -t origin/2.0-develop
134+
$ git checkout -b my-feature-branch -t origin/develop
136135
```
137136

138137
#### Formatting code
@@ -182,7 +181,7 @@ Use `git rebase` (not `git merge`) to sync your work from time to time.
182181

183182
```sh
184183
$ git fetch upstream
185-
$ git rebase upstream/2.0-develop
184+
$ git rebase upstream/develop
186185
```
187186

188187

@@ -230,10 +229,10 @@ from the main (upstream) repository:
230229
git push origin --delete my-feature-branch
231230
```
232231

233-
* Check out the 2.0-develop branch:
232+
* Check out the develop branch:
234233

235234
```shell
236-
git checkout 2.0-develop -f
235+
git checkout develop -f
237236
```
238237

239238
* Delete the local branch:
@@ -242,10 +241,10 @@ from the main (upstream) repository:
242241
git branch -D my-feature-branch
243242
```
244243

245-
* Update your 2.0-develop with the latest upstream version:
244+
* Update your develop with the latest upstream version:
246245

247246
```shell
248-
git pull --ff upstream 2.0-develop
247+
git pull --ff upstream develop
249248
```
250249

251250
[issue tracker]: https://github.com/marklogic-community/marklogic-data-hub/issues

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ _The Data Hub Framework is free and open source under the [Apache 2 License](htt
44

55
| OS | Status |
66
| --- | --- |
7-
| Linux/Mac | [![Build Status](https://travis-ci.org/marklogic-community/marklogic-data-hub.svg?branch=2.0-master)](https://travis-ci.org/marklogic-community/marklogic-data-hub) |
8-
| Windows | [![Windows Build status](https://ci.appveyor.com/api/projects/status/kgj0k5na59uhkvbv/branch/2.0-master?svg=true)](https://ci.appveyor.com/project/paxtonhare/marklogic-data-hub) |
7+
| Linux/Mac | [![Build Status](https://travis-ci.org/marklogic-community/marklogic-data-hub.svg?branch=master)](https://travis-ci.org/marklogic-community/marklogic-data-hub) |
8+
| Windows | [![Windows Build status](https://ci.appveyor.com/api/projects/status/kgj0k5na59uhkvbv/branch/master?svg=true)](https://ci.appveyor.com/project/paxtonhare/marklogic-data-hub) |
99

1010
### Warning
1111
_This is the the 2.0 branch of The MarkLogic Data Hub Framework. The 2.0 version is only compatible with MarkLogic 9.0._
@@ -26,7 +26,7 @@ You need these to get started
2626

2727
- Java 8 JDK
2828
- MarkLogic 9.0 or greater
29-
- Gradle 3.1 or greater **(Optional)**
29+
- Gradle 3.4 or greater **(Optional)**
3030

3131
### TL;DR
3232

@@ -51,7 +51,7 @@ Alternatively you can include the jar file as a build dependency in your Java pr
5151
**Gradle**
5252

5353
```groovy
54-
compile('com.marklogic:marklogic-data-hub:2.0.0-rc.1')
54+
compile('com.marklogic:marklogic-data-hub:2.0.0-rc.2')
5555
```
5656

5757
**Maven**
@@ -60,15 +60,15 @@ compile('com.marklogic:marklogic-data-hub:2.0.0-rc.1')
6060
<dependency>
6161
<groupId>com.marklogic</groupId>
6262
<artifactId>marklogic-data-hub</artifactId>
63-
<version>2.0.0-rc.1</version>
63+
<version>2.0.0-rc.2</version>
6464
<type>pom</type>
6565
</dependency>
6666
```
6767

6868
**Ivy**
6969

7070
```xml
71-
<dependency org='com.marklogic' name='marklogic-data-hub' rev='2.0.0-rc.1'>
71+
<dependency org='com.marklogic' name='marklogic-data-hub' rev='2.0.0-rc.2'>
7272
<artifact name='$AID' ext='pom'></artifact>
7373
</dependency>
7474
```
@@ -79,7 +79,7 @@ If you prefer to use gradle for all of your hub interactions then you can includ
7979

8080
```groovy
8181
plugins {
82-
id 'com.marklogic.ml-data-hub' version '2.0.0-rc.1'
82+
id 'com.marklogic.ml-data-hub' version '2.0.0-rc.2'
8383
}
8484
```
8585

@@ -93,4 +93,4 @@ Now you have full access to the Data Hub tasks. To see all available tasks run:
9393

9494
Feeling intrepid? Want to contrubute to the Data Hub Framework? Perhaps you just want to poke the code?
9595

96-
Look at our [CONTRIBUTING.md](https://github.com/marklogic-community/marklogic-data-hub/blob/2.0-master/CONTRIBUTING.md#building-the-framework-from-source) file for details on building from source.
96+
Look at our [CONTRIBUTING.md](https://github.com/marklogic-community/marklogic-data-hub/blob/master/CONTRIBUTING.md#building-the-framework-from-source) file for details on building from source.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ subprojects {
3333
}
3434

3535
task wrapper(type: Wrapper) {
36-
gradleVersion = '3.1'
36+
gradleVersion = '3.4'
3737
}

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
image: marklogiccommunity/marklogic-datahub-2x
55
build:
66
context: .
7-
dockerfile: ./.travis/Dockerfile-ml
7+
dockerfile: ./.travis/Dockerfile
88
ports:
99
- "5005:5005"
1010
- "8000-8020:8000-8020"

examples/.editorconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[*]
2+
end_of_line = crlf

examples/.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
config
2-
build.gradle
3-
gradle.properties
4-
gradle-local.properties
5-
hub-internal-config/
6-
user-config/
1+
config
2+
build.gradle
3+
gradle.properties
4+
gradle-local.properties
5+
hub-internal-config/
6+
user-config/

examples/barebones/README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Barebones Example
2+
3+
This example shows you the zen of Data Hub Framework. Simply drop a `build.gradle` into a directory with these contents:
4+
5+
build.gradle:
6+
```groovy
7+
plugins {
8+
// this plugin lets you create properties files
9+
// for multiple environments... like dev, qa, prod
10+
id 'net.saliman.properties' version '1.4.6'
11+
12+
// this is the data hub framework gradle plugin
13+
// it includes ml-gradle. This plugin is what lets you
14+
// run DHF (Data Hub Framework) tasks from the
15+
// command line
16+
id 'com.marklogic.ml-data-hub' version '2.0.0-rc.2'
17+
}
18+
```
19+
20+
Next, Initialize your DHF app:
21+
22+
```bash
23+
gradle hubInit
24+
```
25+
26+
Then Bootstrap your DHF app:
27+
28+
```bash
29+
gradle mlDeploy
30+
```
31+
32+
Then Deploy your custom modules:
33+
34+
```bash
35+
gradle mlLoadModules
36+
```
37+
38+
You can use scaffolding commands to configure flows.
39+
40+
```bash
41+
gradle hubCreateInputFlow
42+
gradle hubCreateHarmonizeFlow
43+
```
44+
For a complete list of gradle tasks, check here: [https://github.com/marklogic-community/marklogic-data-hub/wiki/Gradle-Tasks](https://github.com/marklogic-community/marklogic-data-hub/wiki/Gradle-Tasks)

0 commit comments

Comments
 (0)