-
Notifications
You must be signed in to change notification settings - Fork 66
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
[VAMC-19452]Update Alternative Banners DB every 10min with sidekiq job #19550
[VAMC-19452]Update Alternative Banners DB every 10min with sidekiq job #19550
Conversation
Generated by 🚫 Danger |
Error: A file (or its parent directories) was deleted but its reference still exists in CODEOWNERS. Please update the .github/CODEOWNERS file and delete the entry for the Offending file: |
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: |
6b2b29b
to
461c7da
Compare
Error: A file (or its parent directories) was deleted but its reference still exists in CODEOWNERS. Please update the .github/CODEOWNERS file and delete the entry for the Offending file: |
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: |
461c7da
to
0321fc9
Compare
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: |
Error: A file (or its parent directories) was deleted but its reference still exists in CODEOWNERS. Please update the .github/CODEOWNERS file and delete the entry for the Offending file: |
0321fc9
to
0f63330
Compare
Error: A file (or its parent directories) was deleted but its reference still exists in CODEOWNERS. Please update the .github/CODEOWNERS file and delete the entry for the Offending file: |
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: |
e7c249d
to
8421ed8
Compare
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: |
Error: A file (or its parent directories) was deleted but its reference still exists in CODEOWNERS. Please update the .github/CODEOWNERS file and delete the entry for the Offending file: |
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: |
8bb9edf
to
1651f1f
Compare
Error: A file (or its parent directories) was deleted but its reference still exists in CODEOWNERS. Please update the .github/CODEOWNERS file and delete the entry for the Offending file: |
61f4d46
to
e47fe7b
Compare
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: |
Error: A file (or its parent directories) was deleted but its reference still exists in CODEOWNERS. Please update the .github/CODEOWNERS file and delete the entry for the Offending file: |
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: |
Error: A file (or its parent directories) was deleted but its reference still exists in CODEOWNERS. Please update the .github/CODEOWNERS file and delete the entry for the Offending file: |
Okay, there are too many of these empty comments, I give up cleaning them up. |
I think I figured it out, this is because the check is working against |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Backend-review-group approval confirmed. |
0fc8f38
into
VACMS-19449-situation-updates-fetch-banner-data
…#19511) * add initial thougnts/notes * create banner job to pull and update db, only fetching banner data * cleanup notes and variable names * Move fetching out of main job into banner services for building and updating * Further refinement of builder/updater/job process * get builder creating banners using parsed response data * params refinement * rubocop cleanup * separate banner profiles from updater * adjust scope to simplify queries a notch for easier understanding * add error response to controller when path is not provided for #by_path * remove no longer used #enabled? * cleanup updater * cleanup requirements * appease the rubocop * destroy any lingering banners that are no longer being provided * fixup query and vamc model naming * pluck > map * remove job to be handled with VAMC-19452 * remove leftover banner spec and adjust #by_path testing in appropriate banner spec * add logging to builder and updater * add updater spec * add spec for builder * update settings used, appease the rubocop * avoid alternative_banners wording * missed a spec * rebasing added the job too soon * return when rendering error * 422 is more accurate than 400 * [VAMC-19452]Update Alternative Banners DB every 10min with sidekiq job (#19550) * adjust updater to return error when parsing failed, introduce job to work with updater * avoid alternative_banners wording * add job to 10m rotation * add flipper to enable the update all job * make linter happy * be more specific when re-raising error * update updater spec to include error * Use Job in periodic_jobs.rb Co-authored-by: Eli Selkin <[email protected]> --------- Co-authored-by: Eli Selkin <[email protected]>
Summary
Related issue(s)
main
after merged) [VACMS-19451]Alternative Banners fetch banner data from graphql to db #19511Testing done
Screenshots
Note: Optional
What areas of the site does it impact?
Nowhere visible to users ATT, it is updating the DB in preparation to display situation updates for facilities to users when viewing VAMC data.
Acceptance criteria
Requested Feedback
(OPTIONAL)What should the reviewers know in addition to the above. Is there anything specific you wish the reviewer to assist with. Do you have any concerns with this PR, why?