Remove extra beans
This commit is contained in:
parent
bb863f26fa
commit
31b7e862d4
|
@ -48,7 +48,7 @@ public class BulkDataExportSvcImplR4Test extends BaseJpaR4Test {
|
|||
private IBulkDataExportSvc myBulkDataExportSvc;
|
||||
@Autowired
|
||||
private IBatchJobSubmitter myBatchJobSubmitter;
|
||||
@Autowired()
|
||||
@Autowired
|
||||
private Job myBulkJob;
|
||||
|
||||
|
||||
|
|
|
@ -106,21 +106,6 @@ public class TestR4Config extends BaseJavaConfigR4 {
|
|||
return bulkItemReader;
|
||||
}
|
||||
|
||||
@Bean
|
||||
public Job testJob() {
|
||||
return myJobBuilderFactory.get("testJob")
|
||||
.start(taskletStep())
|
||||
.build();
|
||||
}
|
||||
@Bean
|
||||
public Step taskletStep() {
|
||||
return myStepBuilderFactory.get("testSte")
|
||||
.tasklet((stepContribution, chunkContext) -> {
|
||||
System.out.println("It works!");
|
||||
return RepeatStatus.FINISHED;
|
||||
})
|
||||
.build();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public DataSource dataSource() {
|
||||
|
|
Loading…
Reference in New Issue