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

Api 26640 establish 526 claim #12907

Merged
merged 14 commits into from
Jun 13, 2023
Merged

Api 26640 establish 526 claim #12907

merged 14 commits into from
Jun 13, 2023

Conversation

acovrig
Copy link
Contributor

@acovrig acovrig commented Jun 6, 2023

Summary

  • Map claim to EVSS schema to submit to EVSS container

Related issue(s)

Testing done

  • local postman and rspec

What areas of the site does it impact?

Claims V2 526 submission

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Feature/bug has a monitor built into Datadog or Grafana (if applicable)
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected
  • I added a screenshot of the developed feature

@acovrig acovrig added Lighthouse lighthouse claimsApi modules/claims_api labels Jun 6, 2023
@acovrig acovrig self-assigned this Jun 6, 2023
@acovrig acovrig requested review from a team as code owners June 6, 2023 15:35
Comment on lines +31 to +32
# evss_data = evss_mapper_service(auto_claim).map_claim
# evss_claim = evss_service.submit(auto_claim, evss_data)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm leaving these commented out for now since the container itself seems flaky, I don't want another dev to get stuck trying to figure out why this endpoint doesn't work sometimes.

secondary.except(:exposureOrEventOrInjury, :approximateDate)
end

disability[:specialIssues] = 'PACT' if disability[:isRelatedToToxicExposure]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not 💯 on this one, sometimes they complain about it, sometimes they don't, so this may need to be something else (I.E. ['PACT'] or {code: 'PACT', name: 'PACT'})

@va-vfs-bot va-vfs-bot temporarily deployed to API-26640-establish-526-claim/main/main June 6, 2023 15:45 Inactive

def change_of_address
return if @data[:changeOfAddress].blank?

Copy link
Contributor

Choose a reason for hiding this comment

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

Looking at https://jira.devops.va.gov/browse/API-26640 it looks like we only need veteranIdentification, not ChangeOfAddress.

It seems PACT isn't a valid value, though...
@va-vsp-bot va-vsp-bot requested a deployment to API-26640-establish-526-claim/main/main June 8, 2023 14:39 In progress
@va-vfs-bot va-vfs-bot temporarily deployed to API-26640-establish-526-claim/main/main June 8, 2023 14:40 Inactive
@va-vsp-bot va-vsp-bot requested a deployment to API-26640-establish-526-claim/main/main June 9, 2023 15:38 In progress
@va-vsp-bot va-vsp-bot requested a deployment to API-26640-establish-526-claim/main/main June 9, 2023 15:39 In progress
@va-vfs-bot va-vfs-bot temporarily deployed to API-26640-establish-526-claim/main/main June 9, 2023 15:39 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to API-26640-establish-526-claim/main/main June 9, 2023 15:44 Inactive
@va-vsp-bot va-vsp-bot requested a deployment to API-26640-establish-526-claim/main/main June 9, 2023 16:40 In progress
@va-vfs-bot va-vfs-bot temporarily deployed to API-26640-establish-526-claim/main/main June 9, 2023 16:41 Inactive
@va-vsp-bot va-vsp-bot requested a deployment to API-26640-establish-526-claim/main/main June 9, 2023 17:08 In progress
@va-vfs-bot va-vfs-bot temporarily deployed to API-26640-establish-526-claim/main/main June 9, 2023 17:09 Inactive
@va-vsp-bot va-vsp-bot requested a deployment to API-26640-establish-526-claim/main/main June 13, 2023 14:39 In progress
@va-vfs-bot va-vfs-bot temporarily deployed to API-26640-establish-526-claim/main/main June 13, 2023 14:50 Inactive
@va-vsp-bot va-vsp-bot requested a deployment to API-26640-establish-526-claim/main/main June 13, 2023 14:57 In progress
@va-vsp-bot va-vsp-bot requested a deployment to API-26640-establish-526-claim/main/main June 13, 2023 15:09 In progress
@va-vfs-bot va-vfs-bot temporarily deployed to API-26640-establish-526-claim/main/main June 13, 2023 15:18 Inactive
@acovrig acovrig merged commit f1d09a5 into master Jun 13, 2023
@acovrig acovrig deleted the API-26640-establish-526-claim branch June 13, 2023 15:24
ryan-mcneil pushed a commit that referenced this pull request Dec 11, 2023
Finally got the mapper working mostly - PACT mapping still needs done, but got moved to another ticket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
claimsApi modules/claims_api Lighthouse lighthouse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants