Skip to content

Commit 55774df

Browse files
committed
added mention of which QConsole db to tweets readme
added xml comment to the flow files
1 parent 3790098 commit 55774df

File tree

9 files changed

+10
-1
lines changed

9 files changed

+10
-1
lines changed

examples/healthcare/plugins/entities/Patients/conformance/final/final.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" ?>
2+
<!--This file is autogenerated. Please don't edit.-->
23
<flow xmlns="http://marklogic.com/data-hub">
34
<complexity>simple</complexity>
45
<data-format>application/xml</data-format>

examples/healthcare/plugins/entities/Patients/input/hl7/hl7.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" ?>
2+
<!--This file is autogenerated. Please don't edit.-->
23
<flow xmlns="http://marklogic.com/data-hub">
34
<complexity>simple</complexity>
45
<data-format>application/xml</data-format>

examples/healthcare/plugins/entities/Patients/input/nppes/nppes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" ?>
2+
<!--This file is autogenerated. Please don't edit.-->
23
<flow xmlns="http://marklogic.com/data-hub">
34
<complexity>simple</complexity>
45
<data-format>application/xml</data-format>

examples/hr-hub/plugins/entities/Employee/conformance/conform-acme-tech/conform-acme-tech.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" ?>
2+
<!--This file is autogenerated. Please don't edit.-->
23
<flow xmlns="http://marklogic.com/data-hub">
34
<complexity>simple</complexity>
45
<data-format>application/json</data-format>

examples/hr-hub/plugins/entities/Employee/conformance/conform-global-corp/conform-global-corp.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" ?>
2+
<!--This file is autogenerated. Please don't edit.-->
23
<flow xmlns="http://marklogic.com/data-hub">
34
<complexity>simple</complexity>
45
<data-format>application/json</data-format>

examples/hr-hub/plugins/entities/Employee/input/load-acme-tech/load-acme-tech.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" ?>
2+
<!--This file is autogenerated. Please don't edit.-->
23
<flow xmlns="http://marklogic.com/data-hub">
34
<complexity>simple</complexity>
45
<data-format>application/json</data-format>

examples/hr-hub/plugins/entities/Employee/input/load-global-corp/load-global-corp.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" ?>
2+
<!--This file is autogenerated. Please don't edit.-->
23
<flow xmlns="http://marklogic.com/data-hub">
34
<complexity>simple</complexity>
45
<data-format>application/json</data-format>

examples/tweets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The tweets are zipped into a .zip file in the input/ folder.
3030

3131
1. Load the tweets by pressing the **Load Data** button next to ingest-tweets. When prompted, choose the input folder. Set the collection to **tweets**. Set the Data Format to **Documents**. Check the **Input Files are Compressed** checkbox. Now Press **Submit**.
3232

33-
1. At this point you have loaded the sample tweets. You can browse the data via [QConsole](http://localhost:8000/qconsole) or by searching the REST endpoint on the Staging Http Server [http://localhost:8010/v1/search](http://localhost:8010/v1/search). *Your port may be different if you changed it during setup*
33+
1. At this point you have loaded the sample tweets. You can browse the data via [QConsole](http://localhost:8000/qconsole) in the data-hub-STAGING database or by searching the REST endpoint on the Staging Http Server [http://localhost:8010/v1/search](http://localhost:8010/v1/search). *Your port may be different if you changed it during setup*
3434

3535
1. To run the conformance flow simply press the **Run** button next to the "conform-tweets" flow.
3636

marklogic-data-hub/src/main/java/com/marklogic/hub/flow/AbstractFlow.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ public String serialize() {
263263
ByteArrayOutputStream out = new ByteArrayOutputStream();
264264
XMLStreamWriter serializer = makeXMLSerializer(out);
265265
serializer.writeStartDocument();
266+
serializer.writeComment("This file is autogenerated. Please don't edit.");
267+
serializer.writeCharacters(System.getProperty("line.separator"));
266268
serializer.writeStartElement("flow");
267269

268270
// only save the essential information that can't be gleaned from

0 commit comments

Comments
 (0)