Update primary version of SCT to 3.2.0
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-task-parent</artifactId>
|
||||
<version>3.1.3-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<packaging>jar</packaging>
|
||||
<name>Spring Cloud Task Docs</name>
|
||||
|
||||
2
pom.xml
2
pom.xml
@@ -11,7 +11,7 @@
|
||||
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-task-parent</artifactId>
|
||||
<version>3.1.3-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Spring Cloud Task Build</name>
|
||||
<description>Spring Cloud Task Build</description>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>spring-cloud-task-parent</artifactId>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<version>3.1.3-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-task-parent</artifactId>
|
||||
<version>3.1.3-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>spring-cloud-starter-task</artifactId>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-task-parent</artifactId>
|
||||
<version>3.1.3-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>spring-cloud-task-batch</artifactId>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-task-parent</artifactId>
|
||||
<version>3.1.3-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>spring-cloud-task-core</artifactId>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>spring-cloud-task-dependencies</artifactId>
|
||||
<version>3.1.3-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Spring Cloud Task Dependencies</name>
|
||||
<description>Spring Cloud Task Dependencies</description>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<parent>
|
||||
<artifactId>spring-cloud-task-parent</artifactId>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<version>3.1.3-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<name>Spring Cloud Task Integration Tests</name>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<groupId>io.spring.cloud</groupId>
|
||||
<artifactId>batch-events</artifactId>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Batch Events Sample Application</name>
|
||||
@@ -21,7 +21,7 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java.version>17</java.version>
|
||||
<spring-cloud-stream.version>4.1.4-SNAPSHOT</spring-cloud-stream.version>
|
||||
<spring-cloud-task.version>3.1.3-SNAPSHOT</spring-cloud-task.version>
|
||||
<spring-cloud-task.version>3.2.0-SNAPSHOT</spring-cloud-task.version>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<groupId>io.spring.cloud</groupId>
|
||||
<artifactId>batch-job</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<description>Spring Cloud Task Batch Example</description>
|
||||
|
||||
<name>Batch Job Sample Application</name>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<groupId>io.spring.cloud</groupId>
|
||||
<artifactId>jpa-sample</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<description>To show users how to enable a task with a JPA application.</description>
|
||||
|
||||
<name>Spring Cloud Task JPA Sample Application</name>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<groupId>io.spring.cloud</groupId>
|
||||
<artifactId>multiple-datasources</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<description>To show users how to enable a task with a multiple DataSources.
|
||||
</description>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<artifactId>partitioned-batch-job</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Partitioned Batch Job</name>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<description>Sample of using the DeployerPartitionHandler</description>
|
||||
|
||||
<parent>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-task-parent</artifactId>
|
||||
<version>3.1.3-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
|
||||
@@ -32,7 +32,7 @@ mvn clean package
|
||||
|
||||
[source,shell]
|
||||
----
|
||||
java -jar target/single-step-batch-job-3.1.0-SNAPSHOT.jar --spring.config.name=<property file containing batch, reader, and writer properties>
|
||||
java -jar target/single-step-batch-job-3.2.0-SNAPSHOT.jar --spring.config.name=<property file containing batch, reader, and writer properties>
|
||||
----
|
||||
|
||||
== Examples
|
||||
@@ -40,13 +40,13 @@ java -jar target/single-step-batch-job-3.1.0-SNAPSHOT.jar --spring.config.name=<
|
||||
=== FlatFileItemReader with a FlatFileItemWriter batch job
|
||||
In this example the batch job will read from the test.txt file from the resources directory and write a `result.txt` file to the root directory of the project.
|
||||
```
|
||||
java -Dspring.profiles.active=ffreader,ffwriter -jar target/single-step-batch-job-3.1.0-SNAPSHOT.jar
|
||||
java -Dspring.profiles.active=ffreader,ffwriter -jar target/single-step-batch-job-3.2.0-SNAPSHOT.jar
|
||||
```
|
||||
|
||||
=== FlatFileItemReader with a JdbcItemWriter batch job
|
||||
In this example the batch job will read from the test.txt file from the resources directory and write the result to the `item` table in your data store.
|
||||
```
|
||||
java -Dspring.profiles.active=ffreader,jdbcwriter -jar target/single-step-batch-job-3.1.0-SNAPSHOT.jar
|
||||
java -Dspring.profiles.active=ffreader,jdbcwriter -jar target/single-step-batch-job-3.2.0-SNAPSHOT.jar
|
||||
```
|
||||
|
||||
Before running create the following table:
|
||||
@@ -60,7 +60,7 @@ CREATE TABLE IF NOT EXISTS item
|
||||
=== JdbcCursorItemReader with a JdbcItemWriter batch job
|
||||
In this example the batch job will read from the `item_sample` table in your data store (as specified in the default `DataSource` properties) and write the result to the `item` table in your data store (as specified in the default `DataSource` properties).
|
||||
```
|
||||
java -Dspring.profiles.active=jdbcreader,jdbcwriter -jar target/single-step-batch-job-3.1.0-SNAPSHOT.jar
|
||||
java -Dspring.profiles.active=jdbcreader,jdbcwriter -jar target/single-step-batch-job-3.2.0-SNAPSHOT.jar
|
||||
```
|
||||
|
||||
Before running create the following tables:
|
||||
@@ -101,7 +101,7 @@ export spring_batch_job_jdbcbatchitemwriter_datasource_enable=true
|
||||
=== JdbcCursorItemReader with FlatfileItemWriter batch job
|
||||
In this example the batch job will read from the `item_sample` table in your data store and write the result to the `result.txt` file to the root directory of the project.
|
||||
```
|
||||
java -Dspring.profiles.active=jdbcreader,ffwriter -jar target/single-step-batch-job-3.1.0-SNAPSHOT.jar
|
||||
java -Dspring.profiles.active=jdbcreader,ffwriter -jar target/single-step-batch-job-3.2.0-SNAPSHOT.jar
|
||||
```
|
||||
|
||||
Before running create the following table:
|
||||
@@ -122,7 +122,7 @@ INSERT INTO item_sample (item_name) VALUES ('Job');
|
||||
=== FlatfileItemReader with AmqpItemWriter batch job
|
||||
In this example the batch job will read from the `test.txt` file and write the result to the `sampleexchange` exchange.
|
||||
```
|
||||
java -Dspring.profiles.active=ffreader,amqpwriter -jar target/single-step-batch-job-3.1.0-SNAPSHOT.jar
|
||||
java -Dspring.profiles.active=ffreader,amqpwriter -jar target/single-step-batch-job-3.2.0-SNAPSHOT.jar
|
||||
```
|
||||
|
||||
NOTE: Before running create an exchange named `sampleexchange`.
|
||||
@@ -130,7 +130,7 @@ NOTE: Before running create an exchange named `sampleexchange`.
|
||||
=== AmqpItemReader with FlatfileItemWriter batch job
|
||||
In this example the batch job will read from the `samplequeue` queue and write the result to the `result.txt` in the current directory.
|
||||
```
|
||||
java -Dspring.profiles.active=amqpreader,ffwriter -jar target/single-step-batch-job-3.1.0-SNAPSHOT.jar
|
||||
java -Dspring.profiles.active=amqpreader,ffwriter -jar target/single-step-batch-job-3.2.0-SNAPSHOT.jar
|
||||
```
|
||||
|
||||
NOTE: Before running create and populate a queue named `samplequeue`.
|
||||
@@ -138,7 +138,7 @@ NOTE: Before running create and populate a queue named `samplequeue`.
|
||||
=== FlatfileItemReader with KafkaItemWriter batch job
|
||||
In this example the batch job will read from the `test.txt` file and write the result to the `sampletopic` topic.
|
||||
```
|
||||
java -Dspring.profiles.active=ffreader,kafkawriter -jar target/single-step-batch-job-3.1.0-SNAPSHOT.jar
|
||||
java -Dspring.profiles.active=ffreader,kafkawriter -jar target/single-step-batch-job-3.2.0-SNAPSHOT.jar
|
||||
```
|
||||
|
||||
Before running create a topic named `sampletopic`. For example:
|
||||
@@ -149,10 +149,10 @@ kafka-topics.sh --create --topic sampletopic --bootstrap-server localhost:9092
|
||||
=== KafkaItemReader with FlatfileItemWriter batch job
|
||||
In this example the batch job will read from the `sampletopic` topic and write the result to the `result.txt` in the current directory.
|
||||
```
|
||||
java -Dspring.profiles.active=kafkareader,ffwriter -jar target/single-step-batch-job-3.1.0-SNAPSHOT.jar
|
||||
java -Dspring.profiles.active=kafkareader,ffwriter -jar target/single-step-batch-job-3.2.0-SNAPSHOT.jar
|
||||
```
|
||||
|
||||
Before running populate the topic named `sampletopic`. For example populate it using the FlatfileItemReader and KafkaItemWriter from above:
|
||||
```
|
||||
java -Dspring.profiles.active=ffreader,kafkawriter -jar target/single-step-batch-job-3.1.0-SNAPSHOT.jar
|
||||
java -Dspring.profiles.active=ffreader,kafkawriter -jar target/single-step-batch-job-3.2.0-SNAPSHOT.jar
|
||||
```
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<artifactId>single-step-batch-job</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Single Step Batch Job Task</name>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<description>Spring Cloud Single Step Batch Job Task</description>
|
||||
|
||||
<parent>
|
||||
@@ -78,7 +78,7 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-single-step-batch-job</artifactId>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.batch</groupId>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<groupId>io.spring.cloud</groupId>
|
||||
<artifactId>task-events</artifactId>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Task Events</name>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>io.spring</groupId>
|
||||
<artifactId>task-observations</artifactId>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<name>task observation sample</name>
|
||||
<description>Displays task observations as well as commandline and application runner observations</description>
|
||||
<properties>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<groupId>io.spring.cloud</groupId>
|
||||
<artifactId>taskprocessor</artifactId>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Task Processor Sample Application</name>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<groupId>io.spring.cloud</groupId>
|
||||
<artifactId>tasksink</artifactId>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Task Sink Sample Application</name>
|
||||
@@ -23,7 +23,7 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<skipInstall>true</skipInstall>
|
||||
<spring-cloud-stream.version>4.1.4-SNAPSHOT</spring-cloud-stream.version>
|
||||
<spring-cloud-task.version>3.1.3-SNAPSHOT</spring-cloud-task.version>
|
||||
<spring-cloud-task.version>3.2.0-SNAPSHOT</spring-cloud-task.version>
|
||||
<spring-cloud-deployer-version>2.9.0</spring-cloud-deployer-version>
|
||||
</properties>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<artifactId>timestamp-task</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Timestamp Task</name>
|
||||
<version>3.1.2-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
<description>Spring Cloud Timestamp Task</description>
|
||||
|
||||
<parent>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-task-parent</artifactId>
|
||||
<version>3.1.3-SNAPSHOT</version>
|
||||
<version>3.2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user