Update docs and static maven artifacts to RC1
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add
|
/* If migrating from 1.1.0.M1 to 1.1.0.RC1 you do not need to add
|
||||||
the ERROR_MESSAGE column. */
|
the ERROR_MESSAGE column. */
|
||||||
alter table task_execution add ERROR_MESSAGE VARCHAR(2500);
|
alter table task_execution add ERROR_MESSAGE VARCHAR(2500);
|
||||||
alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255);
|
alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add
|
/* If migrating from 1.1.0.M1 to 1.1.0.RC1 you do not need to add
|
||||||
the ERROR_MESSAGE column. */
|
the ERROR_MESSAGE column. */
|
||||||
alter table task_execution add ERROR_MESSAGE VARCHAR(2500);
|
alter table task_execution add ERROR_MESSAGE VARCHAR(2500);
|
||||||
alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255);
|
alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add
|
/* If migrating from 1.1.0.M1 to 1.1.0.RC1 you do not need to add
|
||||||
the ERROR_MESSAGE column. */
|
the ERROR_MESSAGE column. */
|
||||||
alter table task_execution add ERROR_MESSAGE VARCHAR(2500);
|
alter table task_execution add ERROR_MESSAGE VARCHAR(2500);
|
||||||
alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255);
|
alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add
|
/* If migrating from 1.1.0.M1 to 1.1.0.RC1 you do not need to add
|
||||||
the ERROR_MESSAGE column. */
|
the ERROR_MESSAGE column. */
|
||||||
alter table task_execution add ERROR_MESSAGE varchar2(2500);
|
alter table task_execution add ERROR_MESSAGE varchar2(2500);
|
||||||
alter table task_execution add EXTERNAL_EXECUTION_ID varchar2(255);
|
alter table task_execution add EXTERNAL_EXECUTION_ID varchar2(255);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add
|
/* If migrating from 1.1.0.M1 to 1.1.0.RC1 you do not need to add
|
||||||
the ERROR_MESSAGE column. */
|
the ERROR_MESSAGE column. */
|
||||||
alter table task_execution add ERROR_MESSAGE VARCHAR(2500);
|
alter table task_execution add ERROR_MESSAGE VARCHAR(2500);
|
||||||
alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255);
|
alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* If migrating from 1.1.0.M1 to 1.1.0.M2 you do not need to add
|
/* If migrating from 1.1.0.M1 to 1.1.0.RC1 you do not need to add
|
||||||
the ERROR_MESSAGE column. */
|
the ERROR_MESSAGE column. */
|
||||||
alter table task_execution add ERROR_MESSAGE VARCHAR(2500);
|
alter table task_execution add ERROR_MESSAGE VARCHAR(2500);
|
||||||
alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255);
|
alter table task_execution add EXTERNAL_EXECUTION_ID VARCHAR(255);
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ public PartitionHandler partitionHandler(TaskLauncher taskLauncher,
|
|||||||
MavenResource.parse(String.format("%s:%s:%s",
|
MavenResource.parse(String.format("%s:%s:%s",
|
||||||
"io.spring.cloud",
|
"io.spring.cloud",
|
||||||
"partitioned-batch-job",
|
"partitioned-batch-job",
|
||||||
"1.1.0.M2"), mavenProperties);
|
"1.1.0.RC1"), mavenProperties);
|
||||||
|
|
||||||
DeployerPartitionHandler partitionHandler =
|
DeployerPartitionHandler partitionHandler =
|
||||||
new DeployerPartitionHandler(taskLauncher, jobExplorer, resource, "workerStep");
|
new DeployerPartitionHandler(taskLauncher, jobExplorer, resource, "workerStep");
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ public class TaskStartTests {
|
|||||||
private final static int WAIT_INTERVAL = 500;
|
private final static int WAIT_INTERVAL = 500;
|
||||||
private final static int MAX_WAIT_TIME = 5000;
|
private final static int MAX_WAIT_TIME = 5000;
|
||||||
private final static String URL = "maven://io.spring.cloud:"
|
private final static String URL = "maven://io.spring.cloud:"
|
||||||
+ "timestamp-task:jar:1.1.0.M2";
|
+ "timestamp-task:jar:1.1.0.RC1";
|
||||||
private final static String DATASOURCE_URL;
|
private final static String DATASOURCE_URL;
|
||||||
private final static String DATASOURCE_USER_NAME = "SA";
|
private final static String DATASOURCE_USER_NAME = "SA";
|
||||||
private final static String DATASOURCE_USER_PASSWORD = "";
|
private final static String DATASOURCE_USER_PASSWORD = "";
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ public class TaskLauncherSinkTests {
|
|||||||
private final static int WAIT_INTERVAL = 500;
|
private final static int WAIT_INTERVAL = 500;
|
||||||
private final static int MAX_WAIT_TIME = 10000;
|
private final static int MAX_WAIT_TIME = 10000;
|
||||||
private final static String URL = "maven://io.spring.cloud:"
|
private final static String URL = "maven://io.spring.cloud:"
|
||||||
+ "timestamp-task:jar:1.1.0.M2";
|
+ "timestamp-task:jar:1.1.0.RC1";
|
||||||
private final static String DATASOURCE_URL;
|
private final static String DATASOURCE_URL;
|
||||||
private final static String DATASOURCE_USER_NAME = "SA";
|
private final static String DATASOURCE_USER_NAME = "SA";
|
||||||
private final static String DATASOURCE_USER_PASSWORD = "";
|
private final static String DATASOURCE_USER_PASSWORD = "";
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ $ ./mvnw clean install
|
|||||||
|
|
||||||
[source,shell,indent=2]
|
[source,shell,indent=2]
|
||||||
----
|
----
|
||||||
$ java -jar target/batch-events-1.1.0.M2.jar --spring.cloud.stream.bindings.batch-events.contentType=application/json
|
$ java -jar target/batch-events-1.1.0.RC1.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
|
For example you can listen for specific job execution events on a specified channel with a Spring Cloud Stream Sink
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ $ mvn clean package
|
|||||||
|
|
||||||
[source,shell,indent=2]
|
[source,shell,indent=2]
|
||||||
----
|
----
|
||||||
$ java -jar target/batch-job-1.1.0.M2.jar
|
$ java -jar target/batch-job-1.1.0.RC1.jar
|
||||||
----
|
----
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ $ export spring_datasource_url=jdbc:mysql://localhost:3306/<your database>
|
|||||||
$ 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=org.mariadb.jdbc.Driver
|
$ export spring_datasource_driverClassName=org.mariadb.jdbc.Driver
|
||||||
$ java -jar target/partitioned-batch-job-1.1.0.M2.jar
|
$ java -jar target/partitioned-batch-job-1.1.0.RC1.jar
|
||||||
----
|
----
|
||||||
|
|
||||||
NOTE: This example will use require a MySql RDBMS repository and currently uses the mariadb jdbc driver to connect.
|
NOTE: This example will use require a MySql RDBMS repository and currently uses the mariadb jdbc driver to connect.
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ public class JobConfiguration {
|
|||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public PartitionHandler partitionHandler(TaskLauncher taskLauncher, JobExplorer jobExplorer) throws Exception {
|
public PartitionHandler partitionHandler(TaskLauncher taskLauncher, JobExplorer jobExplorer) throws Exception {
|
||||||
Resource resource = resourceLoader.getResource("maven://io.spring.cloud:partitioned-batch-job:1.1.0.M2");
|
Resource resource = resourceLoader.getResource("maven://io.spring.cloud:partitioned-batch-job:1.1.0.RC1");
|
||||||
|
|
||||||
DeployerPartitionHandler partitionHandler = new DeployerPartitionHandler(taskLauncher, jobExplorer, resource, "workerStep");
|
DeployerPartitionHandler partitionHandler = new DeployerPartitionHandler(taskLauncher, jobExplorer, resource, "workerStep");
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ $ ./mvnw clean install
|
|||||||
|
|
||||||
[source,shell,indent=2]
|
[source,shell,indent=2]
|
||||||
----
|
----
|
||||||
$ java -jar target/task-events-1.1.0.M2.jar --spring.cloud.stream.bindings.task-events.contentType=application/json
|
$ java -jar target/task-events-1.1.0.RC1.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
|
You can listen for the events on the task-events channel with a Spring Cloud Stream Sink
|
||||||
|
|||||||
@@ -22,5 +22,5 @@ $ mvn clean package
|
|||||||
|
|
||||||
[source,shell,indent=2]
|
[source,shell,indent=2]
|
||||||
----
|
----
|
||||||
$ java -jar target/timestamp-task-1.1.0.M2.jar
|
$ java -jar target/timestamp-task-1.1.0.RC1.jar
|
||||||
----
|
----
|
||||||
|
|||||||
Reference in New Issue
Block a user