-
Notifications
You must be signed in to change notification settings - Fork 66
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 24833 526 v2 section 6 service info validation part 2 v2 #12790
Api 24833 526 v2 section 6 service info validation part 2 v2 #12790
Conversation
Generated by 🚫 Danger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb
Show resolved
Hide resolved
38452b2
* Service Information validation - Part 1 API-24833 - Part 1 AC points 9 - 21 * Adds RSpec tests for validating service information elements for AC points 9 - 21 * Adds methods in validation file for validating service information elements * Updates 526 schema, and related JSON files, with unitPhone regex patterns and updated example with alternate name values Changes to be committed: modified: modules/claims_api/app/controllers/concerns/claims_api/v2/disability_compensation_validation.rb modified: modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json modified: modules/claims_api/config/schemas/v2/526.json modified: modules/claims_api/config/schemas/v2/request_bodies/disability_compensation/example.json modified: modules/claims_api/config/schemas/v2/request_bodies/disability_compensation/request.json modified: modules/claims_api/spec/fixtures/v2/veterans/disability_compensation/form_526_json_api.json modified: modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb modified: spec/support/schemas/claims_api/v2/forms/disability/submission.json * Service Information validation - Part 2 API-24833 - Part 1 AC points 10 - 21 Alters the AC points covered, now part 2 covers 10 - 21 and adjusts RSpec and validation file in line with that. Changes to be committed: modified: modules/claims_api/app/controllers/concerns/claims_api/v2/disability_compensation_validation.rb modified: modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb * Making sure to update swagger dev file with any merges * Merges master and fixes tests * Removes ensured newline at save that was added into 526_json_api file
Service Information validation - Part 2
Adds validations/tests for service information
Summary
Related issue(s)
API-24833 - Part 1, AC points 10 - 21
Testing done
RSpec
What areas of the site does it impact?
modified: modules/claims_api/app/controllers/concerns/claims_api/v2/disability_compensation_validation.rb
modified: modules/claims_api/app/swagger/claims_api/v2/dev/swagger.json
modified: modules/claims_api/config/schemas/v2/526.json
modified: modules/claims_api/config/schemas/v2/request_bodies/disability_compensation/example.json
modified: modules/claims_api/config/schemas/v2/request_bodies/disability_compensation/request.json
modified: modules/claims_api/spec/fixtures/v2/veterans/disability_compensation/form_526_json_api.json
modified: modules/claims_api/spec/requests/v2/veterans/disability_compensation_request_spec.rb
modified: spec/support/schemas/claims_api/v2/forms/disability/submission.json
Acceptance criteria