Skip to content

Adding implementation for phased callback#48

Merged
fynmanoj merged 1 commit into
openMF:masterfrom
ankita10r:newPhaseCallback
Feb 23, 2023
Merged

Adding implementation for phased callback#48
fynmanoj merged 1 commit into
openMF:masterfrom
ankita10r:newPhaseCallback

Conversation

@ankita10r
Copy link
Copy Markdown
Contributor

Description

This Pr includes changes pertaining to implementation of phased callback for bulk disbursement.
The following points are covered by the PR:

Related PRs: openMF/ph-ee-env-labs#29 and

(Ignore if these details are present on the associated JIRA ticket)

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Design related bullet points or design document link related to this PR added in the description above.

  • Updated corresponding Postman Collection or Api documentation for the changes in this PR.

  • Create/update unit or integration tests for verifying the changes made.

  • Add required Swagger annotation and update API documentation with details of any API changes if applicable

  • Followed the naming conventions as given in https://docs.google.com/document/d/1Q4vaMSzrTxxh9TS0RILuNkSkYCxotuYk1Xe0CMIkkCU/edit?usp=sharing

Comment thread src/main/java/org/mifos/processor/bulk/camel/routes/BatchStatusRoute.java Outdated
Comment thread src/main/java/org/mifos/processor/bulk/zeebe/worker/SendCallbackWorker.java Outdated
international-remittance-payer: "international_remittance_payer_process-{dfspid}"
debit-party-process: "debit_party_process-{dfspid}"
bulk-processor: "bulk_processor-ibank-usa"
bulk-processor: "bulk_processor-{dfspid}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

retry++;
logger.info("Retry Left {}, Setting Callback as Failed and Retrying...",
((int) exchange.getProperty(MAX_STATUS_RETRY) - retry));
((int) exchange.getProperty(MAX_CALLBACK_RETRY) - retry));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use Integer or avoid typecasting

@fynmanoj fynmanoj merged commit 61e86de into openMF:master Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants