Skip to content

Commit

Permalink
Add coordinates for out-of-box task apps
Browse files Browse the repository at this point in the history
  • Loading branch information
onobc committed Aug 30, 2023
1 parent ffda245 commit 33e9ced
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions spring-cloud-dataflow-docs/src/main/asciidoc/spring-boot-3x.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,33 @@ Spring Cloud Data Flow will create set of tables for the Boot 3.x version that i
In order to know that the specific task is a Boot 3.x application the version will have to be provided as part of registration. The rest endpoints accepts a `bootVersion=3` parameter and the shell commands accepts `--bootVersion 3`

Since there are now multiple sets of tables that represents task and batch executions, each schema has been assigned a schemaTarget name. This value form part of queries when retrieving execution data. The UI takes care of this by using the embedded resource links. If you are using the REST API directly you will need to update those requests.

==== Pre-packaged Task / Batch Applications
The default <<ootb-task-apps,pre-packaged task / batch applications>> are based on Spring Boot `2.x`, Spring Cloud Task `2.x`, and Spring Batch `4.x`.
To use the latest pre-packaged apps based on Spring Boot `3.x`, Spring Cloud Task `3.x`, and Spring Batch `5.x`, you must manually register the apps using the properties below.

.Maven coordinates
[.small]
[source,properties]
----
task.timestamp=maven://io.spring:timestamp-task:3.0.0
task.timestamp.bootVersion=3
task.timestamp-batch=maven://io.spring:timestamp-batch-task:3.0.0
task.timestamp-batch.bootVersion=3
----
[.small]

.Docker coordinates
[.small]
[source,properties]
----
task.timestamp=docker:springcloudtask/timestamp-task:3.0.0
task.timestamp.bootVersion=3
task.timestamp-batch=docker:springcloudtask/timestamp-batch-task:3.0.0
task.timestamp-batch.bootVersion=3
----
[.small]

TIP: The properties can be used when registering an app in the Dataflow UI or the Dataflow shell CLI.
1 change: 1 addition & 0 deletions spring-cloud-dataflow-docs/src/main/asciidoc/streams.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ NOTE: By default, the out-of-the-box app's actuator endpoints are secured. You c
On Kubernetes, see the <<getting-started-kubernetes-probes, Liveness and readiness probes>> section for how to configure
security for actuator endpoints.

[[ootb-task-apps]]
===== Out-of-the-Box Task Applications
The following table includes the `dataflow.spring.io` links to the task applications based on Spring Cloud Task `2.4.x` and Spring Boot `2.7.x`.

Expand Down

0 comments on commit 33e9ced

Please sign in to comment.