Removed BatchConfigurer and @EnableBatchProcessing from tests and samples
TaskJobLauncherApplicationRunnerTests updated Signed-off-by: Glenn Renfro <grenfro@vmware.com> Updated Integration tests Updated Tests for samples
This commit is contained in:
@@ -21,7 +21,6 @@ import java.util.Arrays;
|
||||
import org.springframework.batch.core.Job;
|
||||
import org.springframework.batch.core.Step;
|
||||
import org.springframework.batch.core.StepContribution;
|
||||
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
|
||||
import org.springframework.batch.core.job.builder.JobBuilder;
|
||||
import org.springframework.batch.core.repository.JobRepository;
|
||||
import org.springframework.batch.core.scope.context.ChunkContext;
|
||||
@@ -42,7 +41,6 @@ import org.springframework.transaction.PlatformTransactionManager;
|
||||
* @author Glenn Renfro
|
||||
*/
|
||||
@Configuration
|
||||
@EnableBatchProcessing
|
||||
@ConditionalOnProperty(prefix = "spring.cloud.task.test", name = "enable-job-configuration", havingValue = "true")
|
||||
public class JobConfiguration {
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ package configuration;
|
||||
import org.springframework.batch.core.Job;
|
||||
import org.springframework.batch.core.Step;
|
||||
import org.springframework.batch.core.StepContribution;
|
||||
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
|
||||
import org.springframework.batch.core.job.builder.JobBuilder;
|
||||
import org.springframework.batch.core.repository.JobRepository;
|
||||
import org.springframework.batch.core.scope.context.ChunkContext;
|
||||
@@ -37,7 +36,6 @@ import org.springframework.transaction.PlatformTransactionManager;
|
||||
* @author Glenn Renfro
|
||||
*/
|
||||
@Configuration
|
||||
@EnableBatchProcessing
|
||||
@ConditionalOnProperty(prefix = "spring.cloud.task.test", name = "enable-fail-job-configuration")
|
||||
public class JobSkipConfiguration {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user