Skip to content

Commit 1d4e159

Browse files
committed
Add deprecation notices for features impacted by SC-Deployer
1 parent dbec2b0 commit 1d4e159

File tree

15 files changed

+41
-18
lines changed

15 files changed

+41
-18
lines changed

docs/modules/ROOT/pages/batch.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ This section goes into more detail about Spring Cloud Task's integration with Sp
88
Batch. Tracking the association between a job execution and the task in which it was
99
executed as well as remote partitioning through Spring Cloud Deployer are covered in
1010
this section.
11+
12+
NOTE: This feature is now end-of-life and will be removed in a future release.
1113
--
1214

1315
[[batch-association]]

docs/modules/ROOT/pages/stream.adoc

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,23 +57,8 @@ NOTE: The `maven.remoteRepositories.springRepo.url` property must be set to the
5757
of the remote repository in which the Spring Boot Uber-jar is located. If not set, there is no remote
5858
repository, so it relies upon the local repository only.
5959

60-
[[stream-integration-launching-sink-dataflow]]
61-
=== Spring Cloud Data Flow
60+
NOTE: This feature is now end-of-life and will be removed in a future release.
6261

63-
To create a stream in Spring Cloud Data Flow, you must first register the Task Sink
64-
Application we created. In the following example, we are registering the Processor and
65-
Sink sample applications by using the Spring Cloud Data Flow shell:
66-
67-
[source,bash]
68-
----
69-
app register --name taskSink --type sink --uri maven://io.spring.cloud:tasksink:<version>
70-
app register --name taskProcessor --type processor --uri maven:io.spring.cloud:taskprocessor:<version>
71-
----
72-
73-
The following example shows how to create a stream from the Spring Cloud Data Flow shell:
74-
75-
[source,bash]
76-
stream create foo --definition "http --server.port=9000|taskProcessor|taskSink" --deploy
7762

7863
[[stream-integration-events]]
7964
== Spring Cloud Task Events

spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/partition/CommandLineArgsProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
*
2727
* @author Michael Minella
2828
* @since 1.1.0
29+
* @deprecated This feature is now end-of-life and will be removed in a future release. No
30+
* replacement is planned. Please migrate away from using this functionality.
2931
*/
32+
@Deprecated
3033
public interface CommandLineArgsProvider {
3134

3235
/**

spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/partition/DeployerPartitionHandler.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@
7373
*
7474
* @author Michael Minella
7575
* @author Glenn Renfro
76+
* @deprecated This feature is now end-of-life and will be removed in a future release. No
77+
* replacement is planned. Please migrate away from using this functionality.
7678
*/
79+
@Deprecated
7780
public class DeployerPartitionHandler implements PartitionHandler, EnvironmentAware, InitializingBean {
7881

7982
/**

spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/partition/DeployerStepExecutionHandler.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@
5656
* </ul>
5757
*
5858
* @author Michael Minella
59+
* @deprecated This feature is now end-of-life and will be removed in a future release. No
60+
* replacement is planned. Please migrate away from using this functionality.
5961
*/
62+
@Deprecated
6063
public class DeployerStepExecutionHandler implements CommandLineRunner {
6164

6265
private JobExplorer jobExplorer;

spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/partition/EnvironmentVariablesProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
*
2727
* @author Michael Minella
2828
* @since 1.0.2
29+
* @deprecated This feature is now end-of-life and will be removed in a future release. No
30+
* replacement is planned. Please migrate away from using this functionality.
2931
*/
32+
@Deprecated
3033
public interface EnvironmentVariablesProvider {
3134

3235
/**

spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/partition/NoOpEnvironmentVariablesProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
*
2828
* @author Michael Minella
2929
* @since 1.0.2
30+
* @deprecated This feature is now end-of-life and will be removed in a future release. No
31+
* replacement is planned. Please migrate away from using this functionality.
3032
*/
33+
@Deprecated
3134
public class NoOpEnvironmentVariablesProvider implements EnvironmentVariablesProvider {
3235

3336
/**

spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/partition/PassThroughCommandLineArgsProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
*
2727
* @author Michael Minella
2828
* @since 1.1.0
29+
* @deprecated This feature is now end-of-life and will be removed in a future release. No
30+
* replacement is planned. Please migrate away from using this functionality.
2931
*/
32+
@Deprecated
3033
public class PassThroughCommandLineArgsProvider implements CommandLineArgsProvider {
3134

3235
private final List<String> commandLineArgs;

spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/partition/SimpleCommandLineArgsProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
* @author Michael Minella
3232
* @author Glenn Renfro
3333
* @since 1.1.0
34+
* @deprecated This feature is now end-of-life and will be removed in a future release. No
35+
* replacement is planned. Please migrate away from using this functionality.
3436
*/
37+
@Deprecated
3538
public class SimpleCommandLineArgsProvider implements CommandLineArgsProvider, TaskExecutionListener {
3639

3740
private TaskExecution taskExecution;

spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/partition/SimpleEnvironmentVariablesProvider.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@
3636
*
3737
* @author Michael Minella
3838
* @since 1.0.2
39+
* @deprecated This feature is now end-of-life and will be removed in a future release. No
40+
* replacement is planned. Please migrate away from using this functionality.
3941
*/
42+
@Deprecated
4043
public class SimpleEnvironmentVariablesProvider implements EnvironmentVariablesProvider {
4144

4245
private Environment environment;

0 commit comments

Comments
 (0)