Updated based on run through

This commit is contained in:
Glenn Renfro
2018-01-29 21:07:09 -05:00
committed by Ilayaperumal Gopinathan
parent 3b3a557299
commit 66f12709cb
2 changed files with 5 additions and 4 deletions

View File

@@ -8,13 +8,13 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.M5</version>
<version>2.0.0.M7</version>
</parent>
<properties>
<java.version>1.8</java.version>
<maven.compiler.plugin.version>3.7.0</maven.compiler.plugin.version>
<spring.cloud.task.version>1.2.2.RELEASE</spring.cloud.task.version>
<spring.batch.starter.version>2.0.0.M5</spring.batch.starter.version>
<spring.batch.starter.version>2.0.0.M7</spring.batch.starter.version>
<checkstyle.config.location>checkstyle.xml</checkstyle.config.location>
<checkstyle.plugin.version>2.17</checkstyle.plugin.version>
</properties>

View File

@@ -31,6 +31,7 @@ Resource files are included to set up the database and provide sample data:
* `data.csv` - sample data file containing person records used in the demo
NOTE: This example expects to use the Spring Cloud Data Flow Server's embedded H2 database. If you wish to use another repository, be sure to add the correct dependencies to the pom.xml and update the schema-all.sql.
==== Building and Running the Demo
@@ -45,7 +46,7 @@ $ mvn clean package
. Register the task
+
```
dataflow:>app register --name fileIngest --type task --uri file:////path/to/target/ingest-X.X.X.jar
dataflow:>app register --name fileIngest --type task --uri file:///path/to/target/ingest-X.X.X.jar
Successfully registered application 'task:fileIngest'
dataflow:>
```
@@ -65,7 +66,7 @@ dataflow:>
. Launch the task
+
```
dataflow:>task launch fileIngestTask --arguments "filePath=classpath:data.csv"
dataflow:>task launch fileIngestTask --arguments "filePath=classpath:data.csv --spring.cloud.task.closecontext_enable=false"
Launched task 'fileIngestTask'
dataflow:>
```