-
Notifications
You must be signed in to change notification settings - Fork 69
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
[CST] #93324 - Create webhook endpoints for VA Notify to call to update EvidenceSubmission.va_notify_status #20494
base: master
Are you sure you want to change the base?
Conversation
* Created migration file for new evidence submissions table
* Created initial model for evidence submissions * updated the CODEOWNERS file for the new evidence submission model
…19033) * added job_class to evidence_submissions table * adding recording to EvidenceSubmissions and updated unit tests for Lighthouse and EVSS document uploads * updated fields that get logged into EvidenceSubmission * updated UserAccount association for EvidenceSubmissions to be a reference and updated unit tests * switched from using the build method to new on EvidenceSubmission object initialization * fixed UserAccount stubbing in legacy_documents_spec.rb to fix failing test * fixed linting errors * fixed mobile and regular documents_spec requests tests * fixed linting error * removed unneeded comment from migration file
…ng document (#19552) * working files may be in broken state * finished unit testing for DocumentUpload * added testing around raising errors by document_upload, and cleaned up comments * removed unnecessary comment from worker_service.rb * moved EvidenceSubmission record creation to DocumentUpload, and returned to using perform_async instead of perform_in * added blank line at the end of constants.rb * Updated incorrect error for when a claim id is not present
* Created migration file for new evidence submissions table
* Created initial model for evidence submissions * updated the CODEOWNERS file for the new evidence submission model
…19033) * added job_class to evidence_submissions table * adding recording to EvidenceSubmissions and updated unit tests for Lighthouse and EVSS document uploads * updated fields that get logged into EvidenceSubmission * updated UserAccount association for EvidenceSubmissions to be a reference and updated unit tests * switched from using the build method to new on EvidenceSubmission object initialization * fixed UserAccount stubbing in legacy_documents_spec.rb to fix failing test * fixed linting errors * fixed mobile and regular documents_spec requests tests * fixed linting error * removed unneeded comment from migration file
…ng document (#19552) * working files may be in broken state * finished unit testing for DocumentUpload * added testing around raising errors by document_upload, and cleaned up comments * removed unnecessary comment from worker_service.rb * moved EvidenceSubmission record creation to DocumentUpload, and returned to using perform_async instead of perform_in * added blank line at the end of constants.rb * Updated incorrect error for when a claim id is not present
This reverts commit 65751f3.
* added initial evidence submission polling job file and polling service file * added some more more evidence submission polling related files * started fleshing out 'perform' in evidence_submission_document_upload_polling_job.rb, added status scopes to EvidenceSubmission model, and started fleshing out update_documents_status_service.rb * added TODO notes as comments * made some minor changes * added new Constants.rb file * writing tests * wrote unit tests, and implemented acknowledgment_date, failed_date, and the status updater * worked on processing timeout and added delete_date * Created factories for EvidenceSubmission records and updated unit test * Updated upload_status_updater.rb and wrote unit tests for it * fixed unit test for spec/sidekiq/lighthouse/evidence_submission_document_upload_polling_job_spec.rb * commented logging code that we're not using yet * fixed delete_date model to use datetime instead of date * fixed upload_status_updater_spec.rb and started working on update_documents_status_service_spec.rb * updated update_documents_status_service, tests and moved test file to the correct folder * updated test to have more expects * update tests to use be_within * update tests to use be_within * updated spec/lib/lighthouse/benefits_documents/upload_status_updater_spec.rb * added extra parentheses around .utc * restored accidentally deleted error handler function in evidence_submission_document_upload_polling_job * updated CODEOWNERS file * removed extra sub-folder called factories from spec/factories/lighthouse/benefits_documents/factories/evidence_submission.rb * fixed failing test * fixed merge conflicts * cleaned up .github/CODEOWNERS * removed unneeded comment from migration file --------- Co-authored-by: Peri McLaren <[email protected]>
#19956) * added back changes from previous pr and started writing tests in document upload files * add tests * update tests * remove byebug * added codeowners and removed files that were deleted * add tests * updates * added tests and factories * add test changes * updated tests * remove change * updates * update failure notification email job * fixed factory * add frozen_string_literal: true * remove comma from codeowners file * update failure_notification_email_job.rb and test to include lighthouse * remove and from codeowners file * update documents_spec.rb to replace Lighthouse::DocumentUpload with Lighthouse::BenefitsDocuments::DocumentUpload * update service_spec.rb * updated class * changed the name of the job * fix linter issues with line length * update folder name from benefits_documents to evidence_submissions * resolved linting issues * update spacing
…_notification and tests
… and added back failure_notification and tests
…ss files to account for document type
…ersion gem from ddtrace to datadog
…e factory, move evidence submission creation on lighthouse document upload
…evidence submission there, updated doc upload files to update the evidence submission, fixed tests
…o method is renamed
…ion and sending it to va notify
…email a Veteran fails
Generated by 🚫 Danger |
Note: Delete the description statements, complete each step. None are optional, but can be justified as to why they cannot be completed as written. Provide known gaps to testing that may raise the risk of merging to production.
Summary
Related issue(s)
Testing done
Screenshots
Note: Optional
What areas of the site does it impact?
(Describe what parts of the site are impacted andifcode touched other areas)
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?