Remove extra beans

This commit is contained in:
Tadgh 2020-06-02 15:00:56 -07:00
parent bb863f26fa
commit 31b7e862d4
2 changed files with 1 additions and 16 deletions

View File

@ -48,7 +48,7 @@ public class BulkDataExportSvcImplR4Test extends BaseJpaR4Test {
private IBulkDataExportSvc myBulkDataExportSvc;
@Autowired
private IBatchJobSubmitter myBatchJobSubmitter;
@Autowired()
@Autowired
private Job myBulkJob;

View File

@ -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() {