You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-79Lines changed: 2 additions & 79 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,85 +7,8 @@ Windows | [.
17
-
- Run the Jar
18
-
`java -jar quick-start-1.0.0-alpha.1.jar`
19
-
- Open the Quickstart Application in your browser:
20
-
http://localhost:8080
21
-
22
-
23
-
# Hacking on the Hub
24
-
If you want to start hacking on the internals of the Hub then look here.
25
-
26
-
#### Clone the Repo
27
-
First clone the repo
28
-
29
-
#### Building the Hub
30
-
Note that the Unit tests take a very long time to run. This command skips them
31
-
run: `./gradlew build -x test`
32
-
33
-
#### Running the Hub
34
-
run: `./gradlew bootRun`
35
-
36
-
#### Running Tests
37
-
run: `./gradlew test`
38
-
39
-
#### Using with an IDE
40
-
##### Eclipse
41
-
To generate eclipse project files run:
42
-
`./gradlew eclipse`
43
-
44
-
Then import the project into eclipse
45
-
46
-
####Available Transforms
47
-
Data Hub has provided several transforms that can be used when installed along with the created entities and flows in the MarkLogic server.
48
-
####run-flow
49
-
This transform can be used to run the flow when inserting document. It accepts the following `entity-name` and `flow-name`.
50
-
51
-
#####Use Cases:
52
-
53
-
1. Using [MarkLogic REST API PUT /v1/documents](http://docs.marklogic.com/REST/PUT/v1/documents)
To insert/update this document with uri '/employee1.xml' into the database 'data-hub-STAGING' (with host 'localhost' and port '8010'), given a user 'admin' with password 'admin' and rest-writer role AND to be able to run the flow 'IngestFlow' of the 'Customer' entity, run the following:
0 commit comments