Consolidate version numbers to 2.0.0(-SNAPSHOT)
Partially resolves #156
This commit is contained in:
@@ -32,14 +32,14 @@ NOTE: You can modify the docker org and version by applying the following: `-Ddo
|
||||
|
||||
Assuming you are using Mariadb
|
||||
```
|
||||
$ java -jar target/billsetuptask-0.0.1-SNAPSHOT.jar --spring.datasource.url=jdbc:mariadb://localhost:3306/<your database>?useSSL=false --spring.datasource.username=<user> --spring.datasource.password=<password> --spring.datasource.driverClassName=org.mariadb.jdbc.Driver
|
||||
$ java -jar target/billsetuptask-2.0.0-SNAPSHOT.jar --spring.datasource.url=jdbc:mariadb://localhost:3306/<your database>?useSSL=false --spring.datasource.username=<user> --spring.datasource.password=<password> --spring.datasource.driverClassName=org.mariadb.jdbc.Driver
|
||||
```
|
||||
|
||||
=== To execute billrun locally
|
||||
|
||||
Assuming you are using Mariadb, this app will load data from the usageinfo.txt file found in the classpath (included in the jar).
|
||||
```
|
||||
$ java -jar target/billrun-0.0.1-SNAPSHOT.jar --spring.datasource.url=--spring.datasource.url=jdbc:mariadb://localhost:3306/<your database>?useSSL=false --spring.datasource.username=<user> --spring.datasource.password=<password> --spring.datasource.driverClassName=org.mariadb.jdbc.Driver
|
||||
$ java -jar target/billrun-2.0.0-SNAPSHOT.jar --spring.datasource.url=--spring.datasource.url=jdbc:mariadb://localhost:3306/<your database>?useSSL=false --spring.datasource.username=<user> --spring.datasource.password=<password> --spring.datasource.driverClassName=org.mariadb.jdbc.Driver
|
||||
```
|
||||
If you wish to read a directory containing the data you can use the following command line argument:
|
||||
`--usage.file.name=file://<location of json file to upload>`
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<artifactId>spring-cloud-task-edu-samples</artifactId>
|
||||
<groupId>io.spring</groupId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>billrun</artifactId>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<artifactId>spring-cloud-task-edu-samples</artifactId>
|
||||
<groupId>io.spring</groupId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>billsetuptask</artifactId>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<artifactId>spring-cloud-task-edu-samples</artifactId>
|
||||
<groupId>io.spring</groupId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Spring Cloud Task EDU Samples</name>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>io.spring.cloud.dataflow.ingest</groupId>
|
||||
<artifactId>ingest</artifactId>
|
||||
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
|
||||
@@ -34,9 +34,9 @@ Open two different terminals and start the producer and consumer as follows:
|
||||
|
||||
[source,bash,options=nowrap,subs=attributes]
|
||||
----
|
||||
java -jar kinesisproducer/target/kinesisproducer-0.0.1-SNAPSHOT.jar
|
||||
java -jar kinesisproducer/target/kinesisproducer-2.0.0-SNAPSHOT.jar
|
||||
|
||||
java -jar kinesisconsumer/target/kinesisconsumer-0.0.1-SNAPSHOT.jar
|
||||
java -jar kinesisconsumer/target/kinesisconsumer-2.0.0-SNAPSHOT.jar
|
||||
----
|
||||
|
||||
## Results
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
<parent>
|
||||
<artifactId>kinesisdemo</artifactId>
|
||||
<groupId>com.example</groupId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>kinesisconsumer</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<name>kinesisconsumer</name>
|
||||
<description>Demo project for Spring Boot</description>
|
||||
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
<parent>
|
||||
<artifactId>kinesisdemo</artifactId>
|
||||
<groupId>com.example</groupId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>kinesisproducer</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<name>kinesisproducer</name>
|
||||
<description>Demo project for Spring Boot</description>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>com.example</groupId>
|
||||
<artifactId>kinesisdemo</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<modules>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</parent>
|
||||
<groupId>io.spring.cloud.dataflow.alert.webhook</groupId>
|
||||
<artifactId>scdf-alert-webhook</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<name>scdf-alert-webhook</name>
|
||||
<description>Demo project for Spring Boot</description>
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</parent>
|
||||
<groupId>io.spring.dataflow.sample</groupId>
|
||||
<artifactId>composed-http-transformer-kafka</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<name>composed-http-transformer-kafka</name>
|
||||
<description>Spring Cloud Stream Http Transformer Kafka Binder Application</description>
|
||||
<distributionManagement>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</parent>
|
||||
<groupId>io.spring.dataflow.sample</groupId>
|
||||
<artifactId>composed-http-transformer-kotlin-kafka</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<name>composed-http-transformer-kotlin-kafka</name>
|
||||
<description>Spring Cloud Stream Http Transformer Kotlin Processor with Kafka Binder Application</description>
|
||||
<distributionManagement>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</parent>
|
||||
<groupId>io.spring.dataflow.sample</groupId>
|
||||
<artifactId>composed-http-transformer-kotlin-rabbitmq</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<name>http-transformer-kotlin-rabbitmq</name>
|
||||
<description>Spring Cloud Stream Http Transformer Kotlin Processor with Rabbit Binder Application</description>
|
||||
<distributionManagement>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</parent>
|
||||
<groupId>io.spring.dataflow.sample</groupId>
|
||||
<artifactId>composed-http-transformer-rabbitmq</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<name>composed-http-transformer-rabbitmq</name>
|
||||
<description>Spring Cloud Stream Http Transformer Rabbit Binder Application</description>
|
||||
<distributionManagement>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>io.spring.dataflow.sample</groupId>
|
||||
<artifactId>usage-cost-stream-sample</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>io.spring.dataflow.sample</groupId>
|
||||
<artifactId>usage-cost-stream-sample</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>io.spring.dataflow.sample</groupId>
|
||||
<artifactId>usage-cost-stream-sample</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<artifactId>usage-cost-processor-${binder}</artifactId>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>io.spring.dataflow.sample</groupId>
|
||||
<artifactId>usage-cost-stream-sample</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<artifactId>usage-detail-sender-${binder}</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user