Rename methods to prevent duplicate bean names (#6098)
This commit is contained in:
parent
bd31bcb290
commit
40d42f3ba5
|
@ -65,7 +65,7 @@ public class DeleteExpungeAppCtx {
|
|||
"load-ids",
|
||||
"Load IDs of resources to expunge",
|
||||
ResourceIdListWorkChunkJson.class,
|
||||
loadIdsStep(theBatch2DaoSvc))
|
||||
expungeLoadIdsStep(theBatch2DaoSvc))
|
||||
.addLastStep(
|
||||
"expunge",
|
||||
"Perform the resource expunge",
|
||||
|
@ -85,7 +85,7 @@ public class DeleteExpungeAppCtx {
|
|||
}
|
||||
|
||||
@Bean
|
||||
public LoadIdsStep<DeleteExpungeJobParameters> loadIdsStep(IBatch2DaoSvc theBatch2DaoSvc) {
|
||||
public LoadIdsStep<DeleteExpungeJobParameters> expungeLoadIdsStep(IBatch2DaoSvc theBatch2DaoSvc) {
|
||||
return new LoadIdsStep<>(theBatch2DaoSvc);
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public class ReindexAppCtx {
|
|||
"load-ids",
|
||||
"Load IDs of resources to reindex",
|
||||
ResourceIdListWorkChunkJson.class,
|
||||
loadIdsStep(theBatch2DaoSvc))
|
||||
reindexLoadIdsStep(theBatch2DaoSvc))
|
||||
.addLastStep("reindex", "Perform the resource reindex", reindexStep())
|
||||
.build();
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ public class ReindexAppCtx {
|
|||
}
|
||||
|
||||
@Bean
|
||||
public IJobStepWorker<ReindexJobParameters, ChunkRangeJson, ResourceIdListWorkChunkJson> loadIdsStep(
|
||||
public IJobStepWorker<ReindexJobParameters, ChunkRangeJson, ResourceIdListWorkChunkJson> reindexLoadIdsStep(
|
||||
IBatch2DaoSvc theBatch2DaoSvc) {
|
||||
return new LoadIdsStep<>(theBatch2DaoSvc);
|
||||
}
|
||||
|
|
|
@ -58,7 +58,10 @@ public class MdmSubmitAppCtx {
|
|||
ChunkRangeJson.class,
|
||||
submitGenerateRangeChunksStep())
|
||||
.addIntermediateStep(
|
||||
"load-ids", "Load the IDs", ResourceIdListWorkChunkJson.class, loadIdsStep(theBatch2DaoSvc))
|
||||
"load-ids",
|
||||
"Load the IDs",
|
||||
ResourceIdListWorkChunkJson.class,
|
||||
mdmSubmitLoadIdsStep(theBatch2DaoSvc))
|
||||
.addLastStep(
|
||||
"inflate-and-submit-resources",
|
||||
"Inflate and Submit resources",
|
||||
|
@ -78,7 +81,7 @@ public class MdmSubmitAppCtx {
|
|||
}
|
||||
|
||||
@Bean
|
||||
public LoadIdsStep<MdmSubmitJobParameters> loadIdsStep(IBatch2DaoSvc theBatch2DaoSvc) {
|
||||
public LoadIdsStep<MdmSubmitJobParameters> mdmSubmitLoadIdsStep(IBatch2DaoSvc theBatch2DaoSvc) {
|
||||
return new LoadIdsStep<>(theBatch2DaoSvc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue