Add deprecation notices for features impacted by SC-Deployer
This commit is contained in:
@@ -8,6 +8,8 @@ This section goes into more detail about Spring Cloud Task's integration with Sp
|
||||
Batch. Tracking the association between a job execution and the task in which it was
|
||||
executed as well as remote partitioning through Spring Cloud Deployer are covered in
|
||||
this section.
|
||||
|
||||
NOTE: This feature is now end-of-life and will be removed in a future release.
|
||||
--
|
||||
|
||||
[[batch-association]]
|
||||
|
||||
@@ -57,23 +57,8 @@ NOTE: The `maven.remoteRepositories.springRepo.url` property must be set to the
|
||||
of the remote repository in which the Spring Boot Uber-jar is located. If not set, there is no remote
|
||||
repository, so it relies upon the local repository only.
|
||||
|
||||
[[stream-integration-launching-sink-dataflow]]
|
||||
=== Spring Cloud Data Flow
|
||||
NOTE: This feature is now end-of-life and will be removed in a future release.
|
||||
|
||||
To create a stream in Spring Cloud Data Flow, you must first register the Task Sink
|
||||
Application we created. In the following example, we are registering the Processor and
|
||||
Sink sample applications by using the Spring Cloud Data Flow shell:
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
app register --name taskSink --type sink --uri maven://io.spring.cloud:tasksink:<version>
|
||||
app register --name taskProcessor --type processor --uri maven:io.spring.cloud:taskprocessor:<version>
|
||||
----
|
||||
|
||||
The following example shows how to create a stream from the Spring Cloud Data Flow shell:
|
||||
|
||||
[source,bash]
|
||||
stream create foo --definition "http --server.port=9000|taskProcessor|taskSink" --deploy
|
||||
|
||||
[[stream-integration-events]]
|
||||
== Spring Cloud Task Events
|
||||
|
||||
@@ -26,7 +26,10 @@ import org.springframework.batch.item.ExecutionContext;
|
||||
*
|
||||
* @author Michael Minella
|
||||
* @since 1.1.0
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface CommandLineArgsProvider {
|
||||
|
||||
/**
|
||||
|
||||
@@ -73,7 +73,10 @@ import org.springframework.util.CollectionUtils;
|
||||
*
|
||||
* @author Michael Minella
|
||||
* @author Glenn Renfro
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
@Deprecated
|
||||
public class DeployerPartitionHandler implements PartitionHandler, EnvironmentAware, InitializingBean {
|
||||
|
||||
/**
|
||||
|
||||
@@ -56,7 +56,10 @@ import org.springframework.util.Assert;
|
||||
* </ul>
|
||||
*
|
||||
* @author Michael Minella
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
@Deprecated
|
||||
public class DeployerStepExecutionHandler implements CommandLineRunner {
|
||||
|
||||
private JobExplorer jobExplorer;
|
||||
|
||||
@@ -26,7 +26,10 @@ import org.springframework.batch.item.ExecutionContext;
|
||||
*
|
||||
* @author Michael Minella
|
||||
* @since 1.0.2
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
@Deprecated
|
||||
public interface EnvironmentVariablesProvider {
|
||||
|
||||
/**
|
||||
|
||||
@@ -27,7 +27,10 @@ import org.springframework.batch.item.ExecutionContext;
|
||||
*
|
||||
* @author Michael Minella
|
||||
* @since 1.0.2
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
@Deprecated
|
||||
public class NoOpEnvironmentVariablesProvider implements EnvironmentVariablesProvider {
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,7 +26,10 @@ import org.springframework.util.Assert;
|
||||
*
|
||||
* @author Michael Minella
|
||||
* @since 1.1.0
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
@Deprecated
|
||||
public class PassThroughCommandLineArgsProvider implements CommandLineArgsProvider {
|
||||
|
||||
private final List<String> commandLineArgs;
|
||||
|
||||
@@ -31,7 +31,10 @@ import org.springframework.util.Assert;
|
||||
* @author Michael Minella
|
||||
* @author Glenn Renfro
|
||||
* @since 1.1.0
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
@Deprecated
|
||||
public class SimpleCommandLineArgsProvider implements CommandLineArgsProvider, TaskExecutionListener {
|
||||
|
||||
private TaskExecution taskExecution;
|
||||
|
||||
@@ -36,7 +36,10 @@ import org.springframework.core.env.PropertySource;
|
||||
*
|
||||
* @author Michael Minella
|
||||
* @since 1.0.2
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
@Deprecated
|
||||
public class SimpleEnvironmentVariablesProvider implements EnvironmentVariablesProvider {
|
||||
|
||||
private Environment environment;
|
||||
|
||||
@@ -36,7 +36,10 @@ import org.springframework.util.StringUtils;
|
||||
* Supports the launching of partitions.
|
||||
*
|
||||
* @author Glenn Renfro
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
@Deprecated
|
||||
public class TaskLauncherHandler implements Runnable {
|
||||
|
||||
private CommandLineArgsProvider commandLineArgsProvider;
|
||||
|
||||
@@ -22,8 +22,9 @@ package org.springframework.cloud.task.listener;
|
||||
*
|
||||
* @author Michael Minella
|
||||
* @since 1.2
|
||||
* @deprecated since 3.0 in favor of the default implementations of
|
||||
*
|
||||
* {@link TaskExecutionListener}
|
||||
* @deprecated since 3.0 in favor of the default implementations of
|
||||
*/
|
||||
@Deprecated
|
||||
public class TaskExecutionListenerSupport implements TaskExecutionListener {
|
||||
|
||||
@@ -32,7 +32,10 @@ import org.springframework.util.StringUtils;
|
||||
* TaskLauncherSink to launch the task.
|
||||
*
|
||||
* @author Glenn Renfro
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
@Deprecated
|
||||
public class TaskLaunchRequest implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -35,8 +35,10 @@ import org.springframework.util.Assert;
|
||||
* A sink stream application that launches a tasks.
|
||||
*
|
||||
* @author Glenn Renfro
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
|
||||
@Deprecated
|
||||
public class TaskLauncherSink {
|
||||
|
||||
private final static Logger logger = LoggerFactory.getLogger(TaskLauncherSink.class);
|
||||
|
||||
@@ -50,12 +50,15 @@ import org.springframework.context.annotation.Import;
|
||||
* <code>@EnableTaskLauncher</code> annotation.
|
||||
*
|
||||
* @author Glenn Renfro
|
||||
* @deprecated This feature is now end-of-life and will be removed in a future release. No
|
||||
* replacement is planned. Please migrate away from using this functionality.
|
||||
*/
|
||||
@Target(ElementType.TYPE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Inherited
|
||||
@Import({ TaskLauncherSink.class })
|
||||
@Deprecated
|
||||
public @interface EnableTaskLauncher {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user