Updated deployer dependencies to 1.2.1.RELEASE

Also updated the docs
This commit is contained in:
Glenn Renfro
2017-06-27 10:25:23 -04:00
committed by Michael Minella
parent c7f15f5c8a
commit 68307a9312
9 changed files with 11 additions and 16 deletions

View File

@@ -138,11 +138,11 @@
<properties>
<spring-cloud-stream.version>1.2.1.RELEASE</spring-cloud-stream.version>
<spring-cloud-deployer-spi.version>1.2.1.BUILD-SNAPSHOT</spring-cloud-deployer-spi.version>
<spring-cloud-deployer-local.version>1.2.1.BUILD-SNAPSHOT</spring-cloud-deployer-local.version>
<spring-cloud-deployer-spi.version>1.2.1.RELEASE</spring-cloud-deployer-spi.version>
<spring-cloud-deployer-local.version>1.2.1.RELEASE</spring-cloud-deployer-local.version>
<spring-cloud-stream-binder-rabbit.version>1.2.0.RELEASE</spring-cloud-stream-binder-rabbit.version>
<spring-cloud-deployer-resource-support.version>1.2.1.BUILD-SNAPSHOT</spring-cloud-deployer-resource-support.version>
<spring-cloud-deployer-resource-maven.version>1.2.1.BUILD-SNAPSHOT</spring-cloud-deployer-resource-maven.version>
<spring-cloud-deployer-resource-support.version>1.2.1.RELEASE</spring-cloud-deployer-resource-support.version>
<spring-cloud-deployer-resource-maven.version>1.2.1.RELEASE</spring-cloud-deployer-resource-maven.version>
<spring-batch.version>3.0.7.RELEASE</spring-batch.version>
<commons-logging.version>1.1</commons-logging.version>
<java-ee-api.version>7.0</java-ee-api.version>

View File

@@ -15,10 +15,6 @@
*/
package org.springframework.cloud.task.batch.configuration;
import java.util.Collection;
import javax.sql.DataSource;
import org.springframework.batch.core.Job;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
@@ -32,7 +28,6 @@ import org.springframework.cloud.task.repository.TaskExplorer;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.util.CollectionUtils;
/**
* Provides auto configuration for the {@link TaskBatchExecutionListener}.

View File

@@ -145,7 +145,7 @@ Spring Cloud Task itself:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-task-core</artifactId>
<version>1.2.0.RELEASE</version>
<version>1.2.1.RELEASE</version>
</dependency>
[[getting-started-writing-the-code]]

View File

@@ -27,7 +27,7 @@ $ ./mvnw clean install
[source,shell,indent=2]
----
$ java -jar target/batch-events-1.2.0.RELEASE.jar --spring.cloud.stream.bindings.batch-events.contentType=application/json
$ java -jar target/batch-events-1.2.1.RELEASE.jar --spring.cloud.stream.bindings.batch-events.contentType=application/json
----
For example you can listen for specific job execution events on a specified channel with a Spring Cloud Stream Sink

View File

@@ -22,5 +22,5 @@ $ mvn clean package
[source,shell,indent=2]
----
$ java -jar target/batch-job-1.2.0.RELEASE.jar
$ java -jar target/batch-job-1.2.1.RELEASE.jar
----

View File

@@ -24,5 +24,5 @@ $ mvn clean package
[source,shell,indent=2]
----
$ java -jar target/jpa-sample-1.2.1.BUILD-SNAPSHOT.jar
$ java -jar target/jpa-sample-1.2.1.RELEASE.jar
----

View File

@@ -22,7 +22,7 @@ $ export spring_datasource_url=jdbc:mysql://localhost:3306/<your database>
$ export spring_datasource_username=<your username>
$ export spring_datasource_password=<your password>
$ export spring_datasource_driverClassName=org.mariadb.jdbc.Driver
$ java -jar target/partitioned-batch-job-1.2.0.RELEASE.jar
$ java -jar target/partitioned-batch-job-1.2.1.RELEASE.jar
----
NOTE: This example will use require a MySql RDBMS repository and currently uses the mariadb jdbc driver to connect.

View File

@@ -53,7 +53,7 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-deployer-local</artifactId>
<version>1.2.0.RELEASE</version>
<version>1.2.1.RELEASE</version>
</dependency>
<dependency>

View File

@@ -17,7 +17,7 @@ $ ./mvnw clean install
[source,shell,indent=2]
----
$ java -jar target/task-events-1.2.0.RELEASE.jar --spring.cloud.stream.bindings.task-events.contentType=application/json
$ java -jar target/task-events-1.2.1.RELEASE.jar --spring.cloud.stream.bindings.task-events.contentType=application/json
----
You can listen for the events on the task-events channel with a Spring Cloud Stream Sink