-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Api 34592 poa v2 claimant signatures (#15827)
* Schema updates and add generated swagger * Add logic to use veteran or claimant for sig, update tests * Add tests for non-veteran claimants * Rubocop fixes * Remove unused attribute from tests * POA v2: Clean up required attributes * Validate claimantId included when request includes claimant data * Add test, fix logic based on tests * Add test for org request * Rubocop to the rescue * Update test data to reflect schema updates * Compiles swagger docs with update changes to required/not required values * Fixing Gemfile.lock after merge conflict * Adds space at the end of Gemfile.lock file * Update modules/claims_api/app/controllers/concerns/claims_api/v2/power_of_attorney_validation.rb Co-authored-by: jvcAdHoc <[email protected]> * Cleans up a conditional and spelling error * Adds language to explain conditionally required fields in schemas/docs * Move logic to validation class, add to errors if found * Validate claimantId, handle MPI errors, handle missing claimantId in form builder * Update error message and add cassette * Refactor logic to single call to MPI * Fix poa individual request tests * Disable module length check on poa validation * Refactor to use form_data to store claimant first & last * Fix tests, misc cleanup * Refactor user profile access * Rename variables to differ from method name * Add defined? check for to handle nil from mpi --------- Co-authored-by: Derrick Ellerbie <[email protected]> Co-authored-by: rockwellwindsor-va <[email protected]> Co-authored-by: Rockwell Windsor Rice <[email protected]> Co-authored-by: jvcAdHoc <[email protected]>
- Loading branch information
1 parent
3dd4722
commit 02ff64f
Showing
9 changed files
with
483 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.