Skip to content

Commit 89df856

Browse files
committed
Merge branch 'release/1.0.1'
2 parents 857a51b + 8b55d71 commit 89df856

File tree

37 files changed

+754
-215
lines changed

37 files changed

+754
-215
lines changed

CHANGELOG.md

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

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

5+
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v1.0.0...v1.0.1)
6+
7+
**Fixed bugs:**
8+
9+
- Responsive CSS is hiding the menu bar [\#321](https://github.com/marklogic/marklogic-data-hub/issues/321)
10+
- Redeploy button is wiping out hub modules [\#318](https://github.com/marklogic/marklogic-data-hub/issues/318)
11+
12+
**Closed issues:**
13+
14+
- Log out why isInstalled\(\) is failing [\#324](https://github.com/marklogic/marklogic-data-hub/issues/324)
15+
- Provide Build instructions for developers [\#323](https://github.com/marklogic/marklogic-data-hub/issues/323)
16+
- Add Link to the ML On Demand Courses [\#315](https://github.com/marklogic/marklogic-data-hub/issues/315)
17+
- upgrading RC5 to RC6 [\#306](https://github.com/marklogic/marklogic-data-hub/issues/306)
18+
- Allow users to clear out corrupt install [\#304](https://github.com/marklogic/marklogic-data-hub/issues/304)
19+
20+
## [v1.0.0](https://github.com/marklogic/marklogic-data-hub/tree/v1.0.0) (2016-10-25)
521
[Full Changelog](https://github.com/marklogic/marklogic-data-hub/compare/v1.0.0-rc.6...v1.0.0)
622

723
**Fixed bugs:**

CONTRIBUTING.md

Lines changed: 57 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,70 @@
33
MarkLogic Data Hub welcomes new contributors. This document will guide you
44
through the process.
55

6-
- [Issues and Bugs](#issue)
7-
- [Feature Requests](#feature)
8-
- [Submission Guidelines](#submit)
6+
- [Issues and Bugs](#found-an-issue)
7+
- [Feature Requests](#want-a-feature)
8+
- [Building from Source](#building-the-framework-from-source)
9+
- [Submission Guidelines](#submission-guidelines)
910

10-
## <a name="issue"></a> Found an Issue?
11+
## Found an Issue?
1112
If you find a bug in the source code or a mistake in the documentation, you can help us by submitting an issue to our [GitHub Issue Tracker][issue tracker]. Even better you can submit a Pull Request
1213
with a fix for the issue you filed.
1314

14-
## <a name="feature"></a> Want a Feature?
15+
## Want a Feature?
1516
You can request a new feature by submitting an issue to our [GitHub Issue Tracker][issue tracker]. If you
1617
would like to implement a new feature then first create a new issue and discuss it with one of our
1718
project maintainers.
1819

19-
## <a name="submit"></a> Submission Guidelines
20+
## Building the Framework from Source
21+
Looking to build the code from source? Look no further.
22+
23+
#### Prerequisites
24+
You need these to get started
25+
26+
- Java 8 JDK
27+
- Gradle (the newer the better)
28+
- Node JS 6.5 or newer
29+
- Typings `npm -g install typings`
30+
- A decent IDE. IntelliJ is nice.
31+
32+
#### Building from the command line
33+
**First, a warning.** _The DHF has a ton of tests and they take a very long time to run. Considering you might not want to invest 30 minutes to wait for tests these instructions will show you how to skip the tests._
34+
35+
To build the entire DHF (marklogic-data-hub.jar, quickstart.war, and ml-data-hub-plugin for gradle) simply run this command:
36+
37+
```bash
38+
cd /path/to/data-hub-project/
39+
gradle build -x test
40+
```
41+
42+
#### Running the QuickStart UI from source
43+
Make sure you have the prerequisites installed.
44+
45+
You will need to open two terminal windows.
46+
47+
**Terminal window 1** - This runs the webapp.
48+
```bash
49+
cd /path/to/data-hub-project
50+
gradle bootrun
51+
```
52+
53+
**Terminal window 2** - This runs the Quickstart UI
54+
```
55+
cd /path/to/data-hub-project/quick-start
56+
npm install
57+
npm start
58+
```
59+
60+
Now open your browser to [http://localhost:4200](http://localhost:4200) to use the debug version of the Quickstart UI.
61+
62+
## Submission Guidelines
2063

2164
### Submitting an Issue
2265
Before you submit your issue search the archive, maybe your question was already answered.
2366

2467
If your issue appears to be a bug, and hasn't been reported, open a new issue.
2568
Help us to maximize the effort we can spend fixing issues and adding new
26-
features, by not reporting duplicate issues. Providing the following information will increase the
27-
chances of your issue being dealt with quickly:
28-
29-
* **Overview of the Issue** - if an error is being thrown a stack trace helps
30-
* **Motivation for or Use Case** - explain why this is a bug for you
31-
* **Version** - which version is it?
32-
* **Operating System** - Mac, windows? details help
33-
* **Suggest a Fix** - if you can't fix the bug yourself, perhaps you can point to what might be
34-
causing the problem (line of code or commit)
69+
features, by not reporting duplicate issues. Please fill out the issue template so that your issue can be dealt with quickly.
3570

3671
### Submitting a Pull Request
3772

@@ -55,10 +90,10 @@ your vision does not align with that of a project maintainer.
5590
#### Create a branch for your changes
5691

5792
Okay, so you have decided to fix something. Create a feature branch
58-
and start hacking:
93+
and start hacking. **Note** that we use git flow and thus our most recent changes live on the develop branch.
5994

6095
```sh
61-
$ git checkout -b my-feature-branch -t origin/master
96+
$ git checkout -b my-feature-branch -t origin/develop
6297
```
6398

6499
#### Formatting code
@@ -108,7 +143,7 @@ Use `git rebase` (not `git merge`) to sync your work from time to time.
108143

109144
```sh
110145
$ git fetch upstream
111-
$ git rebase upstream/dev
146+
$ git rebase upstream/develop
112147
```
113148

114149

@@ -152,10 +187,10 @@ from the main (upstream) repository:
152187
git push origin --delete my-feature-branch
153188
```
154189

155-
* Check out the dev branch:
190+
* Check out the develop branch:
156191

157192
```shell
158-
git checkout dev -f
193+
git checkout develop -f
159194
```
160195

161196
* Delete the local branch:
@@ -164,10 +199,10 @@ from the main (upstream) repository:
164199
git branch -D my-feature-branch
165200
```
166201

167-
* Update your dev with the latest upstream version:
202+
* Update your develop with the latest upstream version:
168203

169204
```shell
170-
git pull --ff upstream dev
205+
git pull --ff upstream develop
171206
```
172207

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

README.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,69 @@ This project allows you to deploy a skeleton Data Hub into MarkLogic. With some
1313

1414
# Getting Started
1515

16+
###TL;DR
17+
1618
Head over to our [Getting Started Tutorial](https://marklogic.github.io/marklogic-data-hub/) to get up and running with the Data Hub.
19+
20+
Or watch the [MarkLogic University - Data Hub Framework On Demand Video Courses](http://mlu.marklogic.com/ondemand/index.xqy?q=Series%3A%22Operational%20Data%20Hubs%22)
21+
22+
###The Easiest Way
23+
24+
To use the Data Hub Framework you should download the quickstart.war file from the [releases page](https://github.com/marklogic/marklogic-data-hub/releases).
25+
26+
Then Run the war like so:
27+
28+
```bash
29+
java -jar quickstart.war
30+
```
31+
32+
###Using the Hub in your existing Java project
33+
34+
Alternatively you can include the jar file as a build dependency in your Java project. Make sure you reference the latest version.
35+
36+
**Gradle**
37+
38+
```groovy
39+
compile('com.marklogic:marklogic-data-hub:1.0.1')
40+
```
41+
42+
**Maven**
43+
44+
```xml
45+
<dependency>
46+
<groupId>com.marklogic</groupId>
47+
<artifactId>marklogic-data-hub</artifactId>
48+
<version>1.0.1</version>
49+
<type>pom</type>
50+
</dependency>
51+
```
52+
53+
**Ivy**
54+
55+
```xml
56+
<dependency org='com.marklogic' name='marklogic-data-hub' rev='1.0.1'>
57+
<artifact name='$AID' ext='pom'></artifact>
58+
</dependency>
59+
```
60+
61+
### Command Line Ninjas
62+
63+
If you prefer to use gradle for all of your hub interactions then you can include the ml-data-hub gradle plugin in your build.gradle file:
64+
65+
```groovy
66+
plugins {
67+
id 'com.marklogic.ml-data-hub' version '1.0.1'
68+
}
69+
```
70+
71+
Now you have full access to the Data Hub tasks. To see all available tasks run:
72+
73+
```bash
74+
gradle tasks
75+
```
76+
77+
# Building From Source
78+
79+
Feeling intrepid? Want to contrubute to the Data Hub Framework? Perhaps you just want to poke the code?
80+
81+
Look at our [CONTRIBUTING.md](https://github.com/marklogic/marklogic-data-hub/blob/master/CONTRIBUTING.md#building-the-framework-from-source) file for details on building from source.

examples/spring-batch/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
id 'idea'
55
id 'application'
66
id 'net.saliman.properties' version '1.4.6'
7-
id 'com.marklogic.ml-data-hub' version '1.0.0'
7+
id 'com.marklogic.ml-data-hub' version '1.0.1'
88
}
99

1010
repositories {
@@ -13,7 +13,7 @@ repositories {
1313
}
1414

1515
dependencies {
16-
compile 'com.marklogic:marklogic-data-hub:1.0.0'
16+
compile 'com.marklogic:marklogic-data-hub:1.0.1'
1717
compile 'com.marklogic:marklogic-spring-batch-core:0.6.0'
1818
compile 'com.marklogic:ml-javaclient-util:2.9.1'
1919
testCompile 'com.marklogic:marklogic-spring-batch-test:0.6.0'

marklogic-data-hub/build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id 'java'
44
id 'maven-publish'
55
id 'com.jfrog.bintray' version '1.7.2'
6-
id 'com.marklogic.ml-gradle' version '2.3.4'
6+
id 'com.marklogic.ml-gradle' version '2.4.0'
77
id 'com.moowork.node' version '0.13'
88
}
99

@@ -23,7 +23,7 @@ dependencies {
2323
compile 'org.springframework:spring-jdbc:4.2.6.RELEASE'
2424
compile 'com.marklogic:java-client-api:3.0.5'
2525
compile 'com.marklogic:ml-javaclient-util:2.10.0'
26-
compile 'com.marklogic:ml-app-deployer:2.3.0'
26+
compile 'com.marklogic:ml-app-deployer:2.4.0'
2727
compile 'com.marklogic:marklogic-spring-batch-core:0.7.0'
2828
compile 'commons-io:commons-io:2.4'
2929
testCompile 'org.springframework.batch:spring-batch-test:3.0.6.RELEASE'
@@ -80,6 +80,12 @@ task copyUIAssets(type: Copy) {
8080
dependsOn tasks.buildUI
8181
}
8282

83+
processResources {
84+
filesMatching("**/version.properties") {
85+
expand(project: project)
86+
}
87+
}
88+
8389
if (!gradle.startParameter.taskNames.contains('bootrun')) {
8490
processResources.dependsOn copyUIAssets
8591
}

marklogic-data-hub/gradle.properties

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

39-
version=1.0.0
39+
version=1.0.1
4040

4141

0 commit comments

Comments
 (0)