make mdm-clear partition aware (#3741)

Co-authored-by: Ken Stevens <ken@smilecdr.com>
This commit is contained in:
Ken Stevens 2022-06-26 14:32:00 -04:00 committed by GitHub
parent c3f34099fb
commit f4629822f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -70,7 +70,8 @@ public class MdmClearStep implements IJobStepWorker<MdmClearJobParameters, Resou
@Override
public RunOutcome run(@Nonnull StepExecutionDetails<MdmClearJobParameters, ResourceIdListWorkChunkJson> theStepExecutionDetails, @Nonnull IJobDataSink<VoidModel> theDataSink) throws JobExecutionFailedException {
RequestDetails requestDetails = new SystemRequestDetails();
SystemRequestDetails requestDetails = new SystemRequestDetails();
requestDetails.setRequestPartitionId(theStepExecutionDetails.getParameters().getRequestPartitionId());
TransactionDetails transactionDetails = new TransactionDetails();
myHapiTransactionService.execute(requestDetails, transactionDetails, buildJob(requestDetails, transactionDetails, theStepExecutionDetails));