-
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
update Form526Submission.form w/ classificationCode before submitting to eVSS #12905
Conversation
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.
Have some outcomes from the LH thread, but in the meantime, some considerations
app/models/concerns/form526_rapid_ready_for_decision_concern.rb
Outdated
Show resolved
Hide resolved
app/models/concerns/form526_rapid_ready_for_decision_concern.rb
Outdated
Show resolved
Hide resolved
spec/jobs/evss/disability_compensation_form/submit_form526_all_claim_spec.rb
Show resolved
Hide resolved
spec/jobs/evss/disability_compensation_form/submit_form526_all_claim_spec.rb
Show resolved
Hide resolved
app/models/concerns/form526_rapid_ready_for_decision_concern.rb
Outdated
Show resolved
Hide resolved
app/models/concerns/form526_rapid_ready_for_decision_concern.rb
Outdated
Show resolved
Hide resolved
app/models/concerns/form526_rapid_ready_for_decision_concern.rb
Outdated
Show resolved
Hide resolved
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.
Do you want the contention code given to be overwritten with nil if the service returns nil? (what it looks like it is currently doing) or is it supposed to keep the code it had if the service does not return a code?
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.
This was a good PR! Just one little comment but definitely not a blocker. Appreciate the writeup -- always nice for us on support to kind of have more info on what the work's purpose is and where it touches.
api_key: 9d3868d1-ec15-4889-8002-2bff1b50ba62 | ||
health_assessment_path: health-data-assessment | ||
evidence_pdf_path: evidence-pdf | ||
ctn_classification_path: contention-classification/classifier | ||
# ctn_classification_path: contention-classification/classifier |
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.
do we still need this comment in here?
… to eVSS (#12905) * fix missing request param * log submission id before classification * write update_form_classification() to actually update the form for eVSS * WIP - troubleshooting method not getting called * wip endponit * still WIP testing form update functionality * fix logic for updating form, test against changed outputs * remove comment * fix rubocop issues * remove safeguards for handling legacy vro code * simplify form update function * update spec mock request to resemble current api response * address rubocop * change logging statement to work better w/ datadog * switch to form.to_json * move nil check up * update settings for local vro testing * add additional test case for handling null response * address rubocop issues * address rubocop issue * update spec to reflect latest vro api response --------- Co-authored-by: verdanceluke <luke@verdance.co>
Summary
Related issue(s)
Testing done
bundle exec rspec /Users/verdanceluke/kyle_example/vets-api/spec/jobs/evss/disability_compensation_form/submit_form526_all_claim_spec.rb:84
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
Misc
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?