Skip to content
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

CPDNPQ-1188: Update only synced application with ecf #837

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

javier-npq
Copy link
Contributor

@javier-npq javier-npq commented Jul 12, 2023

Context

update only synced applications with ecf

Ticket/PR:

#819

Changes proposed in this pull request

We are not raising an exception, we will be updating any ID's that are present in the npq space.

For example, application A and B got updated in the ECF. But in the NPQ, we have only application A and application B has not synced yet.

It should update only application A since it is synced with Ecf.

@javier-npq javier-npq marked this pull request as ready for review July 12, 2023 13:48
@github-actions
Copy link

if application.present?
application.update!(lead_provider_approval_status:, participant_outcome_state:)
else
Rails.logger.info("Application #{id} is not synced yet")
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe Rails.logger.info("Application where ecf_id=#{id} is not synced yet")

@javier-npq javier-npq merged commit 1248438 into main Jul 12, 2023
4 checks passed
@javier-npq javier-npq deleted the CPDNPQ-1188-update-only-synced-application-with-ecf branch July 12, 2023 14:42
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