Skip to content

WorkPeriodPayment getting hanged at scheduled status #523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sandhiyakavi opened this issue Aug 26, 2021 · 8 comments
Open

WorkPeriodPayment getting hanged at scheduled status #523

sandhiyakavi opened this issue Aug 26, 2021 · 8 comments

Comments

@sandhiyakavi
Copy link
Collaborator

Description:

All WorkPeriodPayments are getting hanged at scheduled status and WP status not changing to 'in-progress'. Seems the payment scheduler is not working.

image
image

@sachin-maheshwari
Copy link
Contributor

I think its good hint to resolve this issue - "We have a payment scheduler, that writes to the db and posts events to be picked up by the ES Processor. I think as part of the cqrs update, we have removed the place where the ES processor listens to these events and updates the ES".
example:

await postEvent(config.TAAS_WORK_PERIOD_PAYMENT_UPDATE_TOPIC, updated.toJSON(), { oldValue, key: `workPeriodPayment.billingAccountId:${updated.billingAccountId}` })

@yoution
Copy link
Contributor

yoution commented Aug 31, 2021

thanks, I forgot to change the code in scheduler, I will fix it soon

@sachin-maheshwari
Copy link
Contributor

@yoution done ?

@yoution
Copy link
Contributor

yoution commented Aug 31, 2021

yeah, done

@sachin-maheshwari
Copy link
Contributor

merged code ? PR ?

@yoution
Copy link
Contributor

yoution commented Aug 31, 2021

wait 5 minutes

yoution added a commit to yoution/taas-apis that referenced this issue Aug 31, 2021
@sachin-maheshwari
Copy link
Contributor

@sandhiyakavi deployed on DEV. Please verify now.

@sandhiyakavi
Copy link
Collaborator Author

Verified on Dev Env. Workperiod payments are getting completed successfully.

scheduled

completed_status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants