Skip to content

Commit

Permalink
PHEE-466
Browse files Browse the repository at this point in the history
  • Loading branch information
apurbraj committed Nov 8, 2023
1 parent 398050e commit 23c23b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,6 @@ private ZeebeVariables() {}
public static final String CURRENCY = "currency";

public static final String AUTHORIZATION_RESPONSE = "authorizationResponse";

public static final String PAYEE_PARTY_RESPONSE = "payeePartyResponse";
public static final String PAYEE_DFSP_ID = "payeeDFSPID";
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import static org.mifos.processor.bulk.zeebe.ZeebeVariables.CHANNEL_REQUEST;
import static org.mifos.processor.bulk.zeebe.ZeebeVariables.ORIGIN_CHANNEL_REQUEST;
import static org.mifos.processor.bulk.zeebe.ZeebeVariables.PARTY_LOOKUP_FSP_ID;
import static org.mifos.processor.bulk.zeebe.ZeebeVariables.PAYEE_DFSP_ID;
import static org.mifos.processor.bulk.zeebe.worker.Worker.ACCOUNT_LOOKUP_CALLBACK;

import com.fasterxml.jackson.databind.ObjectMapper;
Expand Down Expand Up @@ -42,6 +43,7 @@ public void setup() {
Party payee = new Party(partyIdInfo);
transactionChannelRequestDTO.setPayee(payee);
existingVariables.put(CHANNEL_REQUEST, objectMapper.writeValueAsString(transactionChannelRequestDTO));
existingVariables.put(PAYEE_DFSP_ID, payeeFspId);
client.newCompleteCommand(job.getKey()).variables(existingVariables).send().join();
}).name(ACCOUNT_LOOKUP_CALLBACK.getValue()).open();
}
Expand Down

0 comments on commit 23c23b1

Please sign in to comment.