Skip to content

BRD: Separation Locations - Environments do not match (data mismatch) #98103

Closed
@aurora-a-k-a-lightning

Description

As a developer, I want to be able to test BDD claims from end to end in staging.va.gov to lighthouse's staging environment so that I can push code to production with confidence that it is working as intended.

Tasks

  • update vets-api's staging Settings.lighthouse.benefits_reference_data block to point to LH's staging environment
    • figure out if Settings.lighthouse.benefits_reference_data are environment variable in infra repo of our staging environment
    • the environment variable maps to a value in parameter store
    • sleuth to figure out what LH's staging proxy value is - but is this even necessary? can we just use staging-api.va.gov
    • update the parameter store value for the va.gov staging environment
  • to test:

before, this would fail due to this due to the mismatch of data:

{"errors"=>
      [{"title"=>"Unprocessable Entity",
        "detail"=>"The separation location code (0) for the claimant is not a valid value.",
        "status"=>"422",
        "source"=>{"pointer"=>"data/attributes/serviceInformation/servicePeriods/0/separationLocationCode"}}]}

Acceptance Criteria

  • a BDD claim can be established in staging

Notes

  1. vets-api staging LH Provider for BRD is pointing to LH's sandbox environment.
  2. vets-api uses LH's staging endpoint to submit claims to go through to VBMS UAT.
  3. When LH validates the separation location code, they check against their staging's BRD separation location code values.
  4. vets-api needs to grab the separation location code values from the same environment LH does to test end-to-end.
  5. vets-api staging's Settings.lighthouse.benefits_reference_data.url points to https://fwdproxy-staging.vfs.va.gov:4492/ which is LH's/BGS's sandbox environment
  6. pipe dream: somehow, we need parity between services and environment the service is pointing to (i.e. sandbox points to sandbox, staging points to staging, production points to production)
  7. this will mean that BRD provider will forever need to point to lighthouse's provider because we need parity between all endpoints.
    • why? the EVSS provider only returns "sandbox" data, which will never match with Lighthouse's staging data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions