Closed wesrowe closed 2 weeks ago
8/7/2024 Refinement Notes: Would like to complete this before working on NoK/EC edit. Will need to check if the contact information is impacted by the profile v3 migration.
Files of interest in vets-api:
render_errors
methodWill need to check if the contact information is impacted by the profile v3 migration.
Did anyone take the action item to find out whether contacts are impacted by the v3 implementation?
// cc @radavis @LynneJohnson224 @dcloud
Reiterating my comment above:
Did anyone take the action item to find out whether contacts are impacted by the v3 implementation?
Relatedly, this ticket needs points. I'm adding the "needs refinement" label back on.
Reiterating my comment above:
Did anyone take the action item to find out whether contacts are impacted by the v3 implementation?
Relatedly, this ticket needs points. I'm adding the "needs refinement" label back on.
v3 implementation of...?
The vets-api client/service code for reading Personal health care contacts through VA Profile API is in the V3 Profile client
@radavis The maybe related work is under this ticket: https://github.com/department-of-veterans-affairs/va.gov-team/issues/83181+ : "Upgrade V2::ContactInformation::Service to V3::ProfileInformation::Service"
You can see this in-progress PR: https://github.com/department-of-veterans-affairs/vets-api/pull/17397
Perhaps the key is that those are talking about "V2::ContactInformation::Service to V3::ProfileInformation::Service"?
It could also be that the code you're referring to might be get merged with or replaced by that work.
Perhaps the key is that those are talking about "V2::ContactInformation::Service to V3::ProfileInformation::Service"?
Yeah, our client is namspaced under VAProfile::Profile::V3:Service
, so I don't believe this will be a concern.
Description
User story
As a Cartographers team member, I want api.va.gov/v0/profile/contacts to handle service HTTP 4xx/5xx responses and raise vets-api Exceptions, so that vets-api errors and back-end (VA Profile) errors are categorized and monitored at the appropriate layer of the stack and can be scored to the appropriate SLO.
Notes
/v0/profile/contacts
should have a defined pattern for translating 4xx/5xx service responses to api responses 404 -> { data: [] } 500 -> { errors: ... } malformed service response body -> { errors: ... }Possible tasks:
Acceptance criteria