Consolidate version numbers to 2.0.0(-SNAPSHOT)

Partially resolves #156
This commit is contained in:
Chris Bono
2022-01-24 09:18:13 -06:00
committed by GitHub
parent b9f2591ebf
commit 96c487a820
105 changed files with 169 additions and 277 deletions

View File

@@ -65,7 +65,7 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudstream/multi-io-sample-http-purchase-orders:1.0.0-SNAPSHOT springcloudstream/multi-io-sample-http-purchase-orders:2.0.0-SNAPSHOT
user-clicks-per-region-12x: user-clicks-per-region-12x:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -81,11 +81,11 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudstream/multi-io-sample-http-click-ingest:1.2.0-SNAPSHOT springcloudstream/multi-io-sample-http-click-ingest:2.0.0-SNAPSHOT
springcloudstream/multi-io-sample-http-region-ingest:1.2.0-SNAPSHOT springcloudstream/multi-io-sample-http-region-ingest:2.0.0-SNAPSHOT
springcloudstream/multi-io-sample-http-clicks-and-region-ingest:1.2.0-SNAPSHOT springcloudstream/multi-io-sample-http-clicks-and-region-ingest:2.0.0-SNAPSHOT
springcloudstream/multi-io-sample-user-clicks-per-region-processor:1.2.0-SNAPSHOT springcloudstream/multi-io-sample-user-clicks-per-region-processor:2.0.0-SNAPSHOT
springcloudstream/multi-io-sample-log-user-clicks-per-region:1.2.0-SNAPSHOT springcloudstream/multi-io-sample-log-user-clicks-per-region:2.0.0-SNAPSHOT
function-samples: function-samples:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -112,7 +112,7 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudstream/uppercase-processor:1.0.0-SNAPSHOT springcloudstream/uppercase-processor:2.0.0-SNAPSHOT
stream-dev-guides-standalone-stream-kafka: stream-dev-guides-standalone-stream-kafka:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -128,9 +128,9 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudstream/usage-detail-sender-kafka:0.0.1-SNAPSHOT springcloudstream/usage-detail-sender-kafka:2.0.0-SNAPSHOT
springcloudstream/usage-cost-processor-kafka:0.0.1-SNAPSHOT springcloudstream/usage-cost-processor-kafka:2.0.0-SNAPSHOT
springcloudstream/usage-cost-logger-kafka:0.0.1-SNAPSHOT springcloudstream/usage-cost-logger-kafka:2.0.0-SNAPSHOT
stream-dev-guides-standalone-stream-rabbitmq: stream-dev-guides-standalone-stream-rabbitmq:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -147,9 +147,9 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudstream/usage-detail-sender-rabbit:0.0.1-SNAPSHOT springcloudstream/usage-detail-sender-rabbit:2.0.0-SNAPSHOT
springcloudstream/usage-cost-processor-rabbit:0.0.1-SNAPSHOT springcloudstream/usage-cost-processor-rabbit:2.0.0-SNAPSHOT
springcloudstream/usage-cost-logger-rabbit:0.0.1-SNAPSHOT springcloudstream/usage-cost-logger-rabbit:2.0.0-SNAPSHOT
batch-dev-guides-batchsamples: batch-dev-guides-batchsamples:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -158,15 +158,15 @@ jobs:
- uses: ./.github/actions/build-sample-app - uses: ./.github/actions/build-sample-app
with: with:
app-dir: 'dataflow-website/batch-developer-guides/batch/batchsamples' app-dir: 'dataflow-website/batch-developer-guides/batch/batchsamples'
mvn-build-commands: '-B clean install spring-boot:build-image -Dspring-boot.build-image.imageName=springcloudtask/billsetuptask:0.0.1-SNAPSHOT' mvn-build-commands: '-B clean install spring-boot:build-image -Dspring-boot.build-image.imageName=springcloudtask/billsetuptask:2.0.0-SNAPSHOT'
artifactory-publish: ${{ inputs.maven-build-only != true }} artifactory-publish: ${{ inputs.maven-build-only != true }}
jf-artifactory-spring: ${{ secrets.JF_ARTIFACTORY_SPRING }} jf-artifactory-spring: ${{ secrets.JF_ARTIFACTORY_SPRING }}
docker-push: ${{ inputs.maven-build-only != true }} docker-push: ${{ inputs.maven-build-only != true }}
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudtask/billsetuptask:0.0.1-SNAPSHOT springcloudtask/billsetuptask:2.0.0-SNAPSHOT
stream-dev-guides-composed-http-transformer-kafka: stream-dev-guides-composed-http-transformer-kafka:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -181,7 +181,7 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudstream/composed-http-transformer-kafka:0.0.1-SNAPSHOT springcloudstream/composed-http-transformer-kafka:2.0.0-SNAPSHOT
stream-dev-guides-composed-http-transformer-kotlin-kafka: stream-dev-guides-composed-http-transformer-kotlin-kafka:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -197,7 +197,7 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudstream/composed-http-transformer-kotlin-kafka:0.0.1-SNAPSHOT springcloudstream/composed-http-transformer-kotlin-kafka:2.0.0-SNAPSHOT
stream-dev-guides-composed-http-transformer-rabbitmq: stream-dev-guides-composed-http-transformer-rabbitmq:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -213,7 +213,7 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudstream/composed-http-transformer-rabbitmq:0.0.1-SNAPSHOT springcloudstream/composed-http-transformer-rabbitmq:2.0.0-SNAPSHOT
stream-dev-guides-composed-http-transformer-kotlin-rabbitmq: stream-dev-guides-composed-http-transformer-kotlin-rabbitmq:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -229,7 +229,7 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudstream/composed-http-transformer-kotlin-rabbitmq:0.0.1-SNAPSHOT springcloudstream/composed-http-transformer-kotlin-rabbitmq:2.0.0-SNAPSHOT
task-demo-metrics-prometheus: task-demo-metrics-prometheus:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -245,7 +245,7 @@ jobs:
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudtask/task-demo-metrics-prometheus:0.0.4-SNAPSHOT springcloudtask/task-demo-metrics-prometheus:2.0.0-SNAPSHOT
scenario-task: scenario-task:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -254,14 +254,14 @@ jobs:
- uses: ./.github/actions/build-sample-app - uses: ./.github/actions/build-sample-app
with: with:
app-dir: 'scenario-task' app-dir: 'scenario-task'
mvn-build-commands: '-B clean install spring-boot:build-image -Dspring-boot.build-image.imageName=springcloudtask/scenario-task:0.0.1-SNAPSHOT' mvn-build-commands: '-B clean install spring-boot:build-image -Dspring-boot.build-image.imageName=springcloudtask/scenario-task:2.0.0-SNAPSHOT'
artifactory-publish: ${{ inputs.maven-build-only != true }} artifactory-publish: ${{ inputs.maven-build-only != true }}
jf-artifactory-spring: ${{ secrets.JF_ARTIFACTORY_SPRING }} jf-artifactory-spring: ${{ secrets.JF_ARTIFACTORY_SPRING }}
docker-push: ${{ inputs.maven-build-only != true }} docker-push: ${{ inputs.maven-build-only != true }}
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudtask/scenario-task:0.0.1-SNAPSHOT springcloudtask/scenario-task:2.0.0-SNAPSHOT
timestamp-task: timestamp-task:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -270,14 +270,14 @@ jobs:
- uses: ./.github/actions/build-sample-app - uses: ./.github/actions/build-sample-app
with: with:
app-dir: 'timestamp-task' app-dir: 'timestamp-task'
mvn-build-commands: '-B clean install spring-boot:build-image -Dspring-boot.build-image.imageName=springcloudtask/timestamp-task:1.0.0' mvn-build-commands: '-B clean install spring-boot:build-image -Dspring-boot.build-image.imageName=springcloudtask/timestamp-task:2.0.0'
artifactory-publish: ${{ inputs.maven-build-only != true }} artifactory-publish: ${{ inputs.maven-build-only != true }}
jf-artifactory-spring: ${{ secrets.JF_ARTIFACTORY_SPRING }} jf-artifactory-spring: ${{ secrets.JF_ARTIFACTORY_SPRING }}
docker-push: ${{ inputs.maven-build-only != true }} docker-push: ${{ inputs.maven-build-only != true }}
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudtask/timestamp-task:1.0.0 springcloudtask/timestamp-task:2.0.0
timestamp-batch: timestamp-batch:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -286,11 +286,11 @@ jobs:
- uses: ./.github/actions/build-sample-app - uses: ./.github/actions/build-sample-app
with: with:
app-dir: 'timestamp-batch' app-dir: 'timestamp-batch'
mvn-build-commands: '-B clean install spring-boot:build-image -Dspring-boot.build-image.imageName=springcloudtask/timestamp-batch-task:1.0.0' mvn-build-commands: '-B clean install spring-boot:build-image -Dspring-boot.build-image.imageName=springcloudtask/timestamp-batch-task:2.0.0'
artifactory-publish: ${{ inputs.maven-build-only != true }} artifactory-publish: ${{ inputs.maven-build-only != true }}
jf-artifactory-spring: ${{ secrets.JF_ARTIFACTORY_SPRING }} jf-artifactory-spring: ${{ secrets.JF_ARTIFACTORY_SPRING }}
docker-push: ${{ inputs.maven-build-only != true }} docker-push: ${{ inputs.maven-build-only != true }}
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} docker-username: ${{ secrets.DOCKERHUB_USERNAME }}
docker-password: ${{ secrets.DOCKERHUB_TOKEN }} docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
docker-images: >- docker-images: >-
springcloudtask/timestamp-batch-task:1.0.0 springcloudtask/timestamp-batch-task:2.0.0

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>io.spring.cloud.dataflow.ingest</groupId> <groupId>io.spring.cloud.dataflow.ingest</groupId>
<artifactId>ingest</artifactId> <artifactId>ingest</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>

View File

@@ -15,7 +15,7 @@ ext {
apply plugin: 'io.spring.dependency-management' apply plugin: 'io.spring.dependency-management'
group = 'com.example' group = 'com.example'
version = '0.0.1-SNAPSHOT' version = '2.0.0-SNAPSHOT'
sourceCompatibility = '1.8' sourceCompatibility = '1.8'
repositories { repositories {

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>com.example</groupId> <groupId>com.example</groupId>
<artifactId>custom-dataflow-server-maven</artifactId> <artifactId>custom-dataflow-server-maven</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>custom-dataflow-server</name> <name>custom-dataflow-server</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -10,7 +10,7 @@ pushd ..
popd popd
echo "Diff gradle build" echo "Diff gradle build"
diff <(unzip -l spring-cloud-dataflow-server-2.1.2.RELEASE.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../build/libs/custom-dataflow-server-gradle-0.0.1-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) diff <(unzip -l spring-cloud-dataflow-server-2.1.2.RELEASE.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../build/libs/custom-dataflow-server-gradle-2.0.0-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort)
echo "Diff maven build" echo "Diff maven build"
diff <(unzip -l spring-cloud-dataflow-server-2.1.2.RELEASE.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../target/custom-dataflow-server-maven-0.0.1-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) diff <(unzip -l spring-cloud-dataflow-server-2.1.2.RELEASE.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../target/custom-dataflow-server-maven-2.0.0-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort)

View File

@@ -15,7 +15,7 @@ ext {
apply plugin: 'io.spring.dependency-management' apply plugin: 'io.spring.dependency-management'
group = 'com.example' group = 'com.example'
version = '0.0.1-SNAPSHOT' version = '2.0.0-SNAPSHOT'
sourceCompatibility = '1.8' sourceCompatibility = '1.8'
repositories { repositories {

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>com.example</groupId> <groupId>com.example</groupId>
<artifactId>custom-dataflow-server-maven</artifactId> <artifactId>custom-dataflow-server-maven</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>custom-dataflow-server</name> <name>custom-dataflow-server</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -10,7 +10,7 @@ pushd ..
popd popd
echo "Diff gradle build" echo "Diff gradle build"
diff <(unzip -l spring-cloud-dataflow-server-2.2.0.RELEASE.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../build/libs/custom-dataflow-server-gradle-0.0.1-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) diff <(unzip -l spring-cloud-dataflow-server-2.2.0.RELEASE.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../build/libs/custom-dataflow-server-gradle-2.0.0-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort)
echo "Diff maven build" echo "Diff maven build"
diff <(unzip -l spring-cloud-dataflow-server-2.2.0.RELEASE.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../target/custom-dataflow-server-maven-0.0.1-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) diff <(unzip -l spring-cloud-dataflow-server-2.2.0.RELEASE.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../target/custom-dataflow-server-maven-2.0.0-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort)

View File

@@ -19,7 +19,7 @@ ext {
apply plugin: 'io.spring.dependency-management' apply plugin: 'io.spring.dependency-management'
group = 'com.example' group = 'com.example'
version = '0.0.1-SNAPSHOT' version = '2.0.0-SNAPSHOT'
sourceCompatibility = '1.8' sourceCompatibility = '1.8'
repositories { repositories {

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>com.example</groupId> <groupId>com.example</groupId>
<artifactId>custom-dataflow-server-maven</artifactId> <artifactId>custom-dataflow-server-maven</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>custom-dataflow-server</name> <name>custom-dataflow-server</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -11,7 +11,7 @@ pushd ..
popd popd
echo "Diff gradle build" echo "Diff gradle build"
diff <(unzip -l spring-cloud-dataflow-server-$version.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../build/libs/custom-dataflow-server-gradle-0.0.1-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) diff <(unzip -l spring-cloud-dataflow-server-$version.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../build/libs/custom-dataflow-server-gradle-2.0.0-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort)
echo "Diff maven build" echo "Diff maven build"
diff <(unzip -l spring-cloud-dataflow-server-$version.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../target/custom-dataflow-server-maven-0.0.1-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) diff <(unzip -l spring-cloud-dataflow-server-$version.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../target/custom-dataflow-server-maven-2.0.0-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort)

View File

@@ -3,7 +3,7 @@ version=2.5.0.RELEASE
cd "$(dirname "$0")" cd "$(dirname "$0")"
echo "Diff gradle build" echo "Diff gradle build"
diff <(unzip -l spring-cloud-dataflow-server-$version.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../build/libs/custom-dataflow-server-gradle-0.0.1-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) diff <(unzip -l spring-cloud-dataflow-server-$version.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../build/libs/custom-dataflow-server-gradle-2.0.0-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort)
echo "Diff maven build" echo "Diff maven build"
diff <(unzip -l spring-cloud-dataflow-server-$version.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../target/custom-dataflow-server-maven-0.0.1-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) diff <(unzip -l spring-cloud-dataflow-server-$version.jar|grep BOOT-INF/lib|awk '{print $4}'|sort) <(unzip -l ../target/custom-dataflow-server-maven-2.0.0-SNAPSHOT.jar|grep BOOT-INF/lib|awk '{print $4}'|sort)

View File

@@ -11,14 +11,14 @@
</parent> </parent>
<groupId>io.spring</groupId> <groupId>io.spring</groupId>
<artifactId>migrateschedule</artifactId> <artifactId>migrateschedule</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>Schedule CD Migrator</name> <name>Schedule CD Migrator</name>
<description>Migrates SCDF Schedules so that SchedulerTaskLauncher is no longer required.</description> <description>Migrates SCDF Schedules so that SchedulerTaskLauncher is no longer required.</description>
<properties> <properties>
<java.version>1.8</java.version> <java.version>1.8</java.version>
<spring-cloud-data-flow.version>2.5.0.BUILD-SNAPSHOT</spring-cloud-data-flow.version> <spring-cloud-data-flow.version>2.5.0.BUILD-SNAPSHOT</spring-cloud-data-flow.version>
<deployer.version>2.3.0.BUILD-SNAPSHOT</deployer.version> <deployer.version>2.0.0-SNAPSHOT</deployer.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>

View File

@@ -1,4 +1,4 @@
export spring_profiles_active=kubernetes export spring_profiles_active=kubernetes
export spring_autoconfigure_exclude=org.springframework.cloud.deployer.spi.cloudfoundry.CloudFoundryDeployerAutoConfiguration export spring_autoconfigure_exclude=org.springframework.cloud.deployer.spi.cloudfoundry.CloudFoundryDeployerAutoConfiguration
java -jar ./target/migrateschedule-1.0.0.BUILD-SNAPSHOT.jar $* java -jar ./target/migrateschedule-2.0.0-SNAPSHOT.jar $*

View File

@@ -16,5 +16,5 @@ In order to get everything running we need to setup the following server instanc
Configure the example application in `DataflowTemplateApplication.java`. Then build Configure the example application in `DataflowTemplateApplication.java`. Then build
using `$ mvn clean package` and run using using `$ mvn clean package` and run using
`$ java -jar target/dataflow-template-1.0.0.BUILD-SNAPSHOT.jar` `$ java -jar target/dataflow-template-2.0.0-SNAPSHOT.jar`

View File

@@ -5,7 +5,7 @@
<groupId>org.springframework.cloud.samples</groupId> <groupId>org.springframework.cloud.samples</groupId>
<artifactId>dataflow-template</artifactId> <artifactId>dataflow-template</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>ldapserver</name> <name>ldapserver</name>

View File

@@ -18,5 +18,5 @@ In order to get everything running we need to setup the following server instanc
Configure the example application in `DataflowTemplateApplication.java`. Then build Configure the example application in `DataflowTemplateApplication.java`. Then build
using `$ mvn clean package` and run using using `$ mvn clean package` and run using
`$ java -jar target/dataflow-template-load-generator-1.0.0.BUILD-SNAPSHOT.jar` `$ java -jar target/dataflow-template-load-generator-2.0.0-SNAPSHOT.jar`

View File

@@ -5,7 +5,7 @@
<groupId>org.springframework.cloud.samples</groupId> <groupId>org.springframework.cloud.samples</groupId>
<artifactId>dataflow-template-load-generator</artifactId> <artifactId>dataflow-template-load-generator</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>ldapserver</name> <name>ldapserver</name>

View File

@@ -32,14 +32,14 @@ NOTE: You can modify the docker org and version by applying the following: `-Ddo
Assuming you are using Mariadb 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 === 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). 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: 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>` `--usage.file.name=file://<location of json file to upload>`

View File

@@ -6,7 +6,7 @@
<parent> <parent>
<artifactId>spring-cloud-task-edu-samples</artifactId> <artifactId>spring-cloud-task-edu-samples</artifactId>
<groupId>io.spring</groupId> <groupId>io.spring</groupId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>billrun</artifactId> <artifactId>billrun</artifactId>

View File

@@ -6,7 +6,7 @@
<parent> <parent>
<artifactId>spring-cloud-task-edu-samples</artifactId> <artifactId>spring-cloud-task-edu-samples</artifactId>
<groupId>io.spring</groupId> <groupId>io.spring</groupId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>billsetuptask</artifactId> <artifactId>billsetuptask</artifactId>

View File

@@ -7,7 +7,7 @@
<artifactId>spring-cloud-task-edu-samples</artifactId> <artifactId>spring-cloud-task-edu-samples</artifactId>
<groupId>io.spring</groupId> <groupId>io.spring</groupId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Spring Cloud Task EDU Samples</name> <name>Spring Cloud Task EDU Samples</name>

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>io.spring.cloud.dataflow.ingest</groupId> <groupId>io.spring.cloud.dataflow.ingest</groupId>
<artifactId>ingest</artifactId> <artifactId>ingest</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>

View File

@@ -34,9 +34,9 @@ Open two different terminals and start the producer and consumer as follows:
[source,bash,options=nowrap,subs=attributes] [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 ## Results

View File

@@ -5,11 +5,11 @@
<parent> <parent>
<artifactId>kinesisdemo</artifactId> <artifactId>kinesisdemo</artifactId>
<groupId>com.example</groupId> <groupId>com.example</groupId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>kinesisconsumer</artifactId> <artifactId>kinesisconsumer</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>kinesisconsumer</name> <name>kinesisconsumer</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -5,11 +5,11 @@
<parent> <parent>
<artifactId>kinesisdemo</artifactId> <artifactId>kinesisdemo</artifactId>
<groupId>com.example</groupId> <groupId>com.example</groupId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>kinesisproducer</artifactId> <artifactId>kinesisproducer</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>kinesisproducer</name> <name>kinesisproducer</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -5,7 +5,7 @@
<groupId>com.example</groupId> <groupId>com.example</groupId>
<artifactId>kinesisdemo</artifactId> <artifactId>kinesisdemo</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>io.spring.cloud.dataflow.alert.webhook</groupId> <groupId>io.spring.cloud.dataflow.alert.webhook</groupId>
<artifactId>scdf-alert-webhook</artifactId> <artifactId>scdf-alert-webhook</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>scdf-alert-webhook</name> <name>scdf-alert-webhook</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>io.spring.dataflow.sample</groupId> <groupId>io.spring.dataflow.sample</groupId>
<artifactId>composed-http-transformer-kafka</artifactId> <artifactId>composed-http-transformer-kafka</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>composed-http-transformer-kafka</name> <name>composed-http-transformer-kafka</name>
<description>Spring Cloud Stream Http Transformer Kafka Binder Application</description> <description>Spring Cloud Stream Http Transformer Kafka Binder Application</description>
<distributionManagement> <distributionManagement>

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>io.spring.dataflow.sample</groupId> <groupId>io.spring.dataflow.sample</groupId>
<artifactId>composed-http-transformer-kotlin-kafka</artifactId> <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> <name>composed-http-transformer-kotlin-kafka</name>
<description>Spring Cloud Stream Http Transformer Kotlin Processor with Kafka Binder Application</description> <description>Spring Cloud Stream Http Transformer Kotlin Processor with Kafka Binder Application</description>
<distributionManagement> <distributionManagement>

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>io.spring.dataflow.sample</groupId> <groupId>io.spring.dataflow.sample</groupId>
<artifactId>composed-http-transformer-kotlin-rabbitmq</artifactId> <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> <name>http-transformer-kotlin-rabbitmq</name>
<description>Spring Cloud Stream Http Transformer Kotlin Processor with Rabbit Binder Application</description> <description>Spring Cloud Stream Http Transformer Kotlin Processor with Rabbit Binder Application</description>
<distributionManagement> <distributionManagement>

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>io.spring.dataflow.sample</groupId> <groupId>io.spring.dataflow.sample</groupId>
<artifactId>composed-http-transformer-rabbitmq</artifactId> <artifactId>composed-http-transformer-rabbitmq</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>composed-http-transformer-rabbitmq</name> <name>composed-http-transformer-rabbitmq</name>
<description>Spring Cloud Stream Http Transformer Rabbit Binder Application</description> <description>Spring Cloud Stream Http Transformer Rabbit Binder Application</description>
<distributionManagement> <distributionManagement>

View File

@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>io.spring.dataflow.sample</groupId> <groupId>io.spring.dataflow.sample</groupId>
<artifactId>usage-cost-stream-sample</artifactId> <artifactId>usage-cost-stream-sample</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<parent> <parent>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>io.spring.dataflow.sample</groupId> <groupId>io.spring.dataflow.sample</groupId>
<artifactId>usage-cost-stream-sample</artifactId> <artifactId>usage-cost-stream-sample</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<relativePath>..</relativePath> <relativePath>..</relativePath>
</parent> </parent>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>io.spring.dataflow.sample</groupId> <groupId>io.spring.dataflow.sample</groupId>
<artifactId>usage-cost-stream-sample</artifactId> <artifactId>usage-cost-stream-sample</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<relativePath>..</relativePath> <relativePath>..</relativePath>
</parent> </parent>
<artifactId>usage-cost-processor-${binder}</artifactId> <artifactId>usage-cost-processor-${binder}</artifactId>

View File

@@ -5,7 +5,7 @@
<parent> <parent>
<groupId>io.spring.dataflow.sample</groupId> <groupId>io.spring.dataflow.sample</groupId>
<artifactId>usage-cost-stream-sample</artifactId> <artifactId>usage-cost-stream-sample</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<relativePath>..</relativePath> <relativePath>..</relativePath>
</parent> </parent>
<artifactId>usage-detail-sender-${binder}</artifactId> <artifactId>usage-detail-sender-${binder}</artifactId>

View File

@@ -18,5 +18,5 @@ In order to get everything running we need to setup the following server instanc
== Build + Run == Build + Run
Build the sample using `$ mvn clean package` and run using Build the sample using `$ mvn clean package` and run using
`$ java -jar target/dataflow-zuul-1.0.0.BUILD-SNAPSHOT.jar` `$ java -jar target/dataflow-zuul-2.0.0-SNAPSHOT.jar`

View File

@@ -5,7 +5,7 @@
<groupId>org.springframework.cloud.samples</groupId> <groupId>org.springframework.cloud.samples</groupId>
<artifactId>dataflow-zuul</artifactId> <artifactId>dataflow-zuul</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>ldapserver</name> <name>ldapserver</name>

View File

@@ -13,13 +13,13 @@ cd http-ingest
./mvnw clean package ./mvnw clean package
``` ```
At this step, the artifact `http-ingest-1.0.0.BUILD-SNAPSHOT.jar` is available. At this step, the artifact `http-ingest-2.0.0-SNAPSHOT.jar` is available.
You can register this artifact as the Spring Cloud Data Flow `Source` application as follows, You can register this artifact as the Spring Cloud Data Flow `Source` application as follows,
From the Spring Cloud Data Flow shell, From the Spring Cloud Data Flow shell,
``` ```
dataflow:>app register --name http-ingest --type source --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/http-ingest/target/http-ingest-1.0.0.BUILD-SNAPSHOT.jar dataflow:>app register --name http-ingest --type source --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/http-ingest/target/http-ingest-2.0.0-SNAPSHOT.jar
Successfully registered application 'source:http-ingest' Successfully registered application 'source:http-ingest'
``` ```
@@ -30,14 +30,14 @@ cd kstreams-word-count
./mvnw clean package ./mvnw clean package
``` ```
After this step, the artifact `kstreams-word-count-1.0.0.BUILD-SNAPSHOT.jar` is available. After this step, the artifact `kstreams-word-count-2.0.0-SNAPSHOT.jar` is available.
You can register this artifact as the Spring Cloud Data Flow `Processor` application as follows: You can register this artifact as the Spring Cloud Data Flow `Processor` application as follows:
From the Spring Cloud Data Flow shell, From the Spring Cloud Data Flow shell,
``` ```
dataflow:>app register --name kstream-word-count --type processor --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-word-count/target/kstreams-word-count-1.0.0.BUILD-SNAPSHOT.jar dataflow:>app register --name kstream-word-count --type processor --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-word-count/target/kstreams-word-count-2.0.0-SNAPSHOT.jar
Successfully registered application 'processor:kstream-word-count' Successfully registered application 'processor:kstream-word-count'
``` ```
@@ -86,7 +86,7 @@ You can register this artifact as the Spring Cloud Data Flow `Source` applicatio
From the Spring Cloud Data Flow shell, From the Spring Cloud Data Flow shell,
``` ```
dataflow:>app register --name http-ingest --type source --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/http-ingest/target/http-ingest-1.0.0.BUILD-SNAPSHOT.jar dataflow:>app register --name http-ingest --type source --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/http-ingest/target/http-ingest-2.0.0-SNAPSHOT.jar
Successfully registered application 'source:http-ingest' Successfully registered application 'source:http-ingest'
``` ```
@@ -137,7 +137,7 @@ cd kstreams-join-user-clicks-and-region
Register this Kafka Streams application as `app` type: Register this Kafka Streams application as `app` type:
``` ```
dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-2.0.0-SNAPSHOT.jar
``` ```
@@ -151,7 +151,7 @@ cd kstreams-log-user-clicks-per-region
``` ```
``` ```
dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-2.0.0-SNAPSHOT.jar
``` ```

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>http-click-ingest</artifactId> <artifactId>http-click-ingest</artifactId>
<version>1.0.2.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>http-ingest</name> <name>http-ingest</name>
<description>Http click ingest application</description> <description>Http click ingest application</description>

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>http-region-ingest</artifactId> <artifactId>http-region-ingest</artifactId>
<version>1.0.1.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>http-region-ingest</name> <name>http-region-ingest</name>
<description>Http region ingest application</description> <description>Http region ingest application</description>

View File

@@ -11,5 +11,5 @@ To build this application:
Register this KStream application as `app` type: Register this KStream application as `app` type:
``` ```
dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-2.0.0-SNAPSHOT.jar
``` ```

View File

@@ -11,7 +11,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>kstreams-join-user-clicks-and-region</artifactId> <artifactId>kstreams-join-user-clicks-and-region</artifactId>
<version>1.0.1.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>kstreams-join-user-clicks-and-region</name> <name>kstreams-join-user-clicks-and-region</name>

View File

@@ -10,5 +10,5 @@ To build this application:
To register this application from Spring Cloud Data Flow shell: To register this application from Spring Cloud Data Flow shell:
``` ```
dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-2.0.0-SNAPSHOT.jar
``` ```

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>kstreams-log-user-clicks-per-region</artifactId> <artifactId>kstreams-log-user-clicks-per-region</artifactId>
<version>1.0.1.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>kstreams-log-user-clicks-per-region</name> <name>kstreams-log-user-clicks-per-region</name>
<dependencyManagement> <dependencyManagement>

View File

@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>function-samples-parent</artifactId> <artifactId>function-samples-parent</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>http-click-ingest</module> <module>http-click-ingest</module>

View File

@@ -10,5 +10,5 @@ To build this application:
To register this application from Spring Cloud Data Flow shell: To register this application from Spring Cloud Data Flow shell:
``` ```
dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-2.0.0-SNAPSHOT.jar
``` ```

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>transform-user-clicks-per-region</artifactId> <artifactId>transform-user-clicks-per-region</artifactId>
<version>1.0.1.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>transform-user-clicks-per-region</name> <name>transform-user-clicks-per-region</name>
<dependencyManagement> <dependencyManagement>

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>uppercase-processor</artifactId> <artifactId>uppercase-processor</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>uppercase-processor</name> <name>uppercase-processor</name>
<description>Uppercase processor application</description> <description>Uppercase processor application</description>

View File

@@ -5,7 +5,7 @@
<groupId>com.example</groupId> <groupId>com.example</groupId>
<artifactId>scdfdsl</artifactId> <artifactId>scdfdsl</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>scdfdsl</name> <name>scdfdsl</name>

View File

@@ -13,13 +13,13 @@ cd http-ingest
./mvnw clean package ./mvnw clean package
``` ```
At this step, the artifact `http-ingest-1.0.0.BUILD-SNAPSHOT.jar` is available. At this step, the artifact `http-ingest-2.0.0-SNAPSHOT.jar` is available.
You can register this artifact as the Spring Cloud Data Flow `Source` application as follows, You can register this artifact as the Spring Cloud Data Flow `Source` application as follows,
From the Spring Cloud Data Flow shell, From the Spring Cloud Data Flow shell,
``` ```
dataflow:>app register --name http-ingest --type source --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/http-ingest/target/http-ingest-1.0.0.BUILD-SNAPSHOT.jar dataflow:>app register --name http-ingest --type source --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/http-ingest/target/http-ingest-2.0.0-SNAPSHOT.jar
Successfully registered application 'source:http-ingest' Successfully registered application 'source:http-ingest'
``` ```
@@ -30,14 +30,14 @@ cd kstreams-word-count
./mvnw clean package ./mvnw clean package
``` ```
After this step, the artifact `kstreams-word-count-1.0.0.BUILD-SNAPSHOT.jar` is available. After this step, the artifact `kstreams-word-count-2.0.0-SNAPSHOT.jar` is available.
You can register this artifact as the Spring Cloud Data Flow `Processor` application as follows: You can register this artifact as the Spring Cloud Data Flow `Processor` application as follows:
From the Spring Cloud Data Flow shell, From the Spring Cloud Data Flow shell,
``` ```
dataflow:>app register --name kstream-word-count --type processor --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-word-count/target/kstreams-word-count-1.0.0.BUILD-SNAPSHOT.jar dataflow:>app register --name kstream-word-count --type processor --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-word-count/target/kstreams-word-count-2.0.0-SNAPSHOT.jar
Successfully registered application 'processor:kstream-word-count' Successfully registered application 'processor:kstream-word-count'
``` ```
@@ -86,7 +86,7 @@ You can register this artifact as the Spring Cloud Data Flow `Source` applicatio
From the Spring Cloud Data Flow shell, From the Spring Cloud Data Flow shell,
``` ```
dataflow:>app register --name http-ingest --type source --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/http-ingest/target/http-ingest-1.0.0.BUILD-SNAPSHOT.jar dataflow:>app register --name http-ingest --type source --uri file://<Your local parent directory to the forked github repo>/spring-cloud-dataflow-samples/kafka-samples/http-ingest/target/http-ingest-2.0.0-SNAPSHOT.jar
Successfully registered application 'source:http-ingest' Successfully registered application 'source:http-ingest'
``` ```
@@ -137,7 +137,7 @@ cd kstreams-join-user-clicks-and-region
Register this Kafka Streams application as `app` type: Register this Kafka Streams application as `app` type:
``` ```
dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-2.0.0-SNAPSHOT.jar
``` ```
@@ -151,7 +151,7 @@ cd kstreams-log-user-clicks-per-region
``` ```
``` ```
dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-2.0.0-SNAPSHOT.jar
``` ```

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>http-ingest</artifactId> <artifactId>http-ingest</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>http-ingest</name> <name>http-ingest</name>
<description>Http ingest application</description> <description>Http ingest application</description>

View File

@@ -11,5 +11,5 @@ To build this application:
Register this KStream application as `app` type: Register this KStream application as `app` type:
``` ```
dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-2.0.0-SNAPSHOT.jar
``` ```

View File

@@ -11,7 +11,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>kstreams-join-user-clicks-and-region</artifactId> <artifactId>kstreams-join-user-clicks-and-region</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>kstreams-join-user-clicks-and-region</name> <name>kstreams-join-user-clicks-and-region</name>

View File

@@ -10,5 +10,5 @@ To build this application:
To register this application from Spring Cloud Data Flow shell: To register this application from Spring Cloud Data Flow shell:
``` ```
dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-2.0.0-SNAPSHOT.jar
``` ```

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>kstreams-log-user-clicks-per-region</artifactId> <artifactId>kstreams-log-user-clicks-per-region</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>kstreams-log-user-clicks-per-region</name> <name>kstreams-log-user-clicks-per-region</name>
<dependencyManagement> <dependencyManagement>

View File

@@ -11,7 +11,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>kstreams-word-count</artifactId> <artifactId>kstreams-word-count</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>kstreams-word-count</name> <name>kstreams-word-count</name>

View File

@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>kafka-samples-parent</artifactId> <artifactId>kafka-samples-parent</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>http-ingest</module> <module>http-ingest</module>

View File

@@ -5,7 +5,7 @@
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-prometheus-service-discovery</artifactId> <artifactId>spring-cloud-dataflow-prometheus-service-discovery</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>spring-cloud-dataflow-prometheus-service-discovery</name> <name>spring-cloud-dataflow-prometheus-service-discovery</name>

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>com.example</groupId> <groupId>com.example</groupId>
<artifactId>demo-processor</artifactId> <artifactId>demo-processor</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>demo-processor</name> <name>demo-processor</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>com.example</groupId> <groupId>com.example</groupId>
<artifactId>demo-sink</artifactId> <artifactId>demo-sink</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>demo-sink</name> <name>demo-sink</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>com.example</groupId> <groupId>com.example</groupId>
<artifactId>demo-source</artifactId> <artifactId>demo-source</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>demo-source</name> <name>demo-source</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -116,7 +116,7 @@ Run
./mvnw clean install ./mvnw clean install
``` ```
Will produce `task-demo-metrics-influx-0.0.1-SNAPSHOT.jar` task application under the `target` folder. Will produce `task-demo-metrics-influx-2.0.0-SNAPSHOT.jar` task application under the `target` folder.
## Spring Cloud Data FLow server ## Spring Cloud Data FLow server

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>com.example.task</groupId> <groupId>com.example.task</groupId>
<artifactId>task-demo-metrics-influx</artifactId> <artifactId>task-demo-metrics-influx</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>task-demo-metrics-influx</name> <name>task-demo-metrics-influx</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -183,7 +183,7 @@ Run
./mvnw clean install ./mvnw clean install
``` ```
Will produce `task-demo-metrics-prometheus-0.0.4-SNAPSHOT.jar` task application under the `target` folder. Will produce `task-demo-metrics-prometheus-2.0.0-SNAPSHOT.jar` task application under the `target` folder.
## Spring Cloud Data FLow server ## Spring Cloud Data FLow server

View File

@@ -21,7 +21,7 @@
</parent> </parent>
<groupId>io.spring.task</groupId> <groupId>io.spring.task</groupId>
<artifactId>task-demo-metrics-prometheus</artifactId> <artifactId>task-demo-metrics-prometheus</artifactId>
<version>0.0.4-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>task-demo-metrics-prometheus</name> <name>task-demo-metrics-prometheus</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -86,7 +86,7 @@ Run
./mvnw clean install ./mvnw clean install
``` ```
Will produce `task-demo-metrics-wavefront-0.0.1-SNAPSHOT.jar` task application under the `target` folder. Will produce `task-demo-metrics-wavefront-2.0.0-SNAPSHOT.jar` task application under the `target` folder.
## Spring Cloud Data Flow server ## Spring Cloud Data Flow server

View File

@@ -11,7 +11,7 @@
<groupId>com.example.task</groupId> <groupId>com.example.task</groupId>
<artifactId>task-demo-metrics-wavefront</artifactId> <artifactId>task-demo-metrics-wavefront</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>task-demo-metrics-wavefront</name> <name>task-demo-metrics-wavefront</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -10,5 +10,5 @@ To build this application:
To register this application from Spring Cloud Data Flow shell: To register this application from Spring Cloud Data Flow shell:
``` ```
dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-2.0.0-SNAPSHOT.jar
``` ```

View File

@@ -11,5 +11,5 @@ To build this application:
Register this KStream application as `app` type: Register this KStream application as `app` type:
``` ```
dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-2.0.0-SNAPSHOT.jar
``` ```

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>http-click-ingest</artifactId> <artifactId>http-click-ingest</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>http-click-ingest</name> <name>http-click-ingest</name>
<description>Http click ingest application</description> <description>Http click ingest application</description>

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>http-clicks-and-region-ingest</artifactId> <artifactId>http-clicks-and-region-ingest</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>http-clicks-and-region-ingest</name> <name>http-clicks-and-region-ingest</name>
<description>Http clicks and region ingest application</description> <description>Http clicks and region ingest application</description>

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>http-region-ingest</artifactId> <artifactId>http-region-ingest</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>http-region-ingest</name> <name>http-region-ingest</name>
<description>Http region ingest application</description> <description>Http region ingest application</description>

View File

@@ -10,5 +10,5 @@ To build this application:
To register this application from Spring Cloud Data Flow shell: To register this application from Spring Cloud Data Flow shell:
``` ```
dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name log-user-clicks-per-region --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-log-user-clicks-per-region/target/kstreams-log-user-clicks-per-region-2.0.0-SNAPSHOT.jar
``` ```

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>log-user-clicks-per-region</artifactId> <artifactId>log-user-clicks-per-region</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>log-user-clicks-per-region</name> <name>log-user-clicks-per-region</name>
<dependencyManagement> <dependencyManagement>

View File

@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>user-clicks-per-region</artifactId> <artifactId>user-clicks-per-region</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>http-click-ingest</module> <module>http-click-ingest</module>

View File

@@ -11,5 +11,5 @@ To build this application:
Register this KStream application as `app` type: Register this KStream application as `app` type:
``` ```
dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-1.0.0.BUILD-SNAPSHOT.jar dataflow:> app register --name join-user-clicks-and-regions --type app --uri file://<local parent directory of this git repo>/spring-cloud-dataflow-samples/kafka-samples/kstreams-join-user-clicks-and-region/target/kstreams-join-user-clicks-and-region-2.0.0-SNAPSHOT.jar
``` ```

View File

@@ -11,7 +11,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>user-clicks-per-region-processor</artifactId> <artifactId>user-clicks-per-region-processor</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>user-clicks-per-region-processor</name> <name>user-clicks-per-region-processor</name>

View File

@@ -10,7 +10,7 @@
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>http-purchase-orders</artifactId> <artifactId>http-purchase-orders</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>http-purchase-orders</name> <name>http-purchase-orders</name>
<description>Http purchase order application</description> <description>Http purchase order application</description>

View File

@@ -11,7 +11,7 @@
</parent> </parent>
<groupId>org.springframework.cloud.stream.app</groupId> <groupId>org.springframework.cloud.stream.app</groupId>
<artifactId>multi-input-log-kafka</artifactId> <artifactId>multi-input-log-kafka</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>multi-input-log-kafka</name> <name>multi-input-log-kafka</name>
<description>Spring Cloud Stream Multi Input Log Sink Kafka Binder Application <description>Spring Cloud Stream Multi Input Log Sink Kafka Binder Application
</description> </description>

View File

@@ -11,7 +11,7 @@
</parent> </parent>
<groupId>org.springframework.cloud.stream.app</groupId> <groupId>org.springframework.cloud.stream.app</groupId>
<artifactId>multi-input-log-rabbit</artifactId> <artifactId>multi-input-log-rabbit</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>multi-input-log-rabbit</name> <name>multi-input-log-rabbit</name>
<description>Spring Cloud Stream Multi Input Log Sink Rabbit Binder Application <description>Spring Cloud Stream Multi Input Log Sink Rabbit Binder Application
</description> </description>

View File

@@ -11,7 +11,7 @@
</parent> </parent>
<groupId>org.springframework.cloud.stream.app</groupId> <groupId>org.springframework.cloud.stream.app</groupId>
<artifactId>multi-output-time-kafka</artifactId> <artifactId>multi-output-time-kafka</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>multi-output-time-kafka</name> <name>multi-output-time-kafka</name>
<description>Spring Cloud Stream Multi Output Time Source Kafka Binder Application <description>Spring Cloud Stream Multi Output Time Source Kafka Binder Application
</description> </description>

View File

@@ -11,7 +11,7 @@
</parent> </parent>
<groupId>org.springframework.cloud.stream.app</groupId> <groupId>org.springframework.cloud.stream.app</groupId>
<artifactId>multi-output-time-rabbit</artifactId> <artifactId>multi-output-time-rabbit</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>multi-output-time-rabbit</name> <name>multi-output-time-rabbit</name>
<description>Spring Cloud Stream Multi Output Time Source Rabbit Binder Application <description>Spring Cloud Stream Multi Output Time Source Rabbit Binder Application
</description> </description>

View File

@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.cloud.dataflow.samples</groupId> <groupId>org.springframework.cloud.dataflow.samples</groupId>
<artifactId>ticktock</artifactId> <artifactId>ticktock</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>multi-output-time-rabbit</module> <module>multi-output-time-rabbit</module>

View File

@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>spring-cloud-dataflow-samples</artifactId> <artifactId>spring-cloud-dataflow-samples</artifactId>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<description>Spring Cloud Data Flow Samples</description> <description>Spring Cloud Data Flow Samples</description>
<properties> <properties>

View File

@@ -19,7 +19,7 @@ Allows user to test various success and failures scenarios when task-batch apps
### Command Line ### Command Line
``` ```
java -jar scenario-task-0.0.1-SNAPSHOT.jar java -jar scenario-task-2.0.0-SNAPSHOT.jar
``` ```
### Docker ### Docker
@@ -59,12 +59,12 @@ export spring_datasource_url=jdbc:<your db>
export spring_datasource_username=<your username> export spring_datasource_username=<your username>
export spring_datasource_password=<your password> export spring_datasource_password=<your password>
export spring_datasource_driverClassName=<your driver> export spring_datasource_driverClassName=<your driver>
java -jar scenario-task-0.0.1-SNAPSHOT.jar --io.spring.failBatch=true --io.spring.jobName=testSamp1 java -jar scenario-task-2.0.0-SNAPSHOT.jar --io.spring.failBatch=true --io.spring.jobName=testSamp1
``` ```
Now looking at our results we see that the `ExpectedException` has been thrown as expected, the Job has failed, but, the task has succeeded. Now looking at our results we see that the `ExpectedException` has been thrown as expected, the Job has failed, but, the task has succeeded.
So now let's let's launch our scenario-task again with the same settings. So now let's let's launch our scenario-task again with the same settings.
``` ```
java -jar scenario-task-0.0.1-SNAPSHOT.jar --io.spring.failBatch=true --io.spring.jobName=testSamp1 java -jar scenario-task-2.0.0-SNAPSHOT.jar --io.spring.failBatch=true --io.spring.jobName=testSamp1
``` ```
Now looking at our results we see that job succeeded and the task succeeded. Now looking at our results we see that job succeeded and the task succeeded.
This is because our scenario-task saw that for this job instance the first run This is because our scenario-task saw that for this job instance the first run
@@ -83,12 +83,12 @@ export spring_datasource_url=jdbc:<your db>
export spring_datasource_username=<your username> export spring_datasource_username=<your username>
export spring_datasource_password=<your password> export spring_datasource_password=<your password>
export spring_datasource_driverClassName=<your driver> export spring_datasource_driverClassName=<your driver>
java -jar scenario-task-0.0.1-SNAPSHOT.jar --io.spring.failBatch=true --io.spring.jobName=testSamp2 --spring.cloud.task.batch.fail-on-job-failure=true java -jar scenario-task-2.0.0-SNAPSHOT.jar --io.spring.failBatch=true --io.spring.jobName=testSamp2 --spring.cloud.task.batch.fail-on-job-failure=true
``` ```
Now looking at our results we see that the `ExpectedException` has been thrown as expected, the Job has failed, and the task has failed. Now looking at our results we see that the `ExpectedException` has been thrown as expected, the Job has failed, and the task has failed.
So now let's let's launch our scenario-task again with the same settings. So now let's let's launch our scenario-task again with the same settings.
``` ```
java -jar scenario-task-0.0.1-SNAPSHOT.jar --io.spring.failBatch=true --io.spring.jobName=testSamp2 --spring.cloud.task.batch.fail-on-job-failure=true java -jar scenario-task-2.0.0-SNAPSHOT.jar --io.spring.failBatch=true --io.spring.jobName=testSamp2 --spring.cloud.task.batch.fail-on-job-failure=true
``` ```
Now looking at our results we see that job succeeded and the task succeeded. Now looking at our results we see that job succeeded and the task succeeded.
This is because our scenario-task saw that for this job instance the first run This is because our scenario-task saw that for this job instance the first run
@@ -98,14 +98,14 @@ throw the `ExpectedException` again. Thus, the job is successful.
### Successful Task Launch With No Job ### Successful Task Launch With No Job
For this scenario we want launch the task that terminates successfully (exit code of 0) and have no associated batch job run. Also, we want to set the name of our task-execution. For this scenario we want launch the task that terminates successfully (exit code of 0) and have no associated batch job run. Also, we want to set the name of our task-execution.
``` ```
java -jar scenario-task-0.0.1-SNAPSHOT.jar --io.spring.launchBatchJob=false --spring.application.name=testTask1 java -jar scenario-task-2.0.0-SNAPSHOT.jar --io.spring.launchBatchJob=false --spring.application.name=testTask1
``` ```
We can see that the task launched and completed successfully with no associated batch job. We can see that the task launched and completed successfully with no associated batch job.
### Fail Task Launch With No Job ### Fail Task Launch With No Job
For this scenario we want launch the task that terminates unsuccessfully (exit code of 1) and have no associated batch job run. Also, we want to set the name of our task-execution. For this scenario we want launch the task that terminates unsuccessfully (exit code of 1) and have no associated batch job run. Also, we want to set the name of our task-execution.
``` ```
java -jar scenario-task-0.0.1-SNAPSHOT.jar --io.spring.launchBatchJob=false --spring.application.name=testTask1 --io.spring.failTask=true java -jar scenario-task-2.0.0-SNAPSHOT.jar --io.spring.launchBatchJob=false --spring.application.name=testTask1 --io.spring.failTask=true
``` ```
We can see that the task launched and failed because a `ExpectedException` was thrown. Also, the task execution had no associated batch job. We can see that the task launched and failed because a `ExpectedException` was thrown. Also, the task execution had no associated batch job.
@@ -116,7 +116,7 @@ This will test the fail and restart capabilities of an composed task.
#### Register The Scenario Task Application #### Register The Scenario Task Application
Using The Spring Cloud Data Flow shell enter the following command: Using The Spring Cloud Data Flow shell enter the following command:
``` ```
app register --name scenario --type task --uri maven://io.spring:scenario-task:0.0.1-SNAPSHOT app register --name scenario --type task --uri maven://io.spring:scenario-task:2.0.0-SNAPSHOT
``` ```
#### Create Composed Task Definition #### Create Composed Task Definition

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>io.spring</groupId> <groupId>io.spring</groupId>
<artifactId>scenario-task</artifactId> <artifactId>scenario-task</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>scenario-task</name> <name>scenario-task</name>
<description>Exercises failure and success conditions for task and batch.</description> <description>Exercises failure and success conditions for task and batch.</description>
@@ -100,42 +100,6 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
</plugin> </plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.21.0</version>
<configuration>
<images>
<image>
<name>springcloudtask/${project.artifactId}</name>
<build>
<tags>
<tag>${project.version}</tag>
</tags>
<from>springcloud/openjdk:2.0.0.RELEASE</from>
<volumes>
<volume>/tmp</volume>
</volumes>
<env>
<LANG>C.UTF-8</LANG>
</env>
<entryPoint>
<exec>
<arg>java</arg>
<arg>-jar</arg>
<arg>/maven/scenario-task.jar</arg>
</exec>
</entryPoint>
<assembly>
<name>maven</name>
<descriptor>assembly.xml</descriptor>
<targetDir>/</targetDir>
</assembly>
</build>
</image>
</images>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>

View File

@@ -41,7 +41,7 @@ Please ensure you have the following 3 items installed:
$ git clone https://github.com/spring-cloud/spring-cloud-dataflow-samples.git $ git clone https://github.com/spring-cloud/spring-cloud-dataflow-samples.git
$ cd spring-cloud-dataflow-samples/security-ldap-uaa-example $ cd spring-cloud-dataflow-samples/security-ldap-uaa-example
$ ./mvnw clean package $ ./mvnw clean package
$ java -jar target/ldapserver-uaa-1.0.0.BUILD-SNAPSHOT.jar $ java -jar target/ldapserver-uaa-2.0.0-SNAPSHOT.jar
---- ----
==== Download + Start UAA Server ==== Download + Start UAA Server
@@ -56,7 +56,7 @@ $ git clone https://github.com/pivotal/uaa-bundled.git
$ cd uaa-bundled $ cd uaa-bundled
$ export CLOUD_FOUNDRY_CONFIG_PATH=/path/to/dev/security-ldap-uaa-example $ export CLOUD_FOUNDRY_CONFIG_PATH=/path/to/dev/security-ldap-uaa-example
$ ./mvnw clean package $ ./mvnw clean package
$ java -jar target/uaa-bundled-1.0.0.BUILD-SNAPSHOT.jar $ java -jar target/uaa-bundled-2.0.0-SNAPSHOT.jar
---- ----
==== Prepare UAA Server ==== Prepare UAA Server

View File

@@ -5,7 +5,7 @@
<groupId>com.hillert.scdf</groupId> <groupId>com.hillert.scdf</groupId>
<artifactId>ldapserver-uaa</artifactId> <artifactId>ldapserver-uaa</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>ldapserver</name> <name>ldapserver</name>

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>com.example</groupId> <groupId>com.example</groupId>
<artifactId>log-sink</artifactId> <artifactId>log-sink</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>log-sink</name> <name>log-sink</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>com.example</groupId> <groupId>com.example</groupId>
<artifactId>time-source</artifactId> <artifactId>time-source</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
<name>time-source</name> <name>time-source</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>

View File

@@ -25,7 +25,7 @@ $ cd batch/file-ingest
$ mvn clean package $ mvn clean package
``` ```
NOTE: For convenience, you can skip this step. NOTE: For convenience, you can skip this step.
The jar is published to the https://repo.spring.io/libs-snapshot-local/io/spring/cloud/dataflow/ingest/ingest/1.0.0.BUILD-SNAPSHOT/[Spring Maven repository] The jar is published to the https://repo.spring.io/libs-snapshot-local/io/spring/cloud/dataflow/ingest/ingest/2.0.0-SNAPSHOT/[Spring Maven repository]
+ +
. Create the data directories . Create the data directories
@@ -56,7 +56,7 @@ dataflow:>app register --name task-launcher --type sink --uri maven://org.spring
Successfully registered application 'sink:task-launcher' Successfully registered application 'sink:task-launcher'
---- ----
+ +
. Register and create the file ingest task. If you're using the published jar, set `--uri maven://io.spring.cloud.dataflow.ingest:ingest:1.0.0.BUILD-SNAPSHOT`: . Register and create the file ingest task. If you're using the published jar, set `--uri maven://io.spring.cloud.dataflow.ingest:ingest:2.0.0-SNAPSHOT`:
[source,console,options=nowrap] [source,console,options=nowrap]
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' Successfully registered application 'task:fileIngest'

View File

@@ -47,7 +47,7 @@ One way to do this is to set deployment properties when creating and deploying t
The source code for the <<Batch File Ingest>> batch job is located in `batch/file-ingest`. The source code for the <<Batch File Ingest>> batch job is located in `batch/file-ingest`.
The resulting executable jar file must be available in a location that is accessible to your Cloud Foundry instance, such as an HTTP server or Maven repository. The resulting executable jar file must be available in a location that is accessible to your Cloud Foundry instance, such as an HTTP server or Maven repository.
For convenience, the jar is published to the https://repo.spring.io/libs-snapshot-local/io/spring/cloud/dataflow/ingest/ingest/1.0.0.BUILD-SNAPSHOT/[Spring Maven repository] For convenience, the jar is published to the https://repo.spring.io/libs-snapshot-local/io/spring/cloud/dataflow/ingest/ingest/2.0.0-SNAPSHOT/[Spring Maven repository]
. Create the remote directory . Create the remote directory
+ +
@@ -85,7 +85,7 @@ Successfully registered application 'sink:task-launcher'
+ +
. Register and create the file ingest task: . Register and create the file ingest task:
[source,console,options=nowrap] [source,console,options=nowrap]
dataflow:>app register --name fileIngest --type task --uri maven://io.spring.cloud.dataflow.ingest:ingest:1.0.0.BUILD-SNAPSHOT dataflow:>app register --name fileIngest --type task --uri maven://io.spring.cloud.dataflow.ingest:ingest:2.0.0-SNAPSHOT
Successfully registered application 'task:fileIngest' Successfully registered application 'task:fileIngest'
dataflow:>task create fileIngestTask --definition fileIngest dataflow:>task create fileIngestTask --definition fileIngest
Created new task 'fileIngestTask' Created new task 'fileIngestTask'

View File

@@ -49,11 +49,11 @@ dataflow:>stream list
[source,console,options=nowrap] [source,console,options=nowrap]
---- ----
2016-02-18 06:36:45.396 INFO 31194 --- [nio-9393-exec-1] o.s.c.d.d.l.OutOfProcessModuleDeployer : deploying module org.springframework.cloud.stream.module:log-sink:jar:exec:1.0.0.BUILD-SNAPSHOT instance 0 2016-02-18 06:36:45.396 INFO 31194 --- [nio-9393-exec-1] o.s.c.d.d.l.OutOfProcessModuleDeployer : deploying module org.springframework.cloud.stream.module:log-sink:jar:exec:2.0.0-SNAPSHOT instance 0
Logs will be in /var/folders/c3/ctx7_rns6x30tq7rb76wzqwr0000gp/T/spring-cloud-data-flow-3038434123335455382/pmmlTest-1455806205386/pmmlTest.log Logs will be in /var/folders/c3/ctx7_rns6x30tq7rb76wzqwr0000gp/T/spring-cloud-data-flow-3038434123335455382/pmmlTest-1455806205386/pmmlTest.log
2016-02-18 06:36:45.402 INFO 31194 --- [nio-9393-exec-1] o.s.c.d.d.l.OutOfProcessModuleDeployer : deploying module org.springframework.cloud.stream.module:pmml-processor:jar:exec:1.0.0.BUILD-SNAPSHOT instance 0 2016-02-18 06:36:45.402 INFO 31194 --- [nio-9393-exec-1] o.s.c.d.d.l.OutOfProcessModuleDeployer : deploying module org.springframework.cloud.stream.module:pmml-processor:jar:exec:2.0.0-SNAPSHOT instance 0
Logs will be in /var/folders/c3/ctx7_rns6x30tq7rb76wzqwr0000gp/T/spring-cloud-data-flow-3038434123335455382/pmmlTest-1455806205386/pmmlTest.pmml Logs will be in /var/folders/c3/ctx7_rns6x30tq7rb76wzqwr0000gp/T/spring-cloud-data-flow-3038434123335455382/pmmlTest-1455806205386/pmmlTest.pmml
2016-02-18 06:36:45.407 INFO 31194 --- [nio-9393-exec-1] o.s.c.d.d.l.OutOfProcessModuleDeployer : deploying module org.springframework.cloud.stream.module:http-source:jar:exec:1.0.0.BUILD-SNAPSHOT instance 0 2016-02-18 06:36:45.407 INFO 31194 --- [nio-9393-exec-1] o.s.c.d.d.l.OutOfProcessModuleDeployer : deploying module org.springframework.cloud.stream.module:http-source:jar:exec:2.0.0-SNAPSHOT instance 0
Logs will be in /var/folders/c3/ctx7_rns6x30tq7rb76wzqwr0000gp/T/spring-cloud-data-flow-3038434123335455382/pmmlTest-1455806205386/pmmlTest.http Logs will be in /var/folders/c3/ctx7_rns6x30tq7rb76wzqwr0000gp/T/spring-cloud-data-flow-3038434123335455382/pmmlTest-1455806205386/pmmlTest.http
---- ----
+ +

View File

@@ -40,7 +40,7 @@ dataflow:>app register --name function-runner --type processor --uri maven://org
. Create and deploy the following stream . Create and deploy the following stream
+ +
``` ```
dataflow:>stream create foo --definition "http --server.port=9001 | function-runner --function.className=com.example.functions.CharCounter --function.location=file:///<PATH/TO/SPRING-CLOUD-FUNCTION>/spring-cloud-function-samples/function-sample/target/spring-cloud-function-sample-1.0.0.BUILD-SNAPSHOT.jar | log" --deploy dataflow:>stream create foo --definition "http --server.port=9001 | function-runner --function.className=com.example.functions.CharCounter --function.location=file:///<PATH/TO/SPRING-CLOUD-FUNCTION>/spring-cloud-function-samples/function-sample/target/spring-cloud-function-sample-2.0.0-SNAPSHOT.jar | log" --deploy
``` ```
+ +

View File

@@ -72,7 +72,7 @@ Another useful class is the `DeploymentPropertiesBuilder` which aids in the crea
This sample demonstrates the use of the local Data Flow Server, but you can pass in the option `--uri` to point to another Data Flow server instance that is running elsewhere. This sample demonstrates the use of the local Data Flow Server, but you can pass in the option `--uri` to point to another Data Flow server instance that is running elsewhere.
[source,bash] [source,bash]
---- ----
$ java -jar target/scdfdsl-0.0.1-SNAPSHOT.jar $ java -jar target/scdfdsl-2.0.0-SNAPSHOT.jar
---- ----
You will then see the following output. You will then see the following output.
[source,bash] [source,bash]
@@ -139,7 +139,7 @@ different ways to authorize the sample application (i.e. the client).
Use basic authentication: Use basic authentication:
[source,bash,options="nowrap"] [source,bash,options="nowrap"]
---- ----
$ java -jar target/scdfdsl-0.0.1-SNAPSHOT.jar \ $ java -jar target/scdfdsl-2.0.0-SNAPSHOT.jar \
--spring.cloud.dataflow.client.authentication.basic.username=user \ --spring.cloud.dataflow.client.authentication.basic.username=user \
--spring.cloud.dataflow.client.authentication.basic.password=password --spring.cloud.dataflow.client.authentication.basic.password=password
---- ----
@@ -147,7 +147,7 @@ $ java -jar target/scdfdsl-0.0.1-SNAPSHOT.jar \
Use OAuth client settings (UAA is used as the identity provider in this sample): Use OAuth client settings (UAA is used as the identity provider in this sample):
[source,bash,options="nowrap"] [source,bash,options="nowrap"]
---- ----
$ java -jar target/scdfdsl-0.0.1-SNAPSHOT.jar \ $ java -jar target/scdfdsl-2.0.0-SNAPSHOT.jar \
--spring.cloud.dataflow.client.authentication.client-id=dataflow \ --spring.cloud.dataflow.client.authentication.client-id=dataflow \
--spring.cloud.dataflow.client.authentication.client-secret=secret \ --spring.cloud.dataflow.client.authentication.client-secret=secret \
--spring.cloud.dataflow.client.authentication.token-uri=http://localhost:8080/uaa/oauth/token \ --spring.cloud.dataflow.client.authentication.token-uri=http://localhost:8080/uaa/oauth/token \
@@ -158,7 +158,7 @@ $ java -jar target/scdfdsl-0.0.1-SNAPSHOT.jar \
Use OAuth access token: Use OAuth access token:
[source,bash,options="nowrap"] [source,bash,options="nowrap"]
---- ----
$ java -jar target/scdfdsl-0.0.1-SNAPSHOT.jar \ $ java -jar target/scdfdsl-2.0.0-SNAPSHOT.jar \
--spring.cloud.dataflow.client.authentication.access-token=849228ed663e450ab5051c998eb71a4a --spring.cloud.dataflow.client.authentication.access-token=849228ed663e450ab5051c998eb71a4a
---- ----

View File

@@ -56,9 +56,9 @@ dataflow:>stream list
[source,console,options=nowrap] [source,console,options=nowrap]
---- ----
2015-12-15 15:52:31.576 INFO 18337 --- [nio-9393-exec-1] o.s.c.d.a.s.l.OutOfProcessModuleDeployer : deploying module org.springframework.cloud.stream.module:cassandra-sink:jar:exec:1.0.0.BUILD-SNAPSHOT instance 0 2015-12-15 15:52:31.576 INFO 18337 --- [nio-9393-exec-1] o.s.c.d.a.s.l.OutOfProcessModuleDeployer : deploying module org.springframework.cloud.stream.module:cassandra-sink:jar:exec:2.0.0-SNAPSHOT instance 0
Logs will be in /var/folders/c3/ctx7_rns6x30tq7rb76wzqwr0000gp/T/spring-cloud-data-flow-284240942697761420/cassandrastream.cassandra Logs will be in /var/folders/c3/ctx7_rns6x30tq7rb76wzqwr0000gp/T/spring-cloud-data-flow-284240942697761420/cassandrastream.cassandra
2015-12-15 15:52:31.583 INFO 18337 --- [nio-9393-exec-1] o.s.c.d.a.s.l.OutOfProcessModuleDeployer : deploying module org.springframework.cloud.stream.module:http-source:jar:exec:1.0.0.BUILD-SNAPSHOT instance 0 2015-12-15 15:52:31.583 INFO 18337 --- [nio-9393-exec-1] o.s.c.d.a.s.l.OutOfProcessModuleDeployer : deploying module org.springframework.cloud.stream.module:http-source:jar:exec:2.0.0-SNAPSHOT instance 0
Logs will be in /var/folders/c3/ctx7_rns6x30tq7rb76wzqwr0000gp/T/spring-cloud-data-flow-284240942697761420/cassandrastream.http Logs will be in /var/folders/c3/ctx7_rns6x30tq7rb76wzqwr0000gp/T/spring-cloud-data-flow-284240942697761420/cassandrastream.http
---- ----
+ +

View File

@@ -76,7 +76,7 @@ $./mvnw clean package
. Run the Application standalone . Run the Application standalone
+ +
``` ```
java -jar target/celsius-converter-processor-0.0.1-SNAPSHOT.jar java -jar target/celsius-converter-processor-2.0.0-SNAPSHOT.jar
``` ```
+ +
If all goes well, we should have a running standalone Spring Boot Application. If all goes well, we should have a running standalone Spring Boot Application.

View File

@@ -30,7 +30,7 @@ This is a Spring Cloud Task application that executes two simple Spring Batch Jo
=== Command line === Command line
[source,shell,indent=2] [source,shell,indent=2]
---- ----
java -jar target/timestamp-batch-task-1.0.0.jar java -jar target/timestamp-batch-task-2.0.0.jar
---- ----
=== Docker === Docker

View File

@@ -10,7 +10,7 @@
</parent> </parent>
<groupId>io.spring</groupId> <groupId>io.spring</groupId>
<artifactId>timestamp-batch-task</artifactId> <artifactId>timestamp-batch-task</artifactId>
<version>1.0.0</version> <version>2.0.0</version>
<name>timestamp-task</name> <name>timestamp-task</name>
<description>Simple Timestamp sample.</description> <description>Simple Timestamp sample.</description>
@@ -81,42 +81,6 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
</plugin> </plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.21.0</version>
<configuration>
<images>
<image>
<name>springcloudtask/${project.artifactId}</name>
<build>
<tags>
<tag>${project.version}</tag>
</tags>
<from>springcloud/openjdk:2.0.0.RELEASE</from>
<volumes>
<volume>/tmp</volume>
</volumes>
<env>
<LANG>C.UTF-8</LANG>
</env>
<entryPoint>
<exec>
<arg>java</arg>
<arg>-jar</arg>
<arg>/maven/timestamp-batch-task.jar</arg>
</exec>
</entryPoint>
<assembly>
<name>maven</name>
<descriptor>assembly.xml</descriptor>
<targetDir>/</targetDir>
</assembly>
</build>
</image>
</images>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>

Some files were not shown because too many files have changed in this diff Show More