Add 0781 lighthouse flippers to API provider factory #19157
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the first step in allowing us to progressively transition uploading 0781 forms to the new Lighthouse Documents Benefits API.
All new behavior is hidden behind a killswitch flipper,
disability_compensation_use_api_provider_for_0781_uploads
, which will only use the API provider if turned on.If the killswitch is enabled, the API Provider Factory itself will decide if we use the Lighthouse or EVSS provider client for the uploads, based on the status of the
disability_compensation_upload_0781_to_lighthouse
flipper.Summary
Related issue(s)
([LH Doc Upload] 0781/a (1) implementation va.gov-team#83846)
Testing done
This feature will be tested extensively on staging before release. It will be rolled out incrementally based on a percentage of production users, starting at 1%. All 0781 upload attempts will be logged and monitored.
Acceptance criteria