diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index dc78d981a1a..f401a87d7ea 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -46,6 +46,7 @@ app/controllers/v0/appeals_controller.rb @department-of-veterans-affairs/benefit app/controllers/v0/appointments_controller.rb @department-of-veterans-affairs/vfs-vaos @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/controllers/v0/apps_controller.rb @department-of-veterans-affairs/lighthouse-pivot app/controllers/v0/ask_va @department-of-veterans-affairs/ask-va-team @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +app/controllers/v0/average_days_for_claim_completion_controller.rb @department-of-veterans-affairs/benefits-microservices @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/controllers/v0/backend_statuses_controller.rb @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/controllers/v0/benefits_claims_controller.rb @department-of-veterans-affairs/benefits-management-tools-be @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/controllers/v0/benefits_documents_controller.rb @department-of-veterans-affairs/benefits-management-tools-be @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -194,6 +195,7 @@ app/models/async_transaction/base.rb @department-of-veterans-affairs/vfs-authent app/models/async_transaction/va_profile @department-of-veterans-affairs/vfs-authenticated-experience-backend @department-of-veterans-affairs/vfs-authenticated-experience-backend @department-of-veterans-affairs/backend-review-group app/models/async_transaction/vet360 @department-of-veterans-affairs/vfs-authenticated-experience-backend @department-of-veterans-affairs/backend-review-group app/models/attachment.rb @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +app/models/average_days_for_claim_completion.rb @department-of-veterans-affairs/benefits-microservices @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/models/backend_status.rb @department-of-veterans-affairs/backend-review-group app/models/bank_name.rb @department-of-veterans-affairs/vfs-authenticated-experience-backend @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/models/base_facility.rb @department-of-veterans-affairs/vfs-facilities-frontend @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -280,6 +282,7 @@ app/models/persistent_attachment.rb @department-of-veterans-affairs/benefits-no app/models/persistent_attachments/dependency_claim.rb @department-of-veterans-affairs/benefits-dependents-management @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/models/persistent_attachments/lgy_claim.rb @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/models/persistent_attachments/pension_burial.rb @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/pensions @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +app/models/personal_information_log.rb @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/models/power_of_attorney.rb @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/models/preneeds @department-of-veterans-affairs/mbs-core-team @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/models/prescription_preference.rb @department-of-veterans-affairs/vfs-mhv-medications @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -291,6 +294,7 @@ app/models/session.rb @department-of-veterans-affairs/octo-identity app/models/saved_claim/burial.rb @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/pensions @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/models/saved_claim/pension.rb @department-of-veterans-affairs/pensions @department-of-veterans-affairs/backend-review-group app/models/saved_claim/veteran_readiness_employment_claim.rb @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +app/models/saved_claim/education_career_counseling_claim.rb @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/models/sign_in @department-of-veterans-affairs/octo-identity app/models/single_logout_request.rb @department-of-veterans-affairs/octo-identity app/models/spool_file_event.rb @department-of-veterans-affairs/my-education-benefits @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -580,7 +584,6 @@ app/sidekiq/account_login_statistics_job.rb @department-of-veterans-affairs/octo app/sidekiq/benefits_intake_status_job.rb @department-of-veterans-affairs/platform-va-product-forms @department-of-veterans-affairs/Disability-Experience @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/sidekiq/bgs @department-of-veterans-affairs/benefits-dependents-management @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/sidekiq/central_mail/delete_old_claims.rb @department-of-veterans-affairs/mbs-core-team @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group -app/sidekiq/central_mail/submit_career_counseling_job.rb @department-of-veterans-affairs/my-education-benefits @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/sidekiq/central_mail/submit_form4142_job.rb @department-of-veterans-affairs/Disability-Experience @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/sidekiq/central_mail/submit_saved_claim_job.rb @department-of-veterans-affairs/backend-review-group app/sidekiq/central_mail/submit_central_form686c_job.rb @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @department-of-veterans-affairs/benefits-dependents-management @@ -616,6 +619,7 @@ app/sidekiq/income_limits @department-of-veterans-affairs/vfs-public-websites-fr app/sidekiq/in_progress_form_cleaner.rb @department-of-veterans-affairs/vfs-authenticated-experience-backend @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/sidekiq/kms_key_rotation @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/sidekiq/lighthouse @department-of-veterans-affairs/backend-review-group +app/sidekiq/lighthouse/submit_career_counseling_job.rb @department-of-veterans-affairs/my-education-benefits @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/sidekiq/mhv @department-of-veterans-affairs/vfs-mhv-medical-records @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/sidekiq/pager_duty @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group app/sidekiq/preneeds @department-of-veterans-affairs/mbs-core-team @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -867,6 +871,7 @@ lib/lgy/service.rb @department-of-veterans-affairs/benefits-non-disability @depa lib/lgy/tag_sentry.rb @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group lib/lighthouse @department-of-veterans-affairs/backend-review-group lib/lighthouse/benefit_claims @department-of-veterans-affairs/benefits-management-tools-be @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/lighthouse/benefits_intake @department-of-veterans-affairs/pensions @department-of-veterans-affairs/backend-review-group lib/lighthouse/letters_generator @department-of-veterans-affairs/benefits-management-tools-be @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group lib/mail_automation @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group lib/map/ @department-of-veterans-affairs/octo-identity @@ -881,6 +886,18 @@ lib/pagerduty @department-of-veterans-affairs/va-api-engineers @department-of-ve lib/pdf_fill @department-of-veterans-affairs/vsa-debt-resolution @department-of-veterans-affairs/backend-review-group @department-of-veterans-affairs/vfs-10-10 @department-of-veterans-affairs/vfs-1095-b lib/pdf_fill/forms/pdfs/21P-527EZ.pdf @department-of-veterans-affairs/pensions @department-of-veterans-affairs/backend-review-group lib/pdf_fill/forms/va21p527ez.rb @department-of-veterans-affairs/pensions @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/pdfs/28-1900.pdf @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/va281900.rb @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/pdfs/28-8832.pdf @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/va288832.rb @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/pdfs/21P-530.pdf @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/va21p530.rb @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/pdfs/21P-530V2.pdf @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/va21p530v2.rb @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/pdfs/686C-674.pdf @department-of-veterans-affairs/benefits-dependents-management @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/va686c674.rb @department-of-veterans-affairs/benefits-dependents-management @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/pdfs/21-674.pdf @department-of-veterans-affairs/benefits-dependents-management @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +lib/pdf_fill/forms/va21674.rb @department-of-veterans-affairs/benefits-dependents-management @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group lib/pdf_info.rb @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group lib/pdf_utilities @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group lib/pension_burial @department-of-veterans-affairs/mbs-core-team @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -974,7 +991,6 @@ rakelib/mockdata_synchronize.rake @department-of-veterans-affairs/octo-identity rakelib/pension_burial.rake @department-of-veterans-affairs/mbs-core-team @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group rakelib/piilog_repl @department-of-veterans-affairs/backend-review-group @department-of-veterans-affairs/va-api-engineers rakelib/prod @department-of-veterans-affairs/vfs-vaos @department-of-veterans-affairs/backend-review-group @department-of-veterans-affairs/va-api-engineers -rakelib/prod/user_credential.rake @department-of-veterans-affairs/octo-identity rakelib/remove_va1995s_records.rake @department-of-veterans-affairs/govcio-vfep-codereviewers @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group rakelib/routes_csv.rake @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group rakelib/rswag.rake @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -994,6 +1010,7 @@ spec/controllers/sign_in @department-of-veterans-affairs/octo-identity spec/controllers/v0/account_controls_controller_spec.rb @department-of-veterans-affairs/octo-identity spec/controllers/v0/apps_controller_spec.rb @department-of-veterans-affairs/lighthouse-pivot spec/controllers/v0/ask_va @department-of-veterans-affairs/ask-va-team @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +spec/controllers/v0/average_days_for_claim_completion_controller_spec.rb @department-of-veterans-affairs/benefits-microservices @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/controllers/v0/benefits_claims_controller_spec.rb @department-of-veterans-affairs/benefits-management-tools-be @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/controllers/v0/benefits_reference_data_controller_spec.rb @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/controllers/v0/burial_claims_controller_spec.rb @department-of-veterans-affairs/mbs-core-team @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -1184,15 +1201,16 @@ spec/fixtures/pdf_fill/10-10CG @department-of-veterans-affairs/vfs-10-10 @depart spec/fixtures/pdf_fill/21-0538 @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/fixtures/pdf_fill/21-0781 @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/fixtures/pdf_fill/21-4142 @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group -spec/fixtures/pdf_fill/21-674 @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +spec/fixtures/pdf_fill/21-674 @department-of-veterans-affairs/benefits-dependents-management @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/fixtures/pdf_fill/21-8940 @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/fixtures/pdf_fill/21P-527EZ @department-of-veterans-affairs/pensions @department-of-veterans-affairs/backend-review-group -spec/fixtures/pdf_fill/21P-530 @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +spec/fixtures/pdf_fill/21P-530 @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +spec/fixtures/pdf_fill/21P-530V2 @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/fixtures/pdf_fill/26-1880 @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group -spec/fixtures/pdf_fill/28-1900 @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group -spec/fixtures/pdf_fill/28-8832 @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +spec/fixtures/pdf_fill/28-1900 @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +spec/fixtures/pdf_fill/28-8832 @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/fixtures/pdf_fill/5655 @department-of-veterans-affairs/vsa-debt-resolution -spec/fixtures/pdf_fill/686C-674 @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +spec/fixtures/pdf_fill/686C-674 @department-of-veterans-affairs/benefits-dependents-management @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/fixtures/pdf_fill/extras.pdf @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/fixtures/pdf_utilities @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/fixtures/pension @department-of-veterans-affairs/pensions @department-of-veterans-affairs/backend-review-group @@ -1272,7 +1290,7 @@ spec/lib/claim_status_tool @department-of-veterans-affairs/benefits-management-t spec/lib/common/client/concerns/mhv_fhir_session_client_spec.rb @department-of-veterans-affairs/vfs-mhv-medical-records @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/lib/common/client/concerns/mhv_jwt_session_client_spec.rb @department-of-veterans-affairs/vfs-mhv-medical-records @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/lib/common/client/concerns/mhv_locked_session_client_spec.rb @department-of-veterans-affairs/vfs-mhv-medical-records @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group -spec/lib/common/client/middleware/response @department-of-veterans-affairs/backend-review-group +spec/lib/common/client/middleware @department-of-veterans-affairs/backend-review-group spec/lib/debt_management_center @department-of-veterans-affairs/vsa-debt-resolution @department-of-veterans-affairs/backend-review-group spec/lib/decision_review @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/lib/disability_compensation @department-of-veterans-affairs/Disability-Experience @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -1318,6 +1336,7 @@ spec/lib/lighthouse/auth @department-of-veterans-affairs/benefits-management-too spec/lib/lighthouse/benefits_claims @department-of-veterans-affairs/benefits-management-tools-be @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/lib/lighthouse/benefits_documents @department-of-veterans-affairs/backend-review-group spec/lib/lighthouse/benefits_documents/service_spec.rb @department-of-veterans-affairs/backend-review-group +spec/lib/lighthouse/benefits_intake @department-of-veterans-affairs/pensions @department-of-veterans-affairs/backend-review-group spec/lib/lighthouse/direct_deposit @department-of-veterans-affairs/vfs-authenticated-experience-backend @department-of-veterans-affairs/dbex-trex @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/lib/lighthouse/direct_deposit/payment_account_spec.rb @department-of-veterans-affairs/vfs-authenticated-experience-backend @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/lib/lighthouse/facilities @department-of-veterans-affairs/vfs-facilities @@ -1440,6 +1459,7 @@ spec/models/mhv_opt_in_flag_spec.rb @department-of-veterans-affairs/vfs-mhv-secu spec/models/mpi_data_spec.rb @department-of-veterans-affairs/octo-identity spec/models/onsite_notification_spec.rb @department-of-veterans-affairs/vfs-authenticated-experience-backend @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/models/persistent_attachments @department-of-veterans-affairs/benefits-non-disability @department-of-veterans-affairs/pensions @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +spec/models/personal_information_log_spec.rb @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/models/preneeds @department-of-veterans-affairs/mbs-core-team @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/models/prescription_spec.rb @department-of-veterans-affairs/vfs-mhv-medications @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/models/prescription_details_spec.rb @department-of-veterans-affairs/vfs-mhv-medications @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -1483,6 +1503,7 @@ spec/rakelib/form526_spec.rb @department-of-veterans-affairs/Benefits-Team-1 @de spec/rakelib/piilog_repl @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/rakelib/piilog_repl/piilog_helpers_spec.rb @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/rakelib/vet360_spec.rb @department-of-veterans-affairs/vfs-authenticated-experience-backend @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +rakelib/prod/user_credential.rake @department-of-veterans-affairs/octo-identity spec/requests/admin_spec.rb @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/requests/appeals_request_spec.rb @department-of-veterans-affairs/backend-review-group spec/requests/appointments_request_spec.rb @department-of-veterans-affairs/vfs-vaos @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -1796,7 +1817,7 @@ spec/support/vcr_cassettes/bgs @department-of-veterans-affairs/benefits-dependen spec/support/vcr_cassettes/bgs/claims @department-of-veterans-affairs/Benefits-Team-1 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/support/vcr_cassettes/bgs/benefit_claim @department-of-veterans-affairs/benefits-management-tools-be @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/support/vcr_cassettes/bid @department-of-veterans-affairs/Disability-Experience @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group -spec/support/vcr_cassettes/brd @department-of-veterans-affairs/lighthouse-dash @department-of-veterans-affairs/dbex-trex @department-of-veterans-affairs/Disability-Experience +spec/support/vcr_cassettes/brd @department-of-veterans-affairs/dbex-trex @department-of-veterans-affairs/Disability-Experience @department-of-veterans-affairs/backend-review-group spec/support/vcr_cassettes/carma @department-of-veterans-affairs/vfs-10-10 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/support/vcr_cassettes/central_mail @department-of-veterans-affairs/lighthouse-banana-peels @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/support/vcr_cassettes/caseflow @department-of-veterans-affairs/lighthouse-banana-peels @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group @@ -1874,7 +1895,7 @@ spec/support/vcr_cassettes/slack/slack_bot_notify.yml @department-of-veterans-af spec/support/vcr_cassettes/sm_client @department-of-veterans-affairs/vfs-mhv-secure-messaging @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/support/vcr_cassettes/spec/support @department-of-veterans-affairs/octo-identity spec/support/vcr_cassettes/staccato @department-of-veterans-affairs/vfs-10-10 @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group -spec/support/vcr_cassettes/token_validation @department-of-veterans-affairs/lighthouse-dash @department-of-veterans-affairs/lighthouse-banana-peels @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group +spec/support/vcr_cassettes/token_validation @department-of-veterans-affairs/lighthouse-banana-peels @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/spupport/vcr_cassettes/user/get_facilities_empty.yml @department-of-veterans-affairs/vfs-facilities-frontend @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/support/vcr_cassettes/va_forms @department-of-veterans-affairs/platform-va-product-forms @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group spec/support/vcr_cassettes/va_notify @department-of-veterans-affairs/va-notify-write @department-of-veterans-affairs/va-api-engineers @department-of-veterans-affairs/backend-review-group diff --git a/.github/scripts/check_codeowners.sh b/.github/scripts/check_codeowners.sh index ed51e7adc47..49023f81b33 100755 --- a/.github/scripts/check_codeowners.sh +++ b/.github/scripts/check_codeowners.sh @@ -12,6 +12,7 @@ HEAD_SHA=$(git rev-parse HEAD) BASE_SHA=$(git rev-parse origin/master) # Get the list of changed files between the base and head commits +IFS=$'\n' # Change IFS to split only on newlines CHANGED_FILES=$(git diff --name-only --diff-filter=AMR ${BASE_SHA}...${HEAD_SHA}) echo "Changed files: $CHANGED_FILES" @@ -37,7 +38,7 @@ check_in_codeowners() { return 1 } -for FILE in "${CHANGED_FILES}"; do +for FILE in ${CHANGED_FILES}; do # Ignore files starting with a dot if [[ $FILE == .* ]]; then echo "Ignoring file $FILE" @@ -53,3 +54,4 @@ for FILE in "${CHANGED_FILES}"; do done echo "All changed files or their parent directories have a CODEOWNERS entry." +IFS=$' \t\n' # Reset IFS after the loop diff --git a/Dangerfile b/Dangerfile index c5d25263a7a..a203eeff132 100644 --- a/Dangerfile +++ b/Dangerfile @@ -1,5 +1,7 @@ # frozen_string_literal: true +require 'ostruct' + module VSPDanger HEAD_SHA = `git rev-parse --abbrev-ref HEAD`.chomp.freeze BASE_SHA = 'origin/master' diff --git a/Gemfile.lock b/Gemfile.lock index d517fa8e2d1..d00c4a3138f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -243,17 +243,17 @@ GEM attr_extras (7.1.0) awesome_print (1.9.2) aws-eventstream (1.3.0) - aws-partitions (1.903.0) - aws-sdk-core (3.191.5) + aws-partitions (1.914.0) + aws-sdk-core (3.192.0) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.78.0) + aws-sdk-kms (1.79.0) aws-sdk-core (~> 3, >= 3.191.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.146.1) - aws-sdk-core (~> 3, >= 3.191.0) + aws-sdk-s3 (1.147.0) + aws-sdk-core (~> 3, >= 3.192.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.8) aws-sdk-sns (1.72.0) @@ -431,7 +431,7 @@ GEM multipart-post (~> 2) faraday-net_http (3.1.0) net-http - faraday-retry (2.2.0) + faraday-retry (2.2.1) faraday (~> 2.0) faraday-typhoeus (1.1.0) faraday (~> 2.0) @@ -474,7 +474,7 @@ GEM rack (>= 1.4, < 4) rack-protection (>= 1.5.3, <= 4.0.0) sanitize (< 7) - foreman (0.87.2) + foreman (0.88.1) formatador (1.1.0) fugit (1.9.0) et-orbi (~> 1, >= 1.2.7) @@ -571,8 +571,8 @@ GEM iso_country_codes (0.7.8) jar-dependencies (0.4.1) jmespath (1.6.2) - json (2.7.1) - json (2.7.1-java) + json (2.7.2) + json (2.7.2-java) json-schema (4.3.0) addressable (>= 2.8) json_schemer (2.2.1) @@ -816,9 +816,9 @@ GEM rchardet (1.8.0) rdoc (6.6.3.1) psych (>= 4.0.0) - redis (5.1.0) - redis-client (>= 0.17.0) - redis-client (0.20.0) + redis (5.2.0) + redis-client (>= 0.22.0) + redis-client (0.22.1) connection_pool redis-namespace (1.11.0) redis (>= 4) @@ -877,7 +877,7 @@ GEM rspec-support (~> 3.13) rspec-retry (0.6.2) rspec-core (> 3.3) - rspec-sidekiq (4.1.0) + rspec-sidekiq (4.2.0) rspec-core (~> 3.0) rspec-expectations (~> 3.0) rspec-mocks (~> 3.0) @@ -893,7 +893,7 @@ GEM rswag-ui (2.13.0) actionpack (>= 3.1, < 7.2) railties (>= 3.1, < 7.2) - rubocop (1.63.1) + rubocop (1.63.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -955,7 +955,7 @@ GEM rake (>= 10.0) semantic_logger (4.15.0) concurrent-ruby (~> 1.0) - sentry-ruby (5.17.2) + sentry-ruby (5.17.3) bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) shellany (0.0.1) diff --git a/app/controllers/v0/average_days_for_claim_completion_controller.rb b/app/controllers/v0/average_days_for_claim_completion_controller.rb new file mode 100644 index 00000000000..9c3ef7de693 --- /dev/null +++ b/app/controllers/v0/average_days_for_claim_completion_controller.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module V0 + class AverageDaysForClaimCompletionController < ApplicationController + service_tag 'average-days-to-completion' + skip_before_action :authenticate, only: :index + + def index + rtn = AverageDaysForClaimCompletion.order('created_at DESC').first + render json: { + average_days: rtn.present? ? rtn.average_days : -1.0 + } + end + end +end diff --git a/app/controllers/v0/education_career_counseling_claims_controller.rb b/app/controllers/v0/education_career_counseling_claims_controller.rb index 7f2e36b7eb3..a79a27a5b74 100644 --- a/app/controllers/v0/education_career_counseling_claims_controller.rb +++ b/app/controllers/v0/education_career_counseling_claims_controller.rb @@ -13,7 +13,7 @@ def create raise Common::Exceptions::ValidationErrors, claim end - CentralMail::SubmitCareerCounselingJob.perform_async(claim.id, @current_user&.uuid) + Lighthouse::SubmitCareerCounselingJob.perform_async(claim.id, @current_user&.uuid) Rails.logger.info "ClaimID=#{claim.confirmation_number} Form=#{claim.class::FORM}" clear_saved_form(claim.form_id) diff --git a/app/controllers/v0/health_care_applications_controller.rb b/app/controllers/v0/health_care_applications_controller.rb index 953b0c318c5..49e676eaa32 100644 --- a/app/controllers/v0/health_care_applications_controller.rb +++ b/app/controllers/v0/health_care_applications_controller.rb @@ -3,6 +3,7 @@ require 'hca/service' require 'bgs/service' require 'pdf_fill/filler' +require 'lighthouse/facilities/v1/client' module V0 class HealthCareApplicationsController < ApplicationController @@ -11,7 +12,7 @@ class HealthCareApplicationsController < ApplicationController service_tag 'healthcare-application' FORM_ID = '1010ez' - skip_before_action(:authenticate, only: %i[create show enrollment_status healthcheck download_pdf]) + skip_before_action(:authenticate, only: %i[create show enrollment_status healthcheck facilities]) before_action :record_submission_attempt, only: :create before_action :load_user, only: %i[create enrollment_status] @@ -68,12 +69,8 @@ def healthcheck render(json: HCA::Service.new.health_check) end - def download_pdf - source_file_path = PdfFill::Filler.fill_form(health_care_application, SecureRandom.uuid, sign: false) - file_contents = File.read(source_file_path) - File.delete(source_file_path) - - send_data file_contents, filename: file_name_for_pdf, type: 'application/pdf', disposition: 'attachment' + def facilities + render(json: lighthouse_facilities_service.get_facilities(lighthouse_facilities_params)) end private @@ -82,11 +79,26 @@ def health_care_application @health_care_application ||= HealthCareApplication.new(params.permit(:form)) end - def file_name_for_pdf - veteran_name = health_care_application.parsed_form.try(:[], 'veteranFullName') - first_name = veteran_name.try(:[], 'first') || 'First' - last_name = veteran_name.try(:[], 'last') || 'Last' - "10-10EZ_#{first_name}_#{last_name}.pdf" + def lighthouse_facilities_service + @lighthouse_facilities_service ||= Lighthouse::Facilities::V1::Client.new + end + + def lighthouse_facilities_params + params.permit( + :zip, + :state, + :lat, + :long, + :radius, + :bbox, + :visn, + :type, + :services, + :mobile, + :page, + :per_page, + facilityIds: [] + ) end def record_submission_attempt diff --git a/app/controllers/v0/profile/direct_deposits_controller.rb b/app/controllers/v0/profile/direct_deposits_controller.rb index 010be5c416a..942a666f594 100644 --- a/app/controllers/v0/profile/direct_deposits_controller.rb +++ b/app/controllers/v0/profile/direct_deposits_controller.rb @@ -19,6 +19,9 @@ class DirectDepositsController < ApplicationController error = { status: exception.status_code, body: exception.errors.first } response = Lighthouse::DirectDeposit::ErrorParser.parse(error) + # temporary - will be removed after direct deposit merge is complete + update_error_code_prefix(response) if single_form_enabled? + render status: response.status, json: response.body end @@ -41,6 +44,14 @@ def update private + def single_form_enabled? + Flipper.enabled?(:profile_show_direct_deposit_single_form, @current_user) + end + + def update_error_code_prefix(response) + response.code = response.code.sub('cnp.payment', 'direct.deposit') + end + def client @client ||= DirectDeposit::Client.new(@current_user.icn) end @@ -77,7 +88,7 @@ def control_info_params end def send_confirmation_email - VANotifyDdEmailJob.send_to_emails(current_user.all_emails, 'comp_and_pen') + VANotifyDdEmailJob.send_to_emails(current_user.all_emails) end end end diff --git a/app/models/average_days_for_claim_completion.rb b/app/models/average_days_for_claim_completion.rb new file mode 100644 index 00000000000..78bb6d78a42 --- /dev/null +++ b/app/models/average_days_for_claim_completion.rb @@ -0,0 +1,4 @@ +# frozen_string_literal: true + +class AverageDaysForClaimCompletion < ApplicationRecord +end diff --git a/app/models/personal_information_log.rb b/app/models/personal_information_log.rb index c62c30516ee..722560381d8 100644 --- a/app/models/personal_information_log.rb +++ b/app/models/personal_information_log.rb @@ -4,7 +4,7 @@ class PersonalInformationLog < ApplicationRecord scope :last_week, -> { where('created_at >= :date', date: 1.week.ago) } has_kms_key - has_encrypted :data, migrating: true, type: :json, key: :kms_key, **lockbox_options + has_encrypted :data, type: :json, key: :kms_key, **lockbox_options validates :error_class, presence: true end diff --git a/app/models/saved_claim/education_career_counseling_claim.rb b/app/models/saved_claim/education_career_counseling_claim.rb index 4ca69e12edf..0c3a548eae8 100644 --- a/app/models/saved_claim/education_career_counseling_claim.rb +++ b/app/models/saved_claim/education_career_counseling_claim.rb @@ -8,7 +8,7 @@ def regional_office [] end - def send_to_central_mail! + def send_to_benefits_intake! form_copy = parsed_form if form_copy['veteranSocialSecurityNumber'].blank? @@ -27,7 +27,11 @@ def process_attachments! files = PersistentAttachment.where(guid: refs.map(&:confirmationCode)) files.find_each { |f| f.update(saved_claim_id: id) } - CentralMail::SubmitSavedClaimJob.new.perform(id) + if Flipper.enabled?(:ecc_benefits_intake_submission) + Lighthouse::SubmitBenefitsIntakeClaim.new.perform(id) + else + CentralMail::SubmitSavedClaimJob.new.perform(id) + end end def business_line diff --git a/app/services/claim_fast_tracking/max_rating_annotator.rb b/app/services/claim_fast_tracking/max_rating_annotator.rb index 3c921c2a7ec..22badf4174b 100644 --- a/app/services/claim_fast_tracking/max_rating_annotator.rb +++ b/app/services/claim_fast_tracking/max_rating_annotator.rb @@ -17,13 +17,12 @@ def self.annotate_disabilities(rated_disabilities_response) return rated_disabilities_response if diagnostic_codes.empty? ratings = get_ratings(diagnostic_codes) - if ratings.present? - ratings.each do |rating| - rated_disability = rated_disabilities_response.rated_disabilities.find do |disability| - disability.diagnostic_code == rating['diagnostic_code'] - end - rated_disability.maximum_rating_percentage = rating['max_rating'] if rated_disability.present? - end + return rated_disabilities_response unless ratings + + ratings_hash = ratings.to_h { |rating| [rating['diagnostic_code'], rating['max_rating']] } + rated_disabilities_response.rated_disabilities.each do |rated_disability| + max_rating = ratings_hash[rated_disability.diagnostic_code] + rated_disability.maximum_rating_percentage = max_rating if max_rating end rated_disabilities_response end diff --git a/app/sidekiq/education_form/templates/10203.erb b/app/sidekiq/education_form/templates/10203.erb index 008cd478e9f..cb756cfd5b1 100644 --- a/app/sidekiq/education_form/templates/10203.erb +++ b/app/sidekiq/education_form/templates/10203.erb @@ -2,7 +2,7 @@ CH33 *START* <%= form_identifier %> -JUN 2020 +OMB Control #: 2900-0878 APPLICATION FOR EDITH NOURSE ROGERS STEM SCHOLARSHIP @@ -69,8 +69,13 @@ Applicant has POA: <%= yesno(@stem_automated_decision.poa) %> Applicant School Email Address: <%= @applicant.schoolEmailAddress %> Applicant School ID: <%= @applicant.schoolStudentId %> +<% if @applicant.isActiveDuty -%> +As an active-duty service member, you have consulted with an Education Service +Officer (ESO) regarding your education program. +<% else -%> Certification and Signature of Applicant Signature of Applicant Date +<% end -%> <%= parse_with_template_path('footer') %> diff --git a/app/sidekiq/kms_key_rotation/batch_initiator_job.rb b/app/sidekiq/kms_key_rotation/batch_initiator_job.rb index 752f657f6db..efc005537bd 100644 --- a/app/sidekiq/kms_key_rotation/batch_initiator_job.rb +++ b/app/sidekiq/kms_key_rotation/batch_initiator_job.rb @@ -45,6 +45,7 @@ def gids_for_model(model, max_records_per_batch) model .where.not('encrypted_kms_key LIKE ?', "v#{KmsEncryptedModelPatch.kms_version}:%") + .or(model.where(encrypted_kms_key: nil)) .limit(max_records_per_batch) .pluck(model.primary_key) .map { |id| URI::GID.build(app: GlobalID.app, model_name: model.name, model_id: id).to_s } diff --git a/app/sidekiq/central_mail/submit_career_counseling_job.rb b/app/sidekiq/lighthouse/submit_career_counseling_job.rb similarity index 63% rename from app/sidekiq/central_mail/submit_career_counseling_job.rb rename to app/sidekiq/lighthouse/submit_career_counseling_job.rb index ecb0bda9090..9ee4cbac7b6 100644 --- a/app/sidekiq/central_mail/submit_career_counseling_job.rb +++ b/app/sidekiq/lighthouse/submit_career_counseling_job.rb @@ -1,18 +1,17 @@ # frozen_string_literal: true -module CentralMail +module Lighthouse class SubmitCareerCounselingJob include Sidekiq::Job - include SentryLogging RETRY = 14 - STATSD_KEY_PREFIX = 'worker.central_mail.submit_career_counseling_job' + STATSD_KEY_PREFIX = 'worker.lighthouse.submit_career_counseling_job' sidekiq_options retry: RETRY sidekiq_retries_exhausted do |msg, _ex| Rails.logger.error( - "Failed all retries on CentralMail::SubmitCareerCounselingJob, last error: #{msg['error_message']}" + "Failed all retries on SubmitCareerCounselingJob, last error: #{msg['error_message']}" ) StatsD.increment("#{STATSD_KEY_PREFIX}.exhausted") end @@ -20,14 +19,13 @@ class SubmitCareerCounselingJob def perform(claim_id, user_uuid = nil) begin @claim = SavedClaim.find(claim_id) - @claim.send_to_central_mail! + @claim.send_to_benefits_intake! send_confirmation_email(user_uuid) rescue => e - log_message_to_sentry('CentralMail::SubmitCareerCounselingJob failed, retrying...', :warn, - generate_sentry_details(e)) + Rails.logger.warn('SubmitCareerCounselingJob failed, retrying...', { error_message: e.message }) raise end - log_message_to_sentry('Successfully submitted form 25-8832', :info, { uuid: user_uuid }) + Rails.logger.info('Successfully submitted form 25-8832', { uuid: user_uuid }) end def send_confirmation_email(user_uuid) @@ -38,8 +36,7 @@ def send_confirmation_email(user_uuid) end if email.blank? - log_message_to_sentry('No email to send confirmation regarding submitted form 25-8832', :info, - { uuid: user_uuid }) + Rails.logger.info("No email to send confirmation regarding submitted form 25-8832 for uuid: #{user_uuid}") return end diff --git a/app/sidekiq/terms_of_use/sign_up_service_updater_job.rb b/app/sidekiq/terms_of_use/sign_up_service_updater_job.rb index 307797272e8..d0edfc38f8e 100644 --- a/app/sidekiq/terms_of_use/sign_up_service_updater_job.rb +++ b/app/sidekiq/terms_of_use/sign_up_service_updater_job.rb @@ -7,8 +7,7 @@ module TermsOfUse class SignUpServiceUpdaterJob include Sidekiq::Job - sidekiq_options unique_for: 2.days - sidekiq_options retry: 15 # 2.1 days using exponential backoff + sidekiq_options retry: 5 # ~17 mins sidekiq_retries_exhausted do |job, exception| Rails.logger.warn( diff --git a/app/sidekiq/va_notify_dd_email_job.rb b/app/sidekiq/va_notify_dd_email_job.rb index 6a1dcdc4121..1f8a81c0697 100644 --- a/app/sidekiq/va_notify_dd_email_job.rb +++ b/app/sidekiq/va_notify_dd_email_job.rb @@ -10,7 +10,7 @@ class VANotifyDdEmailJob STATSD_ERROR_NAME = 'worker.direct_deposit_confirmation_email.error' STATSD_SUCCESS_NAME = 'worker.direct_deposit_confirmation_email.success' - def self.send_to_emails(user_emails, dd_type) + def self.send_to_emails(user_emails, dd_type = nil) if user_emails.present? user_emails.each do |email| perform_async(email, dd_type) @@ -25,9 +25,9 @@ def self.send_to_emails(user_emails, dd_type) end end - def perform(email, dd_type) + def perform(email, dd_type = nil) notify_client = VaNotify::Service.new(Settings.vanotify.services.va_gov.api_key) - template_type = "direct_deposit_#{dd_type.to_sym == :ch33 ? 'edu' : 'comp_pen'}" + template_type = template_type(dd_type) template_id = Settings.vanotify.services.va_gov.template_id.public_send(template_type) notify_client.send_email( @@ -39,6 +39,13 @@ def perform(email, dd_type) handle_errors(e) end + def template_type(dd_type) + return 'direct_deposit_edu' if dd_type&.to_sym == :ch33 + return 'direct_deposit_comp_pen' if dd_type&.to_sym == :comp_pen + + 'direct_deposit' + end + def handle_errors(ex) VANotifyDdEmailJob.log_exception_to_sentry(ex) StatsD.increment(STATSD_ERROR_NAME) diff --git a/config/betamocks/services_config.yml b/config/betamocks/services_config.yml index d0d17e6763f..0c8d6f0e546 100644 --- a/config/betamocks/services_config.yml +++ b/config/betamocks/services_config.yml @@ -9,6 +9,18 @@ :path: <%= "/#{Settings.ask_va_api.crm_api.veis_api_path}/ping" %> :file_path: "/ask_va/dynamics_api" :response_delay: 15 + - :method: :get + :path: "/veis/api/btsss/travelclaim/api/v1/Sample/ping" + :file_path: "/travel_pay/ping/default" + :response_delay: 0.3 + - :method: :get + :path: "/veis/api/btsss/travelclaim/api/v1/Sample/authorized-ping" + :file_path: "/travel_pay/ping/default" + :response_delay: 0.3 + - :method: :post + :path: "/veis/api/btsss/travelclaim/api/v1/Auth/access-token" + :file_path: "/travel_pay/token/default" + :response_delay: 0.3 - :method: :post :path: <%= "/#{Settings.ask_va_api.crm_api.veis_api_path}/inquiries/new" %> :file_path: "/ask_va/crm_api/post_inquiries/default" @@ -22,6 +34,10 @@ :path: <%= "/#{Settings.ask_va_api.crm_api.tenant_id}/oauth2/v2.0/token" %> :file_path: "/ask_va/token/default" :response_delay: 0.3 + - :method: :post + :path: <%= "/#{Settings.travel_pay.veis.tenant_id}/oauth2/token" %> + :file_path: "/travel_pay/token/default" + :response_delay: 0.3 - :name: 'carma' :base_uri: <%= "#{URI(Settings['salesforce-carma'].url).host}:#{URI(Settings['salesforce-carma'].url).port}" %> diff --git a/config/features.yml b/config/features.yml index 1b218358ef1..a97c1e93cb7 100644 --- a/config/features.yml +++ b/config/features.yml @@ -152,10 +152,6 @@ features: actor_type: user description: Enables the unified experience version of the landing page. enable_in_development: true - check_in_experience_travel_claim_redis_client_refactor: - actor_type: user - description: Uses the refactored code for Travel Claim Redis client to fetch attributes - enable_in_development: true claim_letters_access: actor_type: user description: Enables users to access the claim letters page @@ -320,6 +316,9 @@ features: decision_review_delay_evidence: actor_type: user description: Ensures that NOD and SC evidence is not received in Central Mail before the appeal itself + decision_review_updated_pii_rules: + actor_type: user + description: Uses udpated rules for when to clear PII from appeals_api records dependency_verification: actor_type: user description: Feature gates the dependency verification modal for updating the diaries service. @@ -362,6 +361,9 @@ features: disability_526_toxic_exposure: actor_type: user description: enables new pages, processing, and submission of toxic exposure claims + disability_526_improved_autosuggestions_add_disabilities_page: + actor_type: user + description: enables new version of add disabilities page, with updates to content and search functionality disability_compensation_flashes: actor_type: user description: enables sending flashes to BGS for disability_compensation submissions. @@ -945,10 +947,18 @@ features: actor_type: user description: Displays an alert to users on 1990EZ intro page that the Backend Service is Down. enable_in_development: false + show_meb_1990EZ_R6_maintenance_message: + actor_type: user + description: Displays an alert to users on 1990EZ intro page that the Backend Service is Down. + enable_in_development: false show_meb_1990E_maintenance_alert: actor_type: user description: Displays an alert to users on 1990E intro page that the Backend Service is Down. enable_in_development: false + show_meb_1990E_R6_maintenance_message: + actor_type: user + description: Displays an alert to users on 1990E intro page that the Backend Service is Down. + enable_in_development: false show_meb_letters_maintenance_alert: actor_type: user description: Displays an alert to users on Letters Inbox page that the Backend Service is Down. @@ -968,6 +978,10 @@ features: actor_type: user description: enables exclusion period checks enable_in_development: false + meb_auto_populate_relinquishment_date: + actor_type: user + description: Flag to autofill datepicker for reliinquishment date + enable_in_development: true show_forms_app: actor_type: user description: Enables the TOE form to be displayed. @@ -1200,6 +1214,10 @@ features: actor_type: user description: Enables sleep apnea supplies to be ordered in the supply reorder tool / MDOT. enable_in_development: true + toe_dup_contact_info_call: + actor_type: user + description: Flag to use contact info call and modal + enable_in_development: true toe_short_circuit_bgs_failure: actor_type: user description: Flag to use begin rescue block for BGS call @@ -1334,6 +1352,9 @@ features: central_mail_benefits_intake_submission: actor_type: user description: Enable central mail claims submission uses Benefits Intake API + ecc_benefits_intake_submission: + actor_type: user + description: Enable education and career counseling claim submissions to use Benefits Intake API virtual_agent_enable_param_error_detection: actor_type: user description: If enabled, Allows for the detection of errors in the chatbot params diff --git a/config/routes.rb b/config/routes.rb index ebf6efc99a0..db2ba446c87 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -114,7 +114,7 @@ get(:healthcheck) get(:enrollment_status) get(:rating_info) - post(:download_pdf) + get(:facilities) end end @@ -148,6 +148,8 @@ get 'claim_letters', to: 'claim_letters#index' get 'claim_letters/:document_id', to: 'claim_letters#show' + get 'average_days_for_claim_completion', to: 'average_days_for_claim_completion#index' + get 'virtual_agent_claim_letters', to: 'virtual_agent_claim_letters#index' get 'virtual_agent_claim_letters/:document_id', to: 'virtual_agent_claim_letters#show' diff --git a/config/settings.yml b/config/settings.yml index ce557b9f454..18dfa8ab616 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -85,6 +85,7 @@ sign_in: terms_of_use: current_version: v1 provisioner_cookie_domain: localhost + enabled_clients: vaweb, mhv, myvahealth lockbox: master_key: "0d78eaf0e90d4e7b8910c9112e16e66d8b00ec4054a89aa426e32712a13371e9" @@ -994,6 +995,12 @@ lighthouse: rsa_key: ~ aud_claim_url: https://deptva-eval.okta.com/oauth2/ausln2mo4jCAYRrlR2p7/v1/token use_mocks: false + benefits_intake: + host: https://sandbox-api.va.gov + path: /services/vba_documents + version: v1 + use_mocks: false + api_key: ~ letters_generator: url: https://sandbox-api.va.gov path: /services/va-letter-generator/v1/ @@ -1281,6 +1288,7 @@ vanotify: in_progress_reminder_email_generic: fake_template_id covid_vaccine_registration: fake_template_id covid_vaccine_expanded_registration: fake_template_id + direct_deposit: direct_deposit_template_id direct_deposit_edu: edu_template_id direct_deposit_comp_pen: comp_pen_template_id login_reactivation_email: reactivation_email_test_b @@ -1666,6 +1674,7 @@ brd: travel_pay: + mock: true veis: client_id: ~ client_secret: ~ diff --git a/db/migrate/20240411152758_drop_data_in_personal_information_log.rb b/db/migrate/20240411152758_drop_data_in_personal_information_log.rb new file mode 100644 index 00000000000..0bac274cc6f --- /dev/null +++ b/db/migrate/20240411152758_drop_data_in_personal_information_log.rb @@ -0,0 +1,5 @@ +class DropDataInPersonalInformationLog < ActiveRecord::Migration[7.1] + def change + safety_assured { remove_column :personal_information_logs, :data, :jsonb } + end +end diff --git a/db/migrate/20240411153910_create_accredited_individuals.rb b/db/migrate/20240411153910_create_accredited_individuals.rb new file mode 100644 index 00000000000..78e6999a888 --- /dev/null +++ b/db/migrate/20240411153910_create_accredited_individuals.rb @@ -0,0 +1,40 @@ +# frozen_string_literal: true + +class CreateAccreditedIndividuals < ActiveRecord::Migration[7.1] + def change + create_table :accredited_individuals, id: :uuid do |t| + t.uuid :ogc_id, null: false + t.string :registration_number, null: false + t.string :poa_code, limit: 3, index: true + t.string :individual_type, null: false + t.string :first_name + t.string :middle_initial + t.string :last_name + t.string :full_name, index: true + t.string :email + t.string :phone + t.string :address_type + t.string :address_line1 + t.string :address_line2 + t.string :address_line3 + t.string :city + t.string :country_code_iso3 + t.string :country_name + t.string :county_name + t.string :county_code + t.string :international_postal_code + t.string :province + t.string :state_code + t.string :zip_code + t.string :zip_suffix + t.jsonb :raw_address + t.float :lat + t.float :long + t.geography :location, limit: { srid: 4326, type: 'st_point', geographic: true } + t.timestamps + + t.index :location, using: :gist + t.index %i[ registration_number individual_type ], name: 'index_on_reg_num_and_type_for_accredited_individuals', unique: true + end + end +end diff --git a/db/migrate/20240411153944_create_average_days_for_claim_completions.rb b/db/migrate/20240411153944_create_average_days_for_claim_completions.rb new file mode 100644 index 00000000000..3934d1b016d --- /dev/null +++ b/db/migrate/20240411153944_create_average_days_for_claim_completions.rb @@ -0,0 +1,10 @@ +# This migration comes from vye (originally 20240229184515) +class CreateAverageDaysForClaimCompletions < ActiveRecord::Migration[7.1] + def change + create_table :average_days_for_claim_completions do |t| + t.float :average_days + + t.timestamps + end + end +end diff --git a/db/migrate/20240411160306_create_accredited_organizations.rb b/db/migrate/20240411160306_create_accredited_organizations.rb new file mode 100644 index 00000000000..e0bd8a1bc61 --- /dev/null +++ b/db/migrate/20240411160306_create_accredited_organizations.rb @@ -0,0 +1,33 @@ +# frozen_string_literal: true + +class CreateAccreditedOrganizations < ActiveRecord::Migration[7.1] + def change + create_table :accredited_organizations, id: :uuid do |t| + t.uuid :ogc_id, null: false + t.string :poa_code, limit: 3, null: false, index: { unique: true } + t.string :name, index: true + t.string :phone + t.string :address_type + t.string :address_line1 + t.string :address_line2 + t.string :address_line3 + t.string :city + t.string :country_code_iso3 + t.string :country_name + t.string :county_name + t.string :county_code + t.string :international_postal_code + t.string :province + t.string :state_code + t.string :zip_code + t.string :zip_suffix + t.jsonb :raw_address + t.float :lat + t.float :long + t.geography :location, limit: { srid: 4326, type: 'st_point', geographic: true } + t.timestamps + + t.index :location, using: :gist + end + end +end diff --git a/db/migrate/20240411235242_create_pega_table.rb b/db/migrate/20240411235242_create_pega_table.rb new file mode 100644 index 00000000000..0c64fab2300 --- /dev/null +++ b/db/migrate/20240411235242_create_pega_table.rb @@ -0,0 +1,20 @@ +class CreatePegaTable < ActiveRecord::Migration[7.1] + def change + create_table :pega_tables do |t| + t.uuid :uuid + t.string :veteranfirstname + t.string :veteranmiddlename + t.string :veteranlastname + t.string :applicantfirstname + t.string :applicantmiddlename + t.string :applicantlastname + t.jsonb :response + t.string :filenumber + t.string :doctype + t.datetime :date_created + t.datetime :date_completed + + t.timestamps + end + end +end diff --git a/db/migrate/20240416155611_drop_pega_tables.rb b/db/migrate/20240416155611_drop_pega_tables.rb new file mode 100644 index 00000000000..91de41886dd --- /dev/null +++ b/db/migrate/20240416155611_drop_pega_tables.rb @@ -0,0 +1,5 @@ +class DropPegaTables < ActiveRecord::Migration[7.1] + def change + drop_table :pega_tables, if_exists: true + end +end diff --git a/db/migrate/20240416155705_create_ivc_champva_forms.rb b/db/migrate/20240416155705_create_ivc_champva_forms.rb new file mode 100644 index 00000000000..6033e53cd27 --- /dev/null +++ b/db/migrate/20240416155705_create_ivc_champva_forms.rb @@ -0,0 +1,18 @@ +class CreateIvcChampvaForms < ActiveRecord::Migration[7.1] + def change + create_table :ivc_champva_forms do |t| + t.string :email + t.string :first_name + t.string :last_name + t.string :form_number + t.string :file_name + t.uuid :form_uuid + t.string :s3_status + t.string :pega_status + + t.timestamps + end + + add_index :ivc_champva_forms, :email, unique: true + end +end \ No newline at end of file diff --git a/db/schema.rb b/db/schema.rb index 92987f8f693..35645d8e92c 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.1].define(version: 2024_04_10_212727) do +ActiveRecord::Schema[7.1].define(version: 2024_04_16_155705) do # These are extensions that must be enabled in order to support this database enable_extension "btree_gin" enable_extension "pg_stat_statements" @@ -22,13 +22,13 @@ create_table "account_login_stats", force: :cascade do |t| t.bigint "account_id", null: false - t.datetime "idme_at" - t.datetime "myhealthevet_at" - t.datetime "dslogon_at" + t.datetime "idme_at", precision: nil + t.datetime "myhealthevet_at", precision: nil + t.datetime "dslogon_at", precision: nil t.datetime "created_at", null: false t.datetime "updated_at", null: false t.string "current_verification" - t.datetime "logingov_at" + t.datetime "logingov_at", precision: nil t.index ["account_id"], name: "index_account_login_stats_on_account_id", unique: true t.index ["current_verification"], name: "index_account_login_stats_on_current_verification" t.index ["dslogon_at"], name: "index_account_login_stats_on_dslogon_at" @@ -42,8 +42,8 @@ t.string "idme_uuid" t.string "icn" t.string "edipi" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.string "sec_id" t.string "logingov_uuid" t.index ["icn"], name: "index_accounts_on_icn" @@ -53,12 +53,79 @@ t.index ["uuid"], name: "index_accounts_on_uuid", unique: true end + create_table "accredited_individuals", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t| + t.uuid "ogc_id", null: false + t.string "registration_number", null: false + t.string "poa_code", limit: 3 + t.string "individual_type", null: false + t.string "first_name" + t.string "middle_initial" + t.string "last_name" + t.string "full_name" + t.string "email" + t.string "phone" + t.string "address_type" + t.string "address_line1" + t.string "address_line2" + t.string "address_line3" + t.string "city" + t.string "country_code_iso3" + t.string "country_name" + t.string "county_name" + t.string "county_code" + t.string "international_postal_code" + t.string "province" + t.string "state_code" + t.string "zip_code" + t.string "zip_suffix" + t.jsonb "raw_address" + t.float "lat" + t.float "long" + t.geography "location", limit: {:srid=>4326, :type=>"st_point", :geographic=>true} + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.index ["full_name"], name: "index_accredited_individuals_on_full_name" + t.index ["location"], name: "index_accredited_individuals_on_location", using: :gist + t.index ["poa_code"], name: "index_accredited_individuals_on_poa_code" + t.index ["registration_number", "individual_type"], name: "index_on_reg_num_and_type_for_accredited_individuals", unique: true + end + + create_table "accredited_organizations", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t| + t.uuid "ogc_id", null: false + t.string "poa_code", limit: 3, null: false + t.string "name" + t.string "phone" + t.string "address_type" + t.string "address_line1" + t.string "address_line2" + t.string "address_line3" + t.string "city" + t.string "country_code_iso3" + t.string "country_name" + t.string "county_name" + t.string "county_code" + t.string "international_postal_code" + t.string "province" + t.string "state_code" + t.string "zip_code" + t.string "zip_suffix" + t.jsonb "raw_address" + t.float "lat" + t.float "long" + t.geography "location", limit: {:srid=>4326, :type=>"st_point", :geographic=>true} + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.index ["location"], name: "index_accredited_organizations_on_location", using: :gist + t.index ["name"], name: "index_accredited_organizations_on_name" + t.index ["poa_code"], name: "index_accredited_organizations_on_poa_code", unique: true + end + create_table "active_storage_attachments", force: :cascade do |t| t.string "name", null: false t.string "record_type", null: false t.bigint "record_id", null: false t.bigint "blob_id", null: false - t.datetime "created_at", null: false + t.datetime "created_at", precision: nil, null: false t.index ["blob_id"], name: "index_active_storage_attachments_on_blob_id" t.index ["record_type", "record_id", "name", "blob_id"], name: "index_active_storage_attachments_uniqueness", unique: true end @@ -70,7 +137,7 @@ t.text "metadata" t.bigint "byte_size", null: false t.string "checksum", null: false - t.datetime "created_at", null: false + t.datetime "created_at", precision: nil, null: false t.string "service_name", null: false t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true end @@ -119,8 +186,8 @@ create_table "appeals_api_higher_level_reviews", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t| t.string "status", default: "pending", null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.string "code" t.string "detail" t.string "source" @@ -157,7 +224,7 @@ t.string "to" t.string "statusable_type" t.string "statusable_id" - t.datetime "status_update_time" + t.datetime "status_update_time", precision: nil t.datetime "created_at", null: false t.datetime "updated_at", null: false t.string "code" @@ -191,8 +258,8 @@ t.string "status" t.string "transaction_id" t.string "transaction_status" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.text "metadata_ciphertext" t.text "encrypted_kms_key" t.uuid "user_account_id" @@ -205,6 +272,12 @@ t.index ["user_uuid"], name: "index_async_transactions_on_user_uuid" end + create_table "average_days_for_claim_completions", force: :cascade do |t| + t.float "average_days" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + create_table "base_facilities", id: false, force: :cascade do |t| t.string "unique_id", null: false t.string "name", null: false @@ -220,8 +293,8 @@ t.jsonb "feedback" t.jsonb "access" t.string "fingerprint" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.geography "location", limit: {:srid=>4326, :type=>"st_point", :geographic=>true} t.boolean "mobile" t.string "active_status" @@ -242,8 +315,8 @@ create_table "claims_api_auto_established_claims", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t| t.string "status" t.integer "evss_id" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.string "md5" t.string "source" t.string "flashes", default: [], array: true @@ -296,8 +369,8 @@ t.string "status" t.string "current_poa" t.string "md5" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.string "vbms_new_document_version_ref_id" t.string "vbms_document_series_ref_id" t.string "vbms_error_message" @@ -314,8 +387,8 @@ end create_table "claims_api_supporting_documents", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t| - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.uuid "auto_established_claim_id" t.text "file_data_ciphertext" t.text "encrypted_kms_key" @@ -352,8 +425,8 @@ t.string "email_confirmation_id" t.string "enrollment_id" t.string "batch_id" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.text "raw_form_data_ciphertext" t.text "eligibility_info_ciphertext" t.text "form_data_ciphertext" @@ -367,8 +440,8 @@ create_table "covid_vaccine_registration_submissions", id: :serial, force: :cascade do |t| t.string "sid" t.uuid "account_id" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.boolean "expanded", default: false, null: false t.boolean "sequestered", default: false, null: false t.string "email_confirmation_id" @@ -416,8 +489,8 @@ t.integer "code", null: false t.string "medical_term", null: false t.string "lay_term" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.index ["code"], name: "index_disability_contentions_on_code", unique: true t.index ["lay_term"], name: "index_disability_contentions_on_lay_term", opclass: :gin_trgm_ops, using: :gin t.index ["medical_term"], name: "index_disability_contentions_on_medical_term", opclass: :gin_trgm_ops, using: :gin @@ -428,19 +501,19 @@ t.string "unit" t.geography "polygon", limit: {:srid=>4326, :type=>"st_polygon", :geographic=>true}, null: false t.string "vha_facility_id", null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.integer "min" t.integer "max" - t.datetime "vssc_extract_date", default: "2001-01-01 00:00:00" + t.datetime "vssc_extract_date", precision: nil, default: "2001-01-01 00:00:00" t.index ["polygon"], name: "index_drivetime_bands_on_polygon", using: :gist end create_table "education_benefits_claims", id: :serial, force: :cascade do |t| - t.datetime "submitted_at" - t.datetime "processed_at" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "submitted_at", precision: nil + t.datetime "processed_at", precision: nil + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.string "regional_processing_office", null: false t.string "form_type", default: "1990" t.integer "saved_claim_id", null: false @@ -453,8 +526,8 @@ create_table "education_benefits_submissions", id: :serial, force: :cascade do |t| t.string "region", null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.boolean "chapter33", default: false, null: false t.boolean "chapter30", default: false, null: false t.boolean "chapter1606", default: false, null: false @@ -480,8 +553,8 @@ t.datetime "updated_at", null: false t.boolean "poa" t.integer "remaining_entitlement" - t.datetime "denial_email_sent_at" - t.datetime "confirmation_email_sent_at" + t.datetime "denial_email_sent_at", precision: nil + t.datetime "confirmation_email_sent_at", precision: nil t.text "auth_headers_json_ciphertext" t.text "encrypted_kms_key" t.uuid "user_account_id" @@ -493,8 +566,8 @@ create_table "evss_claims", id: :serial, force: :cascade do |t| t.integer "evss_id", null: false t.json "data", null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.string "user_uuid", null: false t.json "list_data", default: {}, null: false t.boolean "requested_decision", default: false, null: false @@ -511,8 +584,8 @@ t.string "gate_name" t.string "value" t.string "user" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.index ["feature_name"], name: "index_feature_toggle_events_on_feature_name" end @@ -525,12 +598,13 @@ t.datetime "updated_at", null: false t.datetime "flagged_value_updated_at" t.index ["ip_address", "representative_id", "flag_type", "flagged_value_updated_at"], name: "index_unique_constraint_fields", unique: true + t.index ["ip_address", "representative_id", "flag_type"], name: "index_unique_flagged_veteran_representative", unique: true end create_table "flipper_features", force: :cascade do |t| t.string "key", null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.index ["key"], name: "index_flipper_features_on_key", unique: true end @@ -538,14 +612,14 @@ t.string "feature_key", null: false t.string "key", null: false t.text "value" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.index ["feature_key", "key", "value"], name: "index_flipper_gates_on_feature_key_and_key_and_value", unique: true end create_table "form1010cg_submissions", force: :cascade do |t| t.string "carma_case_id", limit: 18, null: false - t.datetime "accepted_at", null: false + t.datetime "accepted_at", precision: nil, null: false t.json "metadata" t.json "attachments" t.datetime "created_at", null: false @@ -572,7 +646,7 @@ t.string "status", null: false t.string "error_class" t.string "error_message" - t.datetime "updated_at", null: false + t.datetime "updated_at", precision: nil, null: false t.jsonb "bgjob_errors", default: {} t.index ["bgjob_errors"], name: "index_form526_job_statuses_on_bgjob_errors", using: :gin t.index ["form526_submission_id"], name: "index_form526_job_statuses_on_form526_submission_id" @@ -584,8 +658,8 @@ t.integer "saved_claim_id", null: false t.integer "submitted_claim_id" t.boolean "workflow_complete", default: false, null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.boolean "multiple_birls", comment: "*After* a SubmitForm526 Job fails, a lookup is done to see if the veteran has multiple BIRLS IDs. This field gets set to true if that is the case. If the initial submit job succeeds, this field will remain false whether or not the veteran has multiple BIRLS IDs --so this field cannot technically be used to sum all Form526 veterans that have multiple BIRLS. This field /can/ give us an idea of how often having multiple BIRLS IDs is a problem." t.text "auth_headers_json_ciphertext" t.text "form_json_ciphertext" @@ -617,8 +691,8 @@ end create_table "form_attachments", id: :serial, force: :cascade do |t| - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.uuid "guid", null: false t.string "type", null: false t.text "file_data_ciphertext" @@ -660,9 +734,9 @@ t.string "edipi", null: false t.string "first_name", null: false t.string "last_name", null: false - t.datetime "dob", null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "dob", precision: nil, null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.text "ssn_ciphertext" t.text "encrypted_kms_key" t.index ["edipi"], name: "index_gibs_not_found_users_on_edipi" @@ -684,15 +758,15 @@ t.integer "msa", null: false t.string "msa_name" t.integer "version", null: false - t.datetime "created", null: false - t.datetime "updated" + t.datetime "created", precision: nil, null: false + t.datetime "updated", precision: nil t.string "created_by" t.string "updated_by" end create_table "health_care_applications", id: :serial, force: :cascade do |t| - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.string "state", default: "pending", null: false t.string "form_submission_id_string" t.string "timestamp" @@ -714,18 +788,18 @@ create_table "id_card_announcement_subscriptions", id: :serial, force: :cascade do |t| t.string "email", null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.index ["email"], name: "index_id_card_announcement_subscriptions_on_email", unique: true end create_table "in_progress_forms", id: :serial, force: :cascade do |t| t.string "user_uuid", null: false t.string "form_id", null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.json "metadata" - t.datetime "expires_at" + t.datetime "expires_at", precision: nil t.text "form_data_ciphertext" t.text "encrypted_kms_key" t.uuid "user_account_id" @@ -744,19 +818,33 @@ create_table "invalid_letter_address_edipis", id: :serial, force: :cascade do |t| t.string "edipi", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false + t.index ["edipi"], name: "index_invalid_letter_address_edipis_on_edipi" + end + + create_table "ivc_champva_forms", force: :cascade do |t| + t.string "email" + t.string "first_name" + t.string "last_name" + t.string "form_number" + t.string "file_name" + t.uuid "form_uuid" + t.string "s3_status" + t.string "pega_status" t.datetime "created_at", null: false t.datetime "updated_at", null: false - t.index ["edipi"], name: "index_invalid_letter_address_edipis_on_edipi" + t.index ["email"], name: "index_ivc_champva_forms_on_email", unique: true end create_table "maintenance_windows", id: :serial, force: :cascade do |t| t.string "pagerduty_id" t.string "external_service" - t.datetime "start_time" - t.datetime "end_time" + t.datetime "start_time", precision: nil + t.datetime "end_time", precision: nil t.string "description" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.index ["end_time"], name: "index_maintenance_windows_on_end_time" t.index ["pagerduty_id"], name: "index_maintenance_windows_on_pagerduty_id" t.index ["start_time"], name: "index_maintenance_windows_on_start_time" @@ -791,8 +879,8 @@ t.uuid "handle", null: false t.uuid "user_account_id", null: false t.string "hashed_refresh_token", null: false - t.datetime "refresh_expiration", null: false - t.datetime "refresh_creation", null: false + t.datetime "refresh_expiration", precision: nil, null: false + t.datetime "refresh_creation", precision: nil, null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false t.bigint "user_verification_id", null: false @@ -828,10 +916,10 @@ t.uuid "guid" t.string "type" t.string "form_id" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.integer "saved_claim_id" - t.datetime "completed_at" + t.datetime "completed_at", precision: nil t.text "file_data_ciphertext" t.text "encrypted_kms_key" t.index ["guid"], name: "index_persistent_attachments_on_guid", unique: true @@ -840,10 +928,9 @@ end create_table "personal_information_logs", id: :serial, force: :cascade do |t| - t.jsonb "data", null: false t.string "error_class", null: false - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.text "data_ciphertext" t.text "encrypted_kms_key" t.index ["created_at"], name: "index_personal_information_logs_on_created_at" @@ -857,7 +944,7 @@ t.bigint "query_hash" t.float "total_time" t.bigint "calls" - t.datetime "captured_at" + t.datetime "captured_at", precision: nil t.index ["database", "captured_at"], name: "index_pghero_query_stats_on_database_and_captured_at" end @@ -866,7 +953,7 @@ t.text "schema" t.text "relation" t.bigint "size" - t.datetime "captured_at" + t.datetime "captured_at", precision: nil t.index ["database", "captured_at"], name: "index_pghero_space_stats_on_database_and_captured_at" end @@ -875,22 +962,22 @@ t.string "application_uuid" t.string "return_description", null: false t.integer "return_code" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.index ["application_uuid"], name: "index_preneed_submissions_on_application_uuid", unique: true t.index ["tracking_number"], name: "index_preneed_submissions_on_tracking_number", unique: true end create_table "saved_claims", id: :serial, force: :cascade do |t| - t.datetime "created_at" - t.datetime "updated_at" + t.datetime "created_at", precision: nil + t.datetime "updated_at", precision: nil t.string "form_id" t.uuid "guid", null: false t.string "type" t.text "form_ciphertext" t.text "encrypted_kms_key" t.string "uploaded_forms", default: [], array: true - t.datetime "itf_datetime" + t.datetime "itf_datetime", precision: nil t.index ["created_at", "type"], name: "index_saved_claims_on_created_at_and_type" t.index ["guid"], name: "index_saved_claims_on_guid", unique: true t.index ["id", "type"], name: "index_saved_claims_on_id_and_type" @@ -923,7 +1010,7 @@ t.integer "rpo" t.integer "number_of_submissions" t.string "filename" - t.datetime "successful_at" + t.datetime "successful_at", precision: nil t.integer "retry_attempt", default: 0 t.datetime "created_at", null: false t.datetime "updated_at", null: false @@ -936,8 +1023,8 @@ t.string "description", null: false t.integer "state_id", null: false t.integer "version", null: false - t.datetime "created", null: false - t.datetime "updated" + t.datetime "created", precision: nil, null: false + t.datetime "updated", precision: nil t.string "created_by" t.string "updated_by" end @@ -957,7 +1044,7 @@ t.integer "add_ninety_day_hospital_copay" t.integer "outpatient_basic_care_copay" t.integer "outpatient_specialty_copay" - t.datetime "threshold_effective_date" + t.datetime "threshold_effective_date", precision: nil t.integer "aid_and_attendance_threshold" t.integer "outpatient_preventive_copay" t.integer "medication_copay" @@ -968,8 +1055,8 @@ t.integer "inpatient_per_diem" t.string "description" t.integer "version", null: false - t.datetime "created", null: false - t.datetime "updated" + t.datetime "created", precision: nil, null: false + t.datetime "updated", precision: nil t.string "created_by" t.string "updated_by" end @@ -980,8 +1067,8 @@ t.integer "fips_code", null: false t.integer "country_id", null: false t.integer "version", null: false - t.datetime "created", null: false - t.datetime "updated" + t.datetime "created", precision: nil, null: false + t.datetime "updated", precision: nil t.string "created_by" t.string "updated_by" end @@ -993,8 +1080,8 @@ t.integer "state_id", null: false t.integer "county_number", null: false t.integer "version", null: false - t.datetime "created", null: false - t.datetime "updated" + t.datetime "created", precision: nil, null: false + t.datetime "updated", precision: nil t.string "created_by" t.string "updated_by" end @@ -1010,8 +1097,8 @@ create_table "test_user_dashboard_tud_account_availability_logs", force: :cascade do |t| t.string "account_uuid" - t.datetime "checkout_time" - t.datetime "checkin_time" + t.datetime "checkout_time", precision: nil + t.datetime "checkin_time", precision: nil t.boolean "has_checkin_error" t.boolean "is_manual_checkin" t.datetime "created_at", null: false @@ -1025,12 +1112,12 @@ t.string "middle_name" t.string "last_name" t.string "gender" - t.datetime "birth_date" + t.datetime "birth_date", precision: nil t.integer "ssn" t.string "phone" t.string "email" t.string "password" - t.datetime "checkout_time" + t.datetime "checkout_time", precision: nil t.datetime "created_at", null: false t.datetime "updated_at", null: false t.text "services" @@ -1043,8 +1130,8 @@ end create_table "user_acceptable_verified_credentials", force: :cascade do |t| - t.datetime "acceptable_verified_credential_at" - t.datetime "idme_verified_credential_at" + t.datetime "acceptable_verified_credential_at", precision: nil + t.datetime "idme_verified_credential_at", precision: nil t.uuid "user_account_id", null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false @@ -1075,7 +1162,7 @@ t.string "logingov_uuid" t.string "mhv_uuid" t.string "dslogon_uuid" - t.datetime "verified_at" + t.datetime "verified_at", precision: nil t.datetime "created_at", null: false t.datetime "updated_at", null: false t.string "backing_idme_uuid" @@ -1097,15 +1184,15 @@ t.date "last_revision_on" t.integer "pages" t.string "sha256" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.boolean "valid_pdf", default: false t.text "form_usage" t.text "form_tool_intro" t.string "form_tool_url" t.string "form_type" t.string "language" - t.datetime "deleted_at" + t.datetime "deleted_at", precision: nil t.string "related_forms", array: true t.jsonb "benefit_categories" t.string "form_details_url" @@ -1152,8 +1239,8 @@ t.string "status", default: "pending", null: false t.string "code" t.string "detail" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.boolean "s3_deleted" t.string "consumer_name" t.uuid "consumer_id" @@ -1181,8 +1268,8 @@ t.string "name" t.string "phone" t.string "state", limit: 2 - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.string "address_type" t.string "city" t.string "country_code_iso3" @@ -1212,8 +1299,8 @@ t.string "last_name" t.string "email" t.string "phone" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.string "poa_codes", default: [], array: true t.string "user_types", default: [], array: true t.text "ssn_ciphertext" @@ -1247,8 +1334,8 @@ end create_table "vic_submissions", id: :serial, force: :cascade do |t| - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", precision: nil, null: false + t.datetime "updated_at", precision: nil, null: false t.string "state", default: "pending", null: false t.uuid "guid", null: false t.json "response" @@ -1278,10 +1365,10 @@ create_table "vye_awards", force: :cascade do |t| t.integer "user_info_id" t.string "cur_award_ind" - t.datetime "award_begin_date" - t.datetime "award_end_date" + t.datetime "award_begin_date", precision: nil + t.datetime "award_end_date", precision: nil t.integer "training_time" - t.datetime "payment_date" + t.datetime "payment_date", precision: nil t.decimal "monthly_rate" t.string "begin_rsn" t.string "end_rsn" @@ -1318,7 +1405,7 @@ t.text "ssn_ciphertext" t.string "claim_no_ciphertext" t.string "doc_type" - t.datetime "queue_date" + t.datetime "queue_date", precision: nil t.string "rpo" t.text "encrypted_kms_key" t.datetime "created_at", null: false @@ -1344,9 +1431,9 @@ t.text "stub_nm_ciphertext" t.string "mr_status" t.string "rem_ent" - t.datetime "cert_issue_date" - t.datetime "del_date" - t.datetime "date_last_certified" + t.datetime "cert_issue_date", precision: nil + t.datetime "del_date", precision: nil + t.datetime "date_last_certified", precision: nil t.integer "rpo_code" t.string "fac_code" t.decimal "payment_amt" @@ -1376,8 +1463,8 @@ t.string "change_flag" t.integer "rpo_code" t.boolean "rpo_flag" - t.datetime "act_begin" - t.datetime "act_end" + t.datetime "act_begin", precision: nil + t.datetime "act_end", precision: nil t.string "source_ind" t.datetime "created_at", null: false t.datetime "updated_at", null: false diff --git a/lib/common/client/concerns/mhv_fhir_session_client.rb b/lib/common/client/concerns/mhv_fhir_session_client.rb index 389d9739e60..a7d65a7dd4e 100644 --- a/lib/common/client/concerns/mhv_fhir_session_client.rb +++ b/lib/common/client/concerns/mhv_fhir_session_client.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require 'common/client/concerns/mhv_jwt_session_client' +require 'medical_records/patient_not_found' module Common module Client diff --git a/lib/lighthouse/benefits_intake/configuration.rb b/lib/lighthouse/benefits_intake/configuration.rb new file mode 100644 index 00000000000..58121c930e4 --- /dev/null +++ b/lib/lighthouse/benefits_intake/configuration.rb @@ -0,0 +1,76 @@ +# frozen_string_literal: true + +require 'common/client/configuration/rest' +require 'faraday/multipart' + +module BenefitsIntake + ## + # HTTP client configuration for the {BenefitsIntake::Service}, + # sets the base path, the base request headers, and a service name for breakers and metrics. + # + class Configuration < Common::Client::Configuration::REST + self.read_timeout = Settings.lighthouse.benefits_intake.timeout || 20 + + ## + # @return [Config::Options] Settings for benefits_claims API. + # + def intake_settings + Settings.lighthouse.benefits_intake + end + + ## + # @return [String] Base path. + # + def service_path + url = [intake_settings.host, intake_settings.path, intake_settings.version] + url.map { |segment| segment.sub(%r{^/}, '').chomp('/') }.join('/') + end + + ## + # @return [String] Service name to use in breakers and metrics. + # + def service_name + 'BenefitsIntake' + end + + ## + # @return [Hash] The basic headers required for any Lighthouse API call + # + def self.base_request_headers + key = Settings.lighthouse.benefits_intake.api_key + raise "No api_key set for benefits_intake. Please set 'lighthouse.benefits_intake.api_key'" if key.nil? + + super.merge('apikey' => key) + end + + ## + # Creates a connection with json parsing and breaker functionality. + # + # @return [Faraday::Connection] a Faraday connection instance. + # + def connection + @conn ||= Faraday.new(service_path, headers: base_request_headers, request: request_options) do |faraday| + faraday.use :breakers + faraday.use Faraday::Response::RaiseError + + faraday.request :multipart + faraday.request :json + + faraday.response :betamocks if use_mocks? + faraday.response :json + faraday.adapter Faraday.default_adapter + end + end + + ## + # @return [Boolean] Should the service use mock data in lower environments. + # + def use_mocks? + intake_settings.use_mocks || false + end + + def breakers_error_threshold + 80 # breakers will be tripped if error rate reaches 80% over a two minute period. + end + end +end diff --git a/lib/lighthouse/benefits_intake/metadata.rb b/lib/lighthouse/benefits_intake/metadata.rb new file mode 100644 index 00000000000..6adec07abe9 --- /dev/null +++ b/lib/lighthouse/benefits_intake/metadata.rb @@ -0,0 +1,132 @@ +# frozen_string_literal: true + +module BenefitsIntake + ## + # Validate the required metadata which must accompany an upload: + # + # { + # 'veteranFirstName': String, + # 'veteranLastName': String, + # 'fileNumber': String, # 8-9 digits + # 'zipCode': String, # 5 or 9 digits + # 'source': String, + # 'docType': String, + # 'businessLine': String, # optional; enum in BUSINESS_LINE + # } + # + # https://developer.va.gov/explore/api/benefits-intake/docs + # + class Metadata + BUSINESS_LINE = { + CMP: 'Compensation requests such as those related to disability, unemployment, and pandemic claims', + PMC: 'Pension requests including survivor’s pension', + INS: 'Insurance such as life insurance, disability insurance, and other health insurance', + EDU: 'Education benefits, programs, and affiliations', + VRE: 'Veteran Readiness & Employment such as employment questionnaires, ' \ + 'employment discrimination, employment verification', + BVA: 'Board of Veteran Appeals', + FID: 'Fiduciary / financial appointee, including family member benefits', + NCA: 'National Cemetery Administration', + OTH: 'Other (this value if used, will be treated as CMP)' + }.freeze + + # rubocop:disable Metrics/ParameterLists + def self.generate(first_name, last_name, file_number, zip_code, source, doc_type, business_line = nil) + validate({ + 'veteranFirstName' => first_name, + 'veteranLastName' => last_name, + 'fileNumber' => file_number, + 'zipCode' => zip_code, + 'source' => source, + 'docType' => doc_type, + 'businessLine' => business_line + }) + end + # rubocop:enable Metrics/ParameterLists + + def self.validate(metadata) + validate_first_name(metadata) + .then { |m| validate_last_name(m) } + .then { |m| validate_file_number(m) } + .then { |m| validate_zip_code(m) } + .then { |m| validate_source(m) } + .then { |m| validate_doc_type(m) } + .then { |m| validate_business_line(m) } + end + + def self.validate_first_name(metadata) + validate_presence_and_stringiness(metadata['veteranFirstName'], 'veteran first name') + + first_name = I18n.transliterate(metadata['veteranFirstName']).gsub(%r{[^a-zA-Z\-\/\s]}, '').strip.first(50) + validate_nonblank(first_name, 'veteran first name') + + metadata['veteranFirstName'] = first_name + metadata + end + + def self.validate_last_name(metadata) + validate_presence_and_stringiness(metadata['veteranLastName'], 'veteran last name') + + last_name = I18n.transliterate(metadata['veteranLastName']).gsub(%r{[^a-zA-Z\-\/\s]}, '').strip.first(50) + validate_nonblank(last_name, 'veteran last name') + + metadata['veteranLastName'] = last_name + metadata + end + + def self.validate_file_number(metadata) + validate_presence_and_stringiness(metadata['fileNumber'], 'file number') + unless metadata['fileNumber'].match?(/^\d{8,9}$/) + raise ArgumentError, 'file number is invalid. It must be 8 or 9 digits' + end + + metadata + end + + def self.validate_zip_code(metadata) + validate_presence_and_stringiness(metadata['zipCode'], 'zip code') + + zip_code = metadata['zipCode'].dup.gsub(/[^0-9]/, '') + zip_code.insert(5, '-') if zip_code.match?(/\A[0-9]{9}\z/) + zip_code = '00000' unless zip_code.match?(/\A[0-9]{5}(-[0-9]{4})?\z/) + + metadata['zipCode'] = zip_code + + metadata + end + + def self.validate_source(metadata) + validate_presence_and_stringiness(metadata['source'], 'source') + + metadata + end + + def self.validate_doc_type(metadata) + validate_presence_and_stringiness(metadata['docType'], 'doc type') + + metadata + end + + def self.validate_business_line(metadata) + bl = metadata['businessLine'] + if bl + bl = bl.dup.to_s.upcase.to_sym + bl = :OTH unless BUSINESS_LINE.key?(bl) + metadata['businessLine'] = bl.to_s + else + metadata.delete('businessLine') + end + + metadata + end + + def self.validate_presence_and_stringiness(value, error_label) + raise ArgumentError, "#{error_label} is missing" unless value + raise ArgumentError, "#{error_label} is not a string" if value.class != String + end + + def self.validate_nonblank(value, error_label) + raise ArgumentError, "#{error_label} is blank" if value.blank? + end + end +end diff --git a/lib/lighthouse/benefits_intake/service.rb b/lib/lighthouse/benefits_intake/service.rb new file mode 100644 index 00000000000..ecc9abc6cbb --- /dev/null +++ b/lib/lighthouse/benefits_intake/service.rb @@ -0,0 +1,150 @@ +# frozen_string_literal: true + +require 'common/client/base' +require 'lighthouse/benefits_intake/configuration' +require 'lighthouse/benefits_intake/metadata' + +module BenefitsIntake + ## + # Proxy Service for the Lighthouse Claims Intake API Service. + # We are using it here to submit claims that cannot be auto-established, + # via paper submission (electronic PDF submissiont to CMP) + # + # https://developer.va.gov/explore/api/benefits-intake/docs + # + class Service < Common::Client::Base + configuration BenefitsIntake::Configuration + + # TODO: process document error similar to service exception + class InvalidDocumentError < StandardError; end + + STATSD_KEY_PREFIX = 'api.benefits_intake' + + attr_reader :location, :uuid + + ## + # Perform the upload to BenefitsIntake + # parameters should be run through validation functions first, to prevent downstream processing errors + # + # @param [Hash] metadata + # @param [String] document + # @param [Array] attachments; optional, default = [] + # @param [String] upload_url; optional, default = @location + # + def perform_upload(metadata:, document:, attachments: [], upload_url: nil) + upload_url, _uuid = request_upload unless upload_url + + meta_tmp = Common::FileHelpers.generate_temp_file(metadata.to_s, "#{STATSD_KEY_PREFIX}.#{@uuid}.metadata.json") + + params = {} + params[:metadata] = Faraday::UploadIO.new(meta_tmp, Mime[:json].to_s, 'metadata.json') + params[:content] = Faraday::UploadIO.new(document, Mime[:pdf].to_s, File.basename(document)) + attachments.each.with_index do |attachment, i| + params[:"attachment#{i + 1}"] = Faraday::UploadIO.new(attachment, Mime[:pdf].to_s, File.basename(attachment)) + end + + perform :put, upload_url, params, { 'Content-Type' => 'multipart/form-data' } + end + + ## + # Instantiates a new location and uuid for upload to BenefitsIntake + # + # @param [Boolean] refresh + # + def request_upload(refresh: false) + if !@uploads || refresh + @uploads = perform :post, 'uploads', {}, {} + + @location = @uploads.body.dig('data', 'attributes', 'location') + @uuid = @uploads.body.dig('data', 'id') + end + + [@location, @uuid] + end + + ## + # Get the status for a previous upload + # + # @param [String] uuid + # + def get_status(uuid:) + headers = { 'accept' => Mime[:json].to_s } + perform :get, "uploads/#{uuid}", {}, headers + end + + ## + # Get the status for a set of prior uploads + # + # @param [Array] uuids + # + def bulk_status(uuids:) + headers = { 'Content-Type' => Mime[:json].to_s, 'accept' => Mime[:json].to_s } + data = { uuids: }.to_json + perform :post, 'uploads/report', data, headers + end + + ## + # Download a zip of 'what the server sees' for a previous upload + # + # @param [String] uuid + # + def download(uuid:) + headers = { 'accept' => Mime[:zip].to_s } + perform :get, "uploads/#{uuid}/download", {}, headers + end + + ## + # Validate the metadata satisfies BenefitsIntake specifications. + # @see BenefitsIntake::Metadata.validate + # + # @param [Hash] metadata + # + # @returns [Hash] validated and corrected metadata + # + def valid_metadata?(metadata:) + BenefitsIntake::Metadata.validate(metadata) + end + + ## + # Validate a file satisfies BenefitsIntake specifications. File must be a PDF. + # + # @param [String] document + # @param [Hash] headers; optional, default nil + # + def valid_document?(document:, headers: nil) + doc = File.read(document, mode: 'rb') + + doc_mime = Marcel::MimeType.for(doc) + raise TypeError, "Invalid Document MimeType: #{doc_mime}" if doc_mime != Mime[:pdf].to_s + + headers = (headers || {}).merge({ 'Content-Type': doc_mime }) + response = perform :post, 'uploads/validate_document', doc, headers + + raise InvalidDocumentError, "Invalid Document: #{response}" unless response.success? + + document + end + + ## + # Validate the upload meets BenefitsIntake specifications. + # + # @param [Hash] metadata + # @param [String] document + # @param [Array] attachments; optional, default [] + # @param [Hash] headers; optional, default nil + # + # @return [Hash] payload for upload + # + def valid_upload?(metadata:, document:, attachments: [], headers: nil) + { + metadata: valid_metadata?(metadata:), + document: valid_document?(document:, headers:), + attachments: attachments.map { |attachment| valid_document?(document: attachment, headers:) } + } + end + + # end Service + end + + # end BenefitsIntake +end diff --git a/lib/lighthouse/direct_deposit/error_parser.rb b/lib/lighthouse/direct_deposit/error_parser.rb index 954a0b7ebe8..5539399340a 100644 --- a/lib/lighthouse/direct_deposit/error_parser.rb +++ b/lib/lighthouse/direct_deposit/error_parser.rb @@ -44,35 +44,29 @@ def self.parse_detail(body) end def self.parse_code(detail) # rubocop:disable Metrics/MethodLength - return "#{prefix}.api.rate.limit.exceeded" if detail.include? 'API rate limit exceeded' - return "#{prefix}.api.gateway.timeout" if detail.include? 'Did not receive a timely response' - return "#{prefix}.invalid.authentication.creds" if detail.include? 'Invalid authentication credentials' - return "#{prefix}.invalid.token" if detail.include? 'Invalid token' - return "#{prefix}.invalid.scopes" if detail.include? 'scopes are not configured' - return "#{prefix}.icn.not.found" if detail.include? 'No data found for ICN' - return "#{prefix}.icn.invalid" if detail.include? 'getDirectDeposit.icn size' - return "#{prefix}.account.number.invalid" if detail.include? 'payment.accountNumber.invalid' - return "#{prefix}.account.type.invalid" if detail.include? 'payment.accountType.invalid' - return "#{prefix}.account.number.fraud" if detail.include? 'Flashes on record' - return "#{prefix}.routing.number.invalid.checksum" if detail.include? 'accountRoutingNumber.invalidCheckSum' - return "#{prefix}.routing.number.invalid" if detail.include? 'payment.accountRoutingNumber.invalid' - return "#{prefix}.routing.number.fraud" if detail.include? 'Routing number related to potential fraud' - return "#{prefix}.restriction.indicators.present" if detail.include? 'restriction.indicators.present' - return "#{prefix}.day.phone.number.invalid" if detail.include? 'Day phone number is invalid' - return "#{prefix}.day.area.number.invalid" if detail.include? 'Day area number is invalid' - return "#{prefix}.night.phone.number.invalid" if detail.include? 'Night phone number is invalid' - return "#{prefix}.night.area.number.invalid" if detail.include? 'Night area number is invalid' - return "#{prefix}.mailing.address.invalid" if detail.include? 'field not entered for mailing address update' - return "#{prefix}.potential.fraud" if detail.include? 'GUIE50041' - return "#{prefix}.unspecified.error" if detail.include? 'GUIE50022' + return 'cnp.payment.api.rate.limit.exceeded' if detail.include? 'API rate limit exceeded' + return 'cnp.payment.api.gateway.timeout' if detail.include? 'Did not receive a timely response' + return 'cnp.payment.invalid.authentication.creds' if detail.include? 'Invalid authentication credentials' + return 'cnp.payment.invalid.token' if detail.include? 'Invalid token' + return 'cnp.payment.invalid.scopes' if detail.include? 'scopes are not configured' + return 'cnp.payment.icn.not.found' if detail.include? 'No data found for ICN' + return 'cnp.payment.icn.invalid' if detail.include? 'getDirectDeposit.icn size' + return 'cnp.payment.account.number.invalid' if detail.include? 'payment.accountNumber.invalid' + return 'cnp.payment.account.type.invalid' if detail.include? 'payment.accountType.invalid' + return 'cnp.payment.account.number.fraud' if detail.include? 'Flashes on record' + return 'cnp.payment.routing.number.invalid.checksum' if detail.include? 'accountRoutingNumber.invalidCheckSum' + return 'cnp.payment.routing.number.invalid' if detail.include? 'payment.accountRoutingNumber.invalid' + return 'cnp.payment.routing.number.fraud' if detail.include? 'Routing number related to potential fraud' + return 'cnp.payment.restriction.indicators.present' if detail.include? 'restriction.indicators.present' + return 'cnp.payment.day.phone.number.invalid' if detail.include? 'Day phone number is invalid' + return 'cnp.payment.day.area.number.invalid' if detail.include? 'Day area number is invalid' + return 'cnp.payment.night.phone.number.invalid' if detail.include? 'Night phone number is invalid' + return 'cnp.payment.night.area.number.invalid' if detail.include? 'Night area number is invalid' + return 'cnp.payment.mailing.address.invalid' if detail.include? 'field not entered for mailing address update' + return 'cnp.payment.potential.fraud' if detail.include? 'GUIE50041' + return 'cnp.payment.unspecified.error' if detail.include? 'GUIE50022' - "#{prefix}.generic.error" - end - - def self.prefix - return 'direct.deposit' if Flipper.enabled?(:profile_show_direct_deposit_single_form) - - 'cnp.payment' + 'cnp.payment.generic.error' end def self.data_source diff --git a/lib/lighthouse/direct_deposit/error_response.rb b/lib/lighthouse/direct_deposit/error_response.rb index 7775634210e..72bd2448a4f 100644 --- a/lib/lighthouse/direct_deposit/error_response.rb +++ b/lib/lighthouse/direct_deposit/error_response.rb @@ -21,6 +21,10 @@ def body { errors: @errors } end + def code=(code) + errors.first[:code] = code + end + def code errors.first[:code] end diff --git a/lib/pdf_fill/filler.rb b/lib/pdf_fill/filler.rb index 2ce6719beca..fc0d79ac0f2 100644 --- a/lib/pdf_fill/filler.rb +++ b/lib/pdf_fill/filler.rb @@ -8,7 +8,6 @@ require 'pdf_fill/forms/va210781' require 'pdf_fill/forms/va218940' require 'pdf_fill/forms/va1010cg' -require 'pdf_fill/forms/va1010ez' require 'pdf_fill/forms/va686c674' require 'pdf_fill/forms/va281900' require 'pdf_fill/forms/va288832' @@ -32,7 +31,6 @@ module Filler '21-0781' => PdfFill::Forms::Va210781, '21-8940' => PdfFill::Forms::Va218940, '10-10CG' => PdfFill::Forms::Va1010cg, - '10-10EZ' => PdfFill::Forms::Va1010ez, '686C-674' => PdfFill::Forms::Va686c674, '28-1900' => PdfFill::Forms::Va281900, '28-8832' => PdfFill::Forms::Va288832, diff --git a/lib/pdf_fill/forms/maps/input_map_1010_ez.rb b/lib/pdf_fill/forms/maps/input_map_1010_ez.rb deleted file mode 100644 index 58723c811b1..00000000000 --- a/lib/pdf_fill/forms/maps/input_map_1010_ez.rb +++ /dev/null @@ -1,111 +0,0 @@ -# frozen_string_literal: true - -module PdfFill - module Forms - module Maps - module InputMap1010Ez - def self.extended(base) - base.include(self) - end - - INPUT_MAP = OpenStruct.new( - benefits_type: { - enrollment: 'F[0].P4[0].CheckBox7[6]', - registration: 'F[0].P4[0].CheckBox7[7]' - }, - veteran: { - name: 'F[0].P4[0].LastFirstMiddle[0]', - preferred_name: 'F[0].P4[0].TextField2[1]', - mothers_maiden_name: 'F[0].P4[0].TextField2[0]', - date_of_birth: 'F[0].P4[0].DateTimeField4[0]', - gender: 'F[0].P4[0].RadioButtonList[1]', - sigi_genders: 'F[0].P4[0].RadioButtonList[4]', - ssn: 'F[0].P4[0].SSN[0]', - place_of_birth: 'F[0].P4[0].TextField5[0]', - state_of_birth: 'F[0].P4[0].TextField5[0]', - marital_status: 'F[0].P4[0].RadioButtonList[3]', - email: 'F[0].P4[0].TextField23[0]', - home_phone: 'F[0].P4[0].TextField10[0]', - mobile_phone: 'F[0].P4[0].TextField11[0]', - initial_va_contact: 'F[0].P4[0].RadioButtonList[2]', - address: { - street: 'F[0].P4[0].TextField6[0]', - city: 'F[0].P4[0].TextField7[0]', - state: 'F[0].P4[0].TextField8[0]', - postalCode: 'F[0].P4[0].TextField25[0]' - }, - home_address: { - street: 'F[0].P4[0].TextField6[1]', - city: 'F[0].P4[0].TextField7[1]', - state: 'F[0].P4[0].TextField8[1]', - postalCode: 'F[0].P4[0].TextField25[1]' - }, - ethnicity: { - isAmericanIndianOrAlaskanNative: 'F[0].P4[0].CheckBox7[0]', - isAsian: 'F[0].P4[0].CheckBox7[1]', - isBlackOrAfricanAmerican: 'F[0].P4[0].CheckBox7[3]', - isSpanishHispanicLatino: 'F[0].P4[0].RadioButtonList[0]', - isNativeHawaiianOrOtherPacificIslander: 'F[0].P4[0].CheckBox7[4]', - isWhite: 'F[0].P4[0].CheckBox7[2]', - hasDemographicNoAnswer: 'F[0].P4[0].CheckBox7[5]' - }, - service: { - last_branch_of_service: 'F[0].P5[0].TextField13[0]', - last_entry_date: 'F[0].P5[0].DateTimeField8[0]', - last_discharge_date: 'F[0].P5[0].DateTimeField9[0]', - discharge_type: 'F[0].P5[0].TextField24[0]', - purple_heart_recipient: 'F[0].P5[0].RadioButtonList[6]', - is_former_pow: 'F[0].P5[0].RadioButtonList[7]', - post_11111998_combat: 'F[0].P5[0].RadioButtonList[8]', - disabled_in_lod: 'F[0].P5[0].RadioButtonList[9]', - sw_asia_combat: 'F[0].P5[0].RadioButtonList[10]', - vietnam_service: 'F[0].P5[0].RadioButtonList[12]', - exposed_to_radiation: 'F[0].P5[0].RadioButtonList[13]', - radium_treatments: 'F[0].P5[0].RadioButtonList[14]', - camp_lejeune: 'F[0].P5[0].RadioButtonList[15]' - }, - disclose_financial_information: 'F[0].P6[0].RadioButtonList[0]', - gross_income: 'F[0].P6[0].NumericField2[0]', - net_income: 'F[0].P6[0].NumericField2[3]', - other_income: 'F[0].P6[0].NumericField2[6]' - }, - spouse: { - name: 'F[0].P5[0].TextField20[0]', - date_of_birth: 'F[0].P5[0].DateTimeField6[0]', - date_of_marriage: 'F[0].P5[0].DateTimeField5[0]', - address: 'F[0].P5[0].TextField20[3]', - cohabitated_last_year: 'F[0].P5[0].RadioButtonList[2]', - gross_income: 'F[0].P6[0].NumericField2[1]', - net_income: 'F[0].P6[0].NumericField2[4]', - other_income: 'F[0].P6[0].NumericField2[7]' - }, - is_medicaid_eligible: 'F[0].P5[0].RadioButtonList[4]', - is_enrolled_nedicare_part_a: 'F[0].P5[0].RadioButtonList[5]', - medicare_number: 'F[0].P5[0].MedicareClaimNumber[0]', - medicare_effective_date: 'F[0].P5[0].DateTimeField1[0]', - deductible_medical_expenses: 'F[0].P6[0].NumericField2[9]', - deductible_funeral_expenses: 'F[0].P6[0].NumericField2[10]', - deductible_education_expenses: 'F[0].P6[0].NumericField2[11]', - providers: { - insurance_name: 'F[0].P5[0].TextField17[0]', - insurance_policy_holder_name: 'F[0].P5[0].TextField18[0]', - insurance_policy_number: 'F[0].P5[0].TextField19[0]', - insurance_group_code: 'F[0].P5[0].TextField19[1]' - }, - dependents: { - name: 'F[0].P5[0].TextField20[1]', - date_of_birth: 'F[0].P5[0].DateTimeField3[0]', - ssn: 'F[0].P5[0].TextField20[4]', - relation: 'F[0].P5[0].RadioButtonList[3]', - became_dependent: 'F[0].P5[0].DateTimeField7[0]', - attend_school_last_year: 'F[0].P5[0].RadioButtonList[1]', - disabled_before18: 'F[0].P5[0].RadioButtonList[0]', - gross_income: 'F[0].P6[0].NumericField2[2]', - net_income: 'F[0].P6[0].NumericField2[5]', - other_income: 'F[0].P6[0].NumericField2[8]' - } - ) - end - end - end -end diff --git a/lib/pdf_fill/forms/maps/key_map_1010_ez.rb b/lib/pdf_fill/forms/maps/key_map_1010_ez.rb deleted file mode 100644 index 31b22700277..00000000000 --- a/lib/pdf_fill/forms/maps/key_map_1010_ez.rb +++ /dev/null @@ -1,113 +0,0 @@ -# frozen_string_literal: true - -require 'pdf_fill/forms/maps/input_map_1010_ez' - -module PdfFill - module Forms - module Maps - module KeyMap1010Ez - extend InputMap1010Ez - - KEY = { - 'helpers' => { - 'veteranFullName' => { key: INPUT_MAP.veteran[:name], question_num: 3 }, - 'gender' => { key: INPUT_MAP.veteran[:gender], question_num: 6 }, - 'sigiGenders' => { key: INPUT_MAP.veteran[:sigi_genders], question_num: 7 }, - 'placeOfBirth' => { key: INPUT_MAP.veteran[:place_of_birth], question_num: 12 }, - 'isAmericanIndianOrAlaskanNative' => { - key: INPUT_MAP.veteran[:ethnicity][:isAmericanIndianOrAlaskanNative], - question_num: 9 - }, - 'isAsian' => { key: INPUT_MAP.veteran[:ethnicity][:isAsian], question_num: 9 }, - 'isBlackOrAfricanAmerican' => { - key: INPUT_MAP.veteran[:ethnicity][:isBlackOrAfricanAmerican], - question_num: 9 - }, - 'isSpanishHispanicLatino' => { - key: INPUT_MAP.veteran[:ethnicity][:isSpanishHispanicLatino], - question_num: 8 - }, - 'isNativeHawaiianOrOtherPacificIslander' => { - key: INPUT_MAP.veteran[:ethnicity][:isNativeHawaiianOrOtherPacificIslander], - question_num: 9 - }, - 'isWhite' => { key: INPUT_MAP.veteran[:ethnicity][:isWhite], question_num: 9 }, - 'hasDemographicNoAnswer' => { - key: INPUT_MAP.veteran[:ethnicity][:hasDemographicNoAnswer], question_num: 9 - }, - 'maritalStatus' => { key: INPUT_MAP.veteran[:marital_status], question_num: 28 }, - 'wantsInitialVaContact' => { key: INPUT_MAP.veteran[:initial_va_contact], question_num: 37 }, - 'purpleHeartRecipient' => { key: INPUT_MAP.veteran[:service][:purple_heart_recipient] }, - 'isFormerPow' => { key: INPUT_MAP.veteran[:service][:is_former_pow] }, - 'postNov111998Combat' => { key: INPUT_MAP.veteran[:service][:post_11111998_combat] }, - 'disabledInLineOfDuty' => { key: INPUT_MAP.veteran[:service][:disabled_in_lod] }, - 'swAsiaCombat' => { key: INPUT_MAP.veteran[:service][:sw_asia_combat] }, - 'vietnamService' => { key: INPUT_MAP.veteran[:service][:vietnam_service] }, - 'exposedToRadiation' => { key: INPUT_MAP.veteran[:service][:exposed_to_radiation] }, - 'radiumTreatments' => { key: INPUT_MAP.veteran[:service][:radium_treatments] }, - 'campLejeune' => { key: INPUT_MAP.veteran[:service][:camp_lejeune] }, - 'isMedicaidEligible' => { key: INPUT_MAP.is_medicaid_eligible }, - 'isEnrolledMedicarePartA' => { key: INPUT_MAP.is_enrolled_nedicare_part_a }, - 'providers' => { - 'insuranceName' => { key: INPUT_MAP.providers[:insurance_name] }, - 'insurancePolicyHolderName' => { key: INPUT_MAP.providers[:insurance_policy_holder_name] }, - 'insurancePolicyNumber' => { key: INPUT_MAP.providers[:insurance_policy_number] }, - 'insuranceGroupCode' => { key: INPUT_MAP.providers[:insurance_group_code] } - }, - 'dependents' => { - 'fullName' => { key: INPUT_MAP.dependents[:name] }, - 'dependentRelation' => { key: INPUT_MAP.dependents[:relation] }, - 'socialSecurityNumber' => { key: INPUT_MAP.dependents[:ssn] }, - 'dateOfBirth' => { key: INPUT_MAP.dependents[:date_of_birth] }, - 'becameDependent' => { key: INPUT_MAP.dependents[:became_dependent] }, - 'attendedSchoolLastYear' => { key: INPUT_MAP.dependents[:attend_school_last_year] }, - 'disabledBefore18' => { key: INPUT_MAP.dependents[:disabled_before18] }, - 'grossIncome' => { key: INPUT_MAP.dependents[:gross_income] }, - 'netIncome' => { key: INPUT_MAP.dependents[:net_income] }, - 'otherIncome' => { key: INPUT_MAP.dependents[:other_income] } - }, - 'spouseFullName' => { key: INPUT_MAP.spouse[:name] }, - 'spouseAddress' => { key: INPUT_MAP.spouse[:address] }, - 'cohabitedLastYear' => { key: INPUT_MAP.spouse[:cohabitated_last_year] }, - 'veteranDateOfBirth' => { key: INPUT_MAP.veteran[:date_of_birth], question_num: 11 }, - 'lastEntryDate' => { key: INPUT_MAP.veteran[:service][:last_entry_date] }, - 'lastDischargeDate' => { key: INPUT_MAP.veteran[:service][:last_discharge_date] }, - 'medicarePartAEffectiveDate' => { key: INPUT_MAP.medicare_effective_date }, - 'spouseDateOfBirth' => { key: INPUT_MAP.spouse[:date_of_birth] }, - 'dateOfMarriage' => { key: INPUT_MAP.spouse[:date_of_marriage] }, - 'discloseFinancialInformation' => { key: INPUT_MAP.veteran[:disclose_financial_information] } - }, - 'mothersMaidenName' => { key: INPUT_MAP.veteran[:mothers_maiden_name], question_num: 5 }, - 'veteranSocialSecurityNumber' => { key: INPUT_MAP.veteran[:ssn], question_num: 10 }, - 'email' => { key: INPUT_MAP.veteran[:email], question_num: 22 }, - 'homePhone' => { key: INPUT_MAP.veteran[:home_phone], question_num: 20 }, - 'mobilePhone' => { key: INPUT_MAP.veteran[:mobile_phone], question_num: 21 }, - 'veteranAddress' => { - 'street' => { key: INPUT_MAP.veteran[:address][:street], question_num: 15 }, - 'city' => { key: INPUT_MAP.veteran[:address][:city], question_num: 16 }, - 'postalCode' => { key: INPUT_MAP.veteran[:address][:postalCode], question_num: 18 }, - 'state' => { key: INPUT_MAP.veteran[:address][:state], question_num: 17 } - }, - 'veteranHomeAddress' => { - 'street' => { key: INPUT_MAP.veteran[:home_address][:street], question_num: 23 }, - 'city' => { key: INPUT_MAP.veteran[:home_address][:city], question_num: 24 }, - 'postalCode' => { key: INPUT_MAP.veteran[:home_address][:postalCode], question_num: 26 }, - 'state' => { key: INPUT_MAP.veteran[:home_address][:state], question_num: 25 } - }, - 'lastServiceBranch' => { key: INPUT_MAP.veteran[:service][:last_branch_of_service] }, - 'dischargeType' => { key: INPUT_MAP.veteran[:service][:discharge_type] }, - 'medicareClaimNumber' => { key: INPUT_MAP.medicare_number }, - 'spouseGrossIncome' => { key: INPUT_MAP.spouse[:gross_income] }, - 'spouseNetIncome' => { key: INPUT_MAP.spouse[:net_income] }, - 'spouseOtherIncome' => { key: INPUT_MAP.spouse[:other_income] }, - 'veteranGrossIncome' => { key: INPUT_MAP.veteran[:gross_income] }, - 'veteranNetIncome' => { key: INPUT_MAP.veteran[:net_income] }, - 'veteranOtherIncome' => { key: INPUT_MAP.veteran[:other_income] }, - 'deductibleMedicalExpenses' => { key: INPUT_MAP.deductible_medical_expenses }, - 'deductibleFuneralExpenses' => { key: INPUT_MAP.deductible_funeral_expenses }, - 'deductibleEducationExpenses' => { key: INPUT_MAP.deductible_education_expenses } - }.freeze - end - end - end -end diff --git a/lib/pdf_fill/forms/pdfs/10-10EZ.pdf b/lib/pdf_fill/forms/pdfs/10-10EZ.pdf deleted file mode 100644 index 77691d82416..00000000000 Binary files a/lib/pdf_fill/forms/pdfs/10-10EZ.pdf and /dev/null differ diff --git a/lib/pdf_fill/forms/pdfs/21P-530V2.pdf b/lib/pdf_fill/forms/pdfs/21P-530V2.pdf index 66c7e245884..4f6f8156135 100644 Binary files a/lib/pdf_fill/forms/pdfs/21P-530V2.pdf and b/lib/pdf_fill/forms/pdfs/21P-530V2.pdf differ diff --git a/lib/pdf_fill/forms/va1010ez.rb b/lib/pdf_fill/forms/va1010ez.rb deleted file mode 100644 index bd57784804a..00000000000 --- a/lib/pdf_fill/forms/va1010ez.rb +++ /dev/null @@ -1,193 +0,0 @@ -# frozen_string_literal: true - -require 'pdf_fill/forms/form_base' -require 'pdf_fill/forms/maps/key_map_1010_ez' - -module PdfFill - module Forms - class Va1010ez < FormBase - include Maps::KeyMap1010Ez - - GENDERS = { NB: '0', M: '1', F: '2', TM: '3', TF: '4', NA: '6', O: 'Off' }.freeze - - MARITAL_STATUS = ['Married', 'Never Married', 'Separated', 'Widowed', 'Divorced'].freeze - - ETHNICITY_CHOICES = %w[ - isAmericanIndianOrAlaskanNative - isAsian - isBlackOrAfricanAmerican - isSpanishHispanicLatino - isNativeHawaiianOrOtherPacificIslander - isWhite - hasDemographicNoAnswer - ].freeze - - SERVICE_HISTORIES = %w[ - purpleHeartRecipient - isFormerPow - postNov111998Combat - disabledInLineOfDuty - swAsiaCombat - vietnamService - exposedToRadiation - radiumTreatments - campLejeune - ].freeze - - def merge_fields(_options = {}) - @form_data['helpers'] = { - 'veteran' => {}, - 'secondaryCaregiverOne' => {}, - 'secondaryCaregiverTwo' => {} - } - - merge_names('veteranFullName') - merge_names('spouseFullName') - merge_ethnicity_choices - merge_place_of_birth - merge_gender('gender') - merge_gender('sigiGenders') - merge_marital_status - merge_service_histories - merge_providers - merge_spouse_address - merge_dependents - merge_financial_discloser - merge_radio_buttons - format_dates - - @form_data - end - - private - - def merge_radio_buttons - fields = %w[isMedicaidEligible isEnrolledMedicarePartA cohabitedLastYear wantsInitialVaContact] - fields.each { |field| merge_radio_button(field, @form_data) } - end - - def merge_names(type) - name = @form_data[type] - - full_name_parts = [ - name['last'], - name['first'], - name['middle'] - ].compact.join(', ') - - @form_data['helpers'][type] = full_name_parts - end - - def merge_gender(type = 'gender') - value = @form_data[type] || 'O' - - @form_data['helpers'][type] = GENDERS[value.to_sym] - end - - def merge_ethnicity_choices - ETHNICITY_CHOICES.each do |choice| - value = @form_data[choice] - selected = value == true ? '1' : '2' - - @form_data['helpers'][choice] = selected - end - end - - def merge_marital_status - value = @form_data['maritalStatus'] - - MARITAL_STATUS.each_with_index do |status, i| - if value.downcase == status&.downcase - @form_data['helpers']['maritalStatus'] = (i + 1).to_s - break - end - end - end - - def merge_place_of_birth - city = @form_data['cityOfBirth'] - state = @form_data['stateOfBirth'] - - @form_data['helpers']['placeOfBirth'] = [city, state].join(', ') - end - - def merge_service_histories - SERVICE_HISTORIES.each { |history| merge_checkbox(history, @form_data) } - end - - def merge_providers - providers = @form_data['providers'] - provider = providers.first - - @form_data['helpers']['providers'] = provider - end - - def merge_dependents - dependents = @form_data['dependents'] - return if dependents.empty? - - dependent = dependents.first - - @form_data['helpers']['dependents'] = dependent - - format_date_for('dateOfBirth', dependent, 'dependents') - format_date_for('becameDependent', dependent, 'dependents') - merge_radio_button('dependentRelation', dependent, 'dependents') - merge_radio_button('disabledBefore18', dependent, 'dependents') - merge_radio_button('attendedSchoolLastYear', dependent, 'dependents') - end - - def merge_spouse_address - address = @form_data['spouseAddress']&.symbolize_keys - - full_address = format('%s %s, %s %s', address) - @form_data['helpers']['spouseAddress'] = full_address - end - - def merge_financial_discloser - disclosure = @form_data['discloseFinancialInformation'] - selected = disclosure == true ? 0 : 1 - - @form_data['helpers']['discloseFinancialInformation'] = selected - end - - def format_date_for(field, source, *path) - date = source[field] - date = Date.parse(date).strftime('%m/%d/%Y') if date - assign_value(field, date, path) - end - - def format_dates - %w[ - veteranDateOfBirth lastEntryDate lastDischargeDate medicarePartAEffectiveDate - spouseDateOfBirth dateOfMarriage - ].each { |field| format_date_for(field, @form_data) } - end - - def merge_radio_button(field, source, *path) - selected = source[field] == true ? '1' : '2' - - assign_value(field, selected, path) - end - - def form_data_helper(_field, path) - form_data = path.empty? ? @form_data : @form_data.dig(*path) - form_data.is_a?(Array) ? form_data.first : form_data - end - - def assign_value(field, value, path) - if path.empty? - @form_data['helpers'][field] = value - return - end - - @form_data['helpers'].dig(*path)[field] = value - end - - def merge_checkbox(field, source, *path) - selected = source[field] == true ? 'YES' : 'NO' - assign_value(field, selected, path) - end - end - end -end diff --git a/lib/pdf_fill/forms/va21p530v2.rb b/lib/pdf_fill/forms/va21p530v2.rb index d65a4fe91dd..f3ab58cdec1 100644 --- a/lib/pdf_fill/forms/va21p530v2.rb +++ b/lib/pdf_fill/forms/va21p530v2.rb @@ -270,10 +270,10 @@ class Va21p530v2 < FormBase 'executor' => { key: 'form1[0].#subform[82].CheckboxExecutor[0]' }, - 'funeralHome' => { + 'funeralDirector' => { key: 'form1[0].#subform[82].CheckboxFuneralHome[0]' }, - 'other' => { + 'otherFamily' => { key: 'form1[0].#subform[82].CheckboxOther[0]' } }, @@ -702,8 +702,8 @@ def merge_fields(_options = {}) 'child' => select_checkbox(relationship_to_veteran == 'child'), 'executor' => select_checkbox(relationship_to_veteran == 'executor'), 'parent' => select_checkbox(relationship_to_veteran == 'parent'), - 'funeralHome' => select_checkbox(relationship_to_veteran == 'funeralHome'), - 'other' => select_checkbox(relationship_to_veteran == 'other') + 'funeralDirector' => select_checkbox(relationship_to_veteran == 'funeralDirector'), + 'otherFamily' => select_checkbox(relationship_to_veteran == 'otherFamily') } # special case for transportation being the only option selected. @@ -719,15 +719,16 @@ def merge_fields(_options = {}) expand_cemetery_location + # special case: the UI only has a 'yes' checkbox, so the PDF 'noTransportation' checkbox can never be true. + @form_data['hasTransportation'] = @form_data['transportation'] == true ? 'YES' : nil + # special case: these fields were built as checkboxes instead of radios, so usual radio logic can't be used. burial_expense_responsibility = @form_data['burialExpenseResponsibility'] @form_data['hasBurialExpenseResponsibility'] = burial_expense_responsibility ? 'On' : nil - @form_data['noBurialExpenseResponsibility'] = burial_expense_responsibility ? nil : 'On' # special case: these fields were built as checkboxes instead of radios, so usual radio logic can't be used. plot_expense_responsibility = @form_data['plotExpenseResponsibility'] @form_data['hasPlotExpenseResponsibility'] = plot_expense_responsibility ? 'On' : nil - @form_data['noPlotExpenseResponsibility'] = plot_expense_responsibility ? nil : 'On' # special case: these fields were built as checkboxes instead of radios, so usual radio logic can't be used. process_option = @form_data['processOption'] @@ -759,7 +760,6 @@ def merge_fields(_options = {}) govtContributions previouslyReceivedAllowance allowanceStatementOfTruth - transportation ].each do |attr| expand_checkbox_in_place(@form_data, attr) end diff --git a/lib/saml/post_url_service.rb b/lib/saml/post_url_service.rb index bf97005fd82..b91b651d8e0 100644 --- a/lib/saml/post_url_service.rb +++ b/lib/saml/post_url_service.rb @@ -63,8 +63,7 @@ def tou_declined_logout_redirect_url end def terms_of_use_redirect_url - application = @tracker&.payload_attr(:application) || 'vaweb' - if enabled_tou_clients.include?(application) + if terms_of_use_enabled_application Rails.logger.info('Redirecting to /terms-of-use', type: :ssoe) add_query(terms_of_use_url, { redirect_url: login_redirect_url }) else @@ -79,6 +78,32 @@ def ssoe_slo_url private + def terms_of_use_enabled_application + cache_key = "terms_of_use_redirect_user_#{user.uuid}" + cached_application = retrieve_and_delete_terms_of_use_redirect_user(cache_key) + current_application = @tracker&.payload_attr(:application) + write_terms_of_use_redirect_user(cache_key, current_application) if should_cache_application?(current_application) + terms_of_use_redirect_enabled?(cached_application, current_application) + end + + def terms_of_use_redirect_enabled?(cached_application, current_application) + enabled_tou_clients.include?(cached_application || current_application || 'vaweb') + end + + def should_cache_application?(application) + enabled_tou_clients.include?(application) + end + + def retrieve_and_delete_terms_of_use_redirect_user(cache_key) + application = Rails.cache.read(cache_key) + Rails.cache.delete(cache_key) + application + end + + def write_terms_of_use_redirect_user(cache_key, application) + Rails.cache.write(cache_key, application, expires_in: 5.minutes) + end + def terms_of_use_url if Settings.review_instance_slug.present? "http://#{Settings.review_instance_slug}.review.vetsgov-internal/terms-of-use" @@ -114,11 +139,7 @@ def build_sso_url(link_authn_context, authn_con_compare = 'exact') end def enabled_tou_clients - if Settings.vsp_environment == 'production' - TERMS_OF_USE_ENABLED_CLIENTS - else - TERMS_OF_USE_ENABLED_CLIENTS_LOWERS - end + Settings.terms_of_use.enabled_clients.split(',').collect(&:strip) end end end diff --git a/lib/saml/url_service.rb b/lib/saml/url_service.rb index 9acd8d2fae2..9ee8371c520 100644 --- a/lib/saml/url_service.rb +++ b/lib/saml/url_service.rb @@ -25,8 +25,6 @@ class URLService WEB_CLIENT_ID = 'web' MOBILE_CLIENT_ID = 'mobile' UNIFIED_SIGN_IN_CLIENTS = %w[vaweb mhv myvahealth ebenefits vamobile vaoccmobile].freeze - TERMS_OF_USE_ENABLED_CLIENTS = %w[].freeze - TERMS_OF_USE_ENABLED_CLIENTS_LOWERS = %w[vaweb mhv myvahealth].freeze TERMS_OF_USE_DECLINED_PATH = '/terms-of-use/declined' attr_reader :saml_settings, :session, :user, :authn_context, :type, :query_params, :tracker diff --git a/lib/statsd_middleware.rb b/lib/statsd_middleware.rb index 7d54281a381..fd9d86a8069 100644 --- a/lib/statsd_middleware.rb +++ b/lib/statsd_middleware.rb @@ -95,6 +95,8 @@ class StatsdMiddleware messages mhv-inherited-proofing mhv-landing-page + mhv-secure-messaging + mhv-secure-messaging-pilot mock-alternate-header-0845 mock-form mock-form-patterns-v3 diff --git a/modules/appeals_api/app/models/appeals_api/higher_level_review.rb b/modules/appeals_api/app/models/appeals_api/higher_level_review.rb index 0a6251cda7a..e718556a414 100644 --- a/modules/appeals_api/app/models/appeals_api/higher_level_review.rb +++ b/modules/appeals_api/app/models/appeals_api/higher_level_review.rb @@ -5,9 +5,11 @@ module AppealsApi class HigherLevelReview < ApplicationRecord + include AppealScopes include HlrStatus include PdfOutputPrep include ModelValidations + required_claimant_headers %w[ X-VA-NonVeteranClaimant-First-Name X-VA-NonVeteranClaimant-Last-Name diff --git a/modules/appeals_api/app/models/appeals_api/notice_of_disagreement.rb b/modules/appeals_api/app/models/appeals_api/notice_of_disagreement.rb index 31a07d91ec8..a5fbe41e75f 100644 --- a/modules/appeals_api/app/models/appeals_api/notice_of_disagreement.rb +++ b/modules/appeals_api/app/models/appeals_api/notice_of_disagreement.rb @@ -5,6 +5,7 @@ module AppealsApi class NoticeOfDisagreement < ApplicationRecord + include AppealScopes include NodStatus include PdfOutputPrep include ModelValidations diff --git a/modules/appeals_api/app/models/appeals_api/supplemental_claim.rb b/modules/appeals_api/app/models/appeals_api/supplemental_claim.rb index 2bfafbf9bae..d994814374a 100644 --- a/modules/appeals_api/app/models/appeals_api/supplemental_claim.rb +++ b/modules/appeals_api/app/models/appeals_api/supplemental_claim.rb @@ -4,9 +4,11 @@ module AppealsApi class SupplementalClaim < ApplicationRecord + include AppealScopes include ScStatus include PdfOutputPrep include ModelValidations + required_claimant_headers %w[X-VA-NonVeteranClaimant-First-Name X-VA-NonVeteranClaimant-Last-Name] attr_readonly :auth_headers diff --git a/modules/appeals_api/app/models/concerns/appeals_api/appeal_scopes.rb b/modules/appeals_api/app/models/concerns/appeals_api/appeal_scopes.rb new file mode 100644 index 00000000000..ddc4860526d --- /dev/null +++ b/modules/appeals_api/app/models/concerns/appeals_api/appeal_scopes.rb @@ -0,0 +1,36 @@ +# frozen_string_literal: true + +module AppealsApi + module AppealScopes + extend ActiveSupport::Concern + + included do + scope :without_status_updates_since, lambda { |time| + status_update_table = AppealsApi::StatusUpdate.table_name + join_clause = <<~JOIN + LEFT JOIN #{status_update_table} + ON #{table_name}.id = CAST(#{status_update_table}.statusable_id as uuid) + AND #{status_update_table}.id IS NULL + AND #{status_update_table}.statusable_type = '#{sanitize_sql(klass.name)}' + JOIN + where("#{table_name}.updated_at <= ?", time) + .where.not(id: joins(join_clause).where("#{status_update_table}.created_at >= ?", time).distinct.pluck(:id)) + } + + scope :with_pii, -> { where.not(form_data_ciphertext: nil).or(where.not(auth_headers_ciphertext: nil)) } + + scope :with_expired_pii, lambda { + # PII should be removed if... + # (1) appeal is in any state and the status last changed 45+ days ago, or... + with_pii.without_status_updates_since(45.days.ago) + # (2) appeal is in 'complete' or 'success' status and status last changed 7+ days ago, or... + .or(with_pii.where(table_name => { status: %w[complete success] }) + .without_status_updates_since(7.days.ago)) + # (3) appeal has 'Unidentified Mail' error and status last changed 7+ days ago. + .or(with_pii.where(table_name => { status: 'error' }) + .where(klass.arel_table[:detail].matches('%%Unidentified Mail%%')) + .without_status_updates_since(7.days.ago)) + } + end + end +end diff --git a/modules/appeals_api/app/services/appeals_api/remove_pii.rb b/modules/appeals_api/app/services/appeals_api/remove_pii.rb index 0828cb63f4a..c9626c78e1c 100644 --- a/modules/appeals_api/app/services/appeals_api/remove_pii.rb +++ b/modules/appeals_api/app/services/appeals_api/remove_pii.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require 'ddtrace' + module AppealsApi class RemovePii include SentryLogging @@ -15,13 +17,20 @@ def initialize(form_type:) end def run! - validate_form_type! + Datadog::Tracing.trace("#{self.class.name} - #{form_type}") do + validate_form_type! - result = remove_pii! + result = remove_pii! - log_failure_to_sentry if records_were_not_cleared(result) + if result.blank? && records_to_be_expunged.present? + ids = records_to_be_expunged.pluck(:id) + msg = "Failed to remove expired #{form_type} PII from records" + Rails.logger.error(msg, ids) + AppealsApi::Slack::Messager.new({ msg:, ids: }).notify! + end - result + result + end end private @@ -41,25 +50,13 @@ def valid_form_type? end def records_to_be_expunged - @records_to_be_expunged ||= - form_type.where.not(form_data_ciphertext: nil) - .or( - form_type.where.not( - auth_headers_ciphertext: nil - ) - ).pii_expunge_policy - end - - def records_were_not_cleared(result) - result.blank? && records_to_be_expunged.present? - end - - def log_failure_to_sentry - log_message_to_sentry( - "Failed to expunge PII from #{form_type} (modules/appeals_api)", - :error, - ids: records_to_be_expunged.pluck(:id) - ) + @records_to_be_expunged ||= if Flipper.enabled?(:decision_review_updated_pii_rules) + form_type.with_expired_pii + else + form_type.where.not(form_data_ciphertext: nil) + .or(form_type.where.not(auth_headers_ciphertext: nil)) + .pii_expunge_policy + end end end end diff --git a/modules/appeals_api/spec/services/appeals_api/remove_pii_spec.rb b/modules/appeals_api/spec/services/appeals_api/remove_pii_spec.rb index 659808ce983..62d9785c9e6 100644 --- a/modules/appeals_api/spec/services/appeals_api/remove_pii_spec.rb +++ b/modules/appeals_api/spec/services/appeals_api/remove_pii_spec.rb @@ -1,14 +1,189 @@ # frozen_string_literal: true require 'rails_helper' -require AppealsApi::Engine.root.join('spec', 'spec_helper.rb') + +def update_appeal_status(appeal, status, code: nil, detail: nil) + # At the time of writing, the `update_status` method for each appeal model involves kicking off a sidekiq job to + # create a matching StatusUpdate record. This is unwieldy in tests, so this method approximates the + # `appeal.update_status!` method without involving sidekiq. + appeal.update!(status:, code:, detail:) + + AppealsApi::StatusUpdate.create!( + from: appeal.status, + to: status, + status_update_time: Time.zone.now, + statusable_id: appeal.id, + statusable_type: appeal.class.name, + code:, + detail: + ) + + appeal +end + +shared_examples 'removes expired PII' do + let(:now) { Time.zone.now } + let(:code) { 'DOC202' } + let(:detail) { "Upstream status: #{VBADocuments::UploadSubmission::ERROR_UNIDENTIFIED_MAIL}" } + let(:misc_appeal_types) do + %i[minimal_notice_of_disagreement extra_notice_of_disagreement_v2 extra_notice_of_disagreement_v0 + higher_level_review_v1 extra_higher_level_review_v2 minimal_higher_level_review_v0 + extra_supplemental_claim minimal_supplemental_claim_v0] + end + + def create_appeals = [FactoryBot.create(v0_factory), FactoryBot.create(v2_factory)] + + def create_misc_appeals = create_appeals + misc_appeal_types.map { |f| FactoryBot.create(f) } + + let!(:unexpired_appeals) do # These should all be ignored and remain unchanged + appeals = [] + + # These otherwise meet removal criteria (1, 2, 3) but are not old enough + Timecop.freeze(now) do + appeals += create_misc_appeals + appeals += create_misc_appeals.map { |appeal| update_appeal_status(appeal, 'complete') } + appeals += create_misc_appeals.map { |appeal| update_appeal_status(appeal, 'success') } + appeals += create_misc_appeals.map { |appeal| update_appeal_status(appeal, 'error', code:, detail:) } + end + + # These are old enough to meet removal criteria around status updates (1) but will be disqualified by having more + # recent updates to the model + oldest_appeals = [] + Timecop.freeze(now - 45.days) do + oldest_appeals += create_misc_appeals.map { |appeal| update_appeal_status(appeal, 'processing') } + end + Timecop.freeze(now - 30.days) { oldest_appeals.map { |appeal| appeal.update(updated_at: Time.zone.now) } } + appeals += oldest_appeals + + # These are old enough to meet removal criteria (2, 3), but... + Timecop.freeze(now - 7.days) do + appeals += create_misc_appeals # (2) they are not in a 'success' or 'complete' state + appeals += create_misc_appeals.map do |appeal| # (3) they have an error other than "Unidentified Mail" + update_appeal_status(appeal, 'error', code: 'DOC104', detail: 'Other error') + end + end + + appeals + end + + let!(:expired_oldest_appeals) do + Timecop.freeze(now - 45.days) do + create_appeals + # These should be selected even though there are no status updates + create_appeals.map { |appeal| update_appeal_status(appeal, 'submitted') } + end + end + + let!(:expired_errored_appeals) do + Timecop.freeze(now - 7.days) do + create_appeals.map { |appeal| update_appeal_status(appeal, 'error', code:, detail:) } + end + end + + let!(:expired_done_appeals) do + Timecop.freeze(now - 7.days) do + successes = create_appeals.map { |appeal| update_appeal_status(appeal, 'success') } + completes = create_appeals.map { |appeal| update_appeal_status(appeal, 'complete') } + successes + completes + end + end + + let(:expired_appeals) { expired_oldest_appeals + expired_errored_appeals + expired_done_appeals } + + before { AppealsApi::RemovePii.new(form_type:).run! } + + it 'does not remove unexpired PII' do + unexpired_appeals.each do |appeal| + appeal.reload + expect(appeal.form_data).to be_present + expect(appeal.auth_headers).to be_present if appeal.api_version == 'V2' + end + end + + it 'removes oldest expired PII' do + expired_oldest_appeals.each do |appeal| + appeal.reload + expect(appeal.form_data).to be_blank + expect(appeal.auth_headers).to be_blank + end + end + + it 'removes old complete/success PII' do + expired_done_appeals.each do |appeal| + appeal.reload + expect(appeal.form_data).to be_blank + expect(appeal.auth_headers).to be_blank + end + end + + it 'removes old Unidentified Mail errored PII' do + expired_errored_appeals.each do |appeal| + appeal.reload + expect(appeal.form_data).to be_blank + expect(appeal.auth_headers).to be_blank + end + end +end describe AppealsApi::RemovePii do + describe '#run! with new PII rules' do + context 'with Higher-Level Review' do + let(:v2_factory) { :higher_level_review_v2 } + let(:v0_factory) { :higher_level_review_v0 } + let(:form_type) { AppealsApi::HigherLevelReview } + + include_examples 'removes expired PII' + end + + context 'with Supplemental Claim' do + let(:v2_factory) { :supplemental_claim } + let(:v0_factory) { :supplemental_claim_v0 } + let(:form_type) { AppealsApi::SupplementalClaim } + + include_examples 'removes expired PII' + end + + context 'with Notice of Disagreement' do + let(:v2_factory) { :notice_of_disagreement_v2 } + let(:v0_factory) { :notice_of_disagreement_v0 } + let(:form_type) { AppealsApi::NoticeOfDisagreement } + + include_examples 'removes expired PII' + end + end + describe '#run!' do + before { Flipper.disable :decision_review_updated_pii_rules } + it 'raises an ArgumentError if an invalid form type is supplied' do expect { AppealsApi::RemovePii.new(form_type: 'Invalid').run! }.to raise_error(ArgumentError) end + context 'when the removal fails' do + let!(:appeals) do + Timecop.freeze(100.days.ago) do + status = 'complete' + [create(:supplemental_claim, status:), create(:supplemental_claim_v0, status:)] + end + end + + before do + instance = AppealsApi::RemovePii.new(form_type: AppealsApi::SupplementalClaim) + msg = 'Failed to remove expired AppealsApi::SupplementalClaim PII from records' + expect(Rails.logger).to receive(:error).with(msg, appeals.map(&:id)) + expect_any_instance_of(AppealsApi::Slack::Messager).to receive(:notify!) + allow(instance).to receive(:remove_pii!).and_return [] + instance.run! + end + + it 'logs an error and the IDs of records whose PII failed to be removed' do + appeals.each do |appeal| + appeal.reload + expect(appeal.auth_headers).to be_present + expect(appeal.form_data).to be_present + end + end + end + it 'removes PII from HLR records needing PII removal' do day_old_has_pii_v2 = create :higher_level_review_v2, status: 'complete' day_old_has_pii_v2.update updated_at: 1.day.ago @@ -121,13 +296,5 @@ expect(week_old_has_pii_error.reload.form_data_ciphertext).to be_present end end - - it 'sends a message to sentry if the removal failed.' do - allow_any_instance_of(AppealsApi::RemovePii).to receive(:records_were_not_cleared).and_return(true) - service = AppealsApi::RemovePii.new(form_type: AppealsApi::NoticeOfDisagreement) - expect(service).to receive(:log_failure_to_sentry) - - service.run! - end end end diff --git a/modules/ask_va_api/app/controllers/ask_va_api/application_controller.rb b/modules/ask_va_api/app/controllers/ask_va_api/application_controller.rb index e0cf79eb21b..0c32067ccec 100644 --- a/modules/ask_va_api/app/controllers/ask_va_api/application_controller.rb +++ b/modules/ask_va_api/app/controllers/ask_va_api/application_controller.rb @@ -8,8 +8,6 @@ class ApplicationController < ::ApplicationController def handle_exceptions yield - rescue AskVAApi::V0::InquiriesController::InvalidInquiryError => e - log_and_render_error('invalid_inquiry_error', e, :bad_request) rescue ErrorHandler::ServiceError, Crm::ErrorHandler::ServiceError => e log_and_render_error('service_error', e, :unprocessable_entity) rescue => e diff --git a/modules/ask_va_api/app/controllers/ask_va_api/v0/inquiries_controller.rb b/modules/ask_va_api/app/controllers/ask_va_api/v0/inquiries_controller.rb index 829268f6e51..0ec2b8d17ed 100644 --- a/modules/ask_va_api/app/controllers/ask_va_api/v0/inquiries_controller.rb +++ b/modules/ask_va_api/app/controllers/ask_va_api/v0/inquiries_controller.rb @@ -6,8 +6,8 @@ class InquiriesController < ApplicationController around_action :handle_exceptions before_action :get_inquiries_by_icn, only: [:index] before_action :get_inquiry_by_id, only: [:show] - skip_before_action :authenticate, only: %i[unauth_create upload_attachment] - skip_before_action :verify_authenticity_token, only: %i[unauth_create upload_attachment] + skip_before_action :authenticate, only: %i[unauth_create upload_attachment test_create] + skip_before_action :verify_authenticity_token, only: %i[unauth_create upload_attachment test_create] def index render json: @user_inquiries.payload, status: @user_inquiries.status @@ -17,6 +17,14 @@ def show render json: @inquiry.payload, status: @inquiry.status end + def test_create + service = Crm::Service.new(icn: nil) + payload = { reply: params[:reply] } + response = service.call(endpoint: params[:endpoint], method: :post, payload:) + + render json: response.to_json, status: :ok + end + def create render json: { message: 'success' }, status: :created end @@ -59,14 +67,11 @@ def inquiry_params def get_inquiry_by_id inq = retriever.fetch_by_id(id: params[:id]) - - raise InvalidInquiryError if inq.is_a?(Hash) - @inquiry = Result.new(payload: Inquiries::Serializer.new(inq).serializable_hash, status: :ok) end def get_inquiries_by_icn - inquiries = retriever.fetch_by_icn + inquiries = retriever.call @user_inquiries = Result.new(payload: Inquiries::Serializer.new(inquiries).serializable_hash, status: :ok) end @@ -89,11 +94,11 @@ def mock_service end def retriever - @retriever ||= Inquiries::Retriever.new(icn: current_user.icn, service: mock_service) + entity_class = AskVAApi::Inquiries::Entity + @retriever ||= Inquiries::Retriever.new(icn: current_user.icn, user_mock_data: params[:mock], entity_class:) end Result = Struct.new(:payload, :status, keyword_init: true) - class InvalidInquiryError < StandardError; end class InvalidAttachmentError < StandardError; end end end diff --git a/modules/ask_va_api/app/lib/ask_va_api/base_retriever.rb b/modules/ask_va_api/app/lib/ask_va_api/base_retriever.rb index 3abf77440c8..1b7b678f4e4 100644 --- a/modules/ask_va_api/app/lib/ask_va_api/base_retriever.rb +++ b/modules/ask_va_api/app/lib/ask_va_api/base_retriever.rb @@ -10,8 +10,11 @@ def initialize(user_mock_data:, entity_class:) end def call - data_array = fetch_data - data_array.map { |item| entity_class.new(item) } + if fetch_data.is_a?(Array) + fetch_data.map { |item| entity_class.new(item) } + else + entity_class.new(fetch_data) + end rescue => e ::ErrorHandler.handle_service_error(e) end diff --git a/modules/ask_va_api/app/lib/ask_va_api/correspondences/creator.rb b/modules/ask_va_api/app/lib/ask_va_api/correspondences/creator.rb index 09d91f58cda..8e22434a394 100644 --- a/modules/ask_va_api/app/lib/ask_va_api/correspondences/creator.rb +++ b/modules/ask_va_api/app/lib/ask_va_api/correspondences/creator.rb @@ -29,7 +29,7 @@ def default_service def post_data(payload: {}) endpoint = "inquiries/#{inquiry_id}/reply/new" - response = service.call(endpoint:, payload:) + response = service.call(endpoint:, method: :post, payload:) handle_response_data(response) end diff --git a/modules/ask_va_api/app/lib/ask_va_api/correspondences/entity.rb b/modules/ask_va_api/app/lib/ask_va_api/correspondences/entity.rb index e8bb5a001e6..5078951380e 100644 --- a/modules/ask_va_api/app/lib/ask_va_api/correspondences/entity.rb +++ b/modules/ask_va_api/app/lib/ask_va_api/correspondences/entity.rb @@ -4,7 +4,6 @@ module AskVAApi module Correspondences class Entity attr_reader :id, - :inquiry_id, :message_type, :modified_on, :status_reason, @@ -14,7 +13,6 @@ class Entity def initialize(info) @id = info[:Id] - @inquiry_id = info[:InquiryId] @message_type = info[:MessageType] @modified_on = info[:ModifiedOn] @status_reason = info[:StatusReason] diff --git a/modules/ask_va_api/app/lib/ask_va_api/correspondences/retriever.rb b/modules/ask_va_api/app/lib/ask_va_api/correspondences/retriever.rb index a249ca6f7ef..f62f4368663 100644 --- a/modules/ask_va_api/app/lib/ask_va_api/correspondences/retriever.rb +++ b/modules/ask_va_api/app/lib/ask_va_api/correspondences/retriever.rb @@ -2,37 +2,45 @@ module AskVAApi module Correspondences - ENDPOINT = 'replies' + class CorrespondencesRetrieverError < StandardError; end - class Retriever - attr_reader :inquiry_id, :service + class Retriever < BaseRetriever + attr_reader :inquiry_id, :entity_class - def initialize(inquiry_id:, service: nil) + def initialize(inquiry_id:, user_mock_data:, entity_class:) + super(user_mock_data:, entity_class:) @inquiry_id = inquiry_id - @service = service || default_service end - def call + private + + def fetch_data validate_input(inquiry_id, 'Invalid Inquiry ID') - fetch_data(payload: { InquiryId: inquiry_id }).map do |cor| - Entity.new(cor) + if user_mock_data + data = File.read('modules/ask_va_api/config/locales/get_replies_mock_data.json') + + data = JSON.parse(data, symbolize_names: true)[:Data] + filter_data(data) + else + endpoint = "inquiry/#{inquiry_id}/replies" + + response = Crm::Service.new(icn: nil).call(endpoint:) + handle_response_data(response) end - rescue => e - ErrorHandler.handle_service_error(e) end - private - - def default_service - Crm::Service.new(icn: nil) + def validate_input(input, error_message) + raise ArgumentError, error_message if input.blank? end - def fetch_data(payload: {}) - service.call(endpoint: ENDPOINT, payload:)[:Data] + def filter_data(data) + data.select do |cor| + cor[:InquiryId] == inquiry_id + end end - def validate_input(input, error_message) - raise ArgumentError, error_message if input.blank? + def handle_response_data(response) + response[:Data].presence || raise(CorrespondencesRetrieverError, response[:Message]) end end end diff --git a/modules/ask_va_api/app/lib/ask_va_api/correspondences/serializer.rb b/modules/ask_va_api/app/lib/ask_va_api/correspondences/serializer.rb index d4900c2b1e6..6a8cc42e6e6 100644 --- a/modules/ask_va_api/app/lib/ask_va_api/correspondences/serializer.rb +++ b/modules/ask_va_api/app/lib/ask_va_api/correspondences/serializer.rb @@ -6,8 +6,7 @@ class Serializer < ActiveModel::Serializer include JSONAPI::Serializer set_type :correspondence - attributes :inquiry_id, - :message_type, + attributes :message_type, :modified_on, :status_reason, :description, diff --git a/modules/ask_va_api/app/lib/ask_va_api/inquiries/retriever.rb b/modules/ask_va_api/app/lib/ask_va_api/inquiries/retriever.rb index cd1fcad5907..0951d724eb8 100644 --- a/modules/ask_va_api/app/lib/ask_va_api/inquiries/retriever.rb +++ b/modules/ask_va_api/app/lib/ask_va_api/inquiries/retriever.rb @@ -2,51 +2,62 @@ module AskVAApi module Inquiries - ENDPOINT = 'inquiries' + class InquiriesRetrieverError < StandardError; end - class Retriever - attr_reader :service, :icn + class Retriever < BaseRetriever + attr_reader :icn, :user_mock_data, :entity_class - def initialize(icn:, service: nil) + def initialize(user_mock_data:, entity_class:, icn: nil) + super(user_mock_data:, entity_class:) @icn = icn - @service = service || default_service end def fetch_by_id(id:) - validate_input(id, 'Invalid ID') - reply = Correspondences::Retriever.new(inquiry_id: id, service:).call - data = fetch_data(payload: { id: }) - return {} if data.blank? + inq = fetch_data(id) + reply = fetch_correspondences(inquiry_id: id) - Entity.new(data, reply) + entity_class.new(inq.first, reply) rescue => e - ErrorHandler.handle_service_error(e) + ::ErrorHandler.handle_service_error(e) end - def fetch_by_icn - validate_input(icn, 'Invalid ICN') - data = fetch_data(payload: { icn: }) - if data.empty? - data + private + + def fetch_data(id = nil) + if user_mock_data + data = read_mock_data('get_inquiries_mock_data.json') + filter_data(data, id) else - data.map { |inq| Entity.new(inq) } + endpoint = 'inquiries' + id ||= icn + payload = { id: } + + response = Crm::Service.new(icn:).call(endpoint:, payload:) + handle_response_data(response) end - rescue => e - ErrorHandler.handle_service_error(e) end - private + def fetch_correspondences(inquiry_id:) + Correspondences::Retriever.new( + inquiry_id:, + user_mock_data:, + entity_class: AskVAApi::Correspondences::Entity + ).call + end - def default_service - Crm::Service.new(icn:) + def read_mock_data(file_name) + data = File.read("modules/ask_va_api/config/locales/#{file_name}") + JSON.parse(data, symbolize_names: true)[:Data] end - def fetch_data(payload: {}) - service.call(endpoint: ENDPOINT, payload:)[:Data] + def filter_data(data, id = nil) + data.select do |inq| + id ? inq[:InquiryNumber] == id : inq[:Icn] == icn + end end - def validate_input(input, error_message) - raise ArgumentError, error_message if input.blank? + def handle_response_data(response) + response[:Data].presence || raise(InquiriesRetrieverError, response[:Message]) end end end diff --git a/modules/ask_va_api/config/locales/get_replies_mock_data.json b/modules/ask_va_api/config/locales/get_replies_mock_data.json index 36ae486909e..f4f23d483fc 100644 --- a/modules/ask_va_api/config/locales/get_replies_mock_data.json +++ b/modules/ask_va_api/config/locales/get_replies_mock_data.json @@ -1,7 +1,7 @@ { "Data": [ { - "InquiryId": "1", + "InquiryId": "A-1", "Id": "1", "ModifiedOn": "1/2/23", "StatusReason": "Completed/Sent", @@ -16,7 +16,7 @@ ] }, { - "InquiryId": "2", + "InquiryId": "A-2", "Id": "2", "ModifiedOn": "1/21/23", "StatusReason": "Completed/Sent", @@ -31,7 +31,7 @@ ] }, { - "InquiryId": "2", + "InquiryId": "A-2", "Id": "3", "ModifiedOn": "1/22/23", "StatusReason": "Completed/Sent", @@ -41,7 +41,7 @@ "AttachmentNames": [] }, { - "InquiryId": "2", + "InquiryId": "A-2", "Id": "4", "ModifiedOn": "1/23/23", "StatusReason": "Completed/Sent", @@ -51,7 +51,7 @@ "AttachmentNames": [] }, { - "InquiryId": "9", + "InquiryId": "A-9", "Id": "5", "ModifiedOn": "8/23/23", "StatusReason": "Completed/Sent", @@ -61,7 +61,7 @@ "AttachmentNames": [] }, { - "InquiryId": "9", + "InquiryId": "A-9", "Id": "6", "ModifiedOn": "8/24/23", "StatusReason": "Completed/Sent", @@ -71,7 +71,7 @@ "AttachmentNames": [] }, { - "InquiryId": "9", + "InquiryId": "A-9", "Id": "7", "ModifiedOn": "8/24/23", "StatusReason": "Completed/Sent", @@ -81,7 +81,7 @@ "AttachmentNames": [] }, { - "InquiryId": "9", + "InquiryId": "A-9", "Id": "7", "ModifiedOn": "8/25/23", "StatusReason": "Completed/Sent", @@ -91,7 +91,7 @@ "AttachmentNames": [] }, { - "InquiryId": "9", + "InquiryId": "A-9", "Id": "8", "ModifiedOn": "8/26/23", "StatusReason": "Completed/Sent", @@ -101,7 +101,7 @@ "AttachmentNames": [] }, { - "InquiryId": "9", + "InquiryId": "A-9", "Id": "8", "ModifiedOn": "8/26/23", "StatusReason": "Completed/Sent", @@ -111,7 +111,7 @@ "AttachmentNames": [] }, { - "InquiryId": "9", + "InquiryId": "A-9", "Id": "9", "ModifiedOn": "8/28/23", "StatusReason": "Completed/Sent", diff --git a/modules/ask_va_api/config/routes.rb b/modules/ask_va_api/config/routes.rb index 0c43f79eb11..eb52ce26270 100644 --- a/modules/ask_va_api/config/routes.rb +++ b/modules/ask_va_api/config/routes.rb @@ -15,6 +15,7 @@ post '/inquiries', to: 'inquiries#unauth_create' post '/upload_attachment', to: 'inquiries#upload_attachment' post '/inquiries/:id/reply/new', to: 'inquiries#create_reply' + post '/test_create', to: 'inquiries#test_create' # static_data get '/categories', to: 'static_data#categories' diff --git a/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/entity_spec.rb b/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/entity_spec.rb index 5fd91ba4c52..c6f0f9931bf 100644 --- a/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/entity_spec.rb +++ b/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/entity_spec.rb @@ -7,7 +7,6 @@ let(:info) do { - InquiryId: '1', Id: '1', ModifiedOn: '1/2/23', StatusReason: 'Completed/Sent', @@ -26,7 +25,6 @@ it 'creates an correspondence' do expect(correspondence).to have_attributes( - inquiry_id: info[:InquiryId], id: info[:Id], modified_on: info[:ModifiedOn], status_reason: info[:StatusReason], diff --git a/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/retriever_spec.rb b/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/retriever_spec.rb index cc8311c6052..3eed7120732 100644 --- a/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/retriever_spec.rb +++ b/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/retriever_spec.rb @@ -3,17 +3,17 @@ require 'rails_helper' RSpec.describe AskVAApi::Correspondences::Retriever do - subject(:retriever) { described_class.new(inquiry_id:) } + subject(:retriever) do + described_class.new(inquiry_id:, user_mock_data:, entity_class: AskVAApi::Correspondences::Entity) + end let(:service) { instance_double(Crm::Service) } - let(:entity) { instance_double(AskVAApi::Correspondences::Entity) } - let(:inquiry_id) { '1' } + let(:inquiry_id) { 'A-1' } let(:error_message) { 'Some error occurred' } - let(:payload) { { inquiry_id: '1' } } + let(:user_mock_data) { false } before do allow(Crm::Service).to receive(:new).and_return(service) - allow(AskVAApi::Correspondences::Entity).to receive(:new).and_return(entity) allow(service).to receive(:call) end @@ -28,29 +28,75 @@ end context 'when Crm raise an error' do - let(:payload) { { InquiryId: '1' } } - let(:response) { instance_double(Faraday::Response, status: 400, body: 'Bad Request') } - let(:endpoint) { AskVAApi::Correspondences::ENDPOINT } - let(:error_message) { "Bad request to #{endpoint}: #{response.body}" } + let(:endpoint) { 'inquiries/1/replies' } + let(:response) do + { Data: [], + Message: 'Data Validation: No Inquiry Found', + ExceptionOccurred: true, + ExceptionMessage: 'Data Validation: No Inquiry Found', + MessageId: '2d746074-9e5c-4987-a894-e3f834b156b5' } + end before do - allow(service).to receive(:call) - .with(endpoint:, payload:) - .and_raise(Crm::ErrorHandler::ServiceError, error_message) + allow_any_instance_of(Crm::CrmToken).to receive(:call).and_return('Token') + allow(service).to receive(:call).and_return(response) end - it 'raises an Error' do - expect do - retriever.call - end.to raise_error(ErrorHandler::ServiceError, "Crm::ErrorHandler::ServiceError: #{error_message}") + it 'raise CorrespondenceRetrieverError' do + expect { retriever.call }.to raise_error(ErrorHandler::ServiceError) end end - it 'returns an array object with correct data' do - allow(service).to receive(:call) - .with(endpoint: 'replies', payload: { InquiryId: inquiry_id }) - .and_return({ Data: [double] }) - expect(retriever.call).to eq([entity]) + context 'when successful' do + context 'with user_mock_data' do + let(:user_mock_data) { true } + + it 'returns an array object with correct data' do + expect(retriever.call.first).to be_a(AskVAApi::Correspondences::Entity) + end + end + + context 'with Crm::Service' do + let(:crm_response) do + { + Data: [ + { + Id: 'a5247de6-62c4-ee11-907a-001dd804eab2', + ModifiedOn: '2/5/2024 8:14:48 PM', + StatusReason: 'PendingSend', + Description: 'Dear aminul, Thank you for submitting ' \ + 'your Inquiry with the U.S.', + MessageType: 'Notification', + EnableReply: true, + AttachmentNames: nil + }, + { + Id: 'f4b12ee3-93bb-ed11-9886-001dd806a6a7', + ModifiedOn: '3/5/2023 8:25:49 PM', + StatusReason: 'Sent', + Description: 'Dear aminul, Thank you for submitting your ' \ + 'Inquiry with the U.S. Department of Veteran Affairs.', + MessageType: 'Notification', + EnableReply: true, + AttachmentNames: nil + } + ], + Message: nil, + ExceptionOccurred: false, + ExceptionMessage: nil, + MessageId: '086594d9-188b-46b0-9ce2-b8b36329506b' + } + end + + before do + allow_any_instance_of(Crm::CrmToken).to receive(:call).and_return('Token') + allow(service).to receive(:call).and_return(crm_response) + end + + it 'returns an array object with correct data' do + expect(retriever.call.first).to be_a(AskVAApi::Correspondences::Entity) + end + end end end end diff --git a/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/serializer_spec.rb b/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/serializer_spec.rb index fe5b272a0ad..72c30cd5d72 100644 --- a/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/serializer_spec.rb +++ b/modules/ask_va_api/spec/app/lib/ask_va_api/correspondences/serializer_spec.rb @@ -9,15 +9,14 @@ let(:cor2) { AskVAApi::Correspondences::Entity.new(data.last) } let(:response) { described_class.new([cor1]) } let(:expected_response) do - { data: [{ id: '1', - type: :correspondence, - attributes: { inquiry_id: '1', - message_type: '722310001: Response from VA', - modified_on: '1/2/23', - status_reason: 'Completed/Sent', - description: 'Your claim is still In Progress', - enable_reply: true, - attachments: [{ Id: '12', Name: 'correspondence_1_attachment.pdf' }] } }] } + { data: [{ id: '1', type: :correspondence, + attributes: { message_type: '722310001: Response from VA', + modified_on: '1/2/23', + status_reason: 'Completed/Sent', + description: 'Your claim is still In Progress', + enable_reply: true, + attachments: [{ Id: '12', + Name: 'correspondence_1_attachment.pdf' }] } }] } end context 'when successful' do diff --git a/modules/ask_va_api/spec/app/lib/ask_va_api/inquiries/retriever_spec.rb b/modules/ask_va_api/spec/app/lib/ask_va_api/inquiries/retriever_spec.rb index d4c64631c94..b848c81cb93 100644 --- a/modules/ask_va_api/spec/app/lib/ask_va_api/inquiries/retriever_spec.rb +++ b/modules/ask_va_api/spec/app/lib/ask_va_api/inquiries/retriever_spec.rb @@ -3,75 +3,159 @@ require 'rails_helper' RSpec.describe AskVAApi::Inquiries::Retriever do - subject(:retriever) { described_class.new(icn:, service:) } + subject(:retriever) do + described_class.new(user_mock_data:, entity_class: AskVAApi::Inquiries::Entity, icn:) + end - let(:icn) { YAML.load_file('./modules/ask_va_api/config/locales/constants.yml')['test_users']['test_user_228_icn'] } - let(:service) { DynamicsMockService.new(icn:) } - let(:correspondences) { instance_double(AskVAApi::Correspondences::Retriever) } - let(:entity) { instance_double(AskVAApi::Inquiries::Entity) } - let(:id) { '1' } + let(:service) { instance_double(Crm::Service) } + let(:icn) { nil } let(:error_message) { 'Some error occurred' } - let(:payload) { { id: '1' } } + let(:user_mock_data) { false } before do - allow(AskVAApi::Correspondences::Retriever).to receive(:new).and_return(correspondences) - allow(correspondences).to receive(:call).and_return(entity) - allow(AskVAApi::Inquiries::Entity).to receive(:new).and_return(entity) + allow(Crm::Service).to receive(:new).and_return(service) + allow(service).to receive(:call) end - describe '#fetch_by_id' do - it 'returns an Entity object with correct data' do - expect(retriever.fetch_by_id(id:)).to eq(entity) - end - - context 'when id is blank' do - let(:id) { nil } - - it 'raises an ErrorHandler::ServiceError' do - expect { retriever.fetch_by_id(id:) } - .to raise_error(ErrorHandler::ServiceError, 'ArgumentError: Invalid ID') - end - end - + describe '#call' do context 'when Crm raise an error' do - let(:payload) { { id: 'A-1' } } - let(:response) { instance_double(Faraday::Response, status: 400, body: 'Bad Request') } - let(:endpoint) { AskVAApi::Inquiries::ENDPOINT } - let(:error_message) { "Bad request to #{endpoint}: #{response.body}" } + let(:icn) { '123' } + let(:response) do + { Data: nil, + Message: 'Data Validation: No Contact found by ICN', + ExceptionOccurred: true, + ExceptionMessage: 'Data Validation: No Contact found by ICN', + MessageId: '2733ca25-7e64-4fbc-af2c-366f4bd2e3dc' } + end before do - allow(service).to receive(:call) - .with(endpoint:, payload:) - .and_raise(Crm::ErrorHandler::ServiceError, error_message) + allow_any_instance_of(Crm::CrmToken).to receive(:call).and_return('Token') + allow(service).to receive(:call).and_return(response) end - it 'raises a FetchInquiriesError' do - expect do - retriever.fetch_by_id(id: 'A-1') - end.to raise_error(ErrorHandler::ServiceError, "Crm::ErrorHandler::ServiceError: #{error_message}") + it 'raise CorrespondenceRetrieverrError' do + expect { retriever.call }.to raise_error(ErrorHandler::ServiceError) end end - end - describe '#fetch_by_icn' do - context 'when icn is blank' do - let(:icn) { nil } + context 'when successful' do + context 'with user_mock_data' do + context 'when an ID is given' do + let(:user_mock_data) { true } + let(:id) { 'A-1' } - it 'raises an ErrorHandler::ServiceError' do - expect { retriever.fetch_by_icn } - .to raise_error(ErrorHandler::ServiceError, 'ArgumentError: Invalid ICN') - end - end + it 'returns an array object with correct data' do + expect(retriever.fetch_by_id(id:)).to be_a(AskVAApi::Inquiries::Entity) + end + end + + context 'when an ICN is given' do + let(:user_mock_data) { true } + let(:icn) { '1008709396V637156' } - context 'when icn is present' do - it 'returns an array of Entity objects' do - expect(retriever.fetch_by_icn.first).to eq(entity) + it 'returns an array object with correct data' do + expect(retriever.call.first).to be_a(AskVAApi::Inquiries::Entity) + end + end end - context 'when there are no inquiries' do - it 'returns an empty array' do - allow(service).to receive(:call).and_return({ Data: [] }) - expect(retriever.fetch_by_icn).to be_empty + context 'with Crm::Service' do + context 'when an ID is given' do + let(:id) { '123' } + let(:response) do + { Data: [{ Id: '154163f2-8fbb-ed11-9ac4-00155da17a6f', + InquiryNumber: 'A-20230305-306178', + InquiryStatus: 'Reopened', + SubmitterQuestion: 'test', + LastUpdate: '4/1/2024 12:00:00 AM', + InquiryHasAttachments: true, + InquiryHasBeenSplit: true, + VeteranRelationship: 'GIBillBeneficiary', + SchoolFacilityCode: '77a51029-6816-e611-9436-0050568d743d', + InquiryTopic: 'Medical Care Concerns at a VA Medical Facility', + InquiryLevelOfAuthentication: 'Unauthenticated', + AttachmentNames: [{ Id: '367e8d31-6c82-1d3c-81b8-dd2cabed7555', + Name: 'Test.txt' }] }] } + end + + before do + allow_any_instance_of(Crm::CrmToken).to receive(:call).and_return('Token') + allow(service).to receive(:call).and_return(response) + end + + it 'returns an array object with correct data' do + expect(retriever.fetch_by_id(id:)).to be_a(AskVAApi::Inquiries::Entity) + end + end + + context 'when an ICN is given' do + let(:icn) { '1013694290V263188' } + let(:response) do + { + Data: [ + { + Id: '154163f2-8fbb-ed11-9ac4-00155da17a6f', + InquiryNumber: 'A-20230305-306178', + InquiryStatus: 'Reopened', + SubmitterQuestion: 'test', + LastUpdate: '4/1/2024 12:00:00 AM', + InquiryHasAttachments: true, + InquiryHasBeenSplit: true, + VeteranRelationship: 'GIBillBeneficiary', + SchoolFacilityCode: '77a51029-6816-e611-9436-0050568d743d', + InquiryTopic: 'Medical Care Concerns at a VA Medical Facility', + InquiryLevelOfAuthentication: 'Unauthenticated', + AttachmentNames: [ + { + Id: '367e8d31-6c82-1d3c-81b8-dd2cabed7555', + Name: 'Test.txt' + } + ] + }, + { + Id: 'b24e8113-92d1-ed11-9ac4-00155da17a6f', + InquiryNumber: 'A-20230402-306218', + InquiryStatus: 'New', + SubmitterQuestion: 'test', + LastUpdate: '1/1/0001 12:00:00 AM', + InquiryHasAttachments: false, + InquiryHasBeenSplit: false, + VeteranRelationship: nil, + SchoolFacilityCode: '77a51029-6816-e611-9436-0050568d743d', + InquiryTopic: 'Medical Care Concerns at a VA Medical Facility', + InquiryLevelOfAuthentication: 'Personal', + AttachmentNames: nil + }, + { + Id: 'e1ce6ae6-40ec-ee11-904d-001dd8306a72', + InquiryNumber: 'A-20240327-307060', + InquiryStatus: 'New', + SubmitterQuestion: 'test', + LastUpdate: '3/27/2024 12:00:00 AM', + InquiryHasAttachments: true, + InquiryHasBeenSplit: true, + VeteranRelationship: nil, + SchoolFacilityCode: nil, + InquiryTopic: 'Filing for compensation benefits', + InquiryLevelOfAuthentication: 'Personal', + AttachmentNames: nil + } + ], + Message: nil, + ExceptionOccurred: false, + ExceptionMessage: nil, + MessageId: '3779a3c5-15a5-4846-8198-d499a0bbfe1f' + } + end + + before do + allow_any_instance_of(Crm::CrmToken).to receive(:call).and_return('Token') + allow(service).to receive(:call).and_return(response) + end + + it 'returns an array object with correct data' do + expect(retriever.call.first).to be_a(AskVAApi::Inquiries::Entity) + end end end end diff --git a/modules/ask_va_api/spec/app/lib/ask_va_api/optionset/retriever_spec.rb b/modules/ask_va_api/spec/app/lib/ask_va_api/optionset/retriever_spec.rb index 53734fa6b7d..397bc122d97 100644 --- a/modules/ask_va_api/spec/app/lib/ask_va_api/optionset/retriever_spec.rb +++ b/modules/ask_va_api/spec/app/lib/ask_va_api/optionset/retriever_spec.rb @@ -30,9 +30,6 @@ module Optionset it 'calls on Crm::CacheData' do expect(retriever.call).to all(be_a(entity_class)) - - expect(cache_data_service).to have_received(:call).with(endpoint: 'OptionSet', cache_key: name, - payload: { name: 'iris_branchofservice' }) end end end diff --git a/modules/ask_va_api/spec/app/lib/ask_va_api/optionset/serializer_spec.rb b/modules/ask_va_api/spec/app/lib/ask_va_api/optionset/serializer_spec.rb index 56d7b067e72..0d3d2901cfd 100644 --- a/modules/ask_va_api/spec/app/lib/ask_va_api/optionset/serializer_spec.rb +++ b/modules/ask_va_api/spec/app/lib/ask_va_api/optionset/serializer_spec.rb @@ -11,13 +11,7 @@ end let(:optionset) { AskVAApi::Optionset::Entity.new(info) } let(:response) { described_class.new(optionset) } - let(:expected_response) do - { data: { id: '722310000', - type: :optionsets, - attributes: { - name: info[:Name] - } } } - end + let(:expected_response) { { data: { id: '722310000', type: :optionsets, attributes: { name: 'Air Force' } } } } context 'when successful' do it 'returns a json hash' do diff --git a/modules/ask_va_api/spec/requests/v0/inquiries_spec.rb b/modules/ask_va_api/spec/requests/v0/inquiries_spec.rb index 3f64c8facf1..3e1bf2ffd11 100644 --- a/modules/ask_va_api/spec/requests/v0/inquiries_spec.rb +++ b/modules/ask_va_api/spec/requests/v0/inquiries_spec.rb @@ -11,7 +11,7 @@ let(:mock_inquiries) do JSON.parse(File.read('modules/ask_va_api/config/locales/get_inquiries_mock_data.json'))['Data'] end - let(:valid_id) { mock_inquiries.first['Id'] } + let(:valid_id) { mock_inquiries.first['InquiryNumber'] } let(:invalid_id) { 'invalid-id' } before do @@ -100,8 +100,20 @@ end end + describe 'POST #test_create' do + before do + allow_any_instance_of(Crm::Service).to receive(:call).and_return({ message: 'success' }) + post '/ask_va_api/v0/test_create', + params: { 'reply' => 'test', 'endpoint' => 'inquiries/id/reply/new' }, + as: :json + end + + it 'response with 200' do + expect(response).to have_http_status(:ok) + end + end + describe 'GET #show' do - let(:id) { valid_id } let(:expected_response) do { 'data' => { 'id' => '1', @@ -113,7 +125,6 @@ 'id' => '1', 'type' => 'correspondence', 'attributes' => { - 'inquiry_id' => '1', 'message_type' => '722310001: Response from VA', 'modified_on' => '1/2/23', 'status_reason' => 'Completed/Sent', @@ -139,37 +150,104 @@ end context 'when user is signed in' do - before do - sign_in(authorized_user) - get "#{inquiry_path}/#{id}", params: { mock: true } + context 'when mock is given' do + before do + sign_in(authorized_user) + get "#{inquiry_path}/#{valid_id}", params: { mock: true } + end + + it { expect(response).to have_http_status(:ok) } + it { expect(JSON.parse(response.body)).to eq(expected_response) } end - it { expect(response).to have_http_status(:ok) } - it { expect(JSON.parse(response.body)).to eq(expected_response) } + context 'when mock is not given' do + let(:crm_response) do + { Data: [{ Id: '154163f2-8fbb-ed11-9ac4-00155da17a6f', + InquiryNumber: 'A-20230305-306178', + InquiryStatus: 'Reopened', + SubmitterQuestion: 'test', + LastUpdate: '4/1/2024 12:00:00 AM', + InquiryHasAttachments: true, + InquiryHasBeenSplit: true, + VeteranRelationship: 'GIBillBeneficiary', + SchoolFacilityCode: '77a51029-6816-e611-9436-0050568d743d', + InquiryTopic: 'Medical Care Concerns at a VA Medical Facility', + InquiryLevelOfAuthentication: 'Unauthenticated', + AttachmentNames: [{ Id: '367e8d31-6c82-1d3c-81b8-dd2cabed7555', + Name: 'Test.txt' }] }] } + end + let(:expected_response) do + { 'data' => + { 'id' => '154163f2-8fbb-ed11-9ac4-00155da17a6f', + 'type' => 'inquiry', + 'attributes' => + { 'inquiry_number' => 'A-20230305-306178', + 'attachments' => [{ 'Id' => '367e8d31-6c82-1d3c-81b8-dd2cabed7555', 'Name' => 'Test.txt' }], + 'correspondences' => + { 'data' => + [{ 'id' => '154163f2-8fbb-ed11-9ac4-00155da17a6f', + 'type' => 'correspondence', + 'attributes' => + { 'message_type' => nil, + 'modified_on' => nil, + 'status_reason' => nil, + 'description' => nil, + 'enable_reply' => nil, + 'attachments' => [{ 'Id' => '367e8d31-6c82-1d3c-81b8-dd2cabed7555', + 'Name' => 'Test.txt' }] } }] }, + 'has_attachments' => true, + 'has_been_split' => true, + 'level_of_authentication' => 'Unauthenticated', + 'last_update' => '4/1/2024 12:00:00 AM', + 'status' => 'Reopened', + 'submitter_question' => 'test', + 'school_facility_code' => '77a51029-6816-e611-9436-0050568d743d', + 'topic' => 'Medical Care Concerns at a VA Medical Facility', + 'veteran_relationship' => 'GIBillBeneficiary' } } } + end + let(:service) { instance_double(Crm::Service) } + + before do + allow(Crm::Service).to receive(:new).and_return(service) + allow_any_instance_of(Crm::CrmToken).to receive(:call).and_return('Token') + allow(service).to receive(:call).and_return(crm_response) + sign_in(authorized_user) + get "#{inquiry_path}/#{valid_id}" + end + + it { expect(response).to have_http_status(:ok) } + it { expect(JSON.parse(response.body)).to eq(expected_response) } + end context 'when the id is invalid' do - let(:id) { invalid_id } - - it { expect(response).to have_http_status(:bad_request) } + let(:crm_response) do + { Data: nil, + Message: 'Data Validation: No Inquiries found by ID A-20230305-30617', + ExceptionOccurred: true, + ExceptionMessage: 'Data Validation: No Inquiries found by ID A-20230305-30617', + MessageId: 'e6024ccb-e19b-4bc6-990c-667e7ebab4ec' } + end + let(:service) { instance_double(Crm::Service) } + + before do + allow(Crm::Service).to receive(:new).and_return(service) + allow_any_instance_of(Crm::CrmToken).to receive(:call).and_return('Token') + allow(service).to receive(:call).and_return(crm_response) + sign_in(authorized_user) + get "#{inquiry_path}/#{invalid_id}" + end - it_behaves_like 'common error handling', :bad_request, 'invalid_inquiry_error', - 'AskVAApi::V0::InquiriesController::InvalidInquiryError' - end - end + it { expect(response).to have_http_status(:unprocessable_entity) } - context 'when an error occur' do - before do - allow(Crm::Service).to receive(:new).and_raise(ErrorHandler::ServiceError) - sign_in(authorized_user) - get "#{inquiry_path}/#{id}" + it_behaves_like 'common error handling', :unprocessable_entity, 'service_error', + 'AskVAApi::Inquiries::InquiriesRetrieverError: ' \ + 'Data Validation: No Inquiries found by ID A-20230305-30617' end - - it { expect(JSON.parse(response.body)).to eq('error' => 'ErrorHandler::ServiceError') } end context 'when user is not signed in' do before do - get "#{inquiry_path}/#{id}" + get "#{inquiry_path}/#{valid_id}" end it { expect(response).to have_http_status(:unauthorized) } diff --git a/modules/check_in/app/serializers/check_in/vaos/vaos_appointment_data_serializer.rb b/modules/check_in/app/serializers/check_in/vaos/vaos_appointment_data_serializer.rb new file mode 100644 index 00000000000..9a524002c2a --- /dev/null +++ b/modules/check_in/app/serializers/check_in/vaos/vaos_appointment_data_serializer.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module CheckIn + module VAOS + class VAOSAppointmentDataSerializer + include JSONAPI::Serializer + + keys_to_serialize = %i[id identifier kind status serviceType locationId clinic start end extension] + + set_id(&:id) + + attribute :appointments do |object| + object.data.map do |data| + data.select { |key| keys_to_serialize.include?(key) } + end + end + end + end +end diff --git a/modules/check_in/app/services/check_in/map/client.rb b/modules/check_in/app/services/check_in/map/client.rb index d85a99d96ac..316e473b264 100644 --- a/modules/check_in/app/services/check_in/map/client.rb +++ b/modules/check_in/app/services/check_in/map/client.rb @@ -28,17 +28,40 @@ def initialize @settings = Settings.check_in.map_api end + def deep_analyze_and_modify(obj) + case obj + when Hash + obj.each do |key, value| + if key == :system && value.is_a?(String) + obj[key] = value.gsub('https://va.gov', '') + else + deep_analyze_and_modify(value) + end + end + when Array + obj.each do |value| + deep_analyze_and_modify(value) + end + end + end + ## # HTTP GET call to get the appointment data from MAP # # @return [Faraday::Response] # def appointments(token:, patient_icn:, query_params:) - connection.post("/vaos/v1/patients/#{patient_icn}/appointments?#{query_params}") do |req| + response = connection.post("/vaos/v1/patients/#{patient_icn}/appointments?#{query_params}") do |req| req.headers = default_headers.merge('X-VAMF-JWT' => token) end + deep_analyze_and_modify(response) + response rescue => e - Faraday::Response.new(body: e.original_body, status: e.original_status) + if e.respond_to?(:original_body) && e.respond_to?(:original_status) + Faraday::Response.new(body: e.original_body, status: e.original_status) + else + raise e + end end private diff --git a/modules/check_in/app/services/check_in/vaos/appointments_service.rb b/modules/check_in/app/services/check_in/vaos/appointment_service.rb similarity index 94% rename from modules/check_in/app/services/check_in/vaos/appointments_service.rb rename to modules/check_in/app/services/check_in/vaos/appointment_service.rb index 0d55f92c4bd..ca701da451a 100644 --- a/modules/check_in/app/services/check_in/vaos/appointments_service.rb +++ b/modules/check_in/app/services/check_in/vaos/appointment_service.rb @@ -7,7 +7,7 @@ module CheckIn module VAOS - class AppointmentsService < CheckIn::VAOS::BaseService + class AppointmentService < CheckIn::VAOS::BaseService def get_appointments(start_date, end_date, statuses = nil) params = date_params(start_date, end_date) .merge(status_params(statuses)) diff --git a/modules/check_in/app/services/check_in/vaos/configuration.rb b/modules/check_in/app/services/check_in/vaos/configuration.rb index fb7517d7497..ce4b1e29e96 100644 --- a/modules/check_in/app/services/check_in/vaos/configuration.rb +++ b/modules/check_in/app/services/check_in/vaos/configuration.rb @@ -29,6 +29,7 @@ def connection # conn.request(:curl, ::Logger.new(STDOUT), :warn) unless Rails.env.production? # conn.response(:logger, ::Logger.new(STDOUT), bodies: true) unless Rails.env.production? + conn.response :raise_error, error_prefix: service_name conn.response :betamocks if mock_enabled? # conn.response :snakecase conn.response :json, content_type: /\bjson$/ diff --git a/modules/check_in/app/services/travel_claim/redis_client.rb b/modules/check_in/app/services/travel_claim/redis_client.rb index 0625182f995..4df98536115 100644 --- a/modules/check_in/app/services/travel_claim/redis_client.rb +++ b/modules/check_in/app/services/travel_claim/redis_client.rb @@ -33,53 +33,23 @@ def save_token(token:) end def icn(uuid:) - if Flipper.enabled?('check_in_experience_travel_claim_redis_client_refactor') - return fetch_attribute(uuid:, attribute: :icn) - end - - return nil if appointment_identifiers(uuid:).nil? - - Oj.load(appointment_identifiers(uuid:)).with_indifferent_access.dig(:data, :attributes, :icn) + fetch_attribute(uuid:, attribute: :icn) end def mobile_phone(uuid:) - if Flipper.enabled?('check_in_experience_travel_claim_redis_client_refactor') - return fetch_attribute(uuid:, attribute: :mobilePhone) - end - - return nil if appointment_identifiers(uuid:).nil? - - Oj.load(appointment_identifiers(uuid:)).with_indifferent_access.dig(:data, :attributes, :mobilePhone) + fetch_attribute(uuid:, attribute: :mobilePhone) end def patient_cell_phone(uuid:) - if Flipper.enabled?('check_in_experience_travel_claim_redis_client_refactor') - return fetch_attribute(uuid:, attribute: :patientCellPhone) - end - - return nil if appointment_identifiers(uuid:).nil? - - Oj.load(appointment_identifiers(uuid:)).with_indifferent_access.dig(:data, :attributes, :patientCellPhone) + fetch_attribute(uuid:, attribute: :patientCellPhone) end def station_number(uuid:) - if Flipper.enabled?('check_in_experience_travel_claim_redis_client_refactor') - return fetch_attribute(uuid:, attribute: :stationNo) - end - - return nil if appointment_identifiers(uuid:).nil? - - Oj.load(appointment_identifiers(uuid:)).with_indifferent_access.dig(:data, :attributes, :stationNo) + fetch_attribute(uuid:, attribute: :stationNo) end def facility_type(uuid:) - if Flipper.enabled?('check_in_experience_travel_claim_redis_client_refactor') - return fetch_attribute(uuid:, attribute: :facilityType) - end - - return nil if appointment_identifiers(uuid:).nil? - - Oj.load(appointment_identifiers(uuid:)).with_indifferent_access.dig(:data, :attributes, :facilityType) + fetch_attribute(uuid:, attribute: :facilityType) end def fetch_attribute(uuid:, attribute:) diff --git a/modules/check_in/spec/serializers/vaos/vaos_appointment_data_serializer_spec.rb b/modules/check_in/spec/serializers/vaos/vaos_appointment_data_serializer_spec.rb new file mode 100644 index 00000000000..c96be214efb --- /dev/null +++ b/modules/check_in/spec/serializers/vaos/vaos_appointment_data_serializer_spec.rb @@ -0,0 +1,249 @@ +# frozen_string_literal: true + +require 'rails_helper' + +RSpec.describe CheckIn::VAOS::VAOSAppointmentDataSerializer do + subject { described_class } + + let(:vaos_appointment_data) do + { + data: [ + { + id: '180765', + identifier: [ + { + system: 'Appointment/', + value: '413938333130383735' + }, + { + system: 'http://www.va.gov/Terminology/VistADefinedTerms/409_84', + value: '983:10875' + } + ], + kind: 'clinic', + status: 'booked', + serviceType: 'amputation', + patientIcn: '1013125218V696863', + locationId: '983GC', + clinic: '1081', + start: '2023-11-06T16:00:00Z', + end: '2023-11-06T16:30:00Z', + minutesDuration: 30, + created: '2023-08-02T00:00:00Z', + cancellable: true, + extension: { + ccLocation: { + address: {} + }, + vistaStatus: [ + 'NO ACTION TAKEN' + ], + preCheckinAllowed: true, + eCheckinAllowed: true + } + }, + { + id: '180766', + identifier: [ + { + system: 'Appointment/', + value: '413938333130383736' + }, + { + system: 'http://www.va.gov/Terminology/VistADefinedTerms/409_84', + value: '983:10876' + } + ], + kind: 'clinic', + status: 'booked', + serviceType: 'amputation', + patientIcn: '1013125218V696863', + locationId: '983GC', + clinic: '1081', + start: '2023-11-13T16:00:00Z', + end: '2023-11-13T16:30:00Z', + minutesDuration: 30, + created: '2023-08-02T00:00:00Z', + cancellable: true, + extension: { + ccLocation: { + address: {} + }, + vistaStatus: [ + 'FUTURE' + ], + preCheckinAllowed: true, + eCheckinAllowed: true + } + } + ] + } + end + + context 'For valid vaos appointment data' do + let(:appointment1) do + { + id: '180765', + identifier: [ + { + system: 'Appointment/', + value: '413938333130383735' + }, + { + system: 'http://www.va.gov/Terminology/VistADefinedTerms/409_84', + value: '983:10875' + } + ], + kind: 'clinic', + status: 'booked', + serviceType: 'amputation', + locationId: '983GC', + clinic: '1081', + start: '2023-11-06T16:00:00Z', + end: '2023-11-06T16:30:00Z', + extension: { + ccLocation: { + address: {} + }, + vistaStatus: [ + 'NO ACTION TAKEN' + ], + preCheckinAllowed: true, + eCheckinAllowed: true + } + } + end + let(:appointment2) do + { + id: '180766', + identifier: [ + { + system: 'Appointment/', + value: '413938333130383736' + }, + { + system: 'http://www.va.gov/Terminology/VistADefinedTerms/409_84', + value: '983:10876' + } + ], + kind: 'clinic', + status: 'booked', + serviceType: 'amputation', + locationId: '983GC', + clinic: '1081', + start: '2023-11-13T16:00:00Z', + end: '2023-11-13T16:30:00Z', + extension: { + ccLocation: { + address: {} + }, + vistaStatus: [ + 'FUTURE' + ], + preCheckinAllowed: true, + eCheckinAllowed: true + } + } + end + + let(:serialized_hash_response) do + { + data: + { + id: nil, + type: :vaos_appointment_data, + attributes: + { + appointments: + [ + appointment1, appointment2 + ] + } + } + } + end + + it 'returns a serialized hash' do + appt_struct = OpenStruct.new(vaos_appointment_data) + appt_serializer = subject.new(appt_struct) + expect(appt_serializer.serializable_hash).to eq(serialized_hash_response) + end + end + + context 'Missing serialization key' do + let(:vaos_appointment_data_without_identifier) do + { + data: [ + { + id: '180765', + kind: 'clinic', + status: 'booked', + serviceType: 'amputation', + patientIcn: '1013125218V696863', + locationId: '983GC', + clinic: '1081', + start: '2023-11-06T16:00:00Z', + end: '2023-11-06T16:30:00Z', + created: '2023-08-02T00:00:00Z', + cancellable: true, + extension: { + ccLocation: { + address: {} + }, + vistaStatus: [ + 'NO ACTION TAKEN' + ], + preCheckinAllowed: true, + eCheckinAllowed: true + } + } + ] + } + end + + let(:appointment_without_identifier) do + { + id: '180765', + kind: 'clinic', + status: 'booked', + serviceType: 'amputation', + locationId: '983GC', + clinic: '1081', + start: '2023-11-06T16:00:00Z', + end: '2023-11-06T16:30:00Z', + extension: { + ccLocation: { + address: {} + }, + vistaStatus: [ + 'NO ACTION TAKEN' + ], + preCheckinAllowed: true, + eCheckinAllowed: true + } + } + end + let(:serialized_hash_response) do + { + data: + { + id: nil, + type: :vaos_appointment_data, + attributes: + { + appointments: + [ + appointment_without_identifier + ] + } + } + } + end + + it 'identifier not present' do + appt_struct = OpenStruct.new(vaos_appointment_data_without_identifier) + appt_serializer = subject.new(appt_struct) + expect(appt_serializer.serializable_hash).to eq(serialized_hash_response) + end + end +end diff --git a/modules/check_in/spec/services/check_in/map/client_spec.rb b/modules/check_in/spec/services/check_in/map/client_spec.rb index 0c0c8ebe46b..16aa5e6092e 100644 --- a/modules/check_in/spec/services/check_in/map/client_spec.rb +++ b/modules/check_in/spec/services/check_in/map/client_spec.rb @@ -36,7 +36,7 @@ id: '180765', identifier: [ { - system: 'Appointment/', + system: 'https://va.gov/Appointment/', value: '413938333130383735' } ], @@ -68,6 +68,51 @@ end end + context 'when appointments service returns success response takes out https://va.gov' do + let(:appointments_response) do + { + data: [ + { + id: '180765', + identifier: [ + { + system: 'https://va.gov/Appointment/', + value: '413938333130383735' + } + ], + kind: 'clinic', + status: 'booked', + serviceType: 'amputation', + patientIcn: :icn, + locationId: '983GC', + clinic: '1081', + start: '2023-11-02T17:12:30.174Z', + end: '2023-12-12T17:12:30.174Z', + minutesDuration: 30, + extension: { + preCheckinAllowed: true, + eCheckinAllowed: true + } + } + ] + } + end + + before do + allow_any_instance_of(Faraday::Connection).to receive(:post).with(anything).and_return(appointments_response) + end + + it 'strips https://va.gov from any system property in the response' do + response = subject.appointments(token: jwt_token, patient_icn: icn, query_params:) + response[:data].each do |appointment| + appointment[:identifier].each do |identifier| + puts identifier[:system] + expect(identifier[:system]).not_to start_with('https://va.gov') + end + end + end + end + context 'when appointments service returns a 500 error response' do let(:error_msg) do { diff --git a/modules/check_in/spec/services/check_in/vaos/appointment_service_spec.rb b/modules/check_in/spec/services/check_in/vaos/appointment_service_spec.rb new file mode 100644 index 00000000000..ca71d3cb05c --- /dev/null +++ b/modules/check_in/spec/services/check_in/vaos/appointment_service_spec.rb @@ -0,0 +1,88 @@ +# frozen_string_literal: true + +require 'rails_helper' + +describe CheckIn::VAOS::AppointmentService do + subject { described_class.new(patient_icn:) } + + let(:patient_icn) { '123' } + let(:token) { 'test_token' } + let(:request_id) { SecureRandom.uuid } + + describe '#initialize' do + it 'returns an instance of service' do + service_obj = subject + expect(service_obj).to be_an_instance_of(CheckIn::VAOS::AppointmentService) + expect(service_obj.token_service).to be_an_instance_of(CheckIn::Map::TokenService) + end + end + + describe '#perform' do + let(:token) { 'test-token-123' } + let(:start_date) { '2023-11-10T17:12:30Z' } + let(:end_date) { '2023-12-12T17:12:30Z' } + let(:statuses) { 'confirmed' } + let(:appointments_response) do + { + data: [ + { + id: '180765', + kind: 'clinic', + status: 'booked', + patientIcn: 'icn', + locationId: '983GC', + clinic: '1081', + start: '2023-11-02T17:12:30.174Z', + end: '2023-12-12T17:12:30.174Z', + minutesDuration: 30 + } + ] + }.with_indifferent_access + end + let(:faraday_response) { double('Faraday::Response') } + let(:faraday_env) { double('Faraday::Env', status: 200, body: appointments_response.to_json) } + + context 'when vaos returns successful response' do + before do + allow_any_instance_of(CheckIn::Map::TokenService).to receive(:token) + .and_return(token) + allow_any_instance_of(Faraday::Connection).to receive(:get).with('/vaos/v1/patients/123/appointments', + { start: start_date, end: end_date, + statuses: }) + .and_return(faraday_response) + allow(faraday_response).to receive(:env).and_return(faraday_env) + end + + it 'returns appointments' do + response = subject.get_appointments(DateTime.parse(start_date).in_time_zone, + DateTime.parse(end_date).in_time_zone, + statuses) + expect(response).to eq(appointments_response) + end + end + + context 'when vaos returns server error' do + let(:resp) { Faraday::Response.new(body: { error: 'Internal server error' }, status: 500) } + let(:exception) { Common::Exceptions::BackendServiceException.new(nil, {}, resp.status, resp.body) } + + before do + allow_any_instance_of(CheckIn::Map::TokenService).to receive(:token) + .and_return(token) + allow_any_instance_of(Faraday::Connection).to receive(:get).with('/vaos/v1/patients/123/appointments', + { start: start_date, end: end_date, + statuses: }) + .and_raise(exception) + end + + it 'throws exception' do + expect do + subject.get_appointments(DateTime.parse(start_date).in_time_zone, + DateTime.parse(end_date).in_time_zone, + statuses) + end.to(raise_error do |error| + expect(error).to be_a(Common::Exceptions::BackendServiceException) + end) + end + end + end +end diff --git a/modules/check_in/spec/services/travel_claim/redis_client_spec.rb b/modules/check_in/spec/services/travel_claim/redis_client_spec.rb index 53a1b5a4d75..9763f2ed55c 100644 --- a/modules/check_in/spec/services/travel_claim/redis_client_spec.rb +++ b/modules/check_in/spec/services/travel_claim/redis_client_spec.rb @@ -30,9 +30,6 @@ before do allow(Rails).to receive(:cache).and_return(memory_store) - allow(Flipper).to receive(:enabled?).with('check_in_experience_travel_claim_redis_client_refactor') - .and_return(false) - Rails.cache.clear end @@ -201,23 +198,7 @@ ) end - context 'when cache exists and refactor feature flag is off' do - before do - allow(Flipper).to receive(:enabled?).with('check_in_experience_travel_claim_redis_client_refactor') - .and_return(false) - end - - it 'returns the cached value' do - expect(redis_client.facility_type(uuid:)).to eq(facility_type) - end - end - - context 'when cache exists and refactor feature flag is on' do - before do - allow(Flipper).to receive(:enabled?).with('check_in_experience_travel_claim_redis_client_refactor') - .and_return(true) - end - + context 'when cache exists' do it 'returns the cached value' do expect(redis_client.facility_type(uuid:)).to eq(facility_type) end diff --git a/modules/claims_api/app/swagger/claims_api/v2/swagger.json b/modules/claims_api/app/swagger/claims_api/v2/swagger.json deleted file mode 100644 index 83418ddde00..00000000000 --- a/modules/claims_api/app/swagger/claims_api/v2/swagger.json +++ /dev/null @@ -1,8690 +0,0 @@ -{ - "openapi": "3.0.1", - "info": { - "title": "Benefits Claims", - "version": "v2", - "description": "## Background\n\nThe Benefits Claims API Version 2 lets internal consumers: \n\n- Retrieve existing claim information, including status, by claim ID\n- Automatically establish an Intent To File (21-0966) in VBMS\n- Automatically establish a disability compensation claim (21-526EZ) in VBMS\n- Digitally submit supporting documentation for disability compensation claims\n\nAdditional functionality will be added over time.\n\nYou should use the [Benefits Claims API Version 1](https://developer.va.gov/explore/benefits/docs/claims?version=current) if: \n\n- You are a consumer outside of VA and do not have the necessary VA agreements to use this API, and/or\n- You want automatic establishment of power of attorney (21-22 or 21-22a)\n \n## Technical Overview\n\nThis API accepts a payload of requests and responses with the payload identifying the claim and Veteran. Responses provide the submission’s processing status. Responses also provide a unique ID which can be used with the appropriate GET endpoint to return detailed, end-to-end claims status tracking. \n\nEnd-to-end claims tracking provides the status of claims as they move through the submission process, but does not return whether the claim was approved or denied. \n\n### Claim statuses\n\nClaims are first submitted by this API and then established in Veterans Benefits Management System (VBMS). A 200 response means that the claim was successfully submitted by the API. It does not mean VA has received the claim. Use the appropriate GET endpoint and the ID returned with your submission response to confirm the status of the submission. Statuses are:\n\n- Pending - the claim is successfully submitted to Lighthouse\n- Errored - the submission encountered upstream errors\n- Canceled - the claim was identified as a duplicate or another issue caused the claim to be canceled. For duplicate claims, the tracking of the claim's progress happens under a different Claim ID . \n\nOther statuses this API returns align with the [VA.gov](http://va.gov/) [claim status descriptions](https://www.va.gov/resources/what-your-claim-status-means/), which are:\n\n- Claim received\n- Initial review\n- Evidence gathering, review, and decision\n- Preparation for notification\n- Complete\n\n### Finding a Veteran's unique VA ID\n\nThis API uses a unique Veteran identifier to identify the subject of each API request. This Veteran identifier can be retrieved by passing the Veteran’s first name, last name, DOB, and SSN to the ‘/veteran-id’ endpoint. This identifier should then be used as the Veteran ID parameter in request URLs.\n\nNote: though Veteran identifiers are typically static, they may change over time. If a specific Veteran ID suddenly responds with a ‘404 not found’ error, the identifier may have changed. It’s a good idea to periodically check the identifier for each Veteran.\n\n### Authentication and authorization\n\nThe authentication model for the Benefits Claims Version 2 is based on OAuth 2.0 / OpenID Connect and supports the [client credentials grant](https://developer.va.gov/explore/authorization/docs/client-credentials?api=claims).\n\n**Important**: To get production access, you must either work for VA or have specific VA agreements in place. If you have questions, [contact us](https://developer.va.gov/support/contact-us).\n\n### Test data for sandbox environment use\n\nWe use mock [test data in the sandbox environment](https://github.com/department-of-veterans-affairs/vets-api-clients/blob/master/test_accounts.md). Sandbox test data and test users for the Benefits Claims API are valid for all versions of the API.\n" - }, - "tags": [ - { - "name": "Veteran Identifier", - "description": "Allows authenticated veterans and veteran representatives to retrieve a veteran's id." - }, - { - "name": "Claims", - "description": "Allows authenticated and authorized users to access claims data for a given Veteran. No data is returned if the user is not authenticated and authorized.\n" - }, - { - "name": "5103 Waiver", - "description": "Allows authenticated and authorized users to file a 5103 Notice Response on a claim." - }, - { - "name": "Intent to File", - "description": "Allows authenticated and authorized users to automatically establish an Intent to File (21-0966) in VBMS.\n" - }, - { - "name": "Disability Compensation Claims", - "description": "Allows authenticated and authorized users to automatically establish a Disability Compensation Claim (21-526EZ) in VBMS\n" - } - ], - "components": { - "securitySchemes": { - "bearer_token": { - "type": "http", - "scheme": "bearer", - "bearerFormat": "JWT" - }, - "productionOauth": { - "type": "oauth2", - "description": "This API uses OAuth 2 with the authorization code grant flow. [More info](https://developer.va.gov/explore/authorization?api=claims)", - "flows": { - "authorizationCode": { - "authorizationUrl": "https://api.va.gov/oauth2/authorization", - "tokenUrl": "https://api.va.gov/oauth2/token", - "scopes": { - "system/claim.read": "Retrieve claim data", - "system/claim.write": "Submit claim data" - } - } - } - }, - "sandboxOauth": { - "type": "oauth2", - "description": "This API uses OAuth 2 with the authorization code grant flow. [More info](https://developer.va.gov/explore/authorization?api=claims)", - "flows": { - "authorizationCode": { - "authorizationUrl": "https://sandbox-api.va.gov/oauth2/authorization", - "tokenUrl": "https://sandbox-api.va.gov/oauth2/token", - "scopes": { - "system/claim.read": "Retrieve claim data", - "system/claim.write": "Submit claim data" - } - } - } - } - } - }, - "paths": { - "/veteran-id:find": { - "post": { - "summary": "Retrieve Veteran ID.", - "tags": [ - "Veteran Identifier" - ], - "operationId": "postVeteranId", - "security": [ - { - "productionOauth": [ - "system/claim.read" - ] - }, - { - "sandboxOauth": [ - "system/claim.read" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "description": "Allows authenticated and authorized users to retrieve a Veteran's ID.", - "parameters": [ - - ], - "responses": { - "201": { - "description": "Veteran's unique identifier", - "content": { - "application/json": { - "example": { - "id": "1012667145V762142" - }, - "schema": { - "additionalProperties": false, - "properties": { - "id": { - "type": "string", - "example": "1012667145V762142" - } - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "invalid value for SSN", - "detail": "blank is not valid for SSN" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "detail": "Not authorized" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Resource not found", - "detail": "Resource not found" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "ssn", - "birthdate", - "firstName", - "lastName" - ], - "properties": { - "ssn": { - "type": "string", - "example": "796130115", - "description": "SSN of Veteran being represented" - }, - "firstName": { - "type": "string", - "example": "Tamara", - "description": "First name of Veteran being represented" - }, - "lastName": { - "type": "string", - "example": "Ellis", - "description": "Last name of Veteran being represented" - }, - "birthdate": { - "type": "string", - "example": "1967-06-19", - "description": "Date of birth of Veteran being represented, in iso8601 format" - } - }, - "example": { - "ssn": "796130115", - "firstName": "Tamara", - "lastName": "Ellis", - "birthdate": "1967-06-19" - } - } - } - }, - "required": true - } - } - }, - "/veterans/{veteranId}/claims": { - "get": { - "summary": "Find all benefits claims for a Veteran.", - "tags": [ - "Claims" - ], - "operationId": "findClaims", - "security": [ - { - "productionOauth": [ - "system/claim.read" - ] - }, - { - "sandboxOauth": [ - "system/claim.read" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "description": "Retrieves all claims for Veteran.", - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "claim response", - "content": { - "application/json": { - "example": { - "data": [ - { - "id": "555555555", - "type": "claim", - "attributes": { - "baseEndProductCode": "400", - "claimDate": "2017-05-02", - "claimPhaseDates": { - "phaseChangeDate": "2017-10-18" - }, - "claimType": "Compensation", - "closeDate": "2017-10-18", - "decisionLetterSent": false, - "developmentLetterSent": false, - "documentsNeeded": false, - "endProductCode": "404", - "evidenceWaiverSubmitted5103": false, - "lighthouseId": null, - "status": "COMPLETE" - } - } - ] - }, - "schema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "required": [ - "data" - ], - "properties": { - "data": { - "type": "array", - "items": { - "required": [ - "id", - "type", - "attributes" - ], - "additionalProperties": false, - "description": "Claim details", - "properties": { - "id": { - "type": "string", - "nullable": true, - "description": "Claim ID in VBMS. If a claim was submitted with Lighthouse and not successfully established upstream, it could have a null claimId.", - "example": "600131328" - }, - "type": { - "type": "string", - "example": "claim" - }, - "attributes": { - "type": "object", - "required": [ - "baseEndProductCode", - "claimType", - "claimDate", - "claimPhaseDates", - "closeDate", - "developmentLetterSent", - "decisionLetterSent", - "documentsNeeded", - "endProductCode", - "evidenceWaiverSubmitted5103", - "lighthouseId", - "status" - ], - "properties": { - "baseEndProductCode": { - "type": "string", - "description": "Base end product code for claim", - "example": "400" - }, - "claimType": { - "type": "string", - "description": "Name of claim type", - "example": "Compensation" - }, - "claimDate": { - "format": "date", - "type": "string", - "description": "Date in YYYY-MM-DD the claim was first filed", - "example": "2018-06-04" - }, - "claimPhaseDates": { - "type": "object", - "properties": { - "phaseChangeDate": { - "format": "date", - "type": "string", - "description": "The date that the claim changed to its current phase", - "example": "2017-10-18" - } - } - }, - "closeDate": { - "format": "date", - "type": "string", - "description": "Date claim was closed", - "example": "2019-09-04" - }, - "developmentLetterSent": { - "type": "boolean", - "description": "If true, a development letter has been sent to the claimant regarding a benefit claim", - "example": "false" - }, - "decisionLetterSent": { - "type": "boolean", - "description": "If true, a decision letter has been sent to the claimant regarding a benefit claim", - "example": "false" - }, - "documentsNeeded": { - "type": "boolean", - "description": "If true, the claim requires additional documents to be submitted", - "example": "false" - }, - "endProductCode": { - "type": "string", - "description": "End product code of claim" - }, - "evidenceWaiverSubmitted5103": { - "type": "boolean", - "nullable": true, - "description": "If true, indicates a decision has been requested and/or a Waiver 5103 has been submitted", - "example": "false" - }, - "lighthouseId": { - "type": "string", - "nullable": true, - "description": "Claim ID in Lighthouse", - "example": "0BAEFC26-1CE4-4046-9B3C-3071055603DB" - }, - "status": { - "type": "string", - "description": "Status of claim", - "enum": [ - "PENDING", - "CLAIM_RECEIVED", - "INITIAL_REVIEW", - "EVIDENCE_GATHERING_REVIEW_DECISION", - "PREPARATION_FOR_NOTIFICATION", - "COMPLETE", - "ERRORED", - "CANCELED" - ] - } - } - } - } - } - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "detail": "Not authorized" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - } - } - } - }, - "/veterans/{veteranId}/claims/{id}": { - "get": { - "summary": "Find claim by ID", - "tags": [ - "Claims" - ], - "operationId": "findClaimById", - "security": [ - { - "productionOauth": [ - "system/claim.read" - ] - }, - { - "sandboxOauth": [ - "system/claim.read" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "description": "Retrieves a specific claim for a Veteran", - "parameters": [ - { - "name": "id", - "in": "path", - "example": "1234", - "description": "The ID of the claim being requested", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "claim response", - "content": { - "application/json": { - "example": { - "data": { - "id": "555555555", - "type": "claim", - "attributes": { - "claimTypeCode": "400PREDSCHRG", - "claimDate": "2017-05-02", - "claimPhaseDates": { - "phaseChangeDate": "2017-10-18", - "currentPhaseBack": false, - "latestPhaseType": "COMPLETE", - "previousPhases": { - "phase7CompleteDate": "2017-10-18" - } - }, - "claimType": "Compensation", - "closeDate": "2017-10-18", - "contentions": [ - { - "name": "abnormal heart (New)" - }, - { - "name": "abscess kidney (New)" - }, - { - "name": "encephalitis lethargica residuals (New)" - }, - { - "name": "dracunculiasis (New)" - }, - { - "name": "gingivitis (New)" - }, - { - "name": "abnormal weight loss (New)" - }, - { - "name": "groin condition (New)" - }, - { - "name": "metritis (New)" - } - ], - "decisionLetterSent": false, - "developmentLetterSent": false, - "documentsNeeded": false, - "endProductCode": "404", - "evidenceWaiverSubmitted5103": false, - "errors": [ - - ], - "jurisdiction": "National Work Queue", - "lighthouseId": null, - "maxEstClaimDate": null, - "minEstClaimDate": null, - "status": "COMPLETE", - "submitterApplicationCode": "EBN", - "submitterRoleCode": "VET", - "supportingDocuments": [ - { - "documentId": "{54EF0C16-A9E7-4C3F-B876-B2C7BEC1F834}", - "documentTypeLabel": "Medical", - "originalFileName": null, - "trackedItemId": null, - "uploadDate": null - } - ], - "tempJurisdiction": null, - "trackedItems": [ - { - "closedDate": "2021-06-04", - "description": null, - "displayName": "21-4142a", - "overdue": false, - "receivedDate": null, - "requestedDate": "2021-05-05", - "status": "NO_LONGER_REQUIRED", - "suspenseDate": "2021-06-04", - "id": 293440, - "uploadsAllowed": false - }, - { - "closedDate": "2021-06-04", - "description": null, - "displayName": "Employment info needed", - "overdue": false, - "receivedDate": null, - "requestedDate": "2021-05-05", - "status": "NO_LONGER_REQUIRED", - "suspenseDate": "2021-06-04", - "id": 293443, - "uploadsAllowed": false - }, - { - "closedDate": "2021-06-04", - "description": null, - "displayName": "Accidental injury - 21-4176 needed", - "overdue": false, - "receivedDate": null, - "requestedDate": "2021-05-05", - "status": "NO_LONGER_REQUIRED", - "suspenseDate": "2021-06-04", - "id": 293444, - "uploadsAllowed": false - }, - { - "closedDate": "2021-06-04", - "description": null, - "displayName": "Buddy mentioned - No complete address", - "overdue": false, - "receivedDate": null, - "requestedDate": "2021-05-05", - "status": "NO_LONGER_REQUIRED", - "suspenseDate": "2021-06-04", - "id": 293446, - "uploadsAllowed": false - } - ] - } - } - }, - "schema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "required": [ - "data" - ], - "properties": { - "data": { - "type": "object", - "required": [ - "id", - "type", - "attributes" - ], - "additionalProperties": false, - "description": "Claim with some details for the given Veteran info", - "properties": { - "id": { - "type": "string", - "nullable": true, - "description": "Claim ID in VBMS. If a claim was submitted with Lighthouse and not successfully established upstream, it could have a null claimId.", - "example": "600131328" - }, - "type": { - "type": "string", - "example": "evss_claims" - }, - "attributes": { - "type": "object", - "additionalProperties": false, - "required": [ - "claimTypeCode", - "claimDate", - "claimPhaseDates", - "claimType", - "closeDate", - "contentions", - "decisionLetterSent", - "developmentLetterSent", - "documentsNeeded", - "endProductCode", - "evidenceWaiverSubmitted5103", - "errors", - "jurisdiction", - "lighthouseId", - "maxEstClaimDate", - "minEstClaimDate", - "status", - "submitterApplicationCode", - "submitterRoleCode", - "supportingDocuments", - "tempJurisdiction", - "trackedItems" - ], - "properties": { - "claimTypeCode": { - "type": "string", - "description": "Type Code of benefit claim", - "example": "400PREDSCHRG" - }, - "claimType": { - "type": "string", - "description": "Name of claim type", - "example": "Compensation" - }, - "contentions": { - "type": "array", - "description": "The contentions being submitted with a claim", - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "abscess kidney (New)" - } - } - } - }, - "claimDate": { - "format": "date", - "type": "string", - "nullable": true, - "description": "The date a claim was filed", - "example": "2017-10-18" - }, - "claimPhaseDates": { - "type": "object", - "properties": { - "currentPhaseBack": { - "type": "boolean", - "description": "Indicates whether the current phase is moving backward." - }, - "latestPhaseType": { - "type": "string", - "enum": [ - "CLAIM_RECEIVED", - "UNDER_REVIEW", - "GATHERING_OF_EVIDENCE", - "REVIEW_OF_EVIDENCE", - "PREPARATION_FOR_DECISION", - "PENDING_DECISION_APPROVAL", - "PREPARATION_FOR_NOTIFICATION", - "COMPLETE" - ], - "nullable": true, - "description": "The most current phase for the claim" - }, - "phaseChangeDate": { - "format": "date", - "type": "string", - "nullable": true, - "description": "The date that the claim changed to its current phase", - "example": "2017-10-18" - }, - "previousPhases": { - "type": "object", - "properties": { - "phase1CompleteDate": { - "format": "date", - "type": "string", - "description": "Completed date of the claim received phase.", - "example": "2017-10-18" - }, - "phase2CompleteDate": { - "format": "date", - "type": "string", - "description": "Completed date of the initial review phase.", - "example": "2017-10-18" - }, - "phase3CompleteDate": { - "format": "date", - "type": "string", - "description": "Completed date of the gathering of evidence phase.", - "example": "2017-10-18" - }, - "phase4CompleteDate": { - "format": "date", - "type": "string", - "description": "Completed date of the reviewing of evidence phase.", - "example": "2017-10-18" - }, - "phase5CompleteDate": { - "format": "date", - "type": "string", - "description": "Completed date of the preparation for decision phase.", - "example": "2017-10-18" - }, - "phase6CompleteDate": { - "format": "date", - "type": "string", - "description": "Completed date of the pending decision approval phase.", - "example": "2017-10-18" - }, - "phase7CompleteDate": { - "format": "date", - "type": "string", - "description": "Completed date of the preparation for notification phase.", - "example": "2017-10-18" - }, - "phase8CompleteDate": { - "format": "date", - "type": "string", - "description": "Completed date of the completed phase.", - "example": "2017-10-18" - } - } - } - } - }, - "closeDate": { - "format": "date", - "type": "string", - "nullable": true, - "description": "Date claim was closed", - "example": "2019-09-04" - }, - "decisionLetterSent": { - "type": "boolean", - "description": "If true, a decision letter has been sent to the claimant regarding a benefit claim" - }, - "developmentLetterSent": { - "type": "boolean", - "description": "If true, a development letter has been sent to the claimant regarding a benefit claim" - }, - "documentsNeeded": { - "type": "boolean", - "description": "If true, the claim requires additional documents to be submitted" - }, - "endProductCode": { - "type": "string", - "description": "End product code of claim", - "example": "930" - }, - "evidenceWaiverSubmitted5103": { - "type": "boolean", - "nullable": true, - "description": "If true, indicates a decision has been requested and/or a Waiver 5103 has been submitted", - "example": "false" - }, - "errors": { - "type": "array", - "description": "Error details if claim is in an errored state.", - "items": { - "properties": { - "detail": { - "type": "string", - "example": "Something happened" - }, - "source": { - "type": "string", - "example": "some/error/path" - } - } - } - }, - "jurisdiction": { - "type": "string", - "description": "Current station of jurisdiction" - }, - "lighthouseId": { - "type": "string", - "nullable": true, - "description": "Claim ID in Lighthouse", - "example": "0BAEFC26-1CE4-4046-9B3C-3071055603DB" - }, - "minEstClaimDate": { - "format": "date", - "type": "string", - "nullable": true, - "description": "Minimum Estimated Claim Completion Date", - "example": "2019-06-04" - }, - "maxEstClaimDate": { - "format": "date", - "type": "string", - "nullable": true, - "description": "Maximum Estimated Claim Completion Date", - "example": "2019-09-04" - }, - "status": { - "type": "string", - "description": "Status of claim", - "enum": [ - "PENDING", - "CLAIM_RECEIVED", - "INITIAL_REVIEW", - "EVIDENCE_GATHERING_REVIEW_DECISION", - "PREPARATION_FOR_NOTIFICATION", - "COMPLETE", - "ERRORED", - "CANCELED" - ] - }, - "submitterApplicationCode": { - "type": "string", - "description": "Application Code of benefit claim submitter", - "example": "EBN" - }, - "submitterRoleCode": { - "type": "string", - "description": "Role Code of benefit claim submitter", - "example": "VET" - }, - "supportingDocuments": { - "type": "array", - "description": "Information regarding any supported documents attached to a claim", - "items": { - "properties": { - "documentId": { - "type": "string", - "description": "Unique identifier of document" - }, - "documentTypeLabel": { - "type": "string", - "nullable": true - }, - "originalFileName": { - "type": "string", - "description": "Name of document", - "nullable": true - }, - "trackedItemId": { - "type": "string", - "nullable": true - }, - "uploadDate": { - "format": "date", - "type": "string", - "description": "Date and time document was uploaded", - "nullable": true - } - } - } - }, - "tempJurisdiction": { - "type": "string", - "description": "Temporary jurisdiction of claim" - }, - "trackedItems": { - "type": "array", - "description": "", - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "closedDate": { - "format": "date", - "type": "string", - "nullable": true, - "description": "Date the tracked item was closed", - "example": "2017-10-18" - }, - "description": { - "type": "string", - "nullable": true, - "description": "Description of the tracked item", - "example": "Buddy mentioned - No complete address" - }, - "requestedDate": { - "format": "date", - "type": "string", - "nullable": true, - "description": "Date the tracked item was requested", - "example": "2017-10-18" - }, - "id": { - "type": "integer", - "description": "ID of the tracked item", - "example": 293454 - }, - "displayName": { - "type": "string", - "nullable": true, - "description": "Description of the tracked item", - "example": "Buddy mentioned - No complete address" - }, - "receivedDate": { - "format": "date", - "type": "string", - "nullable": true, - "description": "Date the tracked item was received", - "example": "2017-10-18" - }, - "overdue": { - "type": "boolean", - "nullable": true, - "description": "True if the item is overdue", - "example": true - }, - "status": { - "type": "string", - "nullable": true, - "description": "Enum with the status of the tracked item", - "example": "NO_LONGER_REQUIRED", - "enum": [ - "ACCEPTED", - "INITIAL_REVIEW_COMPLETE", - "NEEDED_FROM_YOU", - "NEEDED_FROM_OTHERS", - "NO_LONGER_REQUIRED", - "SUBMITTED_AWAITING_REVIEW" - ] - }, - "suspenseDate": { - "format": "date", - "type": "string", - "nullable": true, - "example": "2017-10-18" - }, - "uploadsAllowed": { - "type": "boolean", - "example": true - } - } - } - } - } - } - } - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "detail": "Not authorized" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Resource not found", - "detail": "Claim not found" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - } - } - } - }, - "/veterans/{veteranId}/526": { - "post": { - "summary": "Submits form 526", - "tags": [ - "Disability Compensation Claims" - ], - "operationId": "post526Claim", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "description": "Automatically establishes a disability compensation claim (21-526EZ) in Veterans Benefits Management System (VBMS). \nThis endpoint generates a filled and electronically signed 526EZ form, establishes the disability claim in VBMS, and \nsubmits the form to the Veteran's eFolder.\n\nA 202 response indicates the API submission was accepted. The claim has not reached VBMS until it has a CLAIM_RECEIVED status. \nCheck claim status using the GET veterans/{veteranId}/claims/{id} endpoint.\n\n**A substantially complete 526EZ claim must include:**\n* Veteran's name\n* Sufficient service information for VA to verify the claimed service\n* At least one claimed disability or medical condition and how it relates to service\n* Veteran and/or Representative signature\n\n**Standard and fully developed claims (FDCs)**\n\n[Fully developed claims (FDCs)](https://www.va.gov/disability/how-to-file-claim/evidence-needed/fully-developed-claims/)\nare claims certified by the submitter to include all information needed for processing. These claims process faster \nthan claims submitted through the standard claim process. If a claim is certified for the FDC, but is missing needed information, \nit will be processed as a standard claim.\n\nTo certify a claim for the FDC process, set the claimProcessType to FDC_PROGRAM.\n", - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "responses": { - "202": { - "description": "Successful response with disability", - "content": { - "application/json": { - "example": { - "data": { - "id": "713e8c10-9e06-49ce-b311-dad87a00191a", - "type": "forms/526", - "attributes": { - "veteranIdentification": { - "currentVaEmployee": false, - "mailingAddress": { - "addressLine1": "1234 Couch Street", - "addressLine2": "Unit 4", - "addressLine3": "Room 1", - "city": "Portland", - "country": "USA", - "zipFirstFive": "41726", - "zipLastFour": "1234", - "state": "OR" - }, - "serviceNumber": "123456789", - "emailAddress": { - "email": "valid@somedomain.com", - "agreeToEmailRelatedToClaim": true - }, - "veteranNumber": { - "telephone": "5555555555", - "internationalTelephone": "+44 20 1234 5678" - } - }, - "serviceInformation": { - "servicePeriods": [ - { - "serviceBranch": "Public Health Service", - "activeDutyBeginDate": "2008-11-14", - "activeDutyEndDate": "2023-10-30", - "serviceComponent": "Active", - "separationLocationCode": "98282" - } - ], - "confinements": [ - { - "approximateBeginDate": "2018-06-04", - "approximateEndDate": "2018-07-04" - }, - { - "approximateBeginDate": "2020-06", - "approximateEndDate": "2020-07" - } - ], - "federalActivation": { - "anticipatedSeparationDate": "2023-12-22", - "activationDate": "2023-10-01" - }, - "reservesNationalGuardService": { - "obligationTermsOfService": { - "beginDate": "2019-06-04", - "endDate": "2020-06-04" - }, - "unitName": "National Guard Unit Name", - "unitAddress": "1243 pine court", - "component": "National Guard", - "unitPhone": { - "areaCode": "555", - "phoneNumber": "5555555" - }, - "receivingInactiveDutyTrainingPay": "YES" - }, - "alternateNames": [ - "john jacob", - "johnny smith" - ], - "servedInActiveCombatSince911": "NO" - }, - "disabilities": [ - { - "disabilityActionType": "NEW", - "name": "Traumatic Brain Injury", - "classificationCode": "9014", - "serviceRelevance": "ABCDEFG", - "approximateDate": "2018-03-11", - "ratedDisabilityId": "ABCDEFGHIJKLMNOPQRSTUVWX", - "diagnosticCode": 9020, - "secondaryDisabilities": [ - { - "name": "Post Traumatic Stress Disorder (PTSD) Combat - Mental Disorders", - "disabilityActionType": "SECONDARY", - "serviceRelevance": "ABCDEFGHIJKLMNOPQ", - "classificationCode": "9014", - "approximateDate": "2018-03-12", - "exposureOrEventOrInjury": "EXPOSURE" - } - ], - "isRelatedToToxicExposure": true, - "exposureOrEventOrInjury": "EXPOSURE" - }, - { - "disabilityActionType": "NEW", - "name": "Cancer - Musculoskeletal - Elbow", - "classificationCode": "9014", - "serviceRelevance": "ABCDEFG", - "approximateDate": "2018-03-02", - "ratedDisabilityId": "ABCDEFGHIJKLMNOPQRSTUVWX", - "diagnosticCode": 249470, - "isRelatedToToxicExposure": true, - "exposureOrEventOrInjury": "EXPOSURE" - }, - { - "disabilityActionType": "NEW", - "name": "Cancer - Musculoskeletal - Knee", - "classificationCode": "9014", - "serviceRelevance": "ABCDEFG", - "approximateDate": "2015", - "ratedDisabilityId": "ABCDEFGHIJKLMNOPQRSTUVWX", - "diagnosticCode": 249470, - "isRelatedToToxicExposure": true, - "exposureOrEventOrInjury": "EXPOSURE" - } - ], - "claimantCertification": true, - "claimProcessType": "STANDARD_CLAIM_PROCESS", - "changeOfAddress": { - "dates": { - "beginDate": "2023-06-04", - "endDate": "2023-12-04" - }, - "typeOfAddressChange": "TEMPORARY", - "addressLine1": "10 Peach St", - "addressLine2": "Unit 4", - "addressLine3": "Room 1", - "city": "Atlanta", - "zipFirstFive": "42220", - "zipLastFour": "9897", - "state": "GA", - "country": "USA" - }, - "homeless": { - "pointOfContact": "john stewart", - "pointOfContactNumber": { - "telephone": "5555555555", - "internationalTelephone": "+44 20 1234 5678" - }, - "currentlyHomeless": { - "homelessSituationOptions": "FLEEING_CURRENT_RESIDENCE", - "otherDescription": "ABCDEFGHIJKLM" - } - }, - "toxicExposure": { - "gulfWarHazardService": { - "servedInGulfWarHazardLocations": "YES", - "serviceDates": { - "beginDate": "2018-07", - "endDate": "2018-08" - } - }, - "herbicideHazardService": { - "servedInHerbicideHazardLocations": "YES", - "otherLocationsServed": "ABCDEFGHIJKLM", - "serviceDates": { - "beginDate": "2018-07", - "endDate": "2018-08" - } - }, - "additionalHazardExposures": { - "additionalExposures": [ - "ASBESTOS", - "SHIPBOARD_HAZARD_AND_DEFENSE" - ], - "specifyOtherExposures": "Other exposure details", - "exposureDates": { - "beginDate": "2018-07", - "endDate": "2018-08" - } - }, - "multipleExposures": [ - { - "exposureDates": { - "beginDate": "2012-12", - "endDate": "2013-07" - }, - "exposureLocation": "Guam", - "hazardExposedTo": "RADIATION" - } - ] - }, - "treatments": [ - { - "treatedDisabilityNames": [ - "Traumatic Brain Injury", - "Post Traumatic Stress Disorder (PTSD) Combat - Mental Disorders", - "Cancer - Musculoskeletal - Elbow" - ], - "center": { - "name": "Center One", - "state": "GA", - "city": "Decatur" - }, - "beginDate": "2009-03" - } - ], - "servicePay": { - "favorTrainingPay": true, - "favorMilitaryRetiredPay": false, - "receivingMilitaryRetiredPay": "NO", - "futureMilitaryRetiredPay": "YES", - "futureMilitaryRetiredPayExplanation": "ABCDEFGHIJKLMNOPQRSTUVW", - "militaryRetiredPay": { - "branchOfService": "Army", - "monthlyAmount": 840.75 - }, - "retiredStatus": "PERMANENT_DISABILITY_RETIRED_LIST", - "receivedSeparationOrSeverancePay": "NO", - "separationSeverancePay": { - "datePaymentReceived": "2022-03-12", - "branchOfService": "Naval Academy", - "preTaxAmountReceived": 379.25 - } - }, - "directDeposit": { - "accountType": "CHECKING", - "accountNumber": "ABCDEF", - "routingNumber": "123123123", - "financialInstitutionName": "Chase", - "noAccount": false - } - } - } - }, - "schema": { - "name": "data", - "required": [ - "data" - ], - "properties": { - "data": { - "type": "object", - "required": [ - "id", - "type", - "attributes" - ], - "properties": { - "id": { - "type": "string", - "example": "7d0de77e-b7bd-4db7-a8d9-69a25482c80a" - }, - "type": { - "type": "string", - "example": "form/526" - }, - "attributes": { - "description": "Claims API 526 Schema", - "type": "object", - "additionalProperties": false, - "required": [ - "claimantCertification", - "claimProcessType", - "disabilities", - "serviceInformation", - "veteranIdentification" - ], - "properties": { - "claimProcessType": { - "type": "string", - "description": "Select type of claim program/process that applies to the Veteran.", - "enum": [ - "STANDARD_CLAIM_PROCESS", - "FDC_PROGRAM", - "BDD_PROGRAM" - ] - }, - "claimantCertification": { - "type": "boolean", - "description": "Claimant certifies and authorizes release of information.", - "default": false - }, - "veteranIdentification": { - "type": "object", - "additionalProperties": false, - "required": [ - "mailingAddress" - ], - "properties": { - "currentVaEmployee": { - "type": "boolean", - "description": "Set to true if Veteran is a VA employee.", - "default": false, - "nullable": true - }, - "serviceNumber": { - "type": "string", - "description": "Service identification number", - "nullable": true - }, - "emailAddress": { - "description": "Information associated with the Veteran's email address.", - "type": "object", - "nullable": true, - "properties": { - "email": { - "type": "string", - "pattern": "^\\w+([\\.-]?\\w+)*@\\w+([\\.-]?\\w+)*(\\.\\w{2,3})+$", - "description": "The most current email address of the Veteran.", - "maxLength": 50, - "nullable": true - }, - "agreeToEmailRelatedToClaim": { - "type": "boolean", - "description": "Agreement to email information relating to this claim.", - "example": true, - "default": false, - "nullable": true - } - } - }, - "veteranNumber": { - "description": "If there is no phone number in VBMS for the Veteran, the exams will not be ordered. Including the phone number is recommended to avoid claim processing delays.", - "type": "object", - "nullable": true, - "properties": { - "telephone": { - "description": "Veteran's phone number.", - "type": "string", - "pattern": "^\\d{10}?$", - "example": "5555555", - "minLength": 10, - "maxLength": 10, - "nullable": true - }, - "internationalTelephone": { - "type": "string", - "description": "Veteran's international phone number.", - "example": "+44 20 1234 5678", - "nullable": true - } - } - }, - "mailingAddress": { - "type": "object", - "additionalProperties": false, - "required": [ - "addressLine1", - "city", - "state", - "zipFirstFive", - "country" - ], - "properties": { - "addressLine1": { - "description": "Address line 1 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "1234 Couch Street" - }, - "addressLine2": { - "description": "Address line 2 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "Unit 4", - "nullable": true - }, - "addressLine3": { - "description": "Address line 3 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "Room 1", - "nullable": true - }, - "city": { - "description": "City for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$", - "example": "Portland" - }, - "country": { - "description": "Country for the Veteran's current mailing address. Must match the values returned by the /countries endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "example": "USA" - }, - "zipFirstFive": { - "description": "Zip code (First 5 digits) for the Veteran's current mailing address.", - "type": "string", - "pattern": "^\\d{5}?$", - "example": "12345" - }, - "zipLastFour": { - "description": "Zip code (Last 4 digits) for the Veteran's current mailing address.", - "type": "string", - "pattern": "^\\d{4}?$", - "example": "6789", - "nullable": true - }, - "state": { - "description": "State for the Veteran's current mailing address.", - "type": "string", - "pattern": "^[a-z,A-Z]{2}$", - "example": "OR" - } - } - } - } - }, - "changeOfAddress": { - "description": "If 'changeOfAddress' is included, the following attributes are required: 'typeOfAddressChange', 'dates.beginDate', 'addressLine1', 'city', 'state', 'country', 'zipFirstFive'.", - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "dates": { - "type": "object", - "properties": { - "beginDate": { - "description": "Begin date for the Veteran's new address.", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "type": "string", - "example": "2018-06-04" - }, - "endDate": { - "description": "Date in YYYY-MM-DD the changed address expires, if change is temporary.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-04" - } - } - }, - "typeOfAddressChange": { - "description": "Temporary or Permanent change of address. If 'TEMPORARY', 'beginDate' and 'endDate' are required.", - "type": "string", - "enum": [ - "TEMPORARY", - "PERMANENT" - ], - "example": "PERMANENT" - }, - "addressLine1": { - "description": "Address line 1 for the Veteran's new address.", - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "1234 Couch Street" - }, - "addressLine2": { - "description": "Address line 2 for the Veteran's new address.", - "type": "string", - "maxLength": 20, - "example": "Unit 4", - "nullable": true - }, - "addressLine3": { - "description": "Address line 3 for the Veteran's new address.", - "type": "string", - "maxLength": 20, - "example": "Room 1", - "nullable": true - }, - "city": { - "description": "City for the Veteran's new address.", - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$", - "example": "Portland" - }, - "country": { - "description": "Country for the Veteran's new address. Value must match the values returned by the /countries endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "example": "USA" - }, - "zipFirstFive": { - "description": "Zip code (First 5 digits) for the Veteran's new address.", - "type": "string", - "pattern": "^$|^\\d{5}?$", - "example": "12345" - }, - "zipLastFour": { - "description": "Zip code (Last 4 digits) for the Veteran's new address.", - "type": "string", - "nullable": true, - "pattern": "^$|^\\d{4}?$", - "example": "6789" - }, - "state": { - "description": "State for the Veteran's new address.", - "type": "string", - "pattern": "^$|^[a-z,A-Z]{2}$", - "example": "OR" - } - } - }, - "homeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "pointOfContact": { - "description": "Individual in direct contact with Veteran.", - "type": "string", - "nullable": true, - "minLength": 1, - "maxLength": 100, - "pattern": "^([-a-zA-Z0-9/']+( ?))*$", - "example": "Jane Doe" - }, - "pointOfContactNumber": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "telephone": { - "description": "Primary phone of point of contact.", - "type": "string", - "pattern": "^\\d{10}?$", - "example": "5555555", - "minLength": 10, - "maxLength": 10, - "nullable": true - }, - "internationalTelephone": { - "description": "International phone of point of contact.", - "type": "string", - "example": "+44 20 1234 5678", - "nullable": true - } - } - }, - "currentlyHomeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "homelessSituationOptions": { - "description": "Veteran's living situation.", - "type": "string", - "nullable": true, - "default": "other", - "enum": [ - "LIVING_IN_A_HOMELESS_SHELTER", - "NOT_CURRENTLY_IN_A_SHELTERED_ENVIRONMENT", - "STAYING_WITH_ANOTHER_PERSON", - "FLEEING_CURRENT_RESIDENCE", - "OTHER" - ], - "example": "FLEEING_CURRENT_RESIDENCE" - }, - "otherDescription": { - "description": "Explanation of living situation. Required if 'homelessSituationOptions' is 'OTHER'.", - "type": "string", - "nullable": true, - "maxLength": 500, - "example": "other living situation" - } - } - }, - "riskOfBecomingHomeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "livingSituationOptions": { - "type": "string", - "nullable": true, - "default": "HOUSING_WILL_BE_LOST_IN_30_DAYS", - "enum": [ - "HOUSING_WILL_BE_LOST_IN_30_DAYS", - "LEAVING_PUBLICLY_FUNDED_SYSTEM_OF_CARE", - "OTHER" - ] - }, - "otherDescription": { - "description": "Explanation of living situation. Required if 'livingSituationOptions' is 'OTHER'.", - "type": "string", - "nullable": true, - "maxLength": 500, - "example": "other living situation" - } - } - } - } - }, - "toxicExposure": { - "type": "object", - "nullable": true, - "properties": { - "gulfWarHazardService": { - "type": "object", - "nullable": true, - "description": "Toxic exposure related to the Gulf war.", - "properties": { - "servedInGulfWarHazardLocations": { - "type": "string", - "description": "Set to true if the Veteran served in any of the following Gulf War hazard locations: Iraq; Kuwait; Saudi Arabia; the neutral zone between Iraq and Saudi Arabia; Bahrain; Qatar; the United Arab Emirates; Oman; Yemen; Lebanon; Somalia; Afghanistan; Israel; Egypt; Turkey; Syria; Jordan; Djibouti; Uzbekistan; the Gulf of Aden; the Gulf of Oman; the Persian Gulf; the Arabian Sea; and the Red Sea.", - "example": "YES", - "enum": [ - "NO", - "YES" - ], - "nullable": true - }, - "serviceDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for serving in Gulf War hazard location.", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for serving in Gulf War hazard location.", - "example": "2018-06 or 2018" - } - } - } - } - }, - "herbicideHazardService": { - "description": "Toxic exposure related to herbicide (Agent Orange) hazards.", - "type": "object", - "nullable": true, - "properties": { - "servedInHerbicideHazardLocations": { - "type": "string", - "description": "Set to true if the Veteran served in any of the following herbicide/Agent Orange locations: Republic of Vietnam to include the 12 nautical mile territorial waters; Thailand at any United States or Royal Thai base; Laos; Cambodia at Mimot or Krek; Kampong Cham Province; Guam or American Samoa; or in the territorial waters thereof; Johnston Atoll or a ship that called at Johnston Atoll; Korean demilitarized zone; aboard (to include repeated operations and maintenance with) a C-123 aircraft known to have been used to spray an herbicide agent (during service in the Air Force and Air Force Reserves).", - "example": "YES", - "enum": [ - "NO", - "YES" - ], - "nullable": true - }, - "otherLocationsServed": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Other location(s) where Veteran served." - }, - "serviceDates": { - "description": "Date range for exposure in herbicide hazard location.", - "type": "object", - "nullable": true, - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for serving in herbicide location.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for serving in herbicide location.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - } - } - }, - "additionalHazardExposures": { - "type": "object", - "nullable": true, - "description": "Additional hazardous exposures.", - "properties": { - "additionalExposures": { - "description": "Additional exposure incidents.", - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "type": "string", - "additionalProperties": false, - "enum": [ - "ASBESTOS", - "MUSTARD_GAS", - "RADIATION", - "SHIPBOARD_HAZARD_AND_DEFENSE", - "MILITARY_OCCUPATIONAL_SPECIALTY_RELATED_TOXIN", - "CONTAMINATED_WATER_AT_CAMP_LEJEUNE", - "OTHER" - ] - } - }, - "specifyOtherExposures": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Exposure to asbestos." - }, - "exposureDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - } - } - }, - "multipleExposures": { - "type": "array", - "nullable": true, - "minItems": 1, - "uniqueItems": true, - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "exposureDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - }, - "exposureLocation": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Location where the exposure happened." - }, - "hazardExposedTo": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Hazard the Veteran was exposed to." - } - } - } - } - } - }, - "disabilities": { - "description": "Any current disabilities or symptoms the Veteran is claiming are related to their military service and/or are service-connected.", - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "additionalProperties": false, - "required": [ - "disabilityActionType", - "name" - ], - "properties": { - "name": { - "description": "Name of the disability. The /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible disability names.", - "type": "string", - "pattern": "^$|([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "PTSD (post traumatic stress disorder)", - "maxLength": 255 - }, - "classificationCode": { - "type": "string", - "description": "Classification code for the associated body system. Must match an active code returned by the /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "example": "249470", - "nullable": true - }, - "serviceRelevance": { - "description": "Explanation of how the disability(ies) relates to the in-service event/exposure/injury. If the disabilityActionType is 'NEW', the serviceRelevance is required.", - "type": "string", - "nullable": true, - "example": "Heavy equipment operator in service." - }, - "approximateDate": { - "description": "Approximate date disability began. Date must be in the past. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4}(?:-(?!00)(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[1-2][0-9]|3[0-1]))?)?)$", - "example": "2018-03-02 or 2018-03 or 2018", - "nullable": true - }, - "ratedDisabilityId": { - "description": "When submitting a contention with action type 'INCREASE', the previously rated disability id may be included.", - "type": "string", - "example": "1100583", - "nullable": true - }, - "diagnosticCode": { - "description": "If the disabilityActionType is 'NONE' or 'INCREASE', the diagnosticCode should correspond to an existing rated disability.", - "type": "integer", - "example": 9999, - "nullable": true - }, - "disabilityActionType": { - "description": "Action type requested for the disability. If 'INCREASE' or 'NONE', then 'ratedDisabilityId' and 'diagnosticCode' should be included. 'NONE' should be used when including a secondary disability.", - "type": "string", - "enum": [ - "NONE", - "NEW", - "INCREASE" - ], - "example": "NEW" - }, - "secondaryDisabilities": { - "description": "If secondaryDisability is included, the following attributes are required: 'secondaryDisability.name', 'secondaryDisability.disabilityActionType' and 'secondaryDisability.serviceRelevance'", - "type": "array", - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "name": { - "description": "Name of the disability. The /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible disability names.", - "type": "string", - "pattern": "^$|([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "PTSD (post traumatic stress disorder)", - "maxLength": 255 - }, - "disabilityActionType": { - "description": "The status of the secondary disability.", - "type": "string", - "example": "SECONDARY", - "enum": [ - "SECONDARY" - ] - }, - "serviceRelevance": { - "description": "Explanation of how the disability(ies) relates to the in-service event/exposure/injury.", - "type": "string", - "nullable": true, - "example": "Heavy equipment operator in service." - }, - "classificationCode": { - "type": "string", - "description": "Classification code for the associated body system. Must match an active code returned by the /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "example": "249470", - "nullable": true - }, - "approximateDate": { - "description": "Approximate date disability began. Date must be in the past. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4}(?:-(?!00)(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[1-2][0-9]|3[0-1]))?)?)$", - "example": "2018-03-02 or 2018-03 or 2018", - "nullable": true - }, - "exposureOrEventOrInjury": { - "type": "string", - "description": "What caused the disability?", - "nullable": true, - "examples": [ - "Agent Orange", - "radiation", - "burn pits" - ] - } - } - } - }, - "isRelatedToToxicExposure": { - "type": "boolean", - "description": "Is the disability related to toxic exposures? If true, related 'toxicExposure' must be included.", - "example": true, - "default": false, - "nullable": true - }, - "exposureOrEventOrInjury": { - "type": "string", - "description": "What caused the disability?", - "nullable": true, - "examples": [ - "Agent Orange", - "radiation", - "burn pits" - ] - } - } - } - }, - "treatments": { - "description": "Identifies the Service Treatment information of the Veteran.", - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "beginDate": { - "description": "Begin date for treatment. If treatment began from 2005 to present, you do not need to provide dates. Each treatment begin date must be after the first 'servicePeriod.activeDutyBeginDate'.", - "type": "string", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018", - "nullable": true - }, - "treatedDisabilityNames": { - "description": "Name(s) of disabilities treated in this time frame. Name must match 'name' of a disability included on this claim.", - "type": "array", - "nullable": true, - "maxItems": 101, - "items": { - "type": "string", - "additionalProperties": false, - "example": [ - "PTSD (post traumatic stress disorder)", - "Trauma" - ] - } - }, - "center": { - "description": "VA Medical Center(s) and Department of Defense Military Treatment Facilities where the Veteran received treatment after discharge for any claimed disabilities.", - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "name": { - "description": "Name of facility Veteran was treated in. The /treatment-centers endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible treatment center names.", - "type": "string", - "nullable": true, - "pattern": "^$|(?!(?: )$)([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "Private Facility 2", - "maxLength": 100 - }, - "city": { - "description": "City of treatment facility.", - "type": "string", - "pattern": "^$|^([-a-zA-Z'.#]([-a-zA-Z'.# ])?)+$", - "example": "Portland", - "nullable": true - }, - "state": { - "description": "State of treatment facility.", - "type": "string", - "pattern": "^$|^[a-z,A-Z]{2}$", - "example": "OR", - "nullable": true - } - } - } - } - } - }, - "serviceInformation": { - "type": "object", - "additionalProperties": false, - "required": [ - "servicePeriods" - ], - "properties": { - "servicePeriods": { - "description": "Identifies the Service dates and Branch the Veteran served in.", - "type": "array", - "minItems": 1, - "uniqueItems": true, - "items": { - "type": "object", - "required": [ - "serviceBranch", - "serviceComponent" - ], - "properties": { - "serviceBranch": { - "description": "Branch of service during period. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "example": "Air Force" - }, - "serviceComponent": { - "type": "string", - "description": "", - "enum": [ - "Active", - "Reserves", - "National Guard" - ] - }, - "activeDutyBeginDate": { - "description": "Date started active duty.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "activeDutyEndDate": { - "description": "Date completed active duty. If in the future, 'separationLocationCode' is required.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "separationLocationCode": { - "description": "Location code for the facility the Veteran plans to separate from. Required if 'servicePeriod.activeDutyEndDate' is in the future. Code must match the values returned by the /intake-sites endpoint on the [Benefits reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "nullable": true, - "example": "98283" - } - } - } - }, - "confinements": { - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "additionalProperties": false, - "type": "object", - "properties": { - "approximateBeginDate": { - "description": "The approximateBeginDate must be after the earliest servicePeriod activeDutyBeginDate.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-06-06 or 2018-06" - }, - "approximateEndDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-06-06 or 2018-06" - } - } - } - }, - "federalActivation": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "anticipatedSeparationDate": { - "description": "Anticipated date of separation. Date must be in the future.", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06", - "nullable": true - }, - "activationDate": { - "description": "Date cannot be in the future and must be after the earliest servicePeriod.activeDutyBeginDate.", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06", - "nullable": true - } - } - }, - "reservesNationalGuardService": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "obligationTermsOfService": { - "type": "object", - "nullable": true, - "description": "If 'obligationTermsOfService' is included, the following attributes are required: 'beginDate ' and 'endDate'.", - "additionalProperties": false, - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "endDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - } - } - }, - "component": { - "type": "string", - "nullable": true, - "description": "", - "enum": [ - "Reserves", - "National Guard" - ] - }, - "unitName": { - "type": "string", - "nullable": true, - "pattern": "^$|([a-zA-Z0-9\\-'.,# ][a-zA-Z0-9\\-'.,# ]?)*$" - }, - "unitAddress": { - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "nullable": true - }, - "unitPhone": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "areaCode": { - "type": "string", - "nullable": true, - "maxLength": 3, - "pattern": "^$|^\\d{3}$", - "example": "555" - }, - "phoneNumber": { - "type": "string", - "nullable": true, - "maxLength": 20, - "example": "5555555" - } - } - }, - "receivingInactiveDutyTrainingPay": { - "type": "string", - "enum": [ - "YES", - "NO" - ], - "nullable": true, - "example": "YES" - } - } - }, - "alternateNames": { - "description": "List any other names under which the Veteran served, if applicable.", - "type": "array", - "nullable": true, - "maxItems": 100, - "uniqueItems": true, - "items": { - "type": "string", - "additionalProperties": false, - "examples": [ - "jane", - "janey lee", - "jane lee MacDonald" - ] - } - }, - "servedInActiveCombatSince911": { - "type": "string", - "enum": [ - "YES", - "NO" - ], - "description": "Did Veteran serve in a combat zone since 9-11-2001?", - "example": "YES", - "nullable": true - } - } - }, - "servicePay": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "favorTrainingPay": { - "description": "Is the Veteran waiving VA benefits to retain training pay? See item 28 on form 21-526EZ for more details. ", - "type": "boolean", - "nullable": true, - "example": true, - "default": false - }, - "favorMilitaryRetiredPay": { - "description": "Is the Veteran waiving VA benefits to retain military retired pay? See item 26 on form 21-526EZ for more details.", - "type": "boolean", - "nullable": true, - "example": true, - "default": false - }, - "receivingMilitaryRetiredPay": { - "description": "Is the Veteran receiving military retired pay?", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "futureMilitaryRetiredPay": { - "description": "Will the Veteran receive military retired pay pay in future? \n If true, then 'futurePayExplanation' is required.", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "futureMilitaryRetiredPayExplanation": { - "description": "Explains why future pay will be received.", - "type": "string", - "example": "Will be retiring soon.", - "nullable": true - }, - "militaryRetiredPay": { - "type": "object", - "nullable": true, - "description": "", - "properties": { - "branchOfService": { - "description": "Branch of service. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "nullable": true, - "example": "Air Force" - }, - "monthlyAmount": { - "description": "Amount being received.", - "type": "number", - "nullable": true, - "minimum": 1, - "maximum": 999999, - "example": 100 - } - } - }, - "retiredStatus": { - "type": "string", - "nullable": true, - "description": "", - "enum": [ - "RETIRED", - "TEMPORARY_DISABILITY_RETIRED_LIST", - "PERMANENT_DISABILITY_RETIRED_LIST" - ] - }, - "receivedSeparationOrSeverancePay": { - "description": "Has the Veteran ever received separation pay, disability severance pay, or any other lump sum payment from their branch of service?", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "separationSeverancePay": { - "type": "object", - "nullable": true, - "description": "", - "properties": { - "datePaymentReceived": { - "description": "Approximate date separation pay was received. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-03-02 or 2018-03 or 2018" - }, - "branchOfService": { - "description": "Branch of service. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "nullable": true, - "example": "Air Force" - }, - "preTaxAmountReceived": { - "description": "Amount being received.", - "type": "number", - "nullable": true, - "minimum": 1, - "maximum": 999999, - "example": 100 - } - } - } - } - }, - "directDeposit": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "description": "If direct deposit information is included, the following attributes are required: accountType, accountNumber, routingNumber.", - "properties": { - "accountType": { - "description": "Account type for the direct deposit.", - "type": "string", - "nullable": true, - "example": "CHECKING", - "enum": [ - "CHECKING", - "SAVINGS" - ] - }, - "accountNumber": { - "description": "Account number for the direct deposit.", - "pattern": "^(?:[a-zA-Z0-9]{4,17})?$", - "type": "string", - "nullable": true, - "example": "123123123123" - }, - "routingNumber": { - "description": "Routing number for the direct deposit.", - "type": "string", - "nullable": true, - "pattern": "^(?:\\d{9})?$", - "example": "123123123" - }, - "financialInstitutionName": { - "description": "Provide the name of the financial institution where the Veteran wants the direct deposit.", - "maxLength": 35, - "type": "string", - "nullable": true, - "example": "Some Bank" - }, - "noAccount": { - "type": "boolean", - "nullable": true, - "description": "Claimant certifies that they do not have an account with a financial institution or certified payment agent.", - "default": false - } - } - } - } - } - } - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "status": "401", - "detail": "Not authorized" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "status": { - "type": "string", - "description": "HTTP error status code" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - }, - "422": { - "description": "Unprocessable entity", - "content": { - "application/json": { - "examples": { - "Violates JSON Schema": { - "value": { - "errors": [ - { - "title": "Unprocessable entity", - "detail": "The property / did not contain the required key claimProcessType", - "status": "422", - "source": { - "pointer": "data/attributes/" - } - }, - { - "title": "Unprocessable entity", - "detail": "The property / did not contain the required key disabilities", - "status": "422", - "source": { - "pointer": "data/attributes/" - } - }, - { - "title": "Unprocessable entity", - "detail": "The property / did not contain the required key serviceInformation", - "status": "422", - "source": { - "pointer": "data/attributes/" - } - }, - { - "title": "Unprocessable entity", - "detail": "The property / did not contain the required key veteranIdentification", - "status": "422", - "source": { - "pointer": "data/attributes/" - } - } - ] - } - }, - "Not a JSON Object": { - "value": { - "errors": [ - { - "title": "Unprocessable entity", - "status": "422", - "detail": "The request body is not a valid JSON object: This is not valid JSON", - "source": { - "pointer": null - } - } - ] - } - } - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "status", - "detail" - ], - "properties": { - "status": { - "type": "string", - "description": "HTTP error code" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "pointer": { - "type": "string" - } - }, - "title": { - "type": "string" - } - } - } - } - } - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "data" - ], - "properties": { - "data": { - "type": "object", - "required": [ - "attributes", - null - ], - "properties": { - "attributes": { - "$schema": "http://json-schema.org/draft-07/schema#", - "description": "Claims API 526 Schema", - "type": "object", - "additionalProperties": false, - "required": [ - "claimantCertification", - "claimProcessType", - "disabilities", - "serviceInformation", - "veteranIdentification" - ], - "properties": { - "claimProcessType": { - "type": "string", - "description": "Select type of claim program/process that applies to the Veteran.", - "enum": [ - "STANDARD_CLAIM_PROCESS", - "FDC_PROGRAM", - "BDD_PROGRAM" - ] - }, - "claimantCertification": { - "type": "boolean", - "description": "Claimant certifies and authorizes release of information.", - "default": false - }, - "veteranIdentification": { - "type": "object", - "additionalProperties": false, - "required": [ - "mailingAddress" - ], - "properties": { - "currentVaEmployee": { - "type": "boolean", - "description": "Set to true if Veteran is a VA employee.", - "default": false, - "nullable": true - }, - "serviceNumber": { - "type": "string", - "description": "Service identification number", - "nullable": true - }, - "emailAddress": { - "description": "Information associated with the Veteran's email address.", - "type": "object", - "nullable": true, - "properties": { - "email": { - "type": "string", - "pattern": "^\\w+([\\.-]?\\w+)*@\\w+([\\.-]?\\w+)*(\\.\\w{2,3})+$", - "description": "The most current email address of the Veteran.", - "maxLength": 50, - "nullable": true - }, - "agreeToEmailRelatedToClaim": { - "type": "boolean", - "description": "Agreement to email information relating to this claim.", - "example": true, - "default": false, - "nullable": true - } - } - }, - "veteranNumber": { - "description": "If there is no phone number in VBMS for the Veteran, the exams will not be ordered. Including the phone number is recommended to avoid claim processing delays.", - "type": "object", - "nullable": true, - "properties": { - "telephone": { - "description": "Veteran's phone number.", - "type": "string", - "pattern": "^\\d{10}?$", - "example": "5555555", - "minLength": 10, - "maxLength": 10, - "nullable": true - }, - "internationalTelephone": { - "type": "string", - "description": "Veteran's international phone number.", - "example": "+44 20 1234 5678", - "nullable": true - } - } - }, - "mailingAddress": { - "type": "object", - "additionalProperties": false, - "required": [ - "addressLine1", - "city", - "state", - "zipFirstFive", - "country" - ], - "properties": { - "addressLine1": { - "description": "Address line 1 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "1234 Couch Street" - }, - "addressLine2": { - "description": "Address line 2 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "Unit 4", - "nullable": true - }, - "addressLine3": { - "description": "Address line 3 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "Room 1", - "nullable": true - }, - "city": { - "description": "City for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$", - "example": "Portland" - }, - "country": { - "description": "Country for the Veteran's current mailing address. Must match the values returned by the /countries endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "example": "USA" - }, - "zipFirstFive": { - "description": "Zip code (First 5 digits) for the Veteran's current mailing address.", - "type": "string", - "pattern": "^\\d{5}?$", - "example": "12345" - }, - "zipLastFour": { - "description": "Zip code (Last 4 digits) for the Veteran's current mailing address.", - "type": "string", - "pattern": "^\\d{4}?$", - "example": "6789", - "nullable": true - }, - "state": { - "description": "State for the Veteran's current mailing address.", - "type": "string", - "pattern": "^[a-z,A-Z]{2}$", - "example": "OR" - } - } - } - } - }, - "changeOfAddress": { - "description": "If 'changeOfAddress' is included, the following attributes are required: 'typeOfAddressChange', 'dates.beginDate', 'addressLine1', 'city', 'state', 'country', 'zipFirstFive'.", - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "dates": { - "type": "object", - "properties": { - "beginDate": { - "description": "Begin date for the Veteran's new address.", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "type": "string", - "example": "2018-06-04" - }, - "endDate": { - "description": "Date in YYYY-MM-DD the changed address expires, if change is temporary.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-04" - } - } - }, - "typeOfAddressChange": { - "description": "Temporary or Permanent change of address. If 'TEMPORARY', 'beginDate' and 'endDate' are required.", - "type": "string", - "enum": [ - "TEMPORARY", - "PERMANENT" - ], - "example": "PERMANENT" - }, - "addressLine1": { - "description": "Address line 1 for the Veteran's new address.", - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "1234 Couch Street" - }, - "addressLine2": { - "description": "Address line 2 for the Veteran's new address.", - "type": "string", - "maxLength": 20, - "example": "Unit 4", - "nullable": true - }, - "addressLine3": { - "description": "Address line 3 for the Veteran's new address.", - "type": "string", - "maxLength": 20, - "example": "Room 1", - "nullable": true - }, - "city": { - "description": "City for the Veteran's new address.", - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$", - "example": "Portland" - }, - "country": { - "description": "Country for the Veteran's new address. Value must match the values returned by the /countries endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "example": "USA" - }, - "zipFirstFive": { - "description": "Zip code (First 5 digits) for the Veteran's new address.", - "type": "string", - "pattern": "^$|^\\d{5}?$", - "example": "12345" - }, - "zipLastFour": { - "description": "Zip code (Last 4 digits) for the Veteran's new address.", - "type": "string", - "nullable": true, - "pattern": "^$|^\\d{4}?$", - "example": "6789" - }, - "state": { - "description": "State for the Veteran's new address.", - "type": "string", - "pattern": "^$|^[a-z,A-Z]{2}$", - "example": "OR" - } - } - }, - "homeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "pointOfContact": { - "description": "Individual in direct contact with Veteran.", - "type": "string", - "nullable": true, - "minLength": 1, - "maxLength": 100, - "pattern": "^([-a-zA-Z0-9/']+( ?))*$", - "example": "Jane Doe" - }, - "pointOfContactNumber": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "telephone": { - "description": "Primary phone of point of contact.", - "type": "string", - "pattern": "^\\d{10}?$", - "example": "5555555", - "minLength": 10, - "maxLength": 10, - "nullable": true - }, - "internationalTelephone": { - "description": "International phone of point of contact.", - "type": "string", - "example": "+44 20 1234 5678", - "nullable": true - } - } - }, - "currentlyHomeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "homelessSituationOptions": { - "description": "Veteran's living situation.", - "type": "string", - "nullable": true, - "default": "other", - "enum": [ - "LIVING_IN_A_HOMELESS_SHELTER", - "NOT_CURRENTLY_IN_A_SHELTERED_ENVIRONMENT", - "STAYING_WITH_ANOTHER_PERSON", - "FLEEING_CURRENT_RESIDENCE", - "OTHER" - ], - "example": "FLEEING_CURRENT_RESIDENCE" - }, - "otherDescription": { - "description": "Explanation of living situation. Required if 'homelessSituationOptions' is 'OTHER'.", - "type": "string", - "nullable": true, - "maxLength": 500, - "example": "other living situation" - } - } - }, - "riskOfBecomingHomeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "livingSituationOptions": { - "type": "string", - "nullable": true, - "default": "HOUSING_WILL_BE_LOST_IN_30_DAYS", - "enum": [ - "HOUSING_WILL_BE_LOST_IN_30_DAYS", - "LEAVING_PUBLICLY_FUNDED_SYSTEM_OF_CARE", - "OTHER" - ] - }, - "otherDescription": { - "description": "Explanation of living situation. Required if 'livingSituationOptions' is 'OTHER'.", - "type": "string", - "nullable": true, - "maxLength": 500, - "example": "other living situation" - } - } - } - } - }, - "toxicExposure": { - "type": "object", - "nullable": true, - "properties": { - "gulfWarHazardService": { - "type": "object", - "nullable": true, - "description": "Toxic exposure related to the Gulf war.", - "properties": { - "servedInGulfWarHazardLocations": { - "type": "string", - "description": "Set to true if the Veteran served in any of the following Gulf War hazard locations: Iraq; Kuwait; Saudi Arabia; the neutral zone between Iraq and Saudi Arabia; Bahrain; Qatar; the United Arab Emirates; Oman; Yemen; Lebanon; Somalia; Afghanistan; Israel; Egypt; Turkey; Syria; Jordan; Djibouti; Uzbekistan; the Gulf of Aden; the Gulf of Oman; the Persian Gulf; the Arabian Sea; and the Red Sea.", - "example": "YES", - "enum": [ - "NO", - "YES" - ], - "nullable": true - }, - "serviceDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for serving in Gulf War hazard location.", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for serving in Gulf War hazard location.", - "example": "2018-06 or 2018" - } - } - } - } - }, - "herbicideHazardService": { - "description": "Toxic exposure related to herbicide (Agent Orange) hazards.", - "type": "object", - "nullable": true, - "properties": { - "servedInHerbicideHazardLocations": { - "type": "string", - "description": "Set to true if the Veteran served in any of the following herbicide/Agent Orange locations: Republic of Vietnam to include the 12 nautical mile territorial waters; Thailand at any United States or Royal Thai base; Laos; Cambodia at Mimot or Krek; Kampong Cham Province; Guam or American Samoa; or in the territorial waters thereof; Johnston Atoll or a ship that called at Johnston Atoll; Korean demilitarized zone; aboard (to include repeated operations and maintenance with) a C-123 aircraft known to have been used to spray an herbicide agent (during service in the Air Force and Air Force Reserves).", - "example": "YES", - "enum": [ - "NO", - "YES" - ], - "nullable": true - }, - "otherLocationsServed": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Other location(s) where Veteran served." - }, - "serviceDates": { - "description": "Date range for exposure in herbicide hazard location.", - "type": "object", - "nullable": true, - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for serving in herbicide location.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for serving in herbicide location.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - } - } - }, - "additionalHazardExposures": { - "type": "object", - "nullable": true, - "description": "Additional hazardous exposures.", - "properties": { - "additionalExposures": { - "description": "Additional exposure incidents.", - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "type": "string", - "additionalProperties": false, - "enum": [ - "ASBESTOS", - "MUSTARD_GAS", - "RADIATION", - "SHIPBOARD_HAZARD_AND_DEFENSE", - "MILITARY_OCCUPATIONAL_SPECIALTY_RELATED_TOXIN", - "CONTAMINATED_WATER_AT_CAMP_LEJEUNE", - "OTHER" - ] - } - }, - "specifyOtherExposures": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Exposure to asbestos." - }, - "exposureDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - } - } - }, - "multipleExposures": { - "type": "array", - "nullable": true, - "minItems": 1, - "uniqueItems": true, - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "exposureDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - }, - "exposureLocation": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Location where the exposure happened." - }, - "hazardExposedTo": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Hazard the Veteran was exposed to." - } - } - } - } - } - }, - "disabilities": { - "description": "Any current disabilities or symptoms the Veteran is claiming are related to their military service and/or are service-connected.", - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "additionalProperties": false, - "required": [ - "disabilityActionType", - "name" - ], - "properties": { - "name": { - "description": "Name of the disability. The /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible disability names.", - "type": "string", - "pattern": "^$|([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "PTSD (post traumatic stress disorder)", - "maxLength": 255 - }, - "classificationCode": { - "type": "string", - "description": "Classification code for the associated body system. Must match an active code returned by the /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "example": "249470", - "nullable": true - }, - "serviceRelevance": { - "description": "Explanation of how the disability(ies) relates to the in-service event/exposure/injury. If the disabilityActionType is 'NEW', the serviceRelevance is required.", - "type": "string", - "nullable": true, - "example": "Heavy equipment operator in service." - }, - "approximateDate": { - "description": "Approximate date disability began. Date must be in the past. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4}(?:-(?!00)(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[1-2][0-9]|3[0-1]))?)?)$", - "example": "2018-03-02 or 2018-03 or 2018", - "nullable": true - }, - "ratedDisabilityId": { - "description": "When submitting a contention with action type 'INCREASE', the previously rated disability id may be included.", - "type": "string", - "example": "1100583", - "nullable": true - }, - "diagnosticCode": { - "description": "If the disabilityActionType is 'NONE' or 'INCREASE', the diagnosticCode should correspond to an existing rated disability.", - "type": "integer", - "example": 9999, - "nullable": true - }, - "disabilityActionType": { - "description": "Action type requested for the disability. If 'INCREASE' or 'NONE', then 'ratedDisabilityId' and 'diagnosticCode' should be included. 'NONE' should be used when including a secondary disability.", - "type": "string", - "enum": [ - "NONE", - "NEW", - "INCREASE" - ], - "example": "NEW" - }, - "secondaryDisabilities": { - "description": "If secondaryDisability is included, the following attributes are required: 'secondaryDisability.name', 'secondaryDisability.disabilityActionType' and 'secondaryDisability.serviceRelevance'", - "type": "array", - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "name": { - "description": "Name of the disability. The /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible disability names.", - "type": "string", - "pattern": "^$|([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "PTSD (post traumatic stress disorder)", - "maxLength": 255 - }, - "disabilityActionType": { - "description": "The status of the secondary disability.", - "type": "string", - "example": "SECONDARY", - "enum": [ - "SECONDARY" - ] - }, - "serviceRelevance": { - "description": "Explanation of how the disability(ies) relates to the in-service event/exposure/injury.", - "type": "string", - "nullable": true, - "example": "Heavy equipment operator in service." - }, - "classificationCode": { - "type": "string", - "description": "Classification code for the associated body system. Must match an active code returned by the /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "example": "249470", - "nullable": true - }, - "approximateDate": { - "description": "Approximate date disability began. Date must be in the past. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4}(?:-(?!00)(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[1-2][0-9]|3[0-1]))?)?)$", - "example": "2018-03-02 or 2018-03 or 2018", - "nullable": true - }, - "exposureOrEventOrInjury": { - "type": "string", - "description": "What caused the disability?", - "nullable": true, - "examples": [ - "Agent Orange", - "radiation", - "burn pits" - ] - } - } - } - }, - "isRelatedToToxicExposure": { - "type": "boolean", - "description": "Is the disability related to toxic exposures? If true, related 'toxicExposure' must be included.", - "example": true, - "default": false, - "nullable": true - }, - "exposureOrEventOrInjury": { - "type": "string", - "description": "What caused the disability?", - "nullable": true, - "examples": [ - "Agent Orange", - "radiation", - "burn pits" - ] - } - } - } - }, - "treatments": { - "description": "Identifies the Service Treatment information of the Veteran.", - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "beginDate": { - "description": "Begin date for treatment. If treatment began from 2005 to present, you do not need to provide dates. Each treatment begin date must be after the first 'servicePeriod.activeDutyBeginDate'.", - "type": "string", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018", - "nullable": true - }, - "treatedDisabilityNames": { - "description": "Name(s) of disabilities treated in this time frame. Name must match 'name' of a disability included on this claim.", - "type": "array", - "nullable": true, - "maxItems": 101, - "items": { - "type": "string", - "additionalProperties": false, - "example": [ - "PTSD (post traumatic stress disorder)", - "Trauma" - ] - } - }, - "center": { - "description": "VA Medical Center(s) and Department of Defense Military Treatment Facilities where the Veteran received treatment after discharge for any claimed disabilities.", - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "name": { - "description": "Name of facility Veteran was treated in. The /treatment-centers endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible treatment center names.", - "type": "string", - "nullable": true, - "pattern": "^$|(?!(?: )$)([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "Private Facility 2", - "maxLength": 100 - }, - "city": { - "description": "City of treatment facility.", - "type": "string", - "pattern": "^$|^([-a-zA-Z'.#]([-a-zA-Z'.# ])?)+$", - "example": "Portland", - "nullable": true - }, - "state": { - "description": "State of treatment facility.", - "type": "string", - "pattern": "^$|^[a-z,A-Z]{2}$", - "example": "OR", - "nullable": true - } - } - } - } - } - }, - "serviceInformation": { - "type": "object", - "additionalProperties": false, - "required": [ - "servicePeriods" - ], - "properties": { - "servicePeriods": { - "description": "Identifies the Service dates and Branch the Veteran served in.", - "type": "array", - "minItems": 1, - "uniqueItems": true, - "items": { - "type": "object", - "required": [ - "serviceBranch", - "serviceComponent" - ], - "properties": { - "serviceBranch": { - "description": "Branch of service during period. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "example": "Air Force" - }, - "serviceComponent": { - "type": "string", - "description": "", - "enum": [ - "Active", - "Reserves", - "National Guard" - ] - }, - "activeDutyBeginDate": { - "description": "Date started active duty.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "activeDutyEndDate": { - "description": "Date completed active duty. If in the future, 'separationLocationCode' is required.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "separationLocationCode": { - "description": "Location code for the facility the Veteran plans to separate from. Required if 'servicePeriod.activeDutyEndDate' is in the future. Code must match the values returned by the /intake-sites endpoint on the [Benefits reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "nullable": true, - "example": "98283" - } - } - } - }, - "confinements": { - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "additionalProperties": false, - "type": "object", - "properties": { - "approximateBeginDate": { - "description": "The approximateBeginDate must be after the earliest servicePeriod activeDutyBeginDate.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-06-06 or 2018-06" - }, - "approximateEndDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-06-06 or 2018-06" - } - } - } - }, - "federalActivation": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "anticipatedSeparationDate": { - "description": "Anticipated date of separation. Date must be in the future.", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06", - "nullable": true - }, - "activationDate": { - "description": "Date cannot be in the future and must be after the earliest servicePeriod.activeDutyBeginDate.", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06", - "nullable": true - } - } - }, - "reservesNationalGuardService": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "obligationTermsOfService": { - "type": "object", - "nullable": true, - "description": "If 'obligationTermsOfService' is included, the following attributes are required: 'beginDate ' and 'endDate'.", - "additionalProperties": false, - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "endDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - } - } - }, - "component": { - "type": "string", - "nullable": true, - "description": "", - "enum": [ - "Reserves", - "National Guard" - ] - }, - "unitName": { - "type": "string", - "nullable": true, - "pattern": "^$|([a-zA-Z0-9\\-'.,# ][a-zA-Z0-9\\-'.,# ]?)*$" - }, - "unitAddress": { - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "nullable": true - }, - "unitPhone": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "areaCode": { - "type": "string", - "nullable": true, - "maxLength": 3, - "pattern": "^$|^\\d{3}$", - "example": "555" - }, - "phoneNumber": { - "type": "string", - "nullable": true, - "maxLength": 20, - "example": "5555555" - } - } - }, - "receivingInactiveDutyTrainingPay": { - "type": "string", - "enum": [ - "YES", - "NO" - ], - "nullable": true, - "example": "YES" - } - } - }, - "alternateNames": { - "description": "List any other names under which the Veteran served, if applicable.", - "type": "array", - "nullable": true, - "maxItems": 100, - "uniqueItems": true, - "items": { - "type": "string", - "additionalProperties": false, - "examples": [ - "jane", - "janey lee", - "jane lee MacDonald" - ] - } - }, - "servedInActiveCombatSince911": { - "type": "string", - "enum": [ - "YES", - "NO" - ], - "description": "Did Veteran serve in a combat zone since 9-11-2001?", - "example": "YES", - "nullable": true - } - } - }, - "servicePay": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "favorTrainingPay": { - "description": "Is the Veteran waiving VA benefits to retain training pay? See item 28 on form 21-526EZ for more details. ", - "type": "boolean", - "nullable": true, - "example": true, - "default": false - }, - "favorMilitaryRetiredPay": { - "description": "Is the Veteran waiving VA benefits to retain military retired pay? See item 26 on form 21-526EZ for more details.", - "type": "boolean", - "nullable": true, - "example": true, - "default": false - }, - "receivingMilitaryRetiredPay": { - "description": "Is the Veteran receiving military retired pay?", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "futureMilitaryRetiredPay": { - "description": "Will the Veteran receive military retired pay pay in future? \n If true, then 'futurePayExplanation' is required.", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "futureMilitaryRetiredPayExplanation": { - "description": "Explains why future pay will be received.", - "type": "string", - "example": "Will be retiring soon.", - "nullable": true - }, - "militaryRetiredPay": { - "type": "object", - "nullable": true, - "description": "", - "properties": { - "branchOfService": { - "description": "Branch of service. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "nullable": true, - "example": "Air Force" - }, - "monthlyAmount": { - "description": "Amount being received.", - "type": "number", - "nullable": true, - "minimum": 1, - "maximum": 999999, - "example": 100 - } - } - }, - "retiredStatus": { - "type": "string", - "nullable": true, - "description": "", - "enum": [ - "RETIRED", - "TEMPORARY_DISABILITY_RETIRED_LIST", - "PERMANENT_DISABILITY_RETIRED_LIST" - ] - }, - "receivedSeparationOrSeverancePay": { - "description": "Has the Veteran ever received separation pay, disability severance pay, or any other lump sum payment from their branch of service?", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "separationSeverancePay": { - "type": "object", - "nullable": true, - "description": "", - "properties": { - "datePaymentReceived": { - "description": "Approximate date separation pay was received. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-03-02 or 2018-03 or 2018" - }, - "branchOfService": { - "description": "Branch of service. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "nullable": true, - "example": "Air Force" - }, - "preTaxAmountReceived": { - "description": "Amount being received.", - "type": "number", - "nullable": true, - "minimum": 1, - "maximum": 999999, - "example": 100 - } - } - } - } - }, - "directDeposit": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "description": "If direct deposit information is included, the following attributes are required: accountType, accountNumber, routingNumber.", - "properties": { - "accountType": { - "description": "Account type for the direct deposit.", - "type": "string", - "nullable": true, - "example": "CHECKING", - "enum": [ - "CHECKING", - "SAVINGS" - ] - }, - "accountNumber": { - "description": "Account number for the direct deposit.", - "pattern": "^(?:[a-zA-Z0-9]{4,17})?$", - "type": "string", - "nullable": true, - "example": "123123123123" - }, - "routingNumber": { - "description": "Routing number for the direct deposit.", - "type": "string", - "nullable": true, - "pattern": "^(?:\\d{9})?$", - "example": "123123123" - }, - "financialInstitutionName": { - "description": "Provide the name of the financial institution where the Veteran wants the direct deposit.", - "maxLength": 35, - "type": "string", - "nullable": true, - "example": "Some Bank" - }, - "noAccount": { - "type": "boolean", - "nullable": true, - "description": "Claimant certifies that they do not have an account with a financial institution or certified payment agent.", - "default": false - } - } - } - } - } - } - } - }, - "example": { - "data": { - "type": "form/526", - "attributes": { - "claimantCertification": true, - "claimProcessType": "STANDARD_CLAIM_PROCESS", - "veteranIdentification": { - "currentVaEmployee": false, - "mailingAddress": { - "addressLine1": "123 Main Street", - "addressLine2": "Unit 1", - "addressLine3": "Room 2", - "city": "Portland", - "country": "USA", - "zipFirstFive": "41726", - "zipLastFour": "1234", - "state": "OR" - }, - "serviceNumber": "123456789", - "emailAddress": { - "email": "valid@somedomain.com", - "agreeToEmailRelatedToClaim": true - }, - "veteranNumber": { - "telephone": "5555555555" - } - }, - "changeOfAddress": { - "dates": { - "beginDate": "2025-06-04", - "endDate": "2026-06-04" - }, - "typeOfAddressChange": "TEMPORARY", - "addressLine1": "456 Main Street", - "addressLine2": "Unit 3", - "addressLine3": "Room 4", - "city": "Atlanta", - "zipFirstFive": "42220", - "zipLastFour": "9897", - "state": "GA", - "country": "USA" - }, - "homeless": { - "pointOfContact": "John Doe", - "pointOfContactNumber": { - "telephone": "5555555555" - }, - "currentlyHomeless": { - "homelessSituationOptions": "OTHER", - "otherDescription": "Other living situation" - } - }, - "toxicExposure": { - "gulfWarHazardService": { - "servedInGulfWarHazardLocations": "YES", - "serviceDates": { - "beginDate": "1999-07", - "endDate": "2005-01" - } - }, - "herbicideHazardService": { - "servedInHerbicideHazardLocations": "YES", - "otherLocationsServed": "Guam", - "serviceDates": { - "beginDate": "2002-03", - "endDate": "2004-10" - } - }, - "additionalHazardExposures": { - "additionalExposures": [ - "ASBESTOS", - "SHIPBOARD_HAZARD_AND_DEFENSE" - ], - "specifyOtherExposures": "Other exposure details", - "exposureDates": { - "beginDate": "2011-07", - "endDate": "2013-10" - } - }, - "multipleExposures": [ - { - "exposureDates": { - "beginDate": "2012-12", - "endDate": "2013-07" - }, - "exposureLocation": "Guam", - "hazardExposedTo": "Hazard" - } - ] - }, - "disabilities": [ - { - "disabilityActionType": "NEW", - "name": "Hearing Loss", - "serviceRelevance": "Heavy equipment operator in service", - "approximateDate": "1988-07", - "isRelatedToToxicExposure": false, - "exposureOrEventOrInjury": "Noise" - } - ], - "treatments": [ - { - "treatedDisabilityNames": [ - "Hearing Loss" - ], - "center": { - "name": "Center One", - "state": "GA", - "city": "Decatur" - }, - "beginDate": "2009-04" - }, - { - "treatedDisabilityNames": [ - "Hearing Loss" - ], - "center": { - "name": "Center One", - "state": "GA", - "city": "Decatur" - }, - "beginDate": "2009-03" - } - ], - "serviceInformation": { - "servicePeriods": [ - { - "serviceBranch": "Air Force", - "activeDutyBeginDate": "2008-11-14", - "activeDutyEndDate": "2023-10-30", - "serviceComponent": "Active", - "separationLocationCode": "98282" - } - ], - "confinements": [ - { - "approximateBeginDate": "2016-06-11", - "approximateEndDate": "2016-09-11" - }, - { - "approximateBeginDate": "2019-06", - "approximateEndDate": "2019-07" - } - ], - "federalActivation": { - "anticipatedSeparationDate": "2023-12-03", - "activationDate": "2023-02-10" - }, - "reservesNationalGuardService": { - "obligationTermsOfService": { - "beginDate": "2016-11-24", - "endDate": "2017-11-17" - }, - "unitName": "National Guard Unit Name", - "unitAddress": "1243 pine court", - "component": "National Guard", - "unitPhone": { - "areaCode": "555", - "phoneNumber": "5555555" - }, - "receivingInactiveDutyTrainingPay": "YES" - }, - "servedInActiveCombatSince911": "NO" - }, - "servicePay": { - "favorTrainingPay": true, - "favorMilitaryRetiredPay": false, - "receivingMilitaryRetiredPay": "NO", - "futureMilitaryRetiredPay": "YES", - "futureMilitaryRetiredPayExplanation": "Explanation of future military retired pay", - "militaryRetiredPay": { - "branchOfService": "Army", - "monthlyAmount": 840.75 - }, - "retiredStatus": "PERMANENT_DISABILITY_RETIRED_LIST", - "receivedSeparationOrSeverancePay": "NO", - "separationSeverancePay": { - "datePaymentReceived": "2018-07-31", - "branchOfService": "Naval Academy", - "preTaxAmountReceived": 379.25 - } - }, - "directDeposit": { - "accountType": "CHECKING", - "accountNumber": "123123123123", - "routingNumber": "123456789", - "financialInstitutionName": "Chase", - "noAccount": false - } - } - } - } - } - } - }, - "required": true - } - } - }, - "/veterans/{veteranId}/526/validate": { - "post": { - "summary": "Validates a 526 claim form submission.", - "tags": [ - "Disability Compensation Claims" - ], - "operationId": "post526ClaimValidate", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "description": "Validates a request for a disability compensation claim submission (21-526EZ).\nThis endpoint can be used to test the request parameters for your /526 submission.\n", - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Successful response with disability", - "content": { - "application/json": { - "example": { - "data": { - "type": "claims_api_auto_established_claim_validation", - "attributes": { - "status": "valid" - } - } - }, - "schema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "type": "object", - "required": [ - "data" - ], - "properties": { - "data": { - "type": "object", - "additionalProperties": false, - "required": [ - "type", - "attributes" - ], - "properties": { - "type": { - "type": "string" - }, - "attributes": { - "type": "object", - "additionalProperties": false, - "required": [ - "status" - ], - "properties": { - "status": { - "type": "string", - "enum": [ - "valid" - ], - "description": "Return whether or not whether or not the payload is valid" - } - } - } - } - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "status": "401", - "detail": "Not authorized" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "status": { - "type": "string", - "description": "HTTP error status code" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - }, - "422": { - "description": "Unprocessable entity", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Unprocessable entity", - "detail": "The property / did not contain the required key claimProcessType", - "status": "422", - "source": { - "pointer": "data/attributes/" - } - }, - { - "title": "Unprocessable entity", - "detail": "The property / did not contain the required key disabilities", - "status": "422", - "source": { - "pointer": "data/attributes/" - } - }, - { - "title": "Unprocessable entity", - "detail": "The property / did not contain the required key serviceInformation", - "status": "422", - "source": { - "pointer": "data/attributes/" - } - }, - { - "title": "Unprocessable entity", - "detail": "The property / did not contain the required key veteranIdentification", - "status": "422", - "source": { - "pointer": "data/attributes/" - } - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "status", - "detail" - ], - "properties": { - "status": { - "type": "string", - "description": "HTTP error code" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "pointer": { - "type": "string" - } - }, - "title": { - "type": "string" - } - } - } - } - } - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "data" - ], - "properties": { - "data": { - "type": "object", - "required": [ - "attributes", - null - ], - "properties": { - "attributes": { - "$schema": "http://json-schema.org/draft-07/schema#", - "description": "Claims API 526 Schema", - "type": "object", - "additionalProperties": false, - "required": [ - "claimantCertification", - "claimProcessType", - "disabilities", - "serviceInformation", - "veteranIdentification" - ], - "properties": { - "claimProcessType": { - "type": "string", - "description": "Select type of claim program/process that applies to the Veteran.", - "enum": [ - "STANDARD_CLAIM_PROCESS", - "FDC_PROGRAM", - "BDD_PROGRAM" - ] - }, - "claimantCertification": { - "type": "boolean", - "description": "Claimant certifies and authorizes release of information.", - "default": false - }, - "veteranIdentification": { - "type": "object", - "additionalProperties": false, - "required": [ - "mailingAddress" - ], - "properties": { - "currentVaEmployee": { - "type": "boolean", - "description": "Set to true if Veteran is a VA employee.", - "default": false, - "nullable": true - }, - "serviceNumber": { - "type": "string", - "description": "Service identification number", - "nullable": true - }, - "emailAddress": { - "description": "Information associated with the Veteran's email address.", - "type": "object", - "nullable": true, - "properties": { - "email": { - "type": "string", - "pattern": "^\\w+([\\.-]?\\w+)*@\\w+([\\.-]?\\w+)*(\\.\\w{2,3})+$", - "description": "The most current email address of the Veteran.", - "maxLength": 50, - "nullable": true - }, - "agreeToEmailRelatedToClaim": { - "type": "boolean", - "description": "Agreement to email information relating to this claim.", - "example": true, - "default": false, - "nullable": true - } - } - }, - "veteranNumber": { - "description": "If there is no phone number in VBMS for the Veteran, the exams will not be ordered. Including the phone number is recommended to avoid claim processing delays.", - "type": "object", - "nullable": true, - "properties": { - "telephone": { - "description": "Veteran's phone number.", - "type": "string", - "pattern": "^\\d{10}?$", - "example": "5555555", - "minLength": 10, - "maxLength": 10, - "nullable": true - }, - "internationalTelephone": { - "type": "string", - "description": "Veteran's international phone number.", - "example": "+44 20 1234 5678", - "nullable": true - } - } - }, - "mailingAddress": { - "type": "object", - "additionalProperties": false, - "required": [ - "addressLine1", - "city", - "state", - "zipFirstFive", - "country" - ], - "properties": { - "addressLine1": { - "description": "Address line 1 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "1234 Couch Street" - }, - "addressLine2": { - "description": "Address line 2 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "Unit 4", - "nullable": true - }, - "addressLine3": { - "description": "Address line 3 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "Room 1", - "nullable": true - }, - "city": { - "description": "City for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$", - "example": "Portland" - }, - "country": { - "description": "Country for the Veteran's current mailing address. Must match the values returned by the /countries endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "example": "USA" - }, - "zipFirstFive": { - "description": "Zip code (First 5 digits) for the Veteran's current mailing address.", - "type": "string", - "pattern": "^\\d{5}?$", - "example": "12345" - }, - "zipLastFour": { - "description": "Zip code (Last 4 digits) for the Veteran's current mailing address.", - "type": "string", - "pattern": "^\\d{4}?$", - "example": "6789", - "nullable": true - }, - "state": { - "description": "State for the Veteran's current mailing address.", - "type": "string", - "pattern": "^[a-z,A-Z]{2}$", - "example": "OR" - } - } - } - } - }, - "changeOfAddress": { - "description": "If 'changeOfAddress' is included, the following attributes are required: 'typeOfAddressChange', 'dates.beginDate', 'addressLine1', 'city', 'state', 'country', 'zipFirstFive'.", - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "dates": { - "type": "object", - "properties": { - "beginDate": { - "description": "Begin date for the Veteran's new address.", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "type": "string", - "example": "2018-06-04" - }, - "endDate": { - "description": "Date in YYYY-MM-DD the changed address expires, if change is temporary.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-04" - } - } - }, - "typeOfAddressChange": { - "description": "Temporary or Permanent change of address. If 'TEMPORARY', 'beginDate' and 'endDate' are required.", - "type": "string", - "enum": [ - "TEMPORARY", - "PERMANENT" - ], - "example": "PERMANENT" - }, - "addressLine1": { - "description": "Address line 1 for the Veteran's new address.", - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "1234 Couch Street" - }, - "addressLine2": { - "description": "Address line 2 for the Veteran's new address.", - "type": "string", - "maxLength": 20, - "example": "Unit 4", - "nullable": true - }, - "addressLine3": { - "description": "Address line 3 for the Veteran's new address.", - "type": "string", - "maxLength": 20, - "example": "Room 1", - "nullable": true - }, - "city": { - "description": "City for the Veteran's new address.", - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$", - "example": "Portland" - }, - "country": { - "description": "Country for the Veteran's new address. Value must match the values returned by the /countries endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "example": "USA" - }, - "zipFirstFive": { - "description": "Zip code (First 5 digits) for the Veteran's new address.", - "type": "string", - "pattern": "^$|^\\d{5}?$", - "example": "12345" - }, - "zipLastFour": { - "description": "Zip code (Last 4 digits) for the Veteran's new address.", - "type": "string", - "nullable": true, - "pattern": "^$|^\\d{4}?$", - "example": "6789" - }, - "state": { - "description": "State for the Veteran's new address.", - "type": "string", - "pattern": "^$|^[a-z,A-Z]{2}$", - "example": "OR" - } - } - }, - "homeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "pointOfContact": { - "description": "Individual in direct contact with Veteran.", - "type": "string", - "nullable": true, - "minLength": 1, - "maxLength": 100, - "pattern": "^([-a-zA-Z0-9/']+( ?))*$", - "example": "Jane Doe" - }, - "pointOfContactNumber": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "telephone": { - "description": "Primary phone of point of contact.", - "type": "string", - "pattern": "^\\d{10}?$", - "example": "5555555", - "minLength": 10, - "maxLength": 10, - "nullable": true - }, - "internationalTelephone": { - "description": "International phone of point of contact.", - "type": "string", - "example": "+44 20 1234 5678", - "nullable": true - } - } - }, - "currentlyHomeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "homelessSituationOptions": { - "description": "Veteran's living situation.", - "type": "string", - "nullable": true, - "default": "other", - "enum": [ - "LIVING_IN_A_HOMELESS_SHELTER", - "NOT_CURRENTLY_IN_A_SHELTERED_ENVIRONMENT", - "STAYING_WITH_ANOTHER_PERSON", - "FLEEING_CURRENT_RESIDENCE", - "OTHER" - ], - "example": "FLEEING_CURRENT_RESIDENCE" - }, - "otherDescription": { - "description": "Explanation of living situation. Required if 'homelessSituationOptions' is 'OTHER'.", - "type": "string", - "nullable": true, - "maxLength": 500, - "example": "other living situation" - } - } - }, - "riskOfBecomingHomeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "livingSituationOptions": { - "type": "string", - "nullable": true, - "default": "HOUSING_WILL_BE_LOST_IN_30_DAYS", - "enum": [ - "HOUSING_WILL_BE_LOST_IN_30_DAYS", - "LEAVING_PUBLICLY_FUNDED_SYSTEM_OF_CARE", - "OTHER" - ] - }, - "otherDescription": { - "description": "Explanation of living situation. Required if 'livingSituationOptions' is 'OTHER'.", - "type": "string", - "nullable": true, - "maxLength": 500, - "example": "other living situation" - } - } - } - } - }, - "toxicExposure": { - "type": "object", - "nullable": true, - "properties": { - "gulfWarHazardService": { - "type": "object", - "nullable": true, - "description": "Toxic exposure related to the Gulf war.", - "properties": { - "servedInGulfWarHazardLocations": { - "type": "string", - "description": "Set to true if the Veteran served in any of the following Gulf War hazard locations: Iraq; Kuwait; Saudi Arabia; the neutral zone between Iraq and Saudi Arabia; Bahrain; Qatar; the United Arab Emirates; Oman; Yemen; Lebanon; Somalia; Afghanistan; Israel; Egypt; Turkey; Syria; Jordan; Djibouti; Uzbekistan; the Gulf of Aden; the Gulf of Oman; the Persian Gulf; the Arabian Sea; and the Red Sea.", - "example": "YES", - "enum": [ - "NO", - "YES" - ], - "nullable": true - }, - "serviceDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for serving in Gulf War hazard location.", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for serving in Gulf War hazard location.", - "example": "2018-06 or 2018" - } - } - } - } - }, - "herbicideHazardService": { - "description": "Toxic exposure related to herbicide (Agent Orange) hazards.", - "type": "object", - "nullable": true, - "properties": { - "servedInHerbicideHazardLocations": { - "type": "string", - "description": "Set to true if the Veteran served in any of the following herbicide/Agent Orange locations: Republic of Vietnam to include the 12 nautical mile territorial waters; Thailand at any United States or Royal Thai base; Laos; Cambodia at Mimot or Krek; Kampong Cham Province; Guam or American Samoa; or in the territorial waters thereof; Johnston Atoll or a ship that called at Johnston Atoll; Korean demilitarized zone; aboard (to include repeated operations and maintenance with) a C-123 aircraft known to have been used to spray an herbicide agent (during service in the Air Force and Air Force Reserves).", - "example": "YES", - "enum": [ - "NO", - "YES" - ], - "nullable": true - }, - "otherLocationsServed": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Other location(s) where Veteran served." - }, - "serviceDates": { - "description": "Date range for exposure in herbicide hazard location.", - "type": "object", - "nullable": true, - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for serving in herbicide location.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for serving in herbicide location.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - } - } - }, - "additionalHazardExposures": { - "type": "object", - "nullable": true, - "description": "Additional hazardous exposures.", - "properties": { - "additionalExposures": { - "description": "Additional exposure incidents.", - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "type": "string", - "additionalProperties": false, - "enum": [ - "ASBESTOS", - "MUSTARD_GAS", - "RADIATION", - "SHIPBOARD_HAZARD_AND_DEFENSE", - "MILITARY_OCCUPATIONAL_SPECIALTY_RELATED_TOXIN", - "CONTAMINATED_WATER_AT_CAMP_LEJEUNE", - "OTHER" - ] - } - }, - "specifyOtherExposures": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Exposure to asbestos." - }, - "exposureDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - } - } - }, - "multipleExposures": { - "type": "array", - "nullable": true, - "minItems": 1, - "uniqueItems": true, - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "exposureDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - }, - "exposureLocation": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Location where the exposure happened." - }, - "hazardExposedTo": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Hazard the Veteran was exposed to." - } - } - } - } - } - }, - "disabilities": { - "description": "Any current disabilities or symptoms the Veteran is claiming are related to their military service and/or are service-connected.", - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "additionalProperties": false, - "required": [ - "disabilityActionType", - "name" - ], - "properties": { - "name": { - "description": "Name of the disability. The /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible disability names.", - "type": "string", - "pattern": "^$|([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "PTSD (post traumatic stress disorder)", - "maxLength": 255 - }, - "classificationCode": { - "type": "string", - "description": "Classification code for the associated body system. Must match an active code returned by the /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "example": "249470", - "nullable": true - }, - "serviceRelevance": { - "description": "Explanation of how the disability(ies) relates to the in-service event/exposure/injury. If the disabilityActionType is 'NEW', the serviceRelevance is required.", - "type": "string", - "nullable": true, - "example": "Heavy equipment operator in service." - }, - "approximateDate": { - "description": "Approximate date disability began. Date must be in the past. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4}(?:-(?!00)(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[1-2][0-9]|3[0-1]))?)?)$", - "example": "2018-03-02 or 2018-03 or 2018", - "nullable": true - }, - "ratedDisabilityId": { - "description": "When submitting a contention with action type 'INCREASE', the previously rated disability id may be included.", - "type": "string", - "example": "1100583", - "nullable": true - }, - "diagnosticCode": { - "description": "If the disabilityActionType is 'NONE' or 'INCREASE', the diagnosticCode should correspond to an existing rated disability.", - "type": "integer", - "example": 9999, - "nullable": true - }, - "disabilityActionType": { - "description": "Action type requested for the disability. If 'INCREASE' or 'NONE', then 'ratedDisabilityId' and 'diagnosticCode' should be included. 'NONE' should be used when including a secondary disability.", - "type": "string", - "enum": [ - "NONE", - "NEW", - "INCREASE" - ], - "example": "NEW" - }, - "secondaryDisabilities": { - "description": "If secondaryDisability is included, the following attributes are required: 'secondaryDisability.name', 'secondaryDisability.disabilityActionType' and 'secondaryDisability.serviceRelevance'", - "type": "array", - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "name": { - "description": "Name of the disability. The /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible disability names.", - "type": "string", - "pattern": "^$|([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "PTSD (post traumatic stress disorder)", - "maxLength": 255 - }, - "disabilityActionType": { - "description": "The status of the secondary disability.", - "type": "string", - "example": "SECONDARY", - "enum": [ - "SECONDARY" - ] - }, - "serviceRelevance": { - "description": "Explanation of how the disability(ies) relates to the in-service event/exposure/injury.", - "type": "string", - "nullable": true, - "example": "Heavy equipment operator in service." - }, - "classificationCode": { - "type": "string", - "description": "Classification code for the associated body system. Must match an active code returned by the /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "example": "249470", - "nullable": true - }, - "approximateDate": { - "description": "Approximate date disability began. Date must be in the past. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4}(?:-(?!00)(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[1-2][0-9]|3[0-1]))?)?)$", - "example": "2018-03-02 or 2018-03 or 2018", - "nullable": true - }, - "exposureOrEventOrInjury": { - "type": "string", - "description": "What caused the disability?", - "nullable": true, - "examples": [ - "Agent Orange", - "radiation", - "burn pits" - ] - } - } - } - }, - "isRelatedToToxicExposure": { - "type": "boolean", - "description": "Is the disability related to toxic exposures? If true, related 'toxicExposure' must be included.", - "example": true, - "default": false, - "nullable": true - }, - "exposureOrEventOrInjury": { - "type": "string", - "description": "What caused the disability?", - "nullable": true, - "examples": [ - "Agent Orange", - "radiation", - "burn pits" - ] - } - } - } - }, - "treatments": { - "description": "Identifies the Service Treatment information of the Veteran.", - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "beginDate": { - "description": "Begin date for treatment. If treatment began from 2005 to present, you do not need to provide dates. Each treatment begin date must be after the first 'servicePeriod.activeDutyBeginDate'.", - "type": "string", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018", - "nullable": true - }, - "treatedDisabilityNames": { - "description": "Name(s) of disabilities treated in this time frame. Name must match 'name' of a disability included on this claim.", - "type": "array", - "nullable": true, - "maxItems": 101, - "items": { - "type": "string", - "additionalProperties": false, - "example": [ - "PTSD (post traumatic stress disorder)", - "Trauma" - ] - } - }, - "center": { - "description": "VA Medical Center(s) and Department of Defense Military Treatment Facilities where the Veteran received treatment after discharge for any claimed disabilities.", - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "name": { - "description": "Name of facility Veteran was treated in. The /treatment-centers endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible treatment center names.", - "type": "string", - "nullable": true, - "pattern": "^$|(?!(?: )$)([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "Private Facility 2", - "maxLength": 100 - }, - "city": { - "description": "City of treatment facility.", - "type": "string", - "pattern": "^$|^([-a-zA-Z'.#]([-a-zA-Z'.# ])?)+$", - "example": "Portland", - "nullable": true - }, - "state": { - "description": "State of treatment facility.", - "type": "string", - "pattern": "^$|^[a-z,A-Z]{2}$", - "example": "OR", - "nullable": true - } - } - } - } - } - }, - "serviceInformation": { - "type": "object", - "additionalProperties": false, - "required": [ - "servicePeriods" - ], - "properties": { - "servicePeriods": { - "description": "Identifies the Service dates and Branch the Veteran served in.", - "type": "array", - "minItems": 1, - "uniqueItems": true, - "items": { - "type": "object", - "required": [ - "serviceBranch", - "serviceComponent" - ], - "properties": { - "serviceBranch": { - "description": "Branch of service during period. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "example": "Air Force" - }, - "serviceComponent": { - "type": "string", - "description": "", - "enum": [ - "Active", - "Reserves", - "National Guard" - ] - }, - "activeDutyBeginDate": { - "description": "Date started active duty.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "activeDutyEndDate": { - "description": "Date completed active duty. If in the future, 'separationLocationCode' is required.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "separationLocationCode": { - "description": "Location code for the facility the Veteran plans to separate from. Required if 'servicePeriod.activeDutyEndDate' is in the future. Code must match the values returned by the /intake-sites endpoint on the [Benefits reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "nullable": true, - "example": "98283" - } - } - } - }, - "confinements": { - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "additionalProperties": false, - "type": "object", - "properties": { - "approximateBeginDate": { - "description": "The approximateBeginDate must be after the earliest servicePeriod activeDutyBeginDate.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-06-06 or 2018-06" - }, - "approximateEndDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-06-06 or 2018-06" - } - } - } - }, - "federalActivation": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "anticipatedSeparationDate": { - "description": "Anticipated date of separation. Date must be in the future.", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06", - "nullable": true - }, - "activationDate": { - "description": "Date cannot be in the future and must be after the earliest servicePeriod.activeDutyBeginDate.", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06", - "nullable": true - } - } - }, - "reservesNationalGuardService": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "obligationTermsOfService": { - "type": "object", - "nullable": true, - "description": "If 'obligationTermsOfService' is included, the following attributes are required: 'beginDate ' and 'endDate'.", - "additionalProperties": false, - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "endDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - } - } - }, - "component": { - "type": "string", - "nullable": true, - "description": "", - "enum": [ - "Reserves", - "National Guard" - ] - }, - "unitName": { - "type": "string", - "nullable": true, - "pattern": "^$|([a-zA-Z0-9\\-'.,# ][a-zA-Z0-9\\-'.,# ]?)*$" - }, - "unitAddress": { - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "nullable": true - }, - "unitPhone": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "areaCode": { - "type": "string", - "nullable": true, - "maxLength": 3, - "pattern": "^$|^\\d{3}$", - "example": "555" - }, - "phoneNumber": { - "type": "string", - "nullable": true, - "maxLength": 20, - "example": "5555555" - } - } - }, - "receivingInactiveDutyTrainingPay": { - "type": "string", - "enum": [ - "YES", - "NO" - ], - "nullable": true, - "example": "YES" - } - } - }, - "alternateNames": { - "description": "List any other names under which the Veteran served, if applicable.", - "type": "array", - "nullable": true, - "maxItems": 100, - "uniqueItems": true, - "items": { - "type": "string", - "additionalProperties": false, - "examples": [ - "jane", - "janey lee", - "jane lee MacDonald" - ] - } - }, - "servedInActiveCombatSince911": { - "type": "string", - "enum": [ - "YES", - "NO" - ], - "description": "Did Veteran serve in a combat zone since 9-11-2001?", - "example": "YES", - "nullable": true - } - } - }, - "servicePay": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "favorTrainingPay": { - "description": "Is the Veteran waiving VA benefits to retain training pay? See item 28 on form 21-526EZ for more details. ", - "type": "boolean", - "nullable": true, - "example": true, - "default": false - }, - "favorMilitaryRetiredPay": { - "description": "Is the Veteran waiving VA benefits to retain military retired pay? See item 26 on form 21-526EZ for more details.", - "type": "boolean", - "nullable": true, - "example": true, - "default": false - }, - "receivingMilitaryRetiredPay": { - "description": "Is the Veteran receiving military retired pay?", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "futureMilitaryRetiredPay": { - "description": "Will the Veteran receive military retired pay pay in future? \n If true, then 'futurePayExplanation' is required.", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "futureMilitaryRetiredPayExplanation": { - "description": "Explains why future pay will be received.", - "type": "string", - "example": "Will be retiring soon.", - "nullable": true - }, - "militaryRetiredPay": { - "type": "object", - "nullable": true, - "description": "", - "properties": { - "branchOfService": { - "description": "Branch of service. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "nullable": true, - "example": "Air Force" - }, - "monthlyAmount": { - "description": "Amount being received.", - "type": "number", - "nullable": true, - "minimum": 1, - "maximum": 999999, - "example": 100 - } - } - }, - "retiredStatus": { - "type": "string", - "nullable": true, - "description": "", - "enum": [ - "RETIRED", - "TEMPORARY_DISABILITY_RETIRED_LIST", - "PERMANENT_DISABILITY_RETIRED_LIST" - ] - }, - "receivedSeparationOrSeverancePay": { - "description": "Has the Veteran ever received separation pay, disability severance pay, or any other lump sum payment from their branch of service?", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "separationSeverancePay": { - "type": "object", - "nullable": true, - "description": "", - "properties": { - "datePaymentReceived": { - "description": "Approximate date separation pay was received. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-03-02 or 2018-03 or 2018" - }, - "branchOfService": { - "description": "Branch of service. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "nullable": true, - "example": "Air Force" - }, - "preTaxAmountReceived": { - "description": "Amount being received.", - "type": "number", - "nullable": true, - "minimum": 1, - "maximum": 999999, - "example": 100 - } - } - } - } - }, - "directDeposit": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "description": "If direct deposit information is included, the following attributes are required: accountType, accountNumber, routingNumber.", - "properties": { - "accountType": { - "description": "Account type for the direct deposit.", - "type": "string", - "nullable": true, - "example": "CHECKING", - "enum": [ - "CHECKING", - "SAVINGS" - ] - }, - "accountNumber": { - "description": "Account number for the direct deposit.", - "pattern": "^(?:[a-zA-Z0-9]{4,17})?$", - "type": "string", - "nullable": true, - "example": "123123123123" - }, - "routingNumber": { - "description": "Routing number for the direct deposit.", - "type": "string", - "nullable": true, - "pattern": "^(?:\\d{9})?$", - "example": "123123123" - }, - "financialInstitutionName": { - "description": "Provide the name of the financial institution where the Veteran wants the direct deposit.", - "maxLength": 35, - "type": "string", - "nullable": true, - "example": "Some Bank" - }, - "noAccount": { - "type": "boolean", - "nullable": true, - "description": "Claimant certifies that they do not have an account with a financial institution or certified payment agent.", - "default": false - } - } - } - } - } - } - } - }, - "example": { - "data": { - "type": "form/526", - "attributes": { - "claimantCertification": true, - "claimProcessType": "STANDARD_CLAIM_PROCESS", - "veteranIdentification": { - "currentVaEmployee": false, - "mailingAddress": { - "addressLine1": "123 Main Street", - "addressLine2": "Unit 1", - "addressLine3": "Room 2", - "city": "Portland", - "country": "USA", - "zipFirstFive": "41726", - "zipLastFour": "1234", - "state": "OR" - }, - "serviceNumber": "123456789", - "emailAddress": { - "email": "valid@somedomain.com", - "agreeToEmailRelatedToClaim": true - }, - "veteranNumber": { - "telephone": "5555555555" - } - }, - "changeOfAddress": { - "dates": { - "beginDate": "2025-06-04", - "endDate": "2026-06-04" - }, - "typeOfAddressChange": "TEMPORARY", - "addressLine1": "456 Main Street", - "addressLine2": "Unit 3", - "addressLine3": "Room 4", - "city": "Atlanta", - "zipFirstFive": "42220", - "zipLastFour": "9897", - "state": "GA", - "country": "USA" - }, - "homeless": { - "pointOfContact": "John Doe", - "pointOfContactNumber": { - "telephone": "5555555555" - }, - "currentlyHomeless": { - "homelessSituationOptions": "OTHER", - "otherDescription": "Other living situation" - } - }, - "toxicExposure": { - "gulfWarHazardService": { - "servedInGulfWarHazardLocations": "YES", - "serviceDates": { - "beginDate": "1999-07", - "endDate": "2005-01" - } - }, - "herbicideHazardService": { - "servedInHerbicideHazardLocations": "YES", - "otherLocationsServed": "Guam", - "serviceDates": { - "beginDate": "2002-03", - "endDate": "2004-10" - } - }, - "additionalHazardExposures": { - "additionalExposures": [ - "ASBESTOS", - "SHIPBOARD_HAZARD_AND_DEFENSE" - ], - "specifyOtherExposures": "Other exposure details", - "exposureDates": { - "beginDate": "2011-07", - "endDate": "2013-10" - } - }, - "multipleExposures": [ - { - "exposureDates": { - "beginDate": "2012-12", - "endDate": "2013-07" - }, - "exposureLocation": "Guam", - "hazardExposedTo": "Hazard" - } - ] - }, - "disabilities": [ - { - "disabilityActionType": "NEW", - "name": "Hearing Loss", - "serviceRelevance": "Heavy equipment operator in service", - "approximateDate": "1988-07", - "isRelatedToToxicExposure": false, - "exposureOrEventOrInjury": "Noise" - } - ], - "treatments": [ - { - "treatedDisabilityNames": [ - "Hearing Loss" - ], - "center": { - "name": "Center One", - "state": "GA", - "city": "Decatur" - }, - "beginDate": "2009-04" - }, - { - "treatedDisabilityNames": [ - "Hearing Loss" - ], - "center": { - "name": "Center One", - "state": "GA", - "city": "Decatur" - }, - "beginDate": "2009-03" - } - ], - "serviceInformation": { - "servicePeriods": [ - { - "serviceBranch": "Air Force", - "activeDutyBeginDate": "2008-11-14", - "activeDutyEndDate": "2023-10-30", - "serviceComponent": "Active", - "separationLocationCode": "98282" - } - ], - "confinements": [ - { - "approximateBeginDate": "2016-06-11", - "approximateEndDate": "2016-09-11" - }, - { - "approximateBeginDate": "2019-06", - "approximateEndDate": "2019-07" - } - ], - "federalActivation": { - "anticipatedSeparationDate": "2023-12-03", - "activationDate": "2023-02-10" - }, - "reservesNationalGuardService": { - "obligationTermsOfService": { - "beginDate": "2016-11-24", - "endDate": "2017-11-17" - }, - "unitName": "National Guard Unit Name", - "unitAddress": "1243 pine court", - "component": "National Guard", - "unitPhone": { - "areaCode": "555", - "phoneNumber": "5555555" - }, - "receivingInactiveDutyTrainingPay": "YES" - }, - "servedInActiveCombatSince911": "NO" - }, - "servicePay": { - "favorTrainingPay": true, - "favorMilitaryRetiredPay": false, - "receivingMilitaryRetiredPay": "NO", - "futureMilitaryRetiredPay": "YES", - "futureMilitaryRetiredPayExplanation": "Explanation of future military retired pay", - "militaryRetiredPay": { - "branchOfService": "Army", - "monthlyAmount": 840.75 - }, - "retiredStatus": "PERMANENT_DISABILITY_RETIRED_LIST", - "receivedSeparationOrSeverancePay": "NO", - "separationSeverancePay": { - "datePaymentReceived": "2018-07-31", - "branchOfService": "Naval Academy", - "preTaxAmountReceived": 379.25 - } - }, - "directDeposit": { - "accountType": "CHECKING", - "accountNumber": "123123123123", - "routingNumber": "123456789", - "financialInstitutionName": "Chase", - "noAccount": false - } - } - } - } - } - } - }, - "required": true - } - } - }, - "/veterans/{veteranId}/526/{id}/attachments": { - "post": { - "summary": "Upload documents supporting a 526 claim", - "tags": [ - "Disability Compensation Claims" - ], - "operationId": "upload526Attachments", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "description": "Uploads supporting documents related to a disability compensation claim. This endpoint accepts a document binary PDF as part of a multi-part payload.\n", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "description": "UUID given when Disability Claim was submitted", - "schema": { - "type": "string" - } - }, - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "responses": { - "202": { - "description": "upload response", - "content": { - "application/json": { - "example": { - "data": { - "id": "98dd5011-0ea9-4a52-9ac9-c771da355110", - "type": "forms/526", - "attributes": { - "veteran": { - "flashes": [ - "Hardship", - "Homeless" - ], - "currentlyVAEmployee": false, - "currentMailingAddress": { - "city": "Portland", - "country": "USA", - "zipFirstFive": "12345", - "addressLine1": "1234 Couch Street", - "addressLine2": "Apt. 22", - "type": "DOMESTIC", - "zipLastFour": "6789", - "state": "OR" - }, - "homelessness": { - "currentlyHomeless": { - "homelessSituationType": "fleeing", - "otherLivingSituation": "none" - }, - "pointOfContact": { - "pointOfContactName": "Firstname Lastname", - "primaryPhone": { - "areaCode": "123", - "phoneNumber": "5551234" - } - } - } - }, - "claimantCertification": true, - "disabilities": [ - { - "ratedDisabilityId": "1100583", - "diagnosticCode": 9999, - "disabilityActionType": "NEW", - "name": "PTSD (post traumatic stress disorder)", - "specialIssues": [ - "Fully Developed Claim", - "PTSD/2" - ], - "secondaryDisabilities": [ - { - "name": "PTSD personal trauma", - "disabilityActionType": "SECONDARY", - "serviceRelevance": "Caused by a service-connected disability\\nLengthy description" - } - ] - } - ], - "standardClaim": false, - "autoCestPDFGenerationDisabled": true, - "claimDate": "1990-01-03", - "applicationExpirationDate": "2055-08-28T19:53:45+00:00", - "serviceInformation": { - "servicePeriods": [ - { - "activeDutyEndDate": "1990-01-02", - "serviceBranch": "Air Force", - "activeDutyBeginDate": "1980-02-05" - }, - { - "activeDutyEndDate": "1999-01-01", - "serviceBranch": "Air Force", - "activeDutyBeginDate": "1990-04-05" - } - ], - "reservesNationalGuardService": { - "obligationTermOfServiceFromDate": "2000-01-01", - "obligationTermOfServiceToDate": "2000-01-02", - "unitName": "A name, with commas, and double spaces" - } - } - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "status": "401", - "detail": "Not authorized" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "status": { - "type": "string", - "description": "HTTP error status code" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Resource not found", - "status": "404", - "detail": "Resource not found", - "source": { - "pointer": "/modules/claims_api/app/controllers/claims_api/v2/veterans/disability_compensation_controller.rb:74:in `attachments'" - } - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "status": { - "type": "string", - "description": "HTTP error status code" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - } - }, - "requestBody": { - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "properties": { - "attachment1": { - "type": "file", - "description": "Attachment contents. Must be provided in binary PDF or [base64 string](https://raw.githubusercontent.com/department-of-veterans-affairs/vets-api/master/modules/claims_api/spec/fixtures/base64pdf) format and less than 11 in x 11 in.\n" - }, - "attachment2": { - "type": "file", - "description": "Attachment contents. Must be provided in binary PDF or [base64 string](https://raw.githubusercontent.com/department-of-veterans-affairs/vets-api/master/modules/claims_api/spec/fixtures/base64pdf) format and less than 11 in x 11 in.\n" - } - } - } - } - } - } - } - }, - "/veterans/{veteranId}/526/generatePDF": { - "post": { - "summary": "Returns filled out 526EZ form as PDF", - "tags": [ - "Disability Compensation Claims" - ], - "operationId": "post526Pdf", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "description": "Returns a filled out 526EZ form for a disability compensation claim (21-526EZ).\n\nThis endpoint can be used to generate the PDF based on the request data in the case that the submission was not able to be successfully auto-established. The PDF can then be uploaded via the [Benefits Intake API](https://developer.va.gov/explore/api/benefits-intake) to digitally submit directly to the Veterans Benefits Administration's (VBA) claims intake process.\n", - "responses": { - "200": { - "description": "post pdf response", - "content": { - "application/json": { - "example": { - "data": { - "attributes": { - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "status": "401", - "detail": "Not authorized" - } - ] - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "data" - ], - "properties": { - "data": { - "type": "object", - "required": [ - "attributes", - null - ], - "properties": { - "attributes": { - "$schema": "http://json-schema.org/draft-07/schema#", - "description": "Claims API 526 Schema", - "type": "object", - "additionalProperties": false, - "required": [ - "claimantCertification", - "claimProcessType", - "disabilities", - "serviceInformation", - "veteranIdentification" - ], - "properties": { - "claimProcessType": { - "type": "string", - "description": "Select type of claim program/process that applies to the Veteran.", - "enum": [ - "STANDARD_CLAIM_PROCESS", - "FDC_PROGRAM", - "BDD_PROGRAM" - ] - }, - "claimantCertification": { - "type": "boolean", - "description": "Claimant certifies and authorizes release of information.", - "default": false - }, - "veteranIdentification": { - "type": "object", - "additionalProperties": false, - "required": [ - "mailingAddress" - ], - "properties": { - "currentVaEmployee": { - "type": "boolean", - "description": "Set to true if Veteran is a VA employee.", - "default": false, - "nullable": true - }, - "serviceNumber": { - "type": "string", - "description": "Service identification number", - "nullable": true - }, - "emailAddress": { - "description": "Information associated with the Veteran's email address.", - "type": "object", - "nullable": true, - "properties": { - "email": { - "type": "string", - "pattern": "^\\w+([\\.-]?\\w+)*@\\w+([\\.-]?\\w+)*(\\.\\w{2,3})+$", - "description": "The most current email address of the Veteran.", - "maxLength": 50, - "nullable": true - }, - "agreeToEmailRelatedToClaim": { - "type": "boolean", - "description": "Agreement to email information relating to this claim.", - "example": true, - "default": false, - "nullable": true - } - } - }, - "veteranNumber": { - "description": "If there is no phone number in VBMS for the Veteran, the exams will not be ordered. Including the phone number is recommended to avoid claim processing delays.", - "type": "object", - "nullable": true, - "properties": { - "telephone": { - "description": "Veteran's phone number.", - "type": "string", - "pattern": "^\\d{10}?$", - "example": "5555555", - "minLength": 10, - "maxLength": 10, - "nullable": true - }, - "internationalTelephone": { - "type": "string", - "description": "Veteran's international phone number.", - "example": "+44 20 1234 5678", - "nullable": true - } - } - }, - "mailingAddress": { - "type": "object", - "additionalProperties": false, - "required": [ - "addressLine1", - "city", - "state", - "zipFirstFive", - "country" - ], - "properties": { - "addressLine1": { - "description": "Address line 1 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "1234 Couch Street" - }, - "addressLine2": { - "description": "Address line 2 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "Unit 4", - "nullable": true - }, - "addressLine3": { - "description": "Address line 3 for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "Room 1", - "nullable": true - }, - "city": { - "description": "City for the Veteran's current mailing address.", - "type": "string", - "pattern": "^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$", - "example": "Portland" - }, - "country": { - "description": "Country for the Veteran's current mailing address. Must match the values returned by the /countries endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "example": "USA" - }, - "zipFirstFive": { - "description": "Zip code (First 5 digits) for the Veteran's current mailing address.", - "type": "string", - "pattern": "^\\d{5}?$", - "example": "12345" - }, - "zipLastFour": { - "description": "Zip code (Last 4 digits) for the Veteran's current mailing address.", - "type": "string", - "pattern": "^\\d{4}?$", - "example": "6789", - "nullable": true - }, - "state": { - "description": "State for the Veteran's current mailing address.", - "type": "string", - "pattern": "^[a-z,A-Z]{2}$", - "example": "OR" - } - } - } - } - }, - "changeOfAddress": { - "description": "If 'changeOfAddress' is included, the following attributes are required: 'typeOfAddressChange', 'dates.beginDate', 'addressLine1', 'city', 'state', 'country', 'zipFirstFive'.", - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "dates": { - "type": "object", - "properties": { - "beginDate": { - "description": "Begin date for the Veteran's new address.", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "type": "string", - "example": "2018-06-04" - }, - "endDate": { - "description": "Date in YYYY-MM-DD the changed address expires, if change is temporary.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-04" - } - } - }, - "typeOfAddressChange": { - "description": "Temporary or Permanent change of address. If 'TEMPORARY', 'beginDate' and 'endDate' are required.", - "type": "string", - "enum": [ - "TEMPORARY", - "PERMANENT" - ], - "example": "PERMANENT" - }, - "addressLine1": { - "description": "Address line 1 for the Veteran's new address.", - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "maxLength": 20, - "example": "1234 Couch Street" - }, - "addressLine2": { - "description": "Address line 2 for the Veteran's new address.", - "type": "string", - "maxLength": 20, - "example": "Unit 4", - "nullable": true - }, - "addressLine3": { - "description": "Address line 3 for the Veteran's new address.", - "type": "string", - "maxLength": 20, - "example": "Room 1", - "nullable": true - }, - "city": { - "description": "City for the Veteran's new address.", - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)+$", - "example": "Portland" - }, - "country": { - "description": "Country for the Veteran's new address. Value must match the values returned by the /countries endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "example": "USA" - }, - "zipFirstFive": { - "description": "Zip code (First 5 digits) for the Veteran's new address.", - "type": "string", - "pattern": "^$|^\\d{5}?$", - "example": "12345" - }, - "zipLastFour": { - "description": "Zip code (Last 4 digits) for the Veteran's new address.", - "type": "string", - "nullable": true, - "pattern": "^$|^\\d{4}?$", - "example": "6789" - }, - "state": { - "description": "State for the Veteran's new address.", - "type": "string", - "pattern": "^$|^[a-z,A-Z]{2}$", - "example": "OR" - } - } - }, - "homeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "pointOfContact": { - "description": "Individual in direct contact with Veteran.", - "type": "string", - "nullable": true, - "minLength": 1, - "maxLength": 100, - "pattern": "^([-a-zA-Z0-9/']+( ?))*$", - "example": "Jane Doe" - }, - "pointOfContactNumber": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "telephone": { - "description": "Primary phone of point of contact.", - "type": "string", - "pattern": "^\\d{10}?$", - "example": "5555555", - "minLength": 10, - "maxLength": 10, - "nullable": true - }, - "internationalTelephone": { - "description": "International phone of point of contact.", - "type": "string", - "example": "+44 20 1234 5678", - "nullable": true - } - } - }, - "currentlyHomeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "homelessSituationOptions": { - "description": "Veteran's living situation.", - "type": "string", - "nullable": true, - "default": "other", - "enum": [ - "LIVING_IN_A_HOMELESS_SHELTER", - "NOT_CURRENTLY_IN_A_SHELTERED_ENVIRONMENT", - "STAYING_WITH_ANOTHER_PERSON", - "FLEEING_CURRENT_RESIDENCE", - "OTHER" - ], - "example": "FLEEING_CURRENT_RESIDENCE" - }, - "otherDescription": { - "description": "Explanation of living situation. Required if 'homelessSituationOptions' is 'OTHER'.", - "type": "string", - "nullable": true, - "maxLength": 500, - "example": "other living situation" - } - } - }, - "riskOfBecomingHomeless": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "livingSituationOptions": { - "type": "string", - "nullable": true, - "default": "HOUSING_WILL_BE_LOST_IN_30_DAYS", - "enum": [ - "HOUSING_WILL_BE_LOST_IN_30_DAYS", - "LEAVING_PUBLICLY_FUNDED_SYSTEM_OF_CARE", - "OTHER" - ] - }, - "otherDescription": { - "description": "Explanation of living situation. Required if 'livingSituationOptions' is 'OTHER'.", - "type": "string", - "nullable": true, - "maxLength": 500, - "example": "other living situation" - } - } - } - } - }, - "toxicExposure": { - "type": "object", - "nullable": true, - "properties": { - "gulfWarHazardService": { - "type": "object", - "nullable": true, - "description": "Toxic exposure related to the Gulf war.", - "properties": { - "servedInGulfWarHazardLocations": { - "type": "string", - "description": "Set to true if the Veteran served in any of the following Gulf War hazard locations: Iraq; Kuwait; Saudi Arabia; the neutral zone between Iraq and Saudi Arabia; Bahrain; Qatar; the United Arab Emirates; Oman; Yemen; Lebanon; Somalia; Afghanistan; Israel; Egypt; Turkey; Syria; Jordan; Djibouti; Uzbekistan; the Gulf of Aden; the Gulf of Oman; the Persian Gulf; the Arabian Sea; and the Red Sea.", - "example": "YES", - "enum": [ - "NO", - "YES" - ], - "nullable": true - }, - "serviceDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for serving in Gulf War hazard location.", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for serving in Gulf War hazard location.", - "example": "2018-06 or 2018" - } - } - } - } - }, - "herbicideHazardService": { - "description": "Toxic exposure related to herbicide (Agent Orange) hazards.", - "type": "object", - "nullable": true, - "properties": { - "servedInHerbicideHazardLocations": { - "type": "string", - "description": "Set to true if the Veteran served in any of the following herbicide/Agent Orange locations: Republic of Vietnam to include the 12 nautical mile territorial waters; Thailand at any United States or Royal Thai base; Laos; Cambodia at Mimot or Krek; Kampong Cham Province; Guam or American Samoa; or in the territorial waters thereof; Johnston Atoll or a ship that called at Johnston Atoll; Korean demilitarized zone; aboard (to include repeated operations and maintenance with) a C-123 aircraft known to have been used to spray an herbicide agent (during service in the Air Force and Air Force Reserves).", - "example": "YES", - "enum": [ - "NO", - "YES" - ], - "nullable": true - }, - "otherLocationsServed": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Other location(s) where Veteran served." - }, - "serviceDates": { - "description": "Date range for exposure in herbicide hazard location.", - "type": "object", - "nullable": true, - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for serving in herbicide location.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for serving in herbicide location.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - } - } - }, - "additionalHazardExposures": { - "type": "object", - "nullable": true, - "description": "Additional hazardous exposures.", - "properties": { - "additionalExposures": { - "description": "Additional exposure incidents.", - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "type": "string", - "additionalProperties": false, - "enum": [ - "ASBESTOS", - "MUSTARD_GAS", - "RADIATION", - "SHIPBOARD_HAZARD_AND_DEFENSE", - "MILITARY_OCCUPATIONAL_SPECIALTY_RELATED_TOXIN", - "CONTAMINATED_WATER_AT_CAMP_LEJEUNE", - "OTHER" - ] - } - }, - "specifyOtherExposures": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Exposure to asbestos." - }, - "exposureDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - } - } - }, - "multipleExposures": { - "type": "array", - "nullable": true, - "minItems": 1, - "uniqueItems": true, - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "exposureDates": { - "type": "object", - "nullable": true, - "description": "Date range for when the exposure happened.", - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "description": "Approximate begin date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - }, - "endDate": { - "type": "string", - "nullable": true, - "description": "Approximate end date for exposure.", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018" - } - } - }, - "exposureLocation": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Location where the exposure happened." - }, - "hazardExposedTo": { - "type": "string", - "nullable": true, - "pattern": "^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "description": "Hazard the Veteran was exposed to." - } - } - } - } - } - }, - "disabilities": { - "description": "Any current disabilities or symptoms the Veteran is claiming are related to their military service and/or are service-connected.", - "type": "array", - "minItems": 1, - "items": { - "type": "object", - "additionalProperties": false, - "required": [ - "disabilityActionType", - "name" - ], - "properties": { - "name": { - "description": "Name of the disability. The /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible disability names.", - "type": "string", - "pattern": "^$|([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "PTSD (post traumatic stress disorder)", - "maxLength": 255 - }, - "classificationCode": { - "type": "string", - "description": "Classification code for the associated body system. Must match an active code returned by the /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "example": "249470", - "nullable": true - }, - "serviceRelevance": { - "description": "Explanation of how the disability(ies) relates to the in-service event/exposure/injury. If the disabilityActionType is 'NEW', the serviceRelevance is required.", - "type": "string", - "nullable": true, - "example": "Heavy equipment operator in service." - }, - "approximateDate": { - "description": "Approximate date disability began. Date must be in the past. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4}(?:-(?!00)(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[1-2][0-9]|3[0-1]))?)?)$", - "example": "2018-03-02 or 2018-03 or 2018", - "nullable": true - }, - "ratedDisabilityId": { - "description": "When submitting a contention with action type 'INCREASE', the previously rated disability id may be included.", - "type": "string", - "example": "1100583", - "nullable": true - }, - "diagnosticCode": { - "description": "If the disabilityActionType is 'NONE' or 'INCREASE', the diagnosticCode should correspond to an existing rated disability.", - "type": "integer", - "example": 9999, - "nullable": true - }, - "disabilityActionType": { - "description": "Action type requested for the disability. If 'INCREASE' or 'NONE', then 'ratedDisabilityId' and 'diagnosticCode' should be included. 'NONE' should be used when including a secondary disability.", - "type": "string", - "enum": [ - "NONE", - "NEW", - "INCREASE" - ], - "example": "NEW" - }, - "secondaryDisabilities": { - "description": "If secondaryDisability is included, the following attributes are required: 'secondaryDisability.name', 'secondaryDisability.disabilityActionType' and 'secondaryDisability.serviceRelevance'", - "type": "array", - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "name": { - "description": "Name of the disability. The /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible disability names.", - "type": "string", - "pattern": "^$|([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "PTSD (post traumatic stress disorder)", - "maxLength": 255 - }, - "disabilityActionType": { - "description": "The status of the secondary disability.", - "type": "string", - "example": "SECONDARY", - "enum": [ - "SECONDARY" - ] - }, - "serviceRelevance": { - "description": "Explanation of how the disability(ies) relates to the in-service event/exposure/injury.", - "type": "string", - "nullable": true, - "example": "Heavy equipment operator in service." - }, - "classificationCode": { - "type": "string", - "description": "Classification code for the associated body system. Must match an active code returned by the /disabilities endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "example": "249470", - "nullable": true - }, - "approximateDate": { - "description": "Approximate date disability began. Date must be in the past. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4}(?:-(?!00)(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[1-2][0-9]|3[0-1]))?)?)$", - "example": "2018-03-02 or 2018-03 or 2018", - "nullable": true - }, - "exposureOrEventOrInjury": { - "type": "string", - "description": "What caused the disability?", - "nullable": true, - "examples": [ - "Agent Orange", - "radiation", - "burn pits" - ] - } - } - } - }, - "isRelatedToToxicExposure": { - "type": "boolean", - "description": "Is the disability related to toxic exposures? If true, related 'toxicExposure' must be included.", - "example": true, - "default": false, - "nullable": true - }, - "exposureOrEventOrInjury": { - "type": "string", - "description": "What caused the disability?", - "nullable": true, - "examples": [ - "Agent Orange", - "radiation", - "burn pits" - ] - } - } - } - }, - "treatments": { - "description": "Identifies the Service Treatment information of the Veteran.", - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "type": "object", - "additionalProperties": false, - "properties": { - "beginDate": { - "description": "Begin date for treatment. If treatment began from 2005 to present, you do not need to provide dates. Each treatment begin date must be after the first 'servicePeriod.activeDutyBeginDate'.", - "type": "string", - "pattern": "^(?:19|20)[0-9][0-9]$|^(?:19|20)[0-9][0-9]-(0[1-9]|1[0-2])$", - "example": "2018-06 or 2018", - "nullable": true - }, - "treatedDisabilityNames": { - "description": "Name(s) of disabilities treated in this time frame. Name must match 'name' of a disability included on this claim.", - "type": "array", - "nullable": true, - "maxItems": 101, - "items": { - "type": "string", - "additionalProperties": false, - "example": [ - "PTSD (post traumatic stress disorder)", - "Trauma" - ] - } - }, - "center": { - "description": "VA Medical Center(s) and Department of Defense Military Treatment Facilities where the Veteran received treatment after discharge for any claimed disabilities.", - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "name": { - "description": "Name of facility Veteran was treated in. The /treatment-centers endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve possible treatment center names.", - "type": "string", - "nullable": true, - "pattern": "^$|(?!(?: )$)([a-zA-Z0-9\"\\/&\\(\\)\\-'.,# ]([a-zA-Z0-9(\\)\\-'.,# ])?)+$", - "example": "Private Facility 2", - "maxLength": 100 - }, - "city": { - "description": "City of treatment facility.", - "type": "string", - "pattern": "^$|^([-a-zA-Z'.#]([-a-zA-Z'.# ])?)+$", - "example": "Portland", - "nullable": true - }, - "state": { - "description": "State of treatment facility.", - "type": "string", - "pattern": "^$|^[a-z,A-Z]{2}$", - "example": "OR", - "nullable": true - } - } - } - } - } - }, - "serviceInformation": { - "type": "object", - "additionalProperties": false, - "required": [ - "servicePeriods" - ], - "properties": { - "servicePeriods": { - "description": "Identifies the Service dates and Branch the Veteran served in.", - "type": "array", - "minItems": 1, - "uniqueItems": true, - "items": { - "type": "object", - "required": [ - "serviceBranch", - "serviceComponent" - ], - "properties": { - "serviceBranch": { - "description": "Branch of service during period. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "example": "Air Force" - }, - "serviceComponent": { - "type": "string", - "description": "", - "enum": [ - "Active", - "Reserves", - "National Guard" - ] - }, - "activeDutyBeginDate": { - "description": "Date started active duty.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "activeDutyEndDate": { - "description": "Date completed active duty. If in the future, 'separationLocationCode' is required.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "separationLocationCode": { - "description": "Location code for the facility the Veteran plans to separate from. Required if 'servicePeriod.activeDutyEndDate' is in the future. Code must match the values returned by the /intake-sites endpoint on the [Benefits reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current).", - "type": "string", - "nullable": true, - "example": "98283" - } - } - } - }, - "confinements": { - "type": "array", - "nullable": true, - "uniqueItems": true, - "items": { - "additionalProperties": false, - "type": "object", - "properties": { - "approximateBeginDate": { - "description": "The approximateBeginDate must be after the earliest servicePeriod activeDutyBeginDate.", - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-06-06 or 2018-06" - }, - "approximateEndDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-06-06 or 2018-06" - } - } - } - }, - "federalActivation": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "anticipatedSeparationDate": { - "description": "Anticipated date of separation. Date must be in the future.", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06", - "nullable": true - }, - "activationDate": { - "description": "Date cannot be in the future and must be after the earliest servicePeriod.activeDutyBeginDate.", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06", - "nullable": true - } - } - }, - "reservesNationalGuardService": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "obligationTermsOfService": { - "type": "object", - "nullable": true, - "description": "If 'obligationTermsOfService' is included, the following attributes are required: 'beginDate ' and 'endDate'.", - "additionalProperties": false, - "properties": { - "beginDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - }, - "endDate": { - "type": "string", - "nullable": true, - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$", - "example": "2018-06-06" - } - } - }, - "component": { - "type": "string", - "nullable": true, - "description": "", - "enum": [ - "Reserves", - "National Guard" - ] - }, - "unitName": { - "type": "string", - "nullable": true, - "pattern": "^$|([a-zA-Z0-9\\-'.,# ][a-zA-Z0-9\\-'.,# ]?)*$" - }, - "unitAddress": { - "type": "string", - "pattern": "^$|^([-a-zA-Z0-9'.,&#]([-a-zA-Z0-9'.,&# ])?)+$", - "nullable": true - }, - "unitPhone": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "areaCode": { - "type": "string", - "nullable": true, - "maxLength": 3, - "pattern": "^$|^\\d{3}$", - "example": "555" - }, - "phoneNumber": { - "type": "string", - "nullable": true, - "maxLength": 20, - "example": "5555555" - } - } - }, - "receivingInactiveDutyTrainingPay": { - "type": "string", - "enum": [ - "YES", - "NO" - ], - "nullable": true, - "example": "YES" - } - } - }, - "alternateNames": { - "description": "List any other names under which the Veteran served, if applicable.", - "type": "array", - "nullable": true, - "maxItems": 100, - "uniqueItems": true, - "items": { - "type": "string", - "additionalProperties": false, - "examples": [ - "jane", - "janey lee", - "jane lee MacDonald" - ] - } - }, - "servedInActiveCombatSince911": { - "type": "string", - "enum": [ - "YES", - "NO" - ], - "description": "Did Veteran serve in a combat zone since 9-11-2001?", - "example": "YES", - "nullable": true - } - } - }, - "servicePay": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "properties": { - "favorTrainingPay": { - "description": "Is the Veteran waiving VA benefits to retain training pay? See item 28 on form 21-526EZ for more details. ", - "type": "boolean", - "nullable": true, - "example": true, - "default": false - }, - "favorMilitaryRetiredPay": { - "description": "Is the Veteran waiving VA benefits to retain military retired pay? See item 26 on form 21-526EZ for more details.", - "type": "boolean", - "nullable": true, - "example": true, - "default": false - }, - "receivingMilitaryRetiredPay": { - "description": "Is the Veteran receiving military retired pay?", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "futureMilitaryRetiredPay": { - "description": "Will the Veteran receive military retired pay pay in future? \n If true, then 'futurePayExplanation' is required.", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "futureMilitaryRetiredPayExplanation": { - "description": "Explains why future pay will be received.", - "type": "string", - "example": "Will be retiring soon.", - "nullable": true - }, - "militaryRetiredPay": { - "type": "object", - "nullable": true, - "description": "", - "properties": { - "branchOfService": { - "description": "Branch of service. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "nullable": true, - "example": "Air Force" - }, - "monthlyAmount": { - "description": "Amount being received.", - "type": "number", - "nullable": true, - "minimum": 1, - "maximum": 999999, - "example": 100 - } - } - }, - "retiredStatus": { - "type": "string", - "nullable": true, - "description": "", - "enum": [ - "RETIRED", - "TEMPORARY_DISABILITY_RETIRED_LIST", - "PERMANENT_DISABILITY_RETIRED_LIST" - ] - }, - "receivedSeparationOrSeverancePay": { - "description": "Has the Veteran ever received separation pay, disability severance pay, or any other lump sum payment from their branch of service?", - "type": "string", - "enum": [ - "YES", - "NO" - ], - "example": "YES", - "nullable": true - }, - "separationSeverancePay": { - "type": "object", - "nullable": true, - "description": "", - "properties": { - "datePaymentReceived": { - "description": "Approximate date separation pay was received. \n Format can be either YYYY-MM-DD or YYYY-MM or YYYY", - "type": "string", - "pattern": "^(?:[0-9]{4})-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])$|(?:[0-9]{4})$|(?:[0-9]{4})-(?:0[1-9]|1[0-2])$", - "example": "2018-03-02 or 2018-03 or 2018" - }, - "branchOfService": { - "description": "Branch of service. The /service-branches endpoint on the [Benefits Reference Data API](https://developer.va.gov/explore/benefits/docs/benefits_reference_data?version=current) may be used to retrieve list of possible service branches.", - "type": "string", - "nullable": true, - "example": "Air Force" - }, - "preTaxAmountReceived": { - "description": "Amount being received.", - "type": "number", - "nullable": true, - "minimum": 1, - "maximum": 999999, - "example": 100 - } - } - } - } - }, - "directDeposit": { - "type": "object", - "nullable": true, - "additionalProperties": false, - "description": "If direct deposit information is included, the following attributes are required: accountType, accountNumber, routingNumber.", - "properties": { - "accountType": { - "description": "Account type for the direct deposit.", - "type": "string", - "nullable": true, - "example": "CHECKING", - "enum": [ - "CHECKING", - "SAVINGS" - ] - }, - "accountNumber": { - "description": "Account number for the direct deposit.", - "pattern": "^(?:[a-zA-Z0-9]{4,17})?$", - "type": "string", - "nullable": true, - "example": "123123123123" - }, - "routingNumber": { - "description": "Routing number for the direct deposit.", - "type": "string", - "nullable": true, - "pattern": "^(?:\\d{9})?$", - "example": "123123123" - }, - "financialInstitutionName": { - "description": "Provide the name of the financial institution where the Veteran wants the direct deposit.", - "maxLength": 35, - "type": "string", - "nullable": true, - "example": "Some Bank" - }, - "noAccount": { - "type": "boolean", - "nullable": true, - "description": "Claimant certifies that they do not have an account with a financial institution or certified payment agent.", - "default": false - } - } - } - } - } - } - } - }, - "example": { - "data": { - "type": "form/526", - "attributes": { - "claimantCertification": true, - "claimProcessType": "STANDARD_CLAIM_PROCESS", - "veteranIdentification": { - "currentVaEmployee": false, - "mailingAddress": { - "addressLine1": "123 Main Street", - "addressLine2": "Unit 1", - "addressLine3": "Room 2", - "city": "Portland", - "country": "USA", - "zipFirstFive": "41726", - "zipLastFour": "1234", - "state": "OR" - }, - "serviceNumber": "123456789", - "emailAddress": { - "email": "valid@somedomain.com", - "agreeToEmailRelatedToClaim": true - }, - "veteranNumber": { - "telephone": "5555555555" - } - }, - "changeOfAddress": { - "dates": { - "beginDate": "2025-06-04", - "endDate": "2026-06-04" - }, - "typeOfAddressChange": "TEMPORARY", - "addressLine1": "456 Main Street", - "addressLine2": "Unit 3", - "addressLine3": "Room 4", - "city": "Atlanta", - "zipFirstFive": "42220", - "zipLastFour": "9897", - "state": "GA", - "country": "USA" - }, - "homeless": { - "pointOfContact": "John Doe", - "pointOfContactNumber": { - "telephone": "5555555555" - }, - "currentlyHomeless": { - "homelessSituationOptions": "OTHER", - "otherDescription": "Other living situation" - } - }, - "toxicExposure": { - "gulfWarHazardService": { - "servedInGulfWarHazardLocations": "YES", - "serviceDates": { - "beginDate": "1999-07", - "endDate": "2005-01" - } - }, - "herbicideHazardService": { - "servedInHerbicideHazardLocations": "YES", - "otherLocationsServed": "Guam", - "serviceDates": { - "beginDate": "2002-03", - "endDate": "2004-10" - } - }, - "additionalHazardExposures": { - "additionalExposures": [ - "ASBESTOS", - "SHIPBOARD_HAZARD_AND_DEFENSE" - ], - "specifyOtherExposures": "Other exposure details", - "exposureDates": { - "beginDate": "2011-07", - "endDate": "2013-10" - } - }, - "multipleExposures": [ - { - "exposureDates": { - "beginDate": "2012-12", - "endDate": "2013-07" - }, - "exposureLocation": "Guam", - "hazardExposedTo": "Hazard" - } - ] - }, - "disabilities": [ - { - "disabilityActionType": "NEW", - "name": "Hearing Loss", - "serviceRelevance": "Heavy equipment operator in service", - "approximateDate": "1988-07", - "isRelatedToToxicExposure": false, - "exposureOrEventOrInjury": "Noise" - } - ], - "treatments": [ - { - "treatedDisabilityNames": [ - "Hearing Loss" - ], - "center": { - "name": "Center One", - "state": "GA", - "city": "Decatur" - }, - "beginDate": "2009-04" - }, - { - "treatedDisabilityNames": [ - "Hearing Loss" - ], - "center": { - "name": "Center One", - "state": "GA", - "city": "Decatur" - }, - "beginDate": "2009-03" - } - ], - "serviceInformation": { - "servicePeriods": [ - { - "serviceBranch": "Air Force", - "activeDutyBeginDate": "2008-11-14", - "activeDutyEndDate": "2023-10-30", - "serviceComponent": "Active", - "separationLocationCode": "98282" - } - ], - "confinements": [ - { - "approximateBeginDate": "2016-06-11", - "approximateEndDate": "2016-09-11" - }, - { - "approximateBeginDate": "2019-06", - "approximateEndDate": "2019-07" - } - ], - "federalActivation": { - "anticipatedSeparationDate": "2023-12-03", - "activationDate": "2023-02-10" - }, - "reservesNationalGuardService": { - "obligationTermsOfService": { - "beginDate": "2016-11-24", - "endDate": "2017-11-17" - }, - "unitName": "National Guard Unit Name", - "unitAddress": "1243 pine court", - "component": "National Guard", - "unitPhone": { - "areaCode": "555", - "phoneNumber": "5555555" - }, - "receivingInactiveDutyTrainingPay": "YES" - }, - "servedInActiveCombatSince911": "NO" - }, - "servicePay": { - "favorTrainingPay": true, - "favorMilitaryRetiredPay": false, - "receivingMilitaryRetiredPay": "NO", - "futureMilitaryRetiredPay": "YES", - "futureMilitaryRetiredPayExplanation": "Explanation of future military retired pay", - "militaryRetiredPay": { - "branchOfService": "Army", - "monthlyAmount": 840.75 - }, - "retiredStatus": "PERMANENT_DISABILITY_RETIRED_LIST", - "receivedSeparationOrSeverancePay": "NO", - "separationSeverancePay": { - "datePaymentReceived": "2018-07-31", - "branchOfService": "Naval Academy", - "preTaxAmountReceived": 379.25 - } - }, - "directDeposit": { - "accountType": "CHECKING", - "accountNumber": "123123123123", - "routingNumber": "123456789", - "financialInstitutionName": "Chase", - "noAccount": false - } - } - } - } - } - } - }, - "required": true - } - } - }, - "/veterans/{veteranId}/claims/{id}/5103": { - "post": { - "summary": "Submit Evidence Waiver 5103", - "tags": [ - "5103 Waiver" - ], - "operationId": "submitEvidenceWaiver5103", - "security": [ - { - "productionOauth": [ - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "description": "Submit Evidence Waiver 5103 for Veteran.", - "parameters": [ - { - "name": "id", - "in": "path", - "example": "1234", - "description": "The ID of the claim being requested", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - }, - { - "name": "sponsorIcn", - "in": "query", - "required": false, - "example": "1012861229V078999", - "description": "ICN of the veteran affiliated with the dependent", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Successful response", - "content": { - "application/json": { - "example": { - "success": true - }, - "schema": { - "type": "object", - "additionalProperties": true, - "properties": { - "success": { - "type": "boolean", - "example": "true" - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "detail": "Not authorized" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - }, - "404": { - "description": "NotFound", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Resource not found", - "detail": "Claim not found" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - } - } - } - }, - "/veterans/{veteranId}/intent-to-file/{type}": { - "get": { - "summary": "Returns last active Intent to File form submission for given 'type'.", - "tags": [ - "Intent to File" - ], - "operationId": "active0966itf", - "security": [ - { - "productionOauth": [ - "system/claim.read" - ] - }, - { - "sandboxOauth": [ - "system/claim.read" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "description": "Returns Veteran's last active Intent to File submission for given benefit type.", - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - }, - { - "name": "type", - "in": "path", - "required": true, - "description": "Type of Intent to File to return. Available values - compensation, pension, survivor.", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Successful response with active Intent to File", - "content": { - "application/json": { - "example": { - "data": { - "id": "193685", - "type": "intent_to_file", - "attributes": { - "creationDate": "2021-03-16T19:15:21.000-05:00", - "expirationDate": "2022-03-16T19:15:20.000-05:00", - "type": "compensation", - "status": "active" - } - } - }, - "schema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "required": [ - "data" - ], - "properties": { - "data": { - "type": "object", - "additionalProperties": false, - "required": [ - "id", - "type", - "attributes" - ], - "properties": { - "id": { - "type": "string", - "description": "Intent To File ID", - "example": "600131328" - }, - "type": { - "type": "string", - "example": "intent_to_file" - }, - "attributes": { - "required": [ - "creationDate", - "expirationDate", - "status", - "type" - ], - "properties": { - "creationDate": { - "type": "string", - "format": "date", - "description": "Date the Intent to File was received at the VA" - }, - "expirationDate": { - "type": "string", - "format": "date", - "description": "Date the Intent to File expires, this is 1 year from the createdDate" - }, - "status": { - "type": "string", - "description": "The status of the Intent to File", - "example": "active" - }, - "type": { - "type": "string", - "description": "The type of Intent to File filed.", - "example": "compensation" - } - } - } - } - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "detail": "Not authorized" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Resource not found", - "detail": "No active 'C' intent to file found." - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - } - } - } - }, - "/veterans/{veteranId}/intent-to-file": { - "post": { - "summary": "Submit form 0966 Intent to File.", - "tags": [ - "Intent to File" - ], - "operationId": "post0966itf", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "description": "Establishes an Intent to File for disability compensation, pension, and survivor claims.", - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "0966 Response", - "content": { - "application/json": { - "example": { - "data": { - "id": "1", - "type": "intent_to_file", - "attributes": { - "creationDate": "2023-12-20", - "expirationDate": "2024-12-20", - "type": "compensation", - "status": "active" - } - } - }, - "schema": { - "$schema": "http://json-schema.org/draft-04/schema#", - "required": [ - "data" - ], - "properties": { - "data": { - "type": "object", - "additionalProperties": false, - "required": [ - "id", - "type", - "attributes" - ], - "properties": { - "id": { - "type": "string", - "description": "Intent To File ID", - "example": "600131328" - }, - "type": { - "type": "string", - "example": "intent_to_file" - }, - "attributes": { - "required": [ - "creationDate", - "expirationDate", - "status", - "type" - ], - "properties": { - "creationDate": { - "type": "string", - "format": "date", - "description": "Date the Intent to File was received at the VA" - }, - "expirationDate": { - "type": "string", - "format": "date", - "description": "Date the Intent to File expires, this is 1 year from the createdDate" - }, - "status": { - "type": "string", - "description": "The status of the Intent to File", - "example": "active" - }, - "type": { - "type": "string", - "description": "The type of Intent to File filed.", - "example": "compensation" - } - } - } - } - } - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "invalid value for type", - "detail": "some-invalid-value is not valid for type" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "detail": "Not authorized" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - }, - "422": { - "description": "Unprocessable entity", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Unprocessable Entity", - "detail": "Invalid claimantSsn parameter" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "data" - ], - "properties": { - "data": { - "type": "object", - "required": [ - "attributes" - ], - "properties": { - "attributes": { - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "example": "compensation", - "description": "Type of Intent To File being submitted. For type \"survivor\", the request must include claimantSsn and be made by a valid Veteran Representative. If the Representative is not a Veteran or a VA employee, this method is currently not available to them, and they should use the Benefits Intake API as an alternative.", - "enum": [ - "compensation", - "pension", - "survivor" - ] - }, - "claimantSsn": { - "type": "string", - "example": "001122334", - "description": "SSN of the Claimant." - } - }, - "example": { - "type": "compensation" - } - } - } - } - }, - "example": { - "data": { - "type": "intent_to_file", - "attributes": { - "type": "compensation" - } - } - } - } - } - }, - "required": true - } - } - }, - "/veterans/{veteranId}/intent-to-file/validate": { - "post": { - "summary": "Validate form 0966 Intent to File.", - "tags": [ - "Intent to File" - ], - "operationId": "validate0966itf", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "description": "Validates an Intent to File for disability compensation, pension, and survivor claims.", - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "0966 Response", - "content": { - "application/json": { - "example": { - "data": { - "type": "intent_to_file_validation", - "attributes": { - "status": "valid" - } - } - }, - "schema": { - "required": [ - "data" - ], - "properties": { - "data": { - "type": "object", - "additionalProperties": false, - "required": [ - "type", - "attributes" - ], - "properties": { - "type": { - "type": "string" - }, - "attributes": { - "type": "object", - "additionalProperties": false, - "required": [ - "status" - ], - "properties": { - "status": { - "type": "string", - "description": "The status of the Intent to File", - "enum": [ - "valid" - ] - } - } - } - } - } - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "invalid value for type", - "detail": "some-invalid-value is not valid for type" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "detail": "Not authorized" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - } - }, - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "data" - ], - "properties": { - "data": { - "type": "object", - "required": [ - "attributes" - ], - "properties": { - "attributes": { - "required": [ - "type" - ], - "properties": { - "type": { - "type": "string", - "example": "compensation", - "description": "Type of Intent To File being submitted. For type \"survivor\", the request must include claimantSsn and be made by a valid Veteran Representative. If the Representative is not a Veteran or a VA employee, this method is currently not available to them, and they should use the Benefits Intake API as an alternative.", - "enum": [ - "compensation", - "pension", - "survivor" - ] - }, - "claimantSsn": { - "type": "string", - "example": "001122334", - "description": "SSN of the Claimant." - } - }, - "example": { - "type": "compensation" - } - } - } - } - }, - "example": { - "data": { - "type": "intent_to_file", - "attributes": { - "type": "compensation" - } - } - } - } - } - }, - "required": true - } - } - }, - "/veterans/{veteranId}/power-of-attorney": { - "get": { - "summary": "Find current Power of Attorney for a Veteran.", - "tags": [ - "Power of Attorney" - ], - "operationId": "findPowerOfAttorney", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "description": "Retrieves current Power of Attorney for Veteran.", - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Successful response with a current Power of Attorney", - "content": { - "application/json": { - "example": { - "code": "A1Q", - "name": "Firstname Lastname", - "phone": { - "number": "555-555-5555" - }, - "type": "individual" - }, - "schema": { - "type": "object", - "additionalProperties": false, - "required": [ - "code" - ], - "properties": { - "code": { - "type": "string", - "description": "Power of Attorney Code currently assigned to Veteran" - }, - "name": { - "description": "Name of individual representative or organization", - "type": "string", - "nullable": true, - "example": "Jane Smith" - }, - "type": { - "description": "Type of representative, organization or individual", - "type": "string", - "nullable": true, - "example": "individual" - }, - "phone": { - "type": "object", - "additionalProperties": false, - "properties": { - "number": { - "description": "Phone number of representative. Can be organization or individual phone number.", - "type": "string", - "nullable": true, - "example": "555-555-5555" - } - } - } - } - } - } - } - }, - "204": { - "description": "Successful response with no current Power of Attorney", - "content": { - "application/json": { - "example": "" - } - } - }, - "401": { - "description": "Unauthorized", - "content": { - "application/json": { - "example": { - "errors": [ - { - "title": "Not authorized", - "detail": "Not authorized" - } - ] - }, - "schema": { - "required": [ - "errors" - ], - "properties": { - "errors": { - "type": "array", - "items": { - "additionalProperties": false, - "required": [ - "title", - "detail" - ], - "properties": { - "title": { - "type": "string", - "description": "HTTP error title" - }, - "detail": { - "type": "string", - "description": "HTTP error detail" - }, - "source": { - "type": "object", - "additionalProperties": false, - "description": "Source of error", - "properties": { - "pointer": { - "type": "string", - "description": "Pointer to source of error" - } - } - } - } - } - } - } - } - } - } - } - } - } - }, - "/veterans/{veteranId}/2122a/validate": { - "post": { - "summary": "Validates a 2122a form submission.", - "tags": [ - "Power of Attorney" - ], - "operationId": "post2122aValidate", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "description": "Validates a request appointing an individual as Power of Attorney (21-22a).\n", - "responses": { - "200": { - "description": "Valid request response" - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/veterans/{veteranId}/2122a": { - "post": { - "summary": "Appoint an individual as Power of Attorney.", - "tags": [ - "Power of Attorney" - ], - "operationId": "post2122a", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "description": "Validates a request appointing an individual as Power of Attorney (21-22a).\n", - "responses": { - "200": { - "description": "Valid request response" - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/veterans/{veteranId}/2122/validate": { - "post": { - "summary": "Validates a 2122 form submission.", - "tags": [ - "Power of Attorney" - ], - "operationId": "post2122Validate", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "description": "Validates a request appointing an organization as Power of Attorney (21-22).\n", - "responses": { - "200": { - "description": "Valid request response" - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/veterans/{veteranId}/2122": { - "post": { - "summary": "Appoint an organization as Power of Attorney", - "tags": [ - "Power of Attorney" - ], - "operationId": "post2122", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - } - ], - "description": "Validates a request appointing an organization as Power of Attorney (21-22).\n", - "responses": { - "200": { - "description": "Valid request response" - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/veterans/{veteranId}/power-of-attorney/{id}": { - "get": { - "summary": "Checks status of Power of Attorney appointment form submission", - "tags": [ - "Power of Attorney" - ], - "operationId": "getPowerOfAttorneyStatus", - "security": [ - { - "productionOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "sandboxOauth": [ - "system/claim.read", - "system/claim.write" - ] - }, - { - "bearer_token": [ - - ] - } - ], - "parameters": [ - { - "name": "veteranId", - "in": "path", - "required": true, - "example": "1012667145V762142", - "description": "ID of Veteran", - "schema": { - "type": "string" - } - }, - { - "name": "id", - "in": "path", - "required": true, - "example": "12e13134-7229-4e44-90ae-bcea2a4525fa", - "description": "Power of Attorney appointment request id", - "schema": { - "type": "string" - } - } - ], - "description": "Gets the Power of Attorney appointment request status (21-22/21-22a)\n", - "responses": { - "200": { - "description": "Successful response" - }, - "401": { - "description": "Unauthorized" - } - } - } - } - }, - "servers": [ - { - "url": "https://sandbox-api.va.gov/services/claims/{version}", - "description": "VA.gov API sandbox environment", - "variables": { - "version": { - "default": "v2" - } - } - }, - { - "url": "https://api.va.gov/services/claims/{version}", - "description": "VA.gov API production environment", - "variables": { - "version": { - "default": "v2" - } - } - } - ] -} \ No newline at end of file diff --git a/modules/claims_api/lib/bgs_service/vnp_ptcpnt_addrs_service.rb b/modules/claims_api/lib/bgs_service/vnp_ptcpnt_addrs_service.rb new file mode 100644 index 00000000000..85bf4cda2ff --- /dev/null +++ b/modules/claims_api/lib/bgs_service/vnp_ptcpnt_addrs_service.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +module ClaimsApi + class VnpPtcpntAddrsService < ClaimsApi::LocalBGS + def vnp_ptcpnt_addrs_create(options) + arg_strg = convert_nil_values(options) + body = Nokogiri::XML::DocumentFragment.parse <<~EOXML + + #{arg_strg} + + EOXML + + make_request(endpoint: 'VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService', + action: 'vnpPtcpntAddrsCreate', body:, key: 'return') + end + end +end diff --git a/modules/claims_api/spec/lib/claims_api/vnp_ptcpnt_addrs_service_spec.rb b/modules/claims_api/spec/lib/claims_api/vnp_ptcpnt_addrs_service_spec.rb new file mode 100644 index 00000000000..e9dfa8550cb --- /dev/null +++ b/modules/claims_api/spec/lib/claims_api/vnp_ptcpnt_addrs_service_spec.rb @@ -0,0 +1,86 @@ +# frozen_string_literal: true + +require 'rails_helper' +require 'bgs_service/vnp_ptcpnt_addrs_service' +require Rails.root.join('modules', 'claims_api', 'spec', 'support', 'bgs_client_helpers.rb') + +metadata = { + bgs: { + service: 'vnp_ptcpnt_addrs_service', + operation: 'vnp_ptcpnt_addrs_create' + } +} + +describe ClaimsApi::VnpPtcpntAddrsService, metadata do + subject { described_class.new external_uid: 'xUid', external_key: 'xKey' } + + describe 'vnp_ptcpnt_addrs_create' do + let(:options) { {} } + + it 'responds with attributes' do + options[:vnp_ptcpnt_addrs_id] = nil + options[:vnp_proc_id] = '3854596' + options[:vnp_ptcpnt_id] = '182057' + options[:efctv_dt] = '2020-07-16T18:20:18Z' + options[:addrs_one_txt] = '76 Crowther Ave' + options[:addrs_three_txt] = nil + options[:addrs_two_txt] = nil + options[:bad_addrs_ind] = nil + options[:city_nm] = 'Bridgeport' + options[:cntry_nm] = nil + options[:county_nm] = nil + options[:eft_waiver_type_nm] = nil + options[:email_addrs_txt] = 'testy@test.com' + options[:end_dt] = nil + options[:fms_addrs_code_txt] = nil + options[:frgn_postal_cd] = nil + options[:group_1_verifd_type_cd] = nil + options[:jrn_dt] = '2020-07-16T18:20:17Z' + options[:jrn_lctn_id] = 281 + options[:jrn_obj_id] = 'VAgovAPI' + options[:jrn_status_type_cd] = 'U' + options[:jrn_user_id] = 'VAgovAPI' + options[:lctn_nm] = nil + options[:mlty_postal_type_cd] = nil + options[:mlty_post_office_type_cd] = nil + options[:postal_cd] = 'CT' + options[:prvnc_nm] = 'CT' + options[:ptcpnt_addrs_type_nm] = 'Mailing' + options[:shared_addrs_ind] = 'N' + options[:trsury_addrs_five_txt] = nil + options[:trsury_addrs_four_txt] = nil + options[:trsury_addrs_one_txt] = nil + options[:trsury_addrs_six_txt] = nil + options[:trsury_addrs_three_txt] = nil + options[:trsury_addrs_two_txt] = nil + options[:trsury_seq_nbr] = nil + options[:trtry_nm] = nil + options[:zip_first_suffix_nbr] = nil + options[:zip_prefix_nbr] = '06605' + options[:zip_second_suffix_nbr] = nil + + use_bgs_cassette('happy_path') do + response = subject.vnp_ptcpnt_addrs_create(options) + expect(response).to include( + { vnp_ptcpnt_addrs_id: '143950', + efctv_dt: '2020-07-16T18:20:18Z', + vnp_ptcpnt_id: '182057', + vnp_proc_id: '3854596', + addrs_one_txt: '76 Crowther Ave', + city_nm: 'Bridgeport', + email_addrs_txt: 'testy@test.com', + jrn_dt: '2020-07-16T18:20:17Z', + jrn_lctn_id: '281', + jrn_obj_id: 'VAgovAPI', + jrn_status_type_cd: 'U', + jrn_user_id: 'VAgovAPI', + postal_cd: 'CT', + prvnc_nm: 'CT', + ptcpnt_addrs_type_nm: 'Mailing', + shared_addrs_ind: 'N', + zip_prefix_nbr: '06605' } + ) + end + end + end +end diff --git a/modules/claims_api/spec/support/bgs_client_helpers.rb b/modules/claims_api/spec/support/bgs_client_helpers.rb index 8cd2c5f8ebc..4d6394c50fd 100644 --- a/modules/claims_api/spec/support/bgs_client_helpers.rb +++ b/modules/claims_api/spec/support/bgs_client_helpers.rb @@ -38,7 +38,7 @@ module BGSClientHelpers # Then, HTTP interactions that occur within the block supplied to this method # will be captured by VCR cassettes that have the following convenient # properties: - # - They will be nicely organized at `bgs/:service/:operation/:name` + # - They will be nicely organized at `claims_api/bgs/:service/:operation/:name` # - Cassette matching will be done on canonicalized XML bodies, so # reformatting cassettes for human readability won't defeat matching def use_bgs_cassette(name, &) diff --git a/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_calculations_controller.rb b/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_calculations_controller.rb index 0833d111c60..bcc8cb20c2a 100644 --- a/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_calculations_controller.rb +++ b/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_calculations_controller.rb @@ -10,7 +10,9 @@ class FinancialStatusReportsCalculationsController < ApplicationController service_tag 'financial-report' def total_assets - render json: asset_calculator.get_total_assets + render json: { + calculatedTotalAssets: asset_calculator.get_total_assets + } end def monthly_income @@ -18,7 +20,9 @@ def monthly_income end def monthly_expenses - render json: expense_calculator.get_monthly_expenses + render json: { + calculatedMonthlyExpenses: expense_calculator.get_monthly_expenses + } end def all_expenses @@ -29,56 +33,61 @@ def all_expenses # rubocop:disable Metrics/MethodLength def asset_form - params.require(:data).permit( - :cashInBank, - :cashOnHand, - :recVehicleAmount, - :usSavingsBonds, - :stocksAndOtherBonds, - :'view:enhancedFinancialStatusReport', - questions: [:hasVehicle], - realEstateRecords: %i[ - realEstateType - realEstateAmount + params.permit( + :cash_in_bank, + :cash_on_hand, + :rec_vehicle_amount, + :us_savings_bonds, + :stocks_and_other_bonds, + :'view:enhanced_financial_status_report', + questions: [:has_vehicle], + real_estate_records: %i[ + real_estate_type + real_estate_amount ], assets: [ - :realEstateValue, + :resale_value, { - otherAssets: %i[ + other_assets: %i[ name amount ] }, - :recVehicleAmount, - { automobiles: [:resaleValue] } + { monetary_assets: %i[name amount] }, + :rec_vehicle_amount, + :real_estate_value, + { automobiles: [:resale_value] } ] ) end def income_form - params.require(:data).permit( - :'view:enhancedFinancialStatusReport', - additionalIncome: [ + params.permit( + :'view:enhanced_financial_status_report', + additional_income: [ { - addlIncRecords: %i[ + addl_inc_records: %i[ name amount ] }, { - spouse: %i[ - spAddlIncome + spouse: [ + sp_addl_income: %i[ + name + amount + ] ] } ], benefits: { - spouseBenefits: %i[ - compensationAndPension + spouse_benefits: %i[ + compensation_and_pension education ] }, - currEmployment: [ - :veteranGrossSalary, + curr_employment: [ + :veteran_gross_salary, { deductions: %i[ name @@ -90,37 +99,37 @@ def income_form :type, :from, :to, - :isCurrent, - :employerName + :is_current, + :employer_name ], income: %i[ - veteranOrSpouse - compensationAndPension + veteran_or_spouse + compensation_and_pension education ], - personalData: { - employmentHistory: { + personal_data: { + employment_history: { veteran: { - employmentRecords: [ + employment_records: [ :type, :from, :to, - :isCurrent, - :employerName, - :grossMonthlyIncome, + :is_current, + :employer_name, + :gross_monthly_income, { deductions: %i[name amount] } ] }, spouse: { - spEmploymentRecords: [ + sp_employment_records: [ :type, :from, :to, - :isCurrent, - :employerName, - :grossMonthlyIncome, + :is_current, + :employer_name, + :gross_monthly_income, { deductions: %i[name amount] } @@ -128,8 +137,8 @@ def income_form } } }, - spCurrEmployment: [ - :spouseGrossSalary, + sp_curr_employment: [ + :spouse_gross_salary, { deductions: %i[ name @@ -141,13 +150,13 @@ def income_form :type, :from, :to, - :isCurrent, - :employerName + :is_current, + :employer_name ], - socialSecurity: [ - :socialSecAmt, + social_security: [ + :social_sec_amt, { spouse: [ - :socialSecAmt + :social_sec_amt ] } ] ).to_hash @@ -155,41 +164,41 @@ def income_form def expense_form params.permit( - :'view:enhancedFinancialStatusReport', + :'view:enhanced_financial_status_report', expenses: [ :food, - :rentOrMortgage, - { expenseRecords: %i[ + :rent_or_mortgage, + { expense_records: %i[ name amount ], - creditCardBills: %i[ + credit_card_bills: %i[ purpose - creditorName - originalAmount - unpaidBalance - amountDueMonthly - dateStarted - amountPastDue + creditor_name + original_amount + unpaid_balance + amount_due_monthly + date_started + amount_past_due ] } ], - otherExpenses: %i[ + other_expenses: %i[ name amount ], - installmentContracts: %i[ - creditorName - dateStarted + installment_contracts: %i[ + creditor_name + date_started purpose - originalAmount + original_amount unpaid_balance - amountDueMonthly - amountPastDue + amount_due_monthly + amount_past_due ], - utilityRecords: %i[ - utilityType + utility_records: %i[ + utility_type amount - monthlyUtilityAmount + monthly_utility_amount ] ).to_hash end @@ -204,7 +213,7 @@ def income_calculator end def expense_calculator - DebtsApi::V0::FsrFormTransform::ExpenceCalculator.build(expense_form) + DebtsApi::V0::FsrFormTransform::ExpenseCalculator.build(expense_form) end end end diff --git a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/asset_calculator.rb b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/asset_calculator.rb index 3970db28228..51d4e349d54 100644 --- a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/asset_calculator.rb +++ b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/asset_calculator.rb @@ -6,25 +6,25 @@ module FsrFormTransform class AssetCalculator def initialize(form) @form = form - @enhanced_fsr_active = @form['view:enhancedFinancialStatusReport'] + @enhanced_fsr_active = @form['view:enhanced_financial_status_report'] @assets = @form['assets'] - @real_estate_records = @form['realEstateRecords'] + @real_estate_records = @form['real_estate_records'] @questions = @form['questions'] end def get_total_assets - formatted_re_value = @assets['realEstateValue']&.gsub(/[^0-9.-]/, '')&.to_f || 0 - tot_other_assets = sum_values(@assets['otherAssets'], 'amount') - tot_rec_vehicles = @enhanced_fsr_active ? @assets['recVehicleAmount']&.gsub(/[^0-9.-]/, '')&.to_f || 0 : 0 - tot_vehicles = @questions['hasVehicle'] ? sum_values(@assets['automobiles'], 'resaleValue') : 0 + formatted_re_value = @assets['real_estate_value']&.gsub(/[^0-9.-]/, '')&.to_f || 0 + tot_other_assets = sum_values(@assets['other_assets'], 'amount') + tot_rec_vehicles = @enhanced_fsr_active ? @assets['rec_vehicle_amount']&.gsub(/[^0-9.-]/, '')&.to_f || 0 : 0 + tot_vehicles = @questions['has_vehicle'] ? sum_values(@assets['automobiles'], 'resale_value') : 0 real_estate = if @enhanced_fsr_active formatted_re_value else sum_values(@real_estate_records, - 'realEstateAmount') + 'real_estate_amount') end tot_assets = if @enhanced_fsr_active - sum_values(@assets['monetaryAssets'], 'amount') + sum_values(@assets['monetary_assets'], 'amount') else @assets.values.reject { |item| item && !item.is_a?(Array) } .reduce(0) { |acc, amount| (acc + amount&.gsub(/[^0-9.-]/, '')&.to_f) || 0 } diff --git a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/enhanced_expense_calculator.rb b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/enhanced_expense_calculator.rb index 8d08997e6c8..b27ea53e84c 100644 --- a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/enhanced_expense_calculator.rb +++ b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/enhanced_expense_calculator.rb @@ -5,7 +5,7 @@ module DebtsApi module V0 module FsrFormTransform - class EnhancedExpenceCalculator + class EnhancedExpenseCalculator RENT = 'Rent' MORTGAGE_PAYMENT = 'Mortgage payment' FOOD = 'Food' @@ -18,8 +18,8 @@ def initialize(form) @old_food_attr = @form.dig('expenses', 'food') @credit_card_bills = @form.dig('expenses', 'creditCardBills') || [] @other_expenses = @form['otherExpenses'].deep_dup || [] - @installment_contracts = @form['installmentContracts'] - @utility_records = @form['utilityRecords'] + @installment_contracts = @form['installmentContracts'] || [] + @utility_records = @form['utilityRecords'] || [] @filtered_expenses = [].concat( exclude_by(@other_expenses, [FOOD]), diff --git a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/expense_calculator.rb b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/expense_calculator.rb index 15ffd040699..ace0c4904db 100644 --- a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/expense_calculator.rb +++ b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/expense_calculator.rb @@ -6,10 +6,11 @@ module DebtsApi module V0 module FsrFormTransform - class ExpenceCalculator + class ExpenseCalculator def self.build(form) + form.deep_transform_keys! { |key| key.to_s.camelize(:lower) } enhanced = form['view:enhancedFinancialStatusReport'] || false - enhanced ? EnhancedExpenceCalculator.new(form) : OldExpenceCalculator.new(form) + enhanced ? EnhancedExpenseCalculator.new(form) : OldExpenseCalculator.new(form) end end end diff --git a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/income_calculator.rb b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/income_calculator.rb index 9fd99e999b9..86e02a1f3f0 100644 --- a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/income_calculator.rb +++ b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/income_calculator.rb @@ -20,27 +20,26 @@ def initialize(form) # rubocop:disable Metrics/MethodLength def get_monthly_income - if @form['additionalIncome']['spouse']['spAddlIncome'].blank? - @form['additionalIncome']['spouse']['spAddlIncome'] = [] - end - @form['additionalIncome']['addlIncRecords'] = [] if @form['additionalIncome']['addlIncRecords'].blank? - if @form['personalData']['employmentHistory']['veteran']['employmentRecords'].blank? - @form['personalData']['employmentHistory']['veteran']['employmentRecords'] = [] - end - if @form['personalData']['employmentHistory']['spouse']['spEmploymentRecords'].blank? - @form['personalData']['employmentHistory']['spouse']['spEmploymentRecords'] = [] - end - - sp_addl_income = @form['additionalIncome']['spouse']['spAddlIncome'] - addl_inc_records = @form['additionalIncome']['addlIncRecords'] - vet_employment_records = @form['personalData']['employmentHistory']['veteran']['employmentRecords'] - sp_employment_records = @form['personalData']['employmentHistory']['spouse']['spEmploymentRecords'] - social_security = @form['socialSecurity'] - benefits = @form['benefits'] - curr_employment = @form['currEmployment'] || [] - sp_curr_employment = @form['spCurrEmployment'] || [] - income = @form['income'] - enhanced_fsr_active = @form['view:enhancedFinancialStatusReport'] + sp_addl_income = @form.dig('additional_income', 'spouse', 'sp_addl_income') || [] + addl_inc_records = @form.dig('additional_income', 'addl_inc_records') || [] + vet_employment_records = @form.dig( + 'personal_data', + 'employment_history', + 'veteran', + 'employment_records' + ) || [] + sp_employment_records = @form.dig( + 'personal_data', + 'employment_history', + 'spouse', + 'sp_employment_records' + ) || [] + social_security = @form['social_security'] || {} + benefits = @form['benefits'] || {} + curr_employment = @form['curr_employment'] || [] + sp_curr_employment = @form['sp_curr_employment'] || [] + income = @form['income'] || [] + enhanced_fsr_active = @form['view:enhanced_financial_status_report'] vet_income = calculate_income( enhanced_fsr_active, 'veteran', @@ -102,10 +101,9 @@ def other_deductions_amt(deductions, filters) def name_str(social_security, compensation, education, addl_inc) benefit_types = [] - - benefit_types.push('Social Security') if social_security - benefit_types.push('Disability Compensation') if compensation - benefit_types.push('Education') if education + benefit_types.push('Social Security') if social_security.positive? + benefit_types.push('Disability Compensation') if compensation.positive? + benefit_types.push('Education') if education.positive? vet_addl_names = addl_inc&.pluck('name') || [] other_inc_names = [*benefit_types, *vet_addl_names] @@ -118,15 +116,15 @@ def calculate_income(enhanced_fsr_active, beneficiary_type, employment_records = addl_inc_records = [], social_security = {}, income = [], benefits = {}) gross_salary = if enhanced_fsr_active employment_records.map do |emp| - if emp['grossMonthlyIncome'].nil? + if emp['gross_monthly_income'].nil? 0 else - emp['grossMonthlyIncome'].to_f + emp['gross_monthly_income'].to_f end end.sum else curr_employment.sum do |emp| - emp["#{beneficiary_type}GrossSalary"].to_f + emp["#{beneficiary_type}_gross_salary"].to_f end end @@ -135,19 +133,19 @@ def calculate_income(enhanced_fsr_active, beneficiary_type, employment_records = soc_sec_amt = if enhanced_fsr_active 0 elsif beneficiary_type == 'spouse' - social_security.dig('spouse', 'socialSecAmt').to_f || 0 + social_security.dig('spouse', 'social_sec_amt').to_f || 0 else - social_security['socialSecAmt'].to_f || 0 + social_security['social_sec_amt'].to_f || 0 end comp = if beneficiary_type == 'spouse' - benefits.dig('spouseBenefits', 'compensationAndPension').to_f || 0 + benefits.dig('spouse_benefits', 'compensation_and_pension').to_f || 0 else - income.sum { |item| item['compensationAndPension'].to_f } + income.sum { |item| item['compensation_and_pension'].to_f } end edu = if beneficiary_type == 'spouse' - benefits.dig('spouseBenefits', 'education').to_f || 0 + benefits.dig('spouse_benefits', 'education').to_f || 0 else income.sum { |item| item['education'].to_f } end @@ -156,7 +154,7 @@ def calculate_income(enhanced_fsr_active, beneficiary_type, employment_records = deductions = if enhanced_fsr_active employment_records - .select { |emp| emp['isCurrent'] } + .select { |emp| emp['is_current'] } .map do |emp| if emp['deductions'].nil? 0 diff --git a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/old_expense_calculator.rb b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/old_expense_calculator.rb index 3008ea50688..a8dfd5e6053 100644 --- a/modules/debts_api/lib/debts_api/v0/fsr_form_transform/old_expense_calculator.rb +++ b/modules/debts_api/lib/debts_api/v0/fsr_form_transform/old_expense_calculator.rb @@ -5,7 +5,7 @@ module DebtsApi module V0 module FsrFormTransform - class OldExpenceCalculator + class OldExpenseCalculator RENT = 'Rent' MORTGAGE_PAYMENT = 'Mortgage payment' FOOD = 'Food' diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_2.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_2.json new file mode 100644 index 00000000000..79f06d7e7ed --- /dev/null +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_2.json @@ -0,0 +1,363 @@ +{ + "benefits": { + "spouse_benefits": { + "compensation_and_pension": "250", + "education": "250" + } + }, + "questions": { + "spouse_has_benefits": true, + "is_married": true, + "has_dependents": "1", + "vet_is_employed": true, + "spouse_is_employed": true + }, + "personal_data": { + "spouse_full_name": { + "first": "rosemary", + "last": "woodhouse" + }, + "veteran_full_name": { + "first": "Travis", + "last": "Jones", + "middle": "D" + }, + "date_of_birth": "1950-09-06", + "veteran_contact_information": { + "email": "test@user.com", + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + }, + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + } + }, + "dependents": [ + { + "dependent_age": "12" + } + ], + "employment_history": { + "new_record": { + "type": "", + "from": "", + "to": "", + "is_current": false, + "employer_name": "", + "gross_monthly_income": "", + "deductions": [] + }, + "veteran": { + "employment_records": [ + { + "type": "Part time", + "from": "2020-01-XX", + "to": "", + "is_current": true, + "employer_name": "Vet emp 1", + "gross_monthly_income": "1200", + "deductions": [ + { + "name": "State tax", + "amount": "100" + }, + { + "name": "Retirement accounts (401k, IRAs, 403b, TSP)", + "amount": "100" + } + ] + } + ] + }, + "spouse": { + "sp_employment_records": [ + { + "type": "Full time", + "from": "2021-01-XX", + "to": "", + "is_current": true, + "employer_name": "spo emp 1", + "gross_monthly_income": "1300", + "deductions": [ + { + "name": "Federal tax", + "amount": "150" + }, + { + "name": "FICA (Social Security and Medicare)", + "amount": "150" + } + ] + } + ] + } + } + }, + "view:components": { + "view:marital_status": {}, + "view:veteran_info": {}, + "view:dependents_additional_info": {}, + "view:va_benefits_on_file": {}, + "view:real_estate_additional_info": {}, + "view:rec_vehicle_info": {}, + "view:contracts_additional_info": {} + }, + "personal_identification": { + "ssn": "3018", + "file_number": "3018" + }, + "selected_debts_and_copays": [ + { + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" + } + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "Charleston", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY" + } + ], + "additional_income": { + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "500" + } + ], + "spouse": { + "sp_addl_income": [ + { + "name": "Caretaker income", + "amount": "100" + } + ] + } + }, + "assets": {}, + "expenses": {}, + "additional_data": { + "bankruptcy": {} + }, + "view:enhanced_financial_status_report": true, + "view:streamlined_waiver": true, + "view:streamlined_waiver_asset_update": true, + "view:review_page_navigation_toggle": true, + "income": [ + { + "veteran_or_spouse": "VETERAN" + } + ], + "gmt_data": { + "is_eligible_for_streamlined": true, + "gmt_threshold": 78300, + "error": null, + "income_upper_threshold": 117450, + "asset_threshold": 5089.5, + "discretionary_income_threshold": 978.75, + "income_below_gmt": true, + "income_below_one_fifty_gmt": true + } +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_3.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_3.json new file mode 100644 index 00000000000..4a47677bae2 --- /dev/null +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_3.json @@ -0,0 +1,349 @@ +{ + "questions": { + "has_repayments": false, + "has_credit_card_bills": false, + "has_recreational_vehicle": true, + "has_vehicle": true, + "has_real_estate": true, + "is_married": false, + "has_dependents": "0", + "has_been_adjudicated_bankrupt": false + }, + "view:components": { + "view:contracts_additional_info": {}, + "view:rec_vehicle_info": {}, + "view:real_estate_additional_info": {}, + "view:marital_status": {}, + "view:veteran_info": {}, + "view:dependents_additional_info": {}, + "view:va_benefits_on_file": {} + }, + "assets": { + "rec_vehicle_amount": "2000", + "real_estate_value": "400.10", + "monetary_assets": [ + { + "name": "Cash", + "amount": "10" + }, + { + "name": "Checking accounts", + "amount": "10.01" + }, + { + "name": "Savings accounts", + "amount": "10.02" + }, + { + "name": "Retirement accounts (401k, IRAs, 403b, TSP)", + "amount": "10.02" + } + ], + "other_assets": [ + { + "name": "Antiques", + "amount": "20" + }, + { + "name": "Collectibles, or collection(s)", + "amount": "20" + } + ], + "automobiles": [ + { + "make": "Make", + "model": "mod", + "resale_value": "100.10" + }, + { + "make": "dfsa", + "model": "fdas", + "resale_value": "200.10" + } + ] + }, + "personal_data": { + "veteran_full_name": { + "first": "Travis", + "last": "Jones", + "middle": "D" + }, + "date_of_birth": "1950-09-06", + "veteran_contact_information": { + "email": "test@user.com", + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + }, + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + } + }, + "spouse_full_name": {}, + "dependents": [] + }, + "personal_identification": { + "ssn": "3018", + "file_number": "3018" + }, + "selected_debts_and_copays": [ + { + "resolution_waiver_check": true, + "resolution_option": "waiver", + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" + } + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "Charleston", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY", + "resolution_comment": "" + } + ], + "additional_income": { + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "12000" + } + ], + "spouse": {} + }, + "benefits": { + "spouse_benefits": {} + }, + "expenses": {}, + "additional_data": { + "bankruptcy": {}, + "additional_comments": "blah blah" + }, + "view:enhanced_financial_status_report": true, + "view:streamlined_waiver": true, + "view:streamlined_waiver_asset_update": true, + "view:review_page_navigation_toggle": true, + "income": [ + { + "veteran_or_spouse": "VETERAN" + } + ], + "gmt_data": { + "is_eligible_for_streamlined": true, + "gmt_threshold": 100000, + "error": null, + "income_upper_threshold": 150000, + "asset_threshold": 6500, + "discretionary_income_threshold": 1250, + "income_below_gmt": false, + "income_below_one_fifty_gmt": false, + "discretionary_below": false + }, + "social_security": { + "spouse": {} + }, + "employment_history": { + "spouse": {} + } + +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_expenses.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_expenses.json new file mode 100644 index 00000000000..451f754a058 --- /dev/null +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_expenses.json @@ -0,0 +1,711 @@ +{ + "questions": { + "has_repayments": false, + "has_credit_card_bills": false, + "has_recreational_vehicle": false, + "has_vehicle": false, + "has_real_estate": false, + "is_married": false, + "has_dependents": "0" + }, + "view:components": { + "view:contracts_additional_info": {}, + "view:real_estate_additional_info": {}, + "view:marital_status": {}, + "view:veteran_info": {}, + "view:dependents_additional_info": {}, + "view:va_benefits_on_file": {}, + "view:vehicle_info": {}, + "view:rec_vehicle_info": {}, + "view:asset_info": {} + }, + "personal_data": { + "veteran_full_name": { + "first": "Travis", + "last": "Jones", + "middle": "D" + }, + "date_of_birth": "1950-09-06", + "address": { + "lives_on_military_base_info": {}, + "country": "", + "street": "", + "city": "", + "state": "", + "postal_code": "" + }, + "telephone_number": "", + "email_address": "", + "veteran_contact_information": { + "email": "test@user.com", + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + }, + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + } + }, + "spouse_full_name": {}, + "dependents": [], + "employment_history": { + "veteran": {}, + "spouse": {} + } + }, + "personal_identification": { + "ssn": "3018", + "file_number": "3018" + }, + "selected_debts_and_copays": [ + { + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" + } + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "Charleston", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY" + } + ], + "social_security": { + "spouse": {} + }, + "additional_income": { + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "6666" + } + ], + "spouse": {} + }, + "benefits": { + "spouse_benefits": {} + }, + "assets": { + "monetary_assets": [ + { + "name": "Cash on hand (not in bank)", + "amount": "12" + }, + { + "name": "Cash in a bank (savings and checkings)", + "amount": "12" + } + ] + }, + "expenses": { + "expense_records": [ + { + "name": "Rent", + "amount": "11" + }, + { + "name": "Renter's or home insurance", + "amount": "1" + } + ] + }, + "additional_data": { + "bankruptcy": {} + }, + "view:enhanced_financial_status_report": true, + "view:streamlined_waiver": true, + "view:streamlined_waiver_asset_update": true, + "view:review_page_navigation_toggle": true, + "income": [ + { + "veteran_or_spouse": "VETERAN" + } + ], + "gmt_data": { + "is_eligible_for_streamlined": true, + "gmt_threshold": 78300, + "error": null, + "income_upper_threshold": 117450, + "asset_threshold": 5089.5, + "discretionary_income_threshold": 978.75, + "income_below_gmt": false, + "income_below_one_fifty_gmt": true, + "liquid_assets_below_gmt": true + }, + "employment_history": { + "spouse": {} + }, + "utility_records": [ + { + "name": "Electricity", + "amount": "21" + } + ], + "other_expenses": [ + { + "name": "Food", + "amount": "31" + }, + { + "name": "Clothing", + "amount": "2" + } + ], + "format": "json", + "controller": "debts_api/v0/financial_status_reports_calculations", + "action": "monthly_expenses", + "financial_status_reports_calculation": { + "questions": { + "has_repayments": false, + "has_credit_card_bills": false, + "has_recreational_vehicle": false, + "has_vehicle": false, + "has_real_estate": false, + "is_married": false, + "has_dependents": "0" + }, + "view:components": { + "view:contracts_additional_info": {}, + "view:real_estate_additional_info": {}, + "view:marital_status": {}, + "view:veteran_info": {}, + "view:dependents_additional_info": {}, + "view:va_benefits_on_file": {}, + "view:vehicle_info": {}, + "view:rec_vehicle_info": {}, + "view:asset_info": {} + }, + "personal_data": { + "veteran_full_name": { + "first": "Travis", + "last": "Jones", + "middle": "D" + }, + "date_of_birth": "1950-09-06", + "address": { + "lives_on_military_base_info": {}, + "country": "", + "street": "", + "city": "", + "state": "", + "postal_code": "" + }, + "telephone_number": "", + "email_address": "", + "veteran_contact_information": { + "email": "test@user.com", + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + }, + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + } + }, + "spouse_full_name": {}, + "dependents": [], + "employment_history": { + "veteran": {}, + "spouse": {} + } + }, + "personal_identification": { + "ssn": "3018", + "file_number": "3018" + }, + "selected_debts_and_copays": [ + { + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" + } + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "Charleston", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY" + } + ], + "social_security": { + "spouse": {} + }, + "additional_income": { + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "6666" + } + ], + "spouse": {} + }, + "benefits": { + "spouse_benefits": {} + }, + "assets": { + "monetary_assets": [ + { + "name": "Cash on hand (not in bank)", + "amount": "12" + }, + { + "name": "Cash in a bank (savings and checkings)", + "amount": "12" + } + ] + }, + "expenses": { + "expense_records": [ + { + "name": "Rent", + "amount": "11" + }, + { + "name": "Renter's or home insurance", + "amount": "1" + } + ] + }, + "additional_data": { + "bankruptcy": {} + }, + "view:enhanced_financial_status_report": true, + "view:streamlined_waiver": true, + "view:streamlined_waiver_asset_update": true, + "view:review_page_navigation_toggle": true, + "income": [ + { + "veteran_or_spouse": "VETERAN" + } + ], + "gmt_data": { + "is_eligible_for_streamlined": true, + "gmt_threshold": 78300, + "error": null, + "income_upper_threshold": 117450, + "asset_threshold": 5089.5, + "discretionary_income_threshold": 978.75, + "income_below_gmt": false, + "income_below_one_fifty_gmt": true, + "liquid_assets_below_gmt": true + }, + "employment_history": { + "spouse": {} + }, + "utility_records": [ + { + "name": "Electricity", + "amount": "21" + } + ], + "other_expenses": [ + { + "name": "Food", + "amount": "31" + }, + { + "name": "Clothing", + "amount": "2" + } + ] + } +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_maximal.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_maximal.json new file mode 100644 index 00000000000..f551be6c3ff --- /dev/null +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_maximal.json @@ -0,0 +1,1268 @@ +{ + "view:enhanced_financial_status_report": true, + "view:streamlined_waiver": true, + "other_expenses": [ + { + "name": "Clothing", + "amount": "10" + }, + { + "name": "Food", + "amount": "1000.54" + }, + { + "name": "Veteran added", + "amount": "100" + } + ], + "view:components": { + "view:asset_info": {}, + "view:rec_vehicle_info": {}, + "view:vehicle_info": {}, + "view:marital_status": {}, + "view:veteran_info": {}, + "view:va_benefits_on_file": {} + }, + "expenses": { + "expense_records": [ + { + "name": "Rent", + "amount": "1200.53" + } + ], + "credit_card_bills": [ + { + "purpose": "Credit card payment", + "creditor_name": "", + "original_amount": "", + "unpaid_balance": "300000", + "amount_due_monthly": "10000", + "date_started": "", + "amount_past_due": "7000" + } + ] + }, + "assets": { + "real_estate_value": "800000.81", + "other_assets": [ + { + "name": "Collectibles, or collection(s)", + "amount": "12344" + }, + { + "name": "Antiques", + "amount": "44" + }, + { + "name": "Fine art", + "amount": "122" + } + ], + "cash_in_bank": "3000.45", + "cash_on_hand": "10000.67", + "rec_vehicle_amount": "15000.23", + "us_savings_bonds": "25000.65", + "stocks_and_other_bonds": "50000.84", + "automobiles": [ + { + "make": "Dodge", + "model": "RAM", + "year": "2020", + "resale_value": "75000.45" + }, + { + "make": "Dodge", + "model": "Charger", + "year": "2020", + "resale_value": "40000.54" + } + ], + "monetary_assets": [ + { + "name": "Cash", + "amount": "100" + }, + { + "name": "Checking accounts", + "amount": "100" + }, + { + "name": "Savings accounts", + "amount": "100" + }, + { + "name": "U.S. Savings Bonds", + "amount": "100" + }, + { + "name": "Retirement accounts (401k, IRAs, 403b, TSP)", + "amount": "100" + }, + { + "name": "Other stocks and bonds (not in your retirement accounts)", + "amount": "100" + }, + { + "name": "Pension", + "amount": "100" + }, + { + "name": "Cryptocurrency", + "amount": "100" + } + ] + }, + "additional_income": { + "spouse": { + "sp_addl_income": [ + { + "name": "Child care income", + "amount": "800.54" + }, + { + "name": "Alimony payment", + "amount": "1000.23" + } + ] + }, + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "150.67" + }, + { + "name": "Alimony", + "amount": "210.43" + } + ] + }, + "social_security": { + "spouse": { + "social_sec_amt": "1400.45" + }, + "social_sec_amt": "1200.65" + }, + "benefits": { + "spouse_benefits": { + "compensation_and_pension": "1000.09", + "education": "500.46" + } + }, + "additional_data": { + "bankruptcy": { + "date_discharged": "2004-10-22", + "court_location": "Tampa, FL", + "docket_number": "123456" + }, + "additional_comments": "Supporting personal statement..." + }, + "questions": { + "has_been_adjudicated_bankrupt": true, + "has_credit_card_bills": true, + "has_other_expenses": true, + "has_repayments": true, + "has_utilities": true, + "has_recreational_vehicle": true, + "has_vehicle": true, + "has_real_estate": true, + "has_dependents": "2", + "spouse_has_additional_income": true, + "spouse_has_social_security": true, + "spouse_has_benefits": true, + "spouse_is_employed": true, + "is_married": true, + "has_additional_income": true, + "has_social_security": true, + "vet_is_employed": true + }, + "installment_contracts": [ + { + "purpose": "Credit card payments", + "creditor_name": "Creditor One", + "original_amount": "50000.54", + "unpaid_balance": "15000.56", + "amount_due_monthly": "800.10", + "date_started": "2017-03-XX", + "amount_past_due": "125.43" + }, + { + "purpose": "Car payment/lease", + "creditor_name": "Creditor Two", + "original_amount": "100000.43", + "unpaid_balance": "50000.26", + "amount_due_monthly": "1200.54", + "date_started": "2019-05-XX", + "amount_past_due": "0" + } + ], + "utility_records": [ + { + "name": "Electricity", + "amount": "402.35" + }, + { + "name": "Gas", + "amount": "85.16" + }, + { + "name": "Cable", + "amount": "175.47" + } + ], + "personal_data": { + "dependents": [ + { + "dependent_age": "12" + }, + { + "dependent_age": "17" + } + ], + "employment_history": { + "spouse": { + "sp_employment_records": [ + { + "type": "Full time", + "from": "2018-6-XX", + "to": "", + "is_current": true, + "employer_name": "Spouse Current", + "gross_monthly_income": "100", + "deductions": [ + { + "name": "State tax", + "amount": "10" + } + ] + }, + { + "type": "Full time", + "from": "2015-3-XX", + "to": "2018-6-XX", + "employer_name": "Spouse Previous", + "is_current": false + } + ] + }, + "veteran": { + "employment_records": [ + { + "type": "Full time", + "from": "2021-01-XX", + "to": "", + "is_current": true, + "employer_name": "Test", + "gross_monthly_income": "123", + "deductions": [ + { + "name": "State tax", + "amount": "1" + } + ] + }, + { + "type": "Full time", + "from": "2021-01-XX", + "to": "2021-12-XX", + "is_current": false, + "employer_name": "I quit" + } + ] + } + }, + "spouse_full_name": { + "first": "Angela", + "last": "Mitchell" + }, + "address": { + "lives_on_military_base_info": {}, + "country": "USA", + "street": "123 Fake Street", + "city": "Tampa", + "state": "FL", + "postal_code": "33543" + }, + "telephone_number": "4445551212", + "email_address": "test2@test1.net", + "veteran_contact_information": { + "email": "test@user.com", + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_line3": null, + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "international_postal_code": null, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + }, + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + } + }, + "veteran_full_name": { + "first": "Greg", + "last": "Anderson", + "middle": "A" + }, + "date_of_birth": "1933-04-05" + }, + "personal_identification": { + "ssn": "1234", + "file_number": "5678" + }, + "selected_debts_and_copays": [ + { + "file_number": "796121200", + "payee_number": "00", + "person_entitled": "AJHONS", + "deduction_code": "30", + "benefit_type": "Comp & Pen", + "diary_code": "080", + "diary_code_description": "Referred to the Department of the Treasury", + "amount_overpaid": 0, + "amount_withheld": 0, + "original_ar": 136.24, + "current_ar": 100, + "debt_history": [ + { + "date": "02/25/2009", + "letter_code": "914", + "description": "Paid In Full - Account balance cleared via offset, not including TOP." + }, + { + "date": "02/07/2009", + "letter_code": "905", + "description": "Administrative Write Off" + }, + { + "date": "12/03/2008", + "letter_code": "487", + "description": "Death Case Pending Action" + } + ], + "id": 0, + "debt_type": "DEBT", + "resolution_option": "waiver", + "resolution_comment": "", + "resolution_waiver_check": true + }, + { + "file_number": "796121200", + "payee_number": "00", + "person_entitled": "AJOHNS", + "deduction_code": "74", + "benefit_type": "CH33 Student Tuition EDU", + "diary_code": "117", + "diary_code_description": "Pending payment", + "amount_overpaid": 0, + "amount_withheld": 475, + "original_ar": 2210.9, + "current_ar": 1000, + "debt_history": [ + { + "date": "04/01/2017", + "letter_code": 608, + "description": "Full C&P Benefit Offset Notifi" + }, + { + "date": "11/18/2015", + "letter_code": 130, + "description": "Debt Increase - Due P" + }, + { + "date": "04/08/2015", + "letter_code": 608, + "description": "Full C&P Benefit Offset Notifi" + }, + { + "date": "03/26/2015", + "letter_code": 100, + "description": "First Demand Letter - Inactive Benefits - Due Process" + } + ], + "id": 3, + "debt_type": "DEBT", + "resolution_option": "monthly", + "resolution_comment": "50.51" + }, + { + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" + } + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "CHARLESTON", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Bob Stump Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY", + "resolution_option": "compromise", + "resolution_comment": "10.51" + }, + { + "id": "b381cc7b-ea3a-49dc-a982-7146416ed373", + "p_s_seq_num": 1162, + "p_s_tot_seq_num": 1, + "p_s_facility_num": "757", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 11, + "p_s_statement_val": "0000040520F", + "p_s_statement_date": "06052021", + "p_s_statement_date_output": "06/05/2021", + "p_s_process_date": "06092021", + "p_s_process_date_output": "06/09/2021", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SOUTH PASADENA", + "p_h_state": "FL", + "p_h_zip_cde": "337074743", + "p_h_zip_cde_output": "33707-4743", + "p_h_ctry_nme": "US", + "p_h_amt_due": 46, + "p_h_amt_due_output": "46.00  ", + "p_h_prev_bal": 30, + "p_h_prev_bal_output": "30.00  ", + "p_h_tot_charges": 46, + "p_h_tot_charges_output": "46.00  ", + "p_h_tot_credits": -30, + "p_h_tot_credits_output": "30.00- ", + "p_h_new_balance": 46, + "p_h_new_balance_output": "46.00  ", + "p_h_special_notes": null, + "p_hro_para_cdes": "254050556065708085", + "p_h_num_of_lines": 7, + "p_h_dfn_number": 0, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ + { + "p_d_date_posted": "03092020", + "p_d_date_posted_output": "03/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 01/14/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 01/14/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00R4FL" + }, + { + "p_d_date_posted": "03092020", + "p_d_date_posted_output": "03/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00R4FL" + }, + { + "p_d_date_posted": "03242020", + "p_d_date_posted_output": "03/24/2020", + "p_d_trans_desc": "COPAY RX:100020337B FD:01/23/2020", + "p_d_trans_desc_output": "COPAY RX#100020337B FILL DATE: 01/23/2020", + "p_d_trans_amt": 5, + "p_d_trans_amt_output": "5.00  ", + "p_d_ref_no": "516-K00RSNZ" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", + "p_d_trans_desc_output": "   DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:SANTOS,LOUISE CHG:$5.00", + "p_d_trans_desc_output": "   PHY:SANTOS,LOUISE CHG:$5.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "03242020", + "p_d_date_posted_output": "03/24/2020", + "p_d_trans_desc": "RX CO-PAYMENT/NSC VET", + "p_d_trans_desc_output": "PAYMENT POSTED ON 03/24/2020", + "p_d_trans_amt": -5, + "p_d_trans_amt_output": "5.00- ", + "p_d_ref_no": "516-K00RSNZ" + }, + { + "p_d_date_posted": "04032020", + "p_d_date_posted_output": "04/03/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:03/30/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 03/30/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00S829" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "04272020", + "p_d_date_posted_output": "04/27/2020", + "p_d_trans_desc": "COPAY RX:100020336 FD:04/23/2020", + "p_d_trans_desc_output": "COPAY RX#100020336 FILL DATE: 04/23/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "04282020", + "p_d_date_posted_output": "04/28/2020", + "p_d_trans_desc": "COPAY RX:100011847 FD:04/23/2020", + "p_d_trans_desc_output": "COPAY RX#100011847 FILL DATE: 04/23/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_desc_output": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", + "p_d_trans_desc_output": "   QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "05262020", + "p_d_date_posted_output": "05/26/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 04/15/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 04/15/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00TXGK" + }, + { + "p_d_date_posted": "05262020", + "p_d_date_posted_output": "05/26/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00TXGK" + }, + { + "p_d_date_posted": "06302020", + "p_d_date_posted_output": "06/30/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:06/30/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 06/30/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00UY3W" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 06/08/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 06/08/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "COMMENT: K00ULWR PD $50.00 DOS 060820", + "p_d_trans_desc_output": "   COMMENT: K00ULWR PD $50.00 DOS 060820", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "08132020", + "p_d_date_posted_output": "08/13/2020", + "p_d_trans_desc": "COPAY RX:100020336 FD:08/11/2020", + "p_d_trans_desc_output": "COPAY RX#100020336 FILL DATE: 08/11/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00WDZQ" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 08/20/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 08/20/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "COMMENT: K00X41A PD $50.00 DOS 082020", + "p_d_trans_desc_output": "   COMMENT: K00X41A PD $50.00 DOS 082020", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "10072020", + "p_d_date_posted_output": "10/07/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:10/05/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 10/05/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045030 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045030 FILL DATE: 10/27/2020", + "p_d_trans_amt": 24, + "p_d_trans_amt_output": "24.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", + "p_d_trans_desc_output": "   DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "CHG:$24.00", + "p_d_trans_desc_output": "   CHG:$24.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045028 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045028 FILL DATE: 10/27/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", + "p_d_trans_desc_output": "   DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_desc_output": "   QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045029 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045029 FILL DATE: 10/27/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_desc_output": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT (Int:0.12 Adm:1.64)", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -16.76, + "p_d_trans_amt_output": "16.76- ", + "p_d_ref_no": "516-K00JZPJ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT (Int:0.26 Adm:0.00)", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15.26, + "p_d_trans_amt_output": "15.26- ", + "p_d_ref_no": "516-K00N8XA" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00QKJJ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00S829" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -23, + "p_d_trans_amt_output": "23.00- ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00UY3W" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00WDZQ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -55, + "p_d_trans_amt_output": "55.00- ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 10/27/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 10/27/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "COMMENT: K10KM1P PD $15.00 DOS:10/27/20", + "p_d_trans_desc_output": "   COMMENT: K10KM1P PD $15.00 DOS:10/27/20", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "12012020", + "p_d_date_posted_output": "12/01/2020", + "p_d_trans_desc": "COPAY RX:100046632 FD:11/18/2020", + "p_d_trans_desc_output": "COPAY RX#100046632 FILL DATE: 11/18/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10LT59" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "CHG:$15.00", + "p_d_trans_desc_output": "   CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "12162020", + "p_d_date_posted_output": "12/16/2020", + "p_d_trans_desc": "COPAY RX:100030241A FD:12/12/2020", + "p_d_trans_desc_output": "COPAY RX#100030241A FILL DATE: 12/12/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10MUDV" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", + "p_d_trans_desc_output": "   PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "12212020", + "p_d_date_posted_output": "12/21/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 11/13/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 11/13/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10N4AR" + }, + { + "p_d_date_posted": "12212020", + "p_d_date_posted_output": "12/21/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K10N4AR" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", + "p_d_trans_desc_output": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", + "p_d_trans_amt": 1.96, + "p_d_trans_amt_output": "1.96  ", + "p_d_ref_no": null + } + ], + "station": { + "facilit_y_num": "649", + "vis_n_num": "22", + "facilit_y_desc": "PRESCOTT VA MEDICAL CENTER (649)", + "cycl_e_num": "016", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "500 N US HIGHWAY 89", + "sta_t_address2": "AGENT CASHIER (04C)", + "sta_t_address3": null, + "city": "PRESCOTT", + "state": "AZ", + "zi_p_cde": "863135001", + "zi_p_cde_output": "86313-5001", + "ba_r_cde": "*863135001003*", + "te_l_num_flag": "S", + "te_l_num": "1-866-802-6819", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" + }, + "debt_type": "COPAY", + "resolution_option": "waiver", + "resolution_comment": "", + "resolution_waiver_check": true + } + ], + "debt": { + "current_ar": 0, + "debt_history": [ + { + "date": "" + } + ], + "deduction_code": "", + "original_ar": 0 + }, + "financial_overview": {}, + "available_options": {}, + "income": [ + { + "veteran_or_spouse": "VETERAN", + "compensation_and_pension": "3261.1", + "education": "50" + } + ] +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses.json index b21e9a8d070..75a36adb285 100644 --- a/modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses.json +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses.json @@ -1,8 +1,8 @@ -{ - "view:enhancedFinancialStatusReport": true, +{ + "view:enhanced_financial_status_report": true, "expenses": { "food": "4000.38", - "expenseRecords": [ + "expense_records": [ { "name": "Rent", "amount": "1200.53" @@ -16,19 +16,19 @@ "amount": "100" } ], - "creditCardBills": [ + "credit_card_bills": [ { "purpose": "Credit card payment", - "creditorName": "", - "originalAmount": "", - "unpaidBalance": "300000", - "amountDueMonthly": "10000", - "dateStarted": "", - "amountPastDue": "7000" + "creditor_name": "", + "original_amount": "", + "unpaid_balance": "300000", + "amount_due_monthly": "10000", + "date_started": "", + "amount_past_due": "7000" } ] }, - "otherExpenses": [ + "other_expenses": [ { "name": "Pool service", "amount": "200" @@ -42,37 +42,37 @@ "amount": "300" } ], - "installmentContracts": [ + "installment_contracts": [ { "purpose": "Credit card payments", - "creditorName": "Creditor One", - "originalAmount": "50000.54", - "unpaidBalance": "15000.56", - "amountDueMonthly": "800.10", - "dateStarted": "2017-03-XX", - "amountPastDue": "125.43" + "creditor_name": "Creditor One", + "original_amount": "50000.54", + "unpaid_balance": "15000.56", + "amount_due_monthly": "800.10", + "date_started": "2017_03_xx", + "amount_past_due": "125.43" }, { "purpose": "Car payment/lease", - "creditorName": "Creditor Two", - "originalAmount": "100000.43", - "unpaidBalance": "50000.26", - "amountDueMonthly": "1200.54", - "dateStarted": "2019-05-XX", - "amountPastDue": "0" + "creditor_name": "Creditor Two", + "original_amount": "100000.43", + "unpaid_balance": "50000.26", + "amount_due_monthly": "1200.54", + "date_started": "2019_05_xx", + "amount_past_due": "0" } ], - "utilityRecords": [ + "utility_records": [ { - "utilityType": "Electricity", + "utility_type": "Electricity", "amount": "350.45" }, { - "utilityType": "Water", + "utility_type": "Water", "amount": "75.43" }, { - "utilityType": "Cable", + "utility_type": "Cable", "amount": "275.47" } ] diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_assets_form.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_assets_form.json index 9384378f68f..f625cf6bcf9 100644 --- a/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_assets_form.json +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_assets_form.json @@ -1,44 +1,41 @@ { - "data": { - "view:enhancedFinancialStatusReport": true, - "questions": { - "hasVehicle": false - }, - "cashInBank": "200", - "cashOnHand": "100", - "recVehicleAmount": "1000", - "usSavingsBonds": "0", - "stocksAndOtherBonds": "0", - "assets": { - "realEstateValue": "2000", - "otherAssets": [ - { - "amount": "10" - }, - { - "amount": "10" - } - ], - "recVehicleAmount": "100", - "automobiles": [ - { - "resaleValue": "100" - }, - { - "resaleValue": "100" - } - ] - }, - "realEstateRecords": [ + "view:enhanced_financial_status_report": true, + "questions": { + "has_vehicle": false + }, + "cash_in_bank": "200", + "cash_on_hand": "100", + "rec_vehicle_amount": "1000", + "us_savings_bonds": "0", + "stocks_and_other_bonds": "0", + "assets": { + "real_estate_value": "2000", + "other_assets": [ { - "realEstateType": "Vacation property", - "realEstateAmount": "350000.47" + "amount": "10" }, { - "realEstateType": "Single-family home", - "realEstateAmount": "450000.34" + "amount": "10" + } + ], + "rec_vehicle_amount": "100", + "automobiles": [ + { + "resale_value": "100" + }, + { + "resale_value": "100" } ] - } -} - + }, + "real_estate_records": [ + { + "real_estate_type": "Vacation property", + "real_estate_amount": "350000.47" + }, + { + "real_estate_type": "Single-family home", + "real_estate_amount": "450000.34" + } + ] +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_maximal_calculations_form.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_maximal_calculations_form.json index 625273e8f27..82ccdcf36bf 100644 --- a/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_maximal_calculations_form.json +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/fsr_maximal_calculations_form.json @@ -1,1379 +1,1376 @@ { - "data": { - "view:enhancedFinancialStatusReport": true, - "otherExpenses": [ + "view:enhanced_financial_status_report": true, + "other_expenses": [ + { + "name": "Clothing", + "amount": "10" + }, + { + "name": "Food", + "amount": "1000.54" + }, + { + "name": "Veteran added", + "amount": "100" + } + ], + "view:components": { + "view:asset_info": {}, + "view:rec_vehicle_info": {}, + "view:vehicle_info": {}, + "view:marital_status": {}, + "view:veteran_info": {}, + "view:va_benefits_on_file": {} + }, + "expenses": { + "expense_records": [ { - "name": "Clothing", - "amount": "10" + "name": "Rent", + "amount": "1200.53" }, { - "name": "Food", - "amount": "1000.54" + "name": "Mortgage payment", + "amount": "800.00" }, { - "name": "Veteran added", - "amount": "100" + "name": "Property tax", + "amount": "85.25" + } + ] + }, + "assets": { + "real_estate_value": "800000.81", + "other_assets": [ + { + "name": "Gambling earning", + "amount": "16000.34" } ], - "view:components": { - "view:assetInfo": {}, - "view:recVehicleInfo": {}, - "view:vehicleInfo": {}, - "view:maritalStatus": {}, - "view:veteranInfo": {}, - "view:vaBenefitsOnFile": {} - }, - "expenses": { - "expenseRecords": [ + "rec_vehicle_amount": "15000.23", + "automobiles": [ + { + "make": "Dodge", + "model": "RAM", + "year": "2020", + "resale_value": "75000.45" + }, + { + "make": "Dodge", + "model": "Charger", + "year": "2020", + "resale_value": "40000.54" + } + ], + "monetary_assets": [ + { + "name": "Cash", + "amount": "10000.67" + }, + { + "name": "Checking accounts", + "amount": "1000.40" + }, + { + "name": "Savings accounts", + "amount": "2000.05" + }, + { + "name": "U.S. Savings Bonds", + "amount": "25000.65" + }, + { + "name": "Retirement accounts (401k, IRAs, 403b, TSP)", + "amount": "10000.04" + }, + { + "name": "Other stocks and bonds (not in your retirement accounts)", + "amount": "20000.10" + }, + { + "name": "Pension", + "amount": "15000.25" + }, + { + "name": "Cryptocurrency", + "amount": "5000.45" + } + ] + }, + "additional_income": { + "spouse": { + "sp_addl_income": [ { - "name": "Rent", - "amount": "1200.53" + "name": "Child support", + "amount": "800.54" }, { - "name": "Mortgage payment", - "amount": "800.00" + "name": "Alimony", + "amount": "1000.23" }, { - "name": "Property tax", - "amount": "85.25" + "name": "Social Security", + "amount": "1400.45" } ] }, - "assets": { - "realEstateValue": "800000.81", - "otherAssets": [ + "addl_inc_records": [ + { + "name": "Social Security", + "amount": "1200.65" + }, + { + "name": "Employment bonus", + "amount": "1500.67" + }, + { + "name": "Alimony", + "amount": "1000.43" + } + ] + }, + "social_security": { + "spouse": { + "social_sec_amt": "0" + }, + "social_sec_amt": "0" + }, + "benefits": { + "spouse_benefits": { + "compensation_and_pension": "1000.09", + "education": "500.46" + } + }, + "additional_data": { + "bankruptcy": { + "date_discharged": "2004-10-XX", + "court_location": "Tampa, FL", + "docket_number": "123456" + }, + "additional_comments": "Supporting personal statement..." + }, + "questions": { + "has_been_adjudicated_bankrupt": true, + "has_other_expenses": true, + "has_repayments": true, + "has_utilities": true, + "has_other_assets": true, + "has_recreational_vehicle": true, + "has_vehicle": true, + "has_real_estate": true, + "has_dependents": "2", + "spouse_has_additional_income": true, + "spouse_has_benefits": true, + "spouse_is_employed": true, + "is_married": true, + "has_additional_income": true, + "vet_is_employed": true + }, + "installment_contracts": [ + { + "purpose": "Credit card payments", + "creditor_name": "Creditor One", + "original_amount": "50000.54", + "unpaid_balance": "15000.56", + "amount_due_monthly": "800.10", + "date_started": "2017-03-XX", + "amount_past_due": "125.43" + }, + { + "purpose": "Car payment/lease", + "creditor_name": "Creditor Two", + "original_amount": "100000.43", + "unpaid_balance": "50000.26", + "amount_due_monthly": "1200.54", + "date_started": "2019-05-XX", + "amount_past_due": "0" + } + ], + "utility_records": [ + { + "name": "Electricity", + "amount": "350.45" + }, + { + "name": "Water", + "amount": "75.43" + }, + { + "name": "Cable", + "amount": "275.47" + } + ], + "personal_data": { + "dependents": [ + { + "dependent_age": "12" + }, + { + "dependent_age": "17" + } + ], + "employment_history": { + "spouse": { + "sp_employment_records": [ + { + "type": "Full time", + "from": "2018-6-XX", + "to": "", + "is_current": true, + "employer_name": "Spouse Current", + "gross_monthly_income": "5000.54", + "deductions": [ + { + "name": "Federal tax", + "amount": "350.56" + }, + { + "name": "State tax", + "amount": "230.45" + }, + { + "name": "Pension", + "amount": "100" + }, + { + "name": "Health insurance", + "amount": "254.45" + } + ] + }, + { + "type": "Full time", + "from": "2015-3-XX", + "to": "2018-6-XX", + "employer_name": "Spouse Previous", + "is_current": false + } + ] + }, + "veteran": { + "employment_records": [ + { + "type": "Full time", + "from": "2017-1-XX", + "to": "", + "is_current": true, + "employer_name": "Veteran Current One", + "gross_monthly_income": "5000.54", + "deductions": [ + { + "name": "Federal tax", + "amount": "350.56" + }, + { + "name": "State tax", + "amount": "230.45" + }, + { + "name": "Pension", + "amount": "100" + }, + { + "name": "Health insurance", + "amount": "254.45" + } + ] + }, + { + "type": "Part time", + "from": "2019-7-XX", + "to": "", + "is_current": true, + "employer_name": "Veteran Current Two", + "gross_monthly_income": "2000.56", + "deductions": [ + { + "name": "Federal tax", + "amount": "200.02" + }, + { + "name": "Allotment", + "amount": "134.56" + }, + { + "name": "FICA (Social Security and Medicare)", + "amount": "122.4" + } + ] + }, + { + "type": "Full time", + "from": "2021-01-XX", + "to": "2021-12-XX", + "is_current": false, + "employer_name": "I quit" + } + ] + } + }, + "spouse_full_name": { + "first": "Angela", + "last": "Mitchell" + }, + "address": { + "lives_on_military_base_info": {}, + "country": "USA", + "street": "123 Fake Street", + "city": "Tampa", + "state": "FL", + "postal_code": "33543" + }, + "telephone_number": "4445551212", + "email_address": "test2@test1.net", + "veteran_contact_information": { + "email": "test@user.com", + "address": { + "address_line1": "1200 Park Ave", + "address_line2": "c/o Pixar", + "address_line3": null, + "address_pou": "CORRESPONDENCE", + "address_type": "DOMESTIC", + "city": "Emeryville", + "country_name": "United States", + "country_code_iso2": "US", + "country_code_iso3": "USA", + "country_code_fips": null, + "county_code": null, + "county_name": null, + "created_at": "2020-05-30T03:57:20.000+00:00", + "effective_end_date": null, + "effective_start_date": "2020-07-10T20:10:45.000+00:00", + "id": 173917, + "international_postal_code": null, + "province": null, + "source_date": "2020-07-10T20:10:45.000+00:00", + "source_system_user": null, + "state_code": "CA", + "transaction_id": "7139aa82-fd06-45ea-a217-9654869924bd", + "updated_at": "2020-07-10T20:10:46.000+00:00", + "validation_key": null, + "vet360_id": "1273780", + "zip_code": "94608", + "zip_code_suffix": null + }, + "mobile_phone": { + "area_code": "510", + "country_code": "1", + "created_at": "2020-06-12T16:56:37.000+00:00", + "extension": "", + "effective_end_date": null, + "effective_start_date": "2020-07-14T19:07:45.000+00:00", + "id": 146766, + "is_international": false, + "is_textable": null, + "is_text_permitted": null, + "is_tty": null, + "is_voicemailable": null, + "phone_number": "9224444", + "phone_type": "HOME", + "source_date": "2020-07-14T19:07:45.000+00:00", + "source_system_user": null, + "transaction_id": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", + "updated_at": "2020-07-14T19:07:46.000+00:00", + "vet360_id": "1273780" + } + }, + "veteran_full_name": { + "first": "Greg", + "last": "Anderson", + "middle": "A" + }, + "date_of_birth": "1933-04-05" + }, + "personal_identification": { + "ssn": "1234", + "file_number": "5678" + }, + "selected_debts_and_copays": [ + { + "file_number": "796121200", + "payee_number": "00", + "person_entitled": "AJHONS", + "deduction_code": "30", + "benefit_type": "Comp & Pen", + "diary_code": "080", + "diary_code_description": "Referred to the Department of the Treasury", + "amount_overpaid": 0, + "amount_withheld": 0, + "original_ar": 136.24, + "current_ar": 100, + "debt_history": [ + { + "date": "02/25/2009", + "letter_code": "914", + "description": "Paid In Full - Account balance cleared via offset, not including TOP." + }, + { + "date": "02/07/2009", + "letter_code": "905", + "description": "Administrative Write Off" + }, { - "name": "Gambling earning", - "amount": "16000.34" + "date": "12/03/2008", + "letter_code": "487", + "description": "Death Case Pending Action" } ], - "recVehicleAmount": "15000.23", - "automobiles": [ + "id": 0, + "debt_type": "DEBT", + "resolution_option": "waiver", + "resolution_waiver_check": true + }, + { + "file_number": "796121200", + "payee_number": "00", + "person_entitled": "AJOHNS", + "deduction_code": "74", + "benefit_type": "CH33 Student Tuition EDU", + "diary_code": "117", + "diary_code_description": "Pending payment", + "amount_overpaid": 0, + "amount_withheld": 475, + "original_ar": 2210.9, + "current_ar": 1000, + "debt_history": [ + { + "date": "04/01/2017", + "letter_code": 608, + "description": "Full C&P Benefit Offset Notifi" + }, { - "make": "Dodge", - "model": "RAM", - "year": "2020", - "resaleValue": "75000.45" + "date": "11/18/2015", + "letter_code": 130, + "description": "Debt Increase - Due P" }, { - "make": "Dodge", - "model": "Charger", - "year": "2020", - "resaleValue": "40000.54" + "date": "04/08/2015", + "letter_code": 608, + "description": "Full C&P Benefit Offset Notifi" + }, + { + "date": "03/26/2015", + "letter_code": 100, + "description": "First Demand Letter - Inactive Benefits - Due Process" } ], - "monetaryAssets": [ + "id": 3, + "debt_type": "DEBT", + "resolution_option": "monthly", + "resolution_comment": "50.51" + }, + { + "id": "f4385298-08a6-42f8-a86f-50e97033fb85", + "p_s_seq_num": 506, + "p_s_tot_seq_num": 588, + "p_s_facility_num": "534", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 27, + "p_s_statement_val": "0000018255H", + "p_s_statement_date": "11152019", + "p_s_statement_date_output": "11/15/2019", + "p_s_process_date": "11112019", + "p_s_process_date_output": "11/11/2019", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SAVANNAH", + "p_h_state": "FL", + "p_h_zip_cde": "314104413", + "p_h_zip_cde_output": "31410-4413", + "p_h_ctry_nme": null, + "p_h_amt_due": 15, + "p_h_amt_due_output": "15.00  ", + "p_h_prev_bal": 135, + "p_h_prev_bal_output": "135.00  ", + "p_h_tot_charges": 15, + "p_h_tot_charges_output": "15.00  ", + "p_h_tot_credits": -135, + "p_h_tot_credits_output": "135.00- ", + "p_h_new_balance": 15, + "p_h_new_balance_output": "15.00  ", + "p_h_special_notes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", + "p_hro_para_cdes": "304050556065708085", + "p_h_num_of_lines": 10, + "p_h_dfn_number": 346310, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ { - "name": "Cash", - "amount": "10000.67" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Checking accounts", - "amount": "1000.40" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Savings accounts", - "amount": "2000.05" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "U.S. Savings Bonds", - "amount": "25000.65" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Retirement accounts (401k, IRAs, 403b, TSP)", - "amount": "10000.04" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Other stocks and bonds (not in your retirement accounts)", - "amount": "20000.10" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Pension", - "amount": "15000.25" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" }, { - "name": "Cryptocurrency", - "amount": "5000.45" + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10072019", + "p_d_date_posted_output": "10/07/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "534-K90HEWN" + }, + { + "p_d_date_posted": "10152019", + "p_d_date_posted_output": "10/15/2019", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 09/07/2018", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "534-K009FK8" } - ] - }, - "additionalIncome": { - "spouse": { - "spAddlIncome": [ - { - "name": "Child support", - "amount": "800.54" - }, - { - "name": "Alimony", - "amount": "1000.23" - }, - { - "name": "Social Security", - "amount": "1400.45" - } - ] + ], + "station": { + "facilit_y_num": "534", + "vis_n_num": "07", + "facilit_y_desc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", + "cycl_e_num": "012", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "ACCOUNTS RECEIVABLE (04AR)", + "sta_t_address2": "109 BEE ST", + "sta_t_address3": null, + "city": "CHARLESTON", + "state": "SC", + "zi_p_cde": "294015703", + "zi_p_cde_output": "29401-5703", + "ba_r_cde": "*294015703090*", + "te_l_num_flag": "P", + "te_l_num": "1-866-258-2772", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Bob Stump Department of Veterans Affairs Medical Center" }, - "addlIncRecords": [ + "debt_type": "COPAY", + "resolution_option": "compromise", + "resolution_comment": "10.51" + }, + { + "id": "b381cc7b-ea3a-49dc-a982-7146416ed373", + "p_s_seq_num": 1162, + "p_s_tot_seq_num": 1, + "p_s_facility_num": "757", + "p_s_fac_phone_num": null, + "p_s_tot_statement": 11, + "p_s_statement_val": "0000040520F", + "p_s_statement_date": "06052021", + "p_s_statement_date_output": "06/05/2021", + "p_s_process_date": "06092021", + "p_s_process_date_output": "06/09/2021", + "p_h_patient_lst_nme": "JONES", + "p_h_patient_fst_nme": "TRAVIS", + "p_h_patient_mid_nme": "D", + "p_h_address1": "1885 SHORE DR S APT 327", + "p_h_address2": null, + "p_h_address3": null, + "p_h_city": "SOUTH PASADENA", + "p_h_state": "FL", + "p_h_zip_cde": "337074743", + "p_h_zip_cde_output": "33707-4743", + "p_h_ctry_nme": "US", + "p_h_amt_due": 46, + "p_h_amt_due_output": "46.00  ", + "p_h_prev_bal": 30, + "p_h_prev_bal_output": "30.00  ", + "p_h_tot_charges": 46, + "p_h_tot_charges_output": "46.00  ", + "p_h_tot_credits": -30, + "p_h_tot_credits_output": "30.00- ", + "p_h_new_balance": 46, + "p_h_new_balance_output": "46.00  ", + "p_h_special_notes": null, + "p_hro_para_cdes": "254050556065708085", + "p_h_num_of_lines": 7, + "p_h_dfn_number": 0, + "p_h_cerner_statement_number": 1005154223, + "p_h_cerner_patient_id": "1005154223", + "p_h_cerner_account_number": "1005154223", + "p_h_icn_number": "1012845638V677813", + "p_h_account_number": 0, + "p_h_large_font_indcator": 0, + "details": [ { - "name": "Social Security", - "amount": "1200.65" + "p_d_date_posted": "03092020", + "p_d_date_posted_output": "03/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 01/14/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 01/14/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00R4FL" }, { - "name": "Employment bonus", - "amount": "1500.67" + "p_d_date_posted": "03092020", + "p_d_date_posted_output": "03/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00R4FL" }, { - "name": "Alimony", - "amount": "1000.43" + "p_d_date_posted": "03242020", + "p_d_date_posted_output": "03/24/2020", + "p_d_trans_desc": "COPAY RX:100020337B FD:01/23/2020", + "p_d_trans_desc_output": "COPAY RX#100020337B FILL DATE: 01/23/2020", + "p_d_trans_amt": 5, + "p_d_trans_amt_output": "5.00  ", + "p_d_ref_no": "516-K00RSNZ" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", + "p_d_trans_desc_output": "   DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:SANTOS,LOUISE CHG:$5.00", + "p_d_trans_desc_output": "   PHY:SANTOS,LOUISE CHG:$5.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "03242020", + "p_d_date_posted_output": "03/24/2020", + "p_d_trans_desc": "RX CO-PAYMENT/NSC VET", + "p_d_trans_desc_output": "PAYMENT POSTED ON 03/24/2020", + "p_d_trans_amt": -5, + "p_d_trans_amt_output": "5.00- ", + "p_d_ref_no": "516-K00RSNZ" + }, + { + "p_d_date_posted": "04032020", + "p_d_date_posted_output": "04/03/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:03/30/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 03/30/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00S829" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "04272020", + "p_d_date_posted_output": "04/27/2020", + "p_d_trans_desc": "COPAY RX:100020336 FD:04/23/2020", + "p_d_trans_desc_output": "COPAY RX#100020336 FILL DATE: 04/23/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "04282020", + "p_d_date_posted_output": "04/28/2020", + "p_d_trans_desc": "COPAY RX:100011847 FD:04/23/2020", + "p_d_trans_desc_output": "COPAY RX#100011847 FILL DATE: 04/23/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_desc_output": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", + "p_d_trans_desc_output": "   QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "05262020", + "p_d_date_posted_output": "05/26/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 04/15/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 04/15/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00TXGK" + }, + { + "p_d_date_posted": "05262020", + "p_d_date_posted_output": "05/26/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00TXGK" + }, + { + "p_d_date_posted": "06302020", + "p_d_date_posted_output": "06/30/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:06/30/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 06/30/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00UY3W" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 06/08/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 06/08/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "07092020", + "p_d_date_posted_output": "07/09/2020", + "p_d_trans_desc": "COMMENT: K00ULWR PD $50.00 DOS 060820", + "p_d_trans_desc_output": "   COMMENT: K00ULWR PD $50.00 DOS 060820", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K00V8T8" + }, + { + "p_d_date_posted": "08132020", + "p_d_date_posted_output": "08/13/2020", + "p_d_trans_desc": "COPAY RX:100020336 FD:08/11/2020", + "p_d_trans_desc_output": "COPAY RX#100020336 FILL DATE: 08/11/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K00WDZQ" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 08/20/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 08/20/2020", + "p_d_trans_amt": 50, + "p_d_trans_amt_output": "50.00  ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -50, + "p_d_trans_amt_output": "50.00- ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "09222020", + "p_d_date_posted_output": "09/22/2020", + "p_d_trans_desc": "COMMENT: K00X41A PD $50.00 DOS 082020", + "p_d_trans_desc_output": "   COMMENT: K00X41A PD $50.00 DOS 082020", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K00XUY2" + }, + { + "p_d_date_posted": "10072020", + "p_d_date_posted_output": "10/07/2020", + "p_d_trans_desc": "COPAY RX:100030241 FD:10/05/2020", + "p_d_trans_desc_output": "COPAY RX#100030241 FILL DATE: 10/05/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_desc_output": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045030 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045030 FILL DATE: 10/27/2020", + "p_d_trans_amt": 24, + "p_d_trans_amt_output": "24.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", + "p_d_trans_desc_output": "   DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "CHG:$24.00", + "p_d_trans_desc_output": "   CHG:$24.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045028 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045028 FILL DATE: 10/27/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", + "p_d_trans_desc_output": "   DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_desc_output": "   QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "10292020", + "p_d_date_posted_output": "10/29/2020", + "p_d_trans_desc": "COPAY RX:100045029 FD:10/27/2020", + "p_d_trans_desc_output": "COPAY RX#100045029 FILL DATE: 10/27/2020", + "p_d_trans_amt": 8, + "p_d_trans_amt_output": "8.00  ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_desc_output": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT (Int:0.12 Adm:1.64)", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -16.76, + "p_d_trans_amt_output": "16.76- ", + "p_d_ref_no": "516-K00JZPJ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT (Int:0.26 Adm:0.00)", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15.26, + "p_d_trans_amt_output": "15.26- ", + "p_d_ref_no": "516-K00N8XA" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00QKJJ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00S829" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -23, + "p_d_trans_amt_output": "23.00- ", + "p_d_ref_no": "516-K00SZBK" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00UY3W" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K00WDZQ" + }, + { + "p_d_date_posted": "11192020", + "p_d_date_posted_output": "11/19/2020", + "p_d_trans_desc": "PAYMENT", + "p_d_trans_desc_output": "PAYMENT POSTED ON 11/19/2020", + "p_d_trans_amt": -55, + "p_d_trans_amt_output": "55.00- ", + "p_d_ref_no": "516-K10J56V" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 10/27/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 10/27/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "11232020", + "p_d_date_posted_output": "11/23/2020", + "p_d_trans_desc": "COMMENT: K10KM1P PD $15.00 DOS:10/27/20", + "p_d_trans_desc_output": "   COMMENT: K10KM1P PD $15.00 DOS:10/27/20", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": "516-K10LD3I" + }, + { + "p_d_date_posted": "12012020", + "p_d_date_posted_output": "12/01/2020", + "p_d_trans_desc": "COPAY RX:100046632 FD:11/18/2020", + "p_d_trans_desc_output": "COPAY RX#100046632 FILL DATE: 11/18/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10LT59" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_desc_output": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_desc_output": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "CHG:$15.00", + "p_d_trans_desc_output": "   CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "12162020", + "p_d_date_posted_output": "12/16/2020", + "p_d_trans_desc": "COPAY RX:100030241A FD:12/12/2020", + "p_d_trans_desc_output": "COPAY RX#100030241A FILL DATE: 12/12/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10MUDV" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_desc_output": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", + "p_d_trans_desc_output": "   PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", + "p_d_trans_amt": 0, + "p_d_trans_amt_output": ".00  ", + "p_d_ref_no": null + }, + { + "p_d_date_posted": "12212020", + "p_d_date_posted_output": "12/21/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC) VISIT DATE: 11/13/2020", + "p_d_trans_desc_output": "OUTPATIENT CARE VISIT DATE: 11/13/2020", + "p_d_trans_amt": 15, + "p_d_trans_amt_output": "15.00  ", + "p_d_ref_no": "516-K10N4AR" + }, + { + "p_d_date_posted": "12212020", + "p_d_date_posted_output": "12/21/2020", + "p_d_trans_desc": "OUTPATIENT CARE(NSC)", + "p_d_trans_desc_output": "OUTPATIENT CARE", + "p_d_trans_amt": -15, + "p_d_trans_amt_output": "15.00- ", + "p_d_ref_no": "516-K10N4AR" + }, + { + "p_d_date_posted": null, + "p_d_date_posted_output": "", + "p_d_trans_desc": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", + "p_d_trans_desc_output": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", + "p_d_trans_amt": 1.96, + "p_d_trans_amt_output": "1.96  ", + "p_d_ref_no": null } - ] - }, - "socialSecurity": { - "spouse": { - "socialSecAmt": "0" - }, - "socialSecAmt": "0" - }, - "benefits": { - "spouseBenefits": { - "compensationAndPension": "1000.09", - "education": "500.46" - } - }, - "additionalData": { - "bankruptcy": { - "dateDischarged": "2004-10-XX", - "courtLocation": "Tampa, FL", - "docketNumber": "123456" - }, - "additionalComments": "Supporting personal statement..." - }, - "questions": { - "hasBeenAdjudicatedBankrupt": true, - "hasOtherExpenses": true, - "hasRepayments": true, - "hasUtilities": true, - "hasOtherAssets": true, - "hasRecreationalVehicle": true, - "hasVehicle": true, - "hasRealEstate": true, - "hasDependents": "2", - "spouseHasAdditionalIncome": true, - "spouseHasBenefits": true, - "spouseIsEmployed": true, - "isMarried": true, - "hasAdditionalIncome": true, - "vetIsEmployed": true - }, - "installmentContracts": [ - { - "purpose": "Credit card payments", - "creditorName": "Creditor One", - "originalAmount": "50000.54", - "unpaidBalance": "15000.56", - "amountDueMonthly": "800.10", - "dateStarted": "2017-03-XX", - "amountPastDue": "125.43" - }, - { - "purpose": "Car payment/lease", - "creditorName": "Creditor Two", - "originalAmount": "100000.43", - "unpaidBalance": "50000.26", - "amountDueMonthly": "1200.54", - "dateStarted": "2019-05-XX", - "amountPastDue": "0" - } - ], - "utilityRecords": [ - { - "name": "Electricity", - "amount": "350.45" - }, - { - "name": "Water", - "amount": "75.43" + ], + "station": { + "facilit_y_num": "649", + "vis_n_num": "22", + "facilit_y_desc": "PRESCOTT VA MEDICAL CENTER (649)", + "cycl_e_num": "016", + "remi_t_to_flag": "L", + "mai_l_insert_flag": "0", + "sta_t_address1": "500 N US HIGHWAY 89", + "sta_t_address2": "AGENT CASHIER (04C)", + "sta_t_address3": null, + "city": "PRESCOTT", + "state": "AZ", + "zi_p_cde": "863135001", + "zi_p_cde_output": "86313-5001", + "ba_r_cde": "*863135001003*", + "te_l_num_flag": "S", + "te_l_num": "1-866-802-6819", + "te_l_num2": null, + "contac_t_info": null, + "d_m2_tel_num": null, + "contac_t_info2": null, + "to_p_tel_num": null, + "lb_x_fedex_address1": null, + "lb_x_fedex_address2": null, + "lb_x_fedex_address3": null, + "lb_x_fedex_city": null, + "lb_x_fedex_state": null, + "lb_x_fedex_zip_cde": null, + "lb_x_fedex_bar_cde": null, + "lb_x_fedex_contact": null, + "lb_x_fedex_contact_tel_num": null, + "facility_name": "Ralph H. Johnson Department of Veterans Affairs Medical Center" }, + "debt_type": "COPAY", + "resolution_option": "waiver", + "resolution_waiver_check": true + } + ], + "debt": { + "current_ar": 0, + "debt_history": [ { - "name": "Cable", - "amount": "275.47" + "date": "" } ], - "personalData": { - "dependents": [ + "deduction_code": "", + "original_ar": 0 + }, + "curr_employment": [ + { + "veteran_gross_salary": "0", + "deductions": [ + { + "name": "Federal tax", + "amount": "0" + }, + { + "name": "State tax", + "amount": "0" + }, { - "dependentAge": "12" + "name": "Pension", + "amount": "0" }, { - "dependentAge": "17" + "name": "Health insurance", + "amount": "0" } ], - "employmentHistory": { - "spouse": { - "spEmploymentRecords": [ - { - "type": "Full time", - "from": "2018-6-XX", - "to": "", - "isCurrent": true, - "employerName": "Spouse Current", - "grossMonthlyIncome": "5000.54", - "deductions": [ - { - "name": "Federal tax", - "amount": "350.56" - }, - { - "name": "State tax", - "amount": "230.45" - }, - { - "name": "Pension", - "amount": "100" - }, - { - "name": "Health insurance", - "amount": "254.45" - } - ] - }, - { - "type": "Full time", - "from": "2015-3-XX", - "to": "2018-6-XX", - "employerName": "Spouse Previous", - "isCurrent": false - } - ] - }, - "veteran": { - "employmentRecords": [ - { - "type": "Full time", - "from": "2017-1-XX", - "to": "", - "isCurrent": true, - "employerName": "Veteran Current One", - "grossMonthlyIncome": "5000.54", - "deductions": [ - { - "name": "Federal tax", - "amount": "350.56" - }, - { - "name": "State tax", - "amount": "230.45" - }, - { - "name": "Pension", - "amount": "100" - }, - { - "name": "Health insurance", - "amount": "254.45" - } - ] - }, - { - "type": "Part time", - "from": "2019-7-XX", - "to": "", - "isCurrent": true, - "employerName": "Veteran Current Two", - "grossMonthlyIncome": "2000.56", - "deductions": [ - { - "name": "Federal tax", - "amount": "200.02" - }, - { - "name": "Allotment", - "amount": "134.56" - }, - { - "name": "FICA (Social Security and Medicare)", - "amount": "122.4" - } - ] - }, - { - "type": "Full time", - "from": "2021-01-XX", - "to": "2021-12-XX", - "isCurrent": false, - "employerName": "I quit" - } - ] - } - }, - "spouseFullName": { - "first": "Angela", - "last": "Mitchell" - }, - "address": { - "livesOnMilitaryBaseInfo": {}, - "country": "USA", - "street": "123 Fake Street", - "city": "Tampa", - "state": "FL", - "postalCode": "33543" - }, - "telephoneNumber": "4445551212", - "emailAddress": "test2@test1.net", - "veteranContactInformation": { - "email": "test@user.com", - "address": { - "addressLine1": "1200 Park Ave", - "addressLine2": "c/o Pixar", - "addressLine3": null, - "addressPou": "CORRESPONDENCE", - "addressType": "DOMESTIC", - "city": "Emeryville", - "countryName": "United States", - "countryCodeIso2": "US", - "countryCodeIso3": "USA", - "countryCodeFips": null, - "countyCode": null, - "countyName": null, - "createdAt": "2020-05-30T03:57:20.000+00:00", - "effectiveEndDate": null, - "effectiveStartDate": "2020-07-10T20:10:45.000+00:00", - "id": 173917, - "internationalPostalCode": null, - "province": null, - "sourceDate": "2020-07-10T20:10:45.000+00:00", - "sourceSystemUser": null, - "stateCode": "CA", - "transactionId": "7139aa82-fd06-45ea-a217-9654869924bd", - "updatedAt": "2020-07-10T20:10:46.000+00:00", - "validationKey": null, - "vet360Id": "1273780", - "zipCode": "94608", - "zipCodeSuffix": null - }, - "mobilePhone": { - "areaCode": "510", - "countryCode": "1", - "createdAt": "2020-06-12T16:56:37.000+00:00", - "extension": "", - "effectiveEndDate": null, - "effectiveStartDate": "2020-07-14T19:07:45.000+00:00", - "id": 146766, - "isInternational": false, - "isTextable": null, - "isTextPermitted": null, - "isTty": null, - "isVoicemailable": null, - "phoneNumber": "9224444", - "phoneType": "HOME", - "sourceDate": "2020-07-14T19:07:45.000+00:00", - "sourceSystemUser": null, - "transactionId": "92c49d39-22b2-4bd6-92b4-0b7e7c63c6a9", - "updatedAt": "2020-07-14T19:07:46.000+00:00", - "vet360Id": "1273780" - } - }, - "veteranFullName": { - "first": "Greg", - "last": "Anderson", - "middle": "A" - }, - "dateOfBirth": "1933-04-05" + "type": "Full time", + "from": "2017-1-XX", + "to": "", + "is_current": true, + "employer_name": "Veteran Current One" }, - "personalIdentification": { - "ssn": "1234", - "fileNumber": "5678" - }, - "selectedDebtsAndCopays": [ - { - "fileNumber": "796121200", - "payeeNumber": "00", - "personEntitled": "AJHONS", - "deductionCode": "30", - "benefitType": "Comp & Pen", - "diaryCode": "080", - "diaryCodeDescription": "Referred to the Department of the Treasury", - "amountOverpaid": 0, - "amountWithheld": 0, - "originalAr": 136.24, - "currentAr": 100, - "debtHistory": [ - { - "date": "02/25/2009", - "letterCode": "914", - "description": "Paid In Full - Account balance cleared via offset, not including TOP." - }, - { - "date": "02/07/2009", - "letterCode": "905", - "description": "Administrative Write Off" - }, - { - "date": "12/03/2008", - "letterCode": "487", - "description": "Death Case Pending Action" - } - ], - "id": 0, - "debtType": "DEBT", - "resolutionOption": "waiver", - "resolutionWaiverCheck": true - }, - { - "fileNumber": "796121200", - "payeeNumber": "00", - "personEntitled": "AJOHNS", - "deductionCode": "74", - "benefitType": "CH33 Student Tuition EDU", - "diaryCode": "117", - "diaryCodeDescription": "Pending payment", - "amountOverpaid": 0, - "amountWithheld": 475, - "originalAr": 2210.9, - "currentAr": 1000, - "debtHistory": [ - { - "date": "04/01/2017", - "letterCode": 608, - "description": "Full C&P Benefit Offset Notifi" - }, - { - "date": "11/18/2015", - "letterCode": 130, - "description": "Debt Increase - Due P" - }, - { - "date": "04/08/2015", - "letterCode": 608, - "description": "Full C&P Benefit Offset Notifi" - }, - { - "date": "03/26/2015", - "letterCode": 100, - "description": "First Demand Letter - Inactive Benefits - Due Process" - } - ], - "id": 3, - "debtType": "DEBT", - "resolutionOption": "monthly", - "resolutionComment": "50.51" - }, - { - "id": "f4385298-08a6-42f8-a86f-50e97033fb85", - "pSSeqNum": 506, - "pSTotSeqNum": 588, - "pSFacilityNum": "534", - "pSFacPhoneNum": null, - "pSTotStatement": 27, - "pSStatementVal": "0000018255H", - "pSStatementDate": "11152019", - "pSStatementDateOutput": "11/15/2019", - "pSProcessDate": "11112019", - "pSProcessDateOutput": "11/11/2019", - "pHPatientLstNme": "JONES", - "pHPatientFstNme": "TRAVIS", - "pHPatientMidNme": "D", - "pHAddress1": "1885 SHORE DR S APT 327", - "pHAddress2": null, - "pHAddress3": null, - "pHCity": "SAVANNAH", - "pHState": "FL", - "pHZipCde": "314104413", - "pHZipCdeOutput": "31410-4413", - "pHCtryNme": null, - "pHAmtDue": 15, - "pHAmtDueOutput": "15.00  ", - "pHPrevBal": 135, - "pHPrevBalOutput": "135.00  ", - "pHTotCharges": 15, - "pHTotChargesOutput": "15.00  ", - "pHTotCredits": -135, - "pHTotCreditsOutput": "135.00- ", - "pHNewBalance": 15, - "pHNewBalanceOutput": "15.00  ", - "pHSpecialNotes": "To pay your statement online, go to www.pay.gov or call 1-888-827-4817.", - "pHroParaCdes": "304050556065708085", - "pHNumOfLines": 10, - "pHDfnNumber": 346310, - "pHCernerStatementNumber": 1005154223, - "pHCernerPatientId": "1005154223", - "pHCernerAccountNumber": "1005154223", - "pHIcnNumber": "1012845638V677813", - "pHAccountNumber": 0, - "pHLargeFontIndcator": 0, - "details": [ - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10072019", - "pDDatePostedOutput": "10/07/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "534-K90HEWN" - }, - { - "pDDatePosted": "10152019", - "pDDatePostedOutput": "10/15/2019", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 09/07/2018", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 09/07/2018", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "534-K009FK8" - } - ], - "station": { - "facilitYNum": "534", - "visNNum": "07", - "facilitYDesc": "RALPH H. JOHNSON VA MEDICAL CENTER (534)", - "cyclENum": "012", - "remiTToFlag": "L", - "maiLInsertFlag": "0", - "staTAddress1": "ACCOUNTS RECEIVABLE (04AR)", - "staTAddress2": "109 BEE ST", - "staTAddress3": null, - "city": "CHARLESTON", - "state": "SC", - "ziPCde": "294015703", - "ziPCdeOutput": "29401-5703", - "baRCde": "*294015703090*", - "teLNumFlag": "P", - "teLNum": "1-866-258-2772", - "teLNum2": null, - "contacTInfo": null, - "dM2TelNum": null, - "contacTInfo2": null, - "toPTelNum": null, - "lbXFedexAddress1": null, - "lbXFedexAddress2": null, - "lbXFedexAddress3": null, - "lbXFedexCity": null, - "lbXFedexState": null, - "lbXFedexZipCde": null, - "lbXFedexBarCde": null, - "lbXFedexContact": null, - "lbXFedexContactTelNum": null, - "facilityName": "Bob Stump Department of Veterans Affairs Medical Center" - }, - "debtType": "COPAY", - "resolutionOption": "compromise", - "resolutionComment": "10.51" - }, - { - "id": "b381cc7b-ea3a-49dc-a982-7146416ed373", - "pSSeqNum": 1162, - "pSTotSeqNum": 1, - "pSFacilityNum": "757", - "pSFacPhoneNum": null, - "pSTotStatement": 11, - "pSStatementVal": "0000040520F", - "pSStatementDate": "06052021", - "pSStatementDateOutput": "06/05/2021", - "pSProcessDate": "06092021", - "pSProcessDateOutput": "06/09/2021", - "pHPatientLstNme": "JONES", - "pHPatientFstNme": "TRAVIS", - "pHPatientMidNme": "D", - "pHAddress1": "1885 SHORE DR S APT 327", - "pHAddress2": null, - "pHAddress3": null, - "pHCity": "SOUTH PASADENA", - "pHState": "FL", - "pHZipCde": "337074743", - "pHZipCdeOutput": "33707-4743", - "pHCtryNme": "US", - "pHAmtDue": 46, - "pHAmtDueOutput": "46.00  ", - "pHPrevBal": 30, - "pHPrevBalOutput": "30.00  ", - "pHTotCharges": 46, - "pHTotChargesOutput": "46.00  ", - "pHTotCredits": -30, - "pHTotCreditsOutput": "30.00- ", - "pHNewBalance": 46, - "pHNewBalanceOutput": "46.00  ", - "pHSpecialNotes": null, - "pHroParaCdes": "254050556065708085", - "pHNumOfLines": 7, - "pHDfnNumber": 0, - "pHCernerStatementNumber": 1005154223, - "pHCernerPatientId": "1005154223", - "pHCernerAccountNumber": "1005154223", - "pHIcnNumber": "1012845638V677813", - "pHAccountNumber": 0, - "pHLargeFontIndcator": 0, - "details": [ - { - "pDDatePosted": "03092020", - "pDDatePostedOutput": "03/09/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 01/14/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 01/14/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K00R4FL" - }, - { - "pDDatePosted": "03092020", - "pDDatePostedOutput": "03/09/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K00R4FL" - }, - { - "pDDatePosted": "03242020", - "pDDatePostedOutput": "03/24/2020", - "pDTransDesc": "COPAY RX:100020337B FD:01/23/2020", - "pDTransDescOutput": "COPAY RX#100020337B FILL DATE: 01/23/2020", - "pDTransAmt": 5, - "pDTransAmtOutput": "5.00  ", - "pDRefNo": "516-K00RSNZ" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", - "pDTransDescOutput": "   DRUG:LISINOPRIL 5MG TAB DAYS:30 QTY:30", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "PHY:SANTOS,LOUISE CHG:$5.00", - "pDTransDescOutput": "   PHY:SANTOS,LOUISE CHG:$5.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "03242020", - "pDDatePostedOutput": "03/24/2020", - "pDTransDesc": "RX CO-PAYMENT/NSC VET", - "pDTransDescOutput": "PAYMENT POSTED ON 03/24/2020", - "pDTransAmt": -5, - "pDTransAmtOutput": "5.00- ", - "pDRefNo": "516-K00RSNZ" - }, - { - "pDDatePosted": "04032020", - "pDDatePostedOutput": "04/03/2020", - "pDTransDesc": "COPAY RX:100030241 FD:03/30/2020", - "pDTransDescOutput": "COPAY RX#100030241 FILL DATE: 03/30/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K00S829" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransDescOutput": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransDescOutput": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "04272020", - "pDDatePostedOutput": "04/27/2020", - "pDTransDesc": "COPAY RX:100020336 FD:04/23/2020", - "pDTransDescOutput": "COPAY RX#100020336 FILL DATE: 04/23/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K00SZBK" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransDescOutput": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransDescOutput": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "04282020", - "pDDatePostedOutput": "04/28/2020", - "pDTransDesc": "COPAY RX:100011847 FD:04/23/2020", - "pDTransDescOutput": "COPAY RX#100011847 FILL DATE: 04/23/2020", - "pDTransAmt": 8, - "pDTransAmtOutput": "8.00  ", - "pDRefNo": "516-K00SZBK" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", - "pDTransDescOutput": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", - "pDTransDescOutput": "   QTY:60 PHY:GUTHRIE,BROOKE L CHG:$8.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "05262020", - "pDDatePostedOutput": "05/26/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 04/15/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 04/15/2020", - "pDTransAmt": 50, - "pDTransAmtOutput": "50.00  ", - "pDRefNo": "516-K00TXGK" - }, - { - "pDDatePosted": "05262020", - "pDDatePostedOutput": "05/26/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -50, - "pDTransAmtOutput": "50.00- ", - "pDRefNo": "516-K00TXGK" - }, - { - "pDDatePosted": "06302020", - "pDDatePostedOutput": "06/30/2020", - "pDTransDesc": "COPAY RX:100030241 FD:06/30/2020", - "pDTransDescOutput": "COPAY RX#100030241 FILL DATE: 06/30/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K00UY3W" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransDescOutput": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransDescOutput": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "07092020", - "pDDatePostedOutput": "07/09/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 06/08/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 06/08/2020", - "pDTransAmt": 50, - "pDTransAmtOutput": "50.00  ", - "pDRefNo": "516-K00V8T8" - }, - { - "pDDatePosted": "07092020", - "pDDatePostedOutput": "07/09/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -50, - "pDTransAmtOutput": "50.00- ", - "pDRefNo": "516-K00V8T8" - }, - { - "pDDatePosted": "07092020", - "pDDatePostedOutput": "07/09/2020", - "pDTransDesc": "COMMENT: K00ULWR PD $50.00 DOS 060820", - "pDTransDescOutput": "   COMMENT: K00ULWR PD $50.00 DOS 060820", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": "516-K00V8T8" - }, - { - "pDDatePosted": "08132020", - "pDDatePostedOutput": "08/13/2020", - "pDTransDesc": "COPAY RX:100020336 FD:08/11/2020", - "pDTransDescOutput": "COPAY RX#100020336 FILL DATE: 08/11/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K00WDZQ" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransDescOutput": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransDescOutput": "   QTY:90 PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "09222020", - "pDDatePostedOutput": "09/22/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 08/20/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 08/20/2020", - "pDTransAmt": 50, - "pDTransAmtOutput": "50.00  ", - "pDRefNo": "516-K00XUY2" - }, - { - "pDDatePosted": "09222020", - "pDDatePostedOutput": "09/22/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -50, - "pDTransAmtOutput": "50.00- ", - "pDRefNo": "516-K00XUY2" - }, - { - "pDDatePosted": "09222020", - "pDDatePostedOutput": "09/22/2020", - "pDTransDesc": "COMMENT: K00X41A PD $50.00 DOS 082020", - "pDTransDescOutput": "   COMMENT: K00X41A PD $50.00 DOS 082020", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": "516-K00XUY2" - }, - { - "pDDatePosted": "10072020", - "pDDatePostedOutput": "10/07/2020", - "pDTransDesc": "COPAY RX:100030241 FD:10/05/2020", - "pDTransDescOutput": "COPAY RX#100030241 FILL DATE: 10/05/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K10J56V" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransDescOutput": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransDescOutput": "   PHY:GUTHRIE,BROOKE L CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "10292020", - "pDDatePostedOutput": "10/29/2020", - "pDTransDesc": "COPAY RX:100045030 FD:10/27/2020", - "pDTransDescOutput": "COPAY RX#100045030 FILL DATE: 10/27/2020", - "pDTransAmt": 24, - "pDTransAmtOutput": "24.00  ", - "pDRefNo": "516-K10J56V" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", - "pDTransDescOutput": "   DRUG:NIACIN (SLO-NIACIN) 250MG TAB,SA DAYS:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", - "pDTransDescOutput": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "CHG:$24.00", - "pDTransDescOutput": "   CHG:$24.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "10292020", - "pDDatePostedOutput": "10/29/2020", - "pDTransDesc": "COPAY RX:100045028 FD:10/27/2020", - "pDTransDescOutput": "COPAY RX#100045028 FILL DATE: 10/27/2020", - "pDTransAmt": 8, - "pDTransAmtOutput": "8.00  ", - "pDRefNo": "516-K10J56V" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", - "pDTransDescOutput": "   DRUG:CARBAMIDE PEROXIDE 6.5% OTIC SOLN DAYS:14", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", - "pDTransDescOutput": "   QTY:45 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "10292020", - "pDDatePostedOutput": "10/29/2020", - "pDTransDesc": "COPAY RX:100045029 FD:10/27/2020", - "pDTransDescOutput": "COPAY RX#100045029 FILL DATE: 10/27/2020", - "pDTransAmt": 8, - "pDTransAmtOutput": "8.00  ", - "pDRefNo": "516-K10J56V" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", - "pDTransDescOutput": "   DRUG:MICONAZOLE NITRATE 2% TOP TINCTURE DAYS:30", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", - "pDTransDescOutput": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$8.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT (Int:0.12 Adm:1.64)", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -16.76, - "pDTransAmtOutput": "16.76- ", - "pDRefNo": "516-K00JZPJ" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT (Int:0.26 Adm:0.00)", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -15.26, - "pDTransAmtOutput": "15.26- ", - "pDRefNo": "516-K00N8XA" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K00QKJJ" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K00S829" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -23, - "pDTransAmtOutput": "23.00- ", - "pDRefNo": "516-K00SZBK" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K00UY3W" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K00WDZQ" - }, - { - "pDDatePosted": "11192020", - "pDDatePostedOutput": "11/19/2020", - "pDTransDesc": "PAYMENT", - "pDTransDescOutput": "PAYMENT POSTED ON 11/19/2020", - "pDTransAmt": -55, - "pDTransAmtOutput": "55.00- ", - "pDRefNo": "516-K10J56V" - }, - { - "pDDatePosted": "11232020", - "pDDatePostedOutput": "11/23/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 10/27/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 10/27/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K10LD3I" - }, - { - "pDDatePosted": "11232020", - "pDDatePostedOutput": "11/23/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K10LD3I" - }, - { - "pDDatePosted": "11232020", - "pDDatePostedOutput": "11/23/2020", - "pDTransDesc": "COMMENT: K10KM1P PD $15.00 DOS:10/27/20", - "pDTransDescOutput": "   COMMENT: K10KM1P PD $15.00 DOS:10/27/20", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": "516-K10LD3I" - }, - { - "pDDatePosted": "12012020", - "pDDatePostedOutput": "12/01/2020", - "pDTransDesc": "COPAY RX:100046632 FD:11/18/2020", - "pDTransDescOutput": "COPAY RX#100046632 FILL DATE: 11/18/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K10LT59" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransDescOutput": "   DRUG:AMLODIPINE BESYLATE 10MG TAB DAYS:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", - "pDTransDescOutput": "   QTY:90 PHY:VELAZQUEZ SANCHEZ,VANESSA", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "CHG:$15.00", - "pDTransDescOutput": "   CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "12162020", - "pDDatePostedOutput": "12/16/2020", - "pDTransDesc": "COPAY RX:100030241A FD:12/12/2020", - "pDTransDescOutput": "COPAY RX#100030241A FILL DATE: 12/12/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K10MUDV" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransDescOutput": "   DRUG:ATENOLOL 25MG TAB DAYS:90 QTY:90", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", - "pDTransDescOutput": "   PHY:VELAZQUEZ SANCHEZ,VANESSA CHG:$15.00", - "pDTransAmt": 0, - "pDTransAmtOutput": ".00  ", - "pDRefNo": null - }, - { - "pDDatePosted": "12212020", - "pDDatePostedOutput": "12/21/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC) VISIT DATE: 11/13/2020", - "pDTransDescOutput": "OUTPATIENT CARE VISIT DATE: 11/13/2020", - "pDTransAmt": 15, - "pDTransAmtOutput": "15.00  ", - "pDRefNo": "516-K10N4AR" - }, - { - "pDDatePosted": "12212020", - "pDDatePostedOutput": "12/21/2020", - "pDTransDesc": "OUTPATIENT CARE(NSC)", - "pDTransDescOutput": "OUTPATIENT CARE", - "pDTransAmt": -15, - "pDTransAmtOutput": "15.00- ", - "pDRefNo": "516-K10N4AR" - }, - { - "pDDatePosted": null, - "pDDatePostedOutput": "", - "pDTransDesc": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", - "pDTransDescOutput": "INTEREST/ADM. CHARGE (Int:0.32 Adm:1.64 Other:0.00", - "pDTransAmt": 1.96, - "pDTransAmtOutput": "1.96  ", - "pDRefNo": null - } - ], - "station": { - "facilitYNum": "649", - "visNNum": "22", - "facilitYDesc": "PRESCOTT VA MEDICAL CENTER (649)", - "cyclENum": "016", - "remiTToFlag": "L", - "maiLInsertFlag": "0", - "staTAddress1": "500 N US HIGHWAY 89", - "staTAddress2": "AGENT CASHIER (04C)", - "staTAddress3": null, - "city": "PRESCOTT", - "state": "AZ", - "ziPCde": "863135001", - "ziPCdeOutput": "86313-5001", - "baRCde": "*863135001003*", - "teLNumFlag": "S", - "teLNum": "1-866-802-6819", - "teLNum2": null, - "contacTInfo": null, - "dM2TelNum": null, - "contacTInfo2": null, - "toPTelNum": null, - "lbXFedexAddress1": null, - "lbXFedexAddress2": null, - "lbXFedexAddress3": null, - "lbXFedexCity": null, - "lbXFedexState": null, - "lbXFedexZipCde": null, - "lbXFedexBarCde": null, - "lbXFedexContact": null, - "lbXFedexContactTelNum": null, - "facilityName": "Ralph H. Johnson Department of Veterans Affairs Medical Center" - }, - "debtType": "COPAY", - "resolutionOption": "waiver", - "resolutionWaiverCheck": true - } - ], - "debt": { - "currentAr": 0, - "debtHistory": [ + { + "veteran_gross_salary": "0", + "deductions": [ { - "date": "" + "name": "Federal tax", + "amount": "0" + }, + { + "name": "Allotment", + "amount": "0" + }, + { + "name": "FICA (Social Security and Medicare)", + "amount": "0" } ], - "deductionCode": "", - "originalAr": 0 - }, - "currEmployment": [ - { - "veteranGrossSalary": "0", - "deductions": [ - { - "name": "Federal tax", - "amount": "0" - }, - { - "name": "State tax", - "amount": "0" - }, - { - "name": "Pension", - "amount": "0" - }, - { - "name": "Health insurance", - "amount": "0" - } - ], - "type": "Full time", - "from": "2017-1-XX", - "to": "", - "isCurrent": true, - "employerName": "Veteran Current One" - }, - { - "veteranGrossSalary": "0", - "deductions": [ - { - "name": "Federal tax", - "amount": "0" - }, - { - "name": "Allotment", - "amount": "0" - }, - { - "name": "FICA (Social Security and Medicare)", - "amount": "0" - } - ], - "type": "Part time", - "from": "2019-7-XX", - "to": "", - "isCurrent": true, - "employerName": "Veteran Current Two" - } - ], - "spCurrEmployment": [ - { - "spouseGrossSalary": "4000.45", - "deductions": [ - { - "name": "Federal tax", - "amount": "325.54" - }, - { - "name": "Health insurance", - "amount": "250.34" - }, - { - "name": "Garnishment", - "amount": "150" - } - ], - "type": "Full time", - "from": "2018-6-XX", - "to": "", - "isCurrent": true, - "employerName": "Spouse Current" - } - ], - "financialOverview": {}, - "availableOptions": {}, - "income": [ - { - "veteranOrSpouse": "VETERAN", - "compensationAndPension": "3261.1", - "education": "50" - } - ] - } - -} + "type": "Part time", + "from": "2019-7-XX", + "to": "", + "is_current": true, + "employer_name": "Veteran Current Two" + } + ], + "sp_curr_employment": [ + { + "spouse_gross_salary": "4000.45", + "deductions": [ + { + "name": "Federal tax", + "amount": "325.54" + }, + { + "name": "Health insurance", + "amount": "250.34" + }, + { + "name": "Garnishment", + "amount": "150" + } + ], + "type": "Full time", + "from": "2018-6-XX", + "to": "", + "is_current": true, + "employer_name": "Spouse Current" + } + ], + "financial_overview": {}, + "available_options": {}, + "income": [ + { + "veteran_or_spouse": "VETERAN", + "compensation_and_pension": "3261.1", + "education": "50" + } + ] +} \ No newline at end of file diff --git a/modules/debts_api/spec/fixtures/pre_submission_fsr/non_enhanced_fsr_expenses.json b/modules/debts_api/spec/fixtures/pre_submission_fsr/non_enhanced_fsr_expenses.json index 3d24761e3e7..828cf2d1acd 100644 --- a/modules/debts_api/spec/fixtures/pre_submission_fsr/non_enhanced_fsr_expenses.json +++ b/modules/debts_api/spec/fixtures/pre_submission_fsr/non_enhanced_fsr_expenses.json @@ -1,21 +1,21 @@ -{ - "view:enhancedFinancialStatusReport": false, +{ + "view:enhanced_financial_status_report": false, "expenses": { - "rentOrMortgage": "1200.25", + "rent_or_mortgage": "1200.25", "food": "4000.38", - "creditCardBills": [ + "credit_card_bills": [ { "purpose": "Credit card payment", - "creditorName": "", - "originalAmount": "", - "unpaidBalance": "300000", - "amountDueMonthly": "10000", - "dateStarted": "", - "amountPastDue": "7000" + "creditor_name": "", + "original_amount": "", + "unpaid_balance": "300000", + "amount_due_monthly": "10000", + "date_started": "", + "amount_past_due": "7000" } ] }, - "otherExpenses": [ + "other_expenses": [ { "name": "Pool service", "amount": "200" @@ -29,38 +29,38 @@ "amount": "300" } ], - "installmentContracts": [ + "installment_contracts": [ { "purpose": "Credit card payments", - "creditorName": "Creditor One", - "originalAmount": "50000.54", - "unpaidBalance": "15000.56", - "amountDueMonthly": "800.10", - "dateStarted": "2017-03-XX", - "amountPastDue": "125.43" + "creditor_name": "Creditor One", + "original_amount": "50000.54", + "unpaid_balance": "15000.56", + "amount_due_monthly": "800.10", + "date_started": "2017_03_xx", + "amount_past_due": "125.43" }, { "purpose": "Car payment/lease", - "creditorName": "Creditor Two", - "originalAmount": "100000.43", - "unpaidBalance": "50000.26", - "amountDueMonthly": "1200.54", - "dateStarted": "2019-05-XX", - "amountPastDue": "0" + "creditor_name": "Creditor Two", + "original_amount": "100000.43", + "unpaid_balance": "50000.26", + "amount_due_monthly": "1200.54", + "date_started": "2019_05_xx", + "amount_past_due": "0" } ], - "utilityRecords": [ + "utility_records": [ { "name": "Electricity", - "monthlyUtilityAmount": "402.35" + "monthly_utility_amount": "402.35" }, { "name": "Gas", - "monthlyUtilityAmount": "85.16" + "monthly_utility_amount": "85.16" }, { "name": "Cable", - "monthlyUtilityAmount": "175.47" + "monthly_utility_amount": "175.47" } ] } \ No newline at end of file diff --git a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/asset_calculator_spec.rb b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/asset_calculator_spec.rb index c32d40346f1..d60aa9bc916 100644 --- a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/asset_calculator_spec.rb +++ b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/asset_calculator_spec.rb @@ -13,7 +13,7 @@ end def calculate_total_assets - calculations_controller = described_class.new(maximal_fsr_form_data['data']) + calculations_controller = described_class.new(maximal_fsr_form_data) @total_assets = calculations_controller.get_total_assets end diff --git a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/expense_calculator_spec.rb b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/expense_calculator_spec.rb index 616251e53dd..1c0fa6c610e 100644 --- a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/expense_calculator_spec.rb +++ b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/expense_calculator_spec.rb @@ -3,7 +3,7 @@ require 'rails_helper' require 'debts_api/v0/fsr_form_transform/expense_calculator' -RSpec.describe DebtsApi::V0::FsrFormTransform::ExpenceCalculator, type: :service do +RSpec.describe DebtsApi::V0::FsrFormTransform::ExpenseCalculator, type: :service do describe '#get_monthly_expenses' do let(:enhanced_expenses) do get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses') diff --git a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/income_calculator_spec.rb b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/income_calculator_spec.rb index e4ece18eb4a..7cc9bb3d267 100644 --- a/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/income_calculator_spec.rb +++ b/modules/debts_api/spec/lib/debt_api/v0/fsr_form_transform/income_calculator_spec.rb @@ -13,7 +13,7 @@ end def populate_monthly_income - calculations_controller = described_class.new(maximal_fsr_form_data['data']) + calculations_controller = described_class.new(maximal_fsr_form_data) @monthly_income = calculations_controller.get_monthly_income end diff --git a/modules/debts_api/spec/request/debts_api/v0/financial_status_reports_calculations_controller_spec.rb b/modules/debts_api/spec/request/debts_api/v0/financial_status_reports_calculations_controller_spec.rb index d4366e9e4bd..5680d75993d 100644 --- a/modules/debts_api/spec/request/debts_api/v0/financial_status_reports_calculations_controller_spec.rb +++ b/modules/debts_api/spec/request/debts_api/v0/financial_status_reports_calculations_controller_spec.rb @@ -16,6 +16,18 @@ let(:enhanced_expenses) do get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/enhanced_fsr_expenses') end + let(:andrew_expenses) do + get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_expenses') + end + let(:andrew_two) do + get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_2') + end + let(:andrew_three) do + get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_fsr_3') + end + let(:andrew_to_the_max) do + get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/andrew_maximal') + end let(:old_expenses) do get_fixture_absolute('modules/debts_api/spec/fixtures/pre_submission_fsr/non_enhanced_fsr_expenses') end @@ -31,6 +43,29 @@ expect(response).to have_http_status(:ok) end end + + context 'with andrew fsr form data' do + it 'returns monthly income' do + post('/debts_api/v0/calculate_monthly_income', params: andrew_expenses.to_h, as: :json) + expect(response).to have_http_status(:ok) + end + + it 'behaves like the FE' do + post('/debts_api/v0/calculate_monthly_income', params: andrew_two.to_h, as: :json) + expect(response).to have_http_status(:ok) + + vet_other_income = JSON.parse(response.body)['vetIncome']['otherIncome'] + expect(vet_other_income['name']).to eq('Social Security') + expect(vet_other_income['amount']).to eq(500) + + spouse_other_income = JSON.parse(response.body)['spIncome']['otherIncome'] + expect(spouse_other_income['name']).to eq('Disability Compensation, Education, Caretaker income') + expect(spouse_other_income['amount']).to eq(600) + + expect(JSON.parse(response.body)['spIncome']['totalMonthlyNetIncome']).to eq(1600) + expect(JSON.parse(response.body)['totalMonthlyNetIncome']).to eq(3100) + end + end end describe '#total_assets' do @@ -40,6 +75,20 @@ expect(response).to have_http_status(:ok) end end + + context 'with andrew fsr form data' do + it 'calculates and returns total asset value' do + post('/debts_api/v0/calculate_total_assets', params: andrew_expenses.to_h, as: :json) + expect(response).to have_http_status(:ok) + end + + it 'behaves like FE' do + post('/debts_api/v0/calculate_total_assets', params: andrew_three.to_h, as: :json) + expect(response).to have_http_status(:ok) + body = JSON.parse(response.body) + expect(body).to eq({ 'calculatedTotalAssets' => 2780.35 }) + end + end end describe '#all_expenses' do @@ -48,6 +97,11 @@ post('/debts_api/v0/calculate_all_expenses', params: enhanced_expenses.to_h, as: :json) expect(response).to have_http_status(:ok) end + + it 'takes andrews params' do + post('/debts_api/v0/calculate_all_expenses', params: andrew_expenses.to_h, as: :json) + expect(response).to have_http_status(:ok) + end end context 'with old form params' do @@ -63,6 +117,8 @@ it 'returns all expenses' do post('/debts_api/v0/calculate_monthly_expenses', params: enhanced_expenses.to_h, as: :json) expect(response).to have_http_status(:ok) + body = JSON.parse(response.body) + expect(body).to eq({ 'calculatedMonthlyExpenses' => 19_603.44 }) end end diff --git a/modules/mobile/app/services/mobile/v0/lighthouse_claims/proxy.rb b/modules/mobile/app/services/mobile/v0/lighthouse_claims/proxy.rb index 62ffba0da04..ebaec5b2ba5 100644 --- a/modules/mobile/app/services/mobile/v0/lighthouse_claims/proxy.rb +++ b/modules/mobile/app/services/mobile/v0/lighthouse_claims/proxy.rb @@ -14,12 +14,14 @@ def request_decision(id) claims_service.submit5103(@user, id) end + # Temporary: We're adding the claims to the EVSSClaim table until decision letters switch over to lighthouse def get_all_claims lambda { begin - claims_list = claims_service.get_claims + claims_list = claims_service.get_claims['data'] + claims_list.each { |claim| create_or_update_claim(claim) } { - list: claims_list['data'], + list: claims_list, errors: nil } rescue => e @@ -33,6 +35,21 @@ def get_all_claims def claims_service @claims_service ||= BenefitsClaims::Service.new(@user.icn) end + + def claims_scope + @claims_scope ||= EVSSClaim.for_user(@user) + end + + def create_or_update_claim(raw_claim) + claim = claims_scope.where(evss_id: raw_claim['id']).first + if claim.blank? + claim = EVSSClaim.new(user_uuid: @user.uuid, + user_account: @user.user_account, + evss_id: raw_claim['id'], + data: {}) + end + claim.update(list_data: raw_claim) + end end end end diff --git a/modules/mobile/spec/request/claims_and_appeals_overview_request_spec.rb b/modules/mobile/spec/request/claims_and_appeals_overview_request_spec.rb index 843ade084d9..6bcf8c46bf1 100644 --- a/modules/mobile/spec/request/claims_and_appeals_overview_request_spec.rb +++ b/modules/mobile/spec/request/claims_and_appeals_overview_request_spec.rb @@ -485,6 +485,36 @@ end end end + + describe 'EVSSClaim count' do + it 'creates record if it does not exist' do + VCR.use_cassette(good_claims_response_vcr_path) do + VCR.use_cassette('mobile/appeals/appeals') do + expect do + get('/mobile/v0/claims-and-appeals-overview', headers: sis_headers, params:) + end.to change(EVSSClaim, :count) + end + end + end + + it 'updates record if it does exist' do + VCR.use_cassette(good_claims_response_vcr_path) do + VCR.use_cassette('mobile/appeals/appeals') do + evss_id = lighthouse_flag ? 600_383_363 : 600_114_693 + claim = EVSSClaim.create(user_uuid: sis_user.uuid, + user_account: sis_user.user_account, + evss_id:, + created_at: 1.week.ago, + updated_at: 1.week.ago, + data: {}) + expect do + get('/mobile/v0/claims-and-appeals-overview', headers: sis_headers, params:) + claim.reload + end.to change(claim, :updated_at) + end + end + end + end end end diff --git a/modules/simple_forms_api/app/form_mappings/vba_20_10207.json.erb b/modules/simple_forms_api/app/form_mappings/vba_20_10207.json.erb index a12c86a7ab2..776c194bfc3 100644 --- a/modules/simple_forms_api/app/form_mappings/vba_20_10207.json.erb +++ b/modules/simple_forms_api/app/form_mappings/vba_20_10207.json.erb @@ -12,7 +12,7 @@ "form1[0].#subform[3].TelephoneNumber_FirstThreeNumbers[0]": "<%= form.data['veteran_phone']&.gsub('-', '')&.[](0..2) %>", "form1[0].#subform[3].TelephoneNumber_SecondThreeNumbers[0]": "<%= form.data['veteran_phone']&.gsub('-', '')&.[](3..5) %>", "form1[0].#subform[3].International_Phone_Number_If_Applicable[0]": "<%= nil %>", - "form1[0].#subform[3].Email_Address[0]": "<%= nil %>", + "form1[0].#subform[3].Email_Address[0]": "<%= form.data['veteran_email_address'] %>", "form1[0].#subform[3].CurrentMailingAddress_ZIPOrPostalCode_LastFourNumbers[0]": "<%= nil %>", "form1[0].#subform[3].CurrentMailingAddress_ZIPOrPostalCode_FirstFiveNumbers[0]": "<%= form.data.dig('veteran_mailing_address', 'postal_code') %>", "form1[0].#subform[3].CurrentMailingAddress_Country[0]": "<%= form.data.dig('veteran_mailing_address', 'country') %>", @@ -37,8 +37,8 @@ "form1[0].#subform[3].TelephoneNumber_FirstThreeNumbers[1]": "<%= form.data['non_veteran_phone']&.gsub('-', '')&.[](0..2) %>", "form1[0].#subform[3].TelephoneNumber_SecondThreeNumbers[1]": "<%= form.data['non_veteran_phone']&.gsub('-', '')&.[](3..5) %>", "form1[0].#subform[3].International_Phone_Number_If_Applicable[1]": "<%= nil %>", - "form1[0].#subform[3].VA_File_Number_If_Applicable[0]": "<%= nil %>", - "form1[0].#subform[3].Email_Address[2]": "<%= nil %>", + "form1[0].#subform[3].VA_File_Number_If_Applicable[0]": "<%= form.data.dig('non_veteran_id', 'va_file_number') %>", + "form1[0].#subform[3].Email_Address[2]": "<%= form.data['non_veteran_email_address'] %>", "form1[0].#subform[3].CurrentMailingAddress_ZIPOrPostalCode_LastFourNumbers[1]": "<%= nil %>", "form1[0].#subform[3].CurrentMailingAddress_ZIPOrPostalCode_FirstFiveNumbers[1]": "<%= form.data.dig('non_veteran_mailing_address', 'postal_code') %>", "form1[0].#subform[3].CurrentMailingAddress_Country[1]": "<%= form.data.dig('non_veteran_mailing_address', 'country') %>", @@ -48,71 +48,64 @@ "form1[0].#subform[3].CurrentMailingAddress_NumberAndStreet[1]": "<%= form.data.dig('non_veteran_mailing_address', 'street') %>", "form1[0].#subform[3].CheckBox1[1]": "<%= nil %>", "form1[0].#subform[3].Email_Address[3]": "<%= nil %>", - "form1[0].#subform[3].VA_File_Number_If_Applicable[1]": "<%= nil %>", + "form1[0].#subform[3].VA_File_Number_If_Applicable[1]": "<%= form.data.dig('veteran_id', 'va_file_number') %>", + "form1[0].#subform[3].CurrentlyHomeless[0]": "<%= form.data.dig('living_situation', 'none') ? 1 : 0 %>", - "form1[0].#subform[4].I_Live_Or_Sleep_In_A_Place_That_Is_Not_Meant_For_Regular_Sleeping[0]": "<%= form.data.dig('living_situation', 'OVERNIGHT') ? 1 : 0 %>", - "form1[0].#subform[4].I_Live_In_A_Shelter[0]": "<%= form.data.dig('living_situation', 'SHELTER') ? 1 : 0 %>", - "form1[0].#subform[4].Staying_With_A_Friend_Or_Family_Member_Because_I_Am_Unable_To_Own_A_Home_Right_Now[0]": "<%= form.data.dig('living_situation', 'FRIEND_OR_FAMILY') ? 1 : 0 %>", - "form1[0].#subform[4].In_The_Next_30_Days_I_Will_Have_To_Leave_A_Facility_Like_A_Homeless_Shelter[0]": "<%= form.data.dig('living_situation', 'LEAVING_SHELTER') ? 1 : 0 %>", - "form1[0].#subform[4].IN_THE_NEXT_30_DAYS_I_WILL_LOSE_MY_HOME[0]": "<%= form.data.dig('living_situation', 'LOSING_HOME') ? 1 : 0 %>", - "form1[0].#subform[4].NONE_OF_THESE_SITUATIONS_APPLY_TO_ME[0]": "<%= form.data.dig('living_situation', 'NONE') ? 1 : 0 %>", - "form1[0].#subform[4].OTHER_Specify[0]": "<%= form.data.dig('living_situation', 'OTHER_RISK') ? 1 : 0 %>", - - "form1[0].#subform[3].CurrentlyHomeless[0]": "<%= form.data.dig('living_situation', 'NONE') ? 1 : 0 %>", + "form1[0].#subform[4].I_Live_Or_Sleep_In_A_Place_That_Is_Not_Meant_For_Regular_Sleeping[0]": "<%= form.data.dig('living_situation', 'overnight') ? 1 : 0 %>", + "form1[0].#subform[4].I_Live_In_A_Shelter[0]": "<%= form.data.dig('living_situation', 'shelter') ? 1 : 0 %>", + "form1[0].#subform[4].Staying_With_A_Friend_Or_Family_Member_Because_I_Am_Unable_To_Own_A_Home_Right_Now[0]": "<%= form.data.dig('living_situation', 'friend_or_family') ? 1 : 0 %>", + "form1[0].#subform[4].In_The_Next_30_Days_I_Will_Have_To_Leave_A_Facility_Like_A_Homeless_Shelter[0]": "<%= form.data.dig('living_situation', 'leaving_shelter') ? 1 : 0 %>", + "form1[0].#subform[4].IN_THE_NEXT_30_DAYS_I_WILL_LOSE_MY_HOME[0]": "<%= form.data.dig('living_situation', 'losing_home') ? 1 : 0 %>", + "form1[0].#subform[4].NONE_OF_THESE_SITUATIONS_APPLY_TO_ME[0]": "<%= form.data.dig('living_situation', 'none') ? 1 : 0 %>", + "form1[0].#subform[4].OTHER_Specify[0]": "<%= form.data.dig('living_situation', 'other_risk') ? 1 : 0 %>", + "form1[0].#subform[4].Other1[0]": "<%= form.data['other_housing_risks'] %>", - "form1[0].#subform[3].Other1[0]": "<%= nil %>", "form1[0].#subform[4].Veterans_SocialSecurityNumber_LastFourNumbers[1]": "<%= form.data.dig('veteran_id', 'ssn')&.[](5..8) %>", "form1[0].#subform[4].Veterans_SocialSecurityNumber_SecondTwoNumbers[1]": "<%= form.data.dig('veteran_id', 'ssn')&.[](3..4) %>", "form1[0].#subform[4].Veterans_SocialSecurityNumber_FirstThreeNumbers[1]": "<%= form.data.dig('veteran_id', 'ssn')&.[](0..2) %>", - "form1[0].#subform[4].Other2[0]": "<%= form.data['other_housing_risks'] %>", - "form1[0].#subform[4].Telephone_Number_Area_Code[0]": "<%= form.data['point_of_contact_phone']&.gsub('-', '')&.[](0..2) %>", "form1[0].#subform[4].Telephone_Middle_Three_Numbers[0]": "<%= form.data['point_of_contact_phone']&.gsub('-', '')&.[](3..5) %>", "form1[0].#subform[4].Telephone_Last_Four_Numbers[0]": "<%= form.data['point_of_contact_phone']&.gsub('-', '')&.[](6..9) %>", "form1[0].#subform[4].International_Telephone_Number_If_Applicable[0]": "<%= nil %>", "form1[0].#subform[4].POINT_OF_CONTACT[0]": "<%= form.data['point_of_contact_name'] %>", - "form1[0].#subform[4].OtherReasonsForRequest[0]": "<%= form.data.dig('other_reasons', 'FORMER_POW') ? 1 : 0 %>", - "form1[0].#subform[4].OtherReasonsForRequest[1]": "<%= form.data.dig('other_reasons', 'VSI_SI') ? 1 : 0 %>", - "form1[0].#subform[4].OtherReasonsForRequest[2]": "<%= form.data.dig('other_reasons', 'ALS') ? 1 : 0 %>", - "form1[0].#subform[4].OtherReasonsForRequest[3]": "<%= form.data.dig('other_reasons', 'FINANCIAL_HARDSHIP') ? 1 : 0 %>", - "form1[0].#subform[4].OtherReasonsForRequest[4]": "<%= form.data.dig('other_reasons', 'TERMINAL_ILLNESS') ? 1 : 0 %>", - "form1[0].#subform[4].OtherReasonsForRequest[5]": "<%= form.data.dig('other_reasons', 'MEDAL_AWARD') ? 1 : 0 %>", - "form1[0].#subform[4].OtherReasonsForRequest[6]": "<%= form.data.dig('other_reasons', 'OVER_85') ? 1 : 0 %>", + "form1[0].#subform[4].OtherReasonsForRequest[0]": "<%= form.data.dig('other_reasons', 'former_pow') ? 6 : 0 %>", + "form1[0].#subform[4].OtherReasonsForRequest[1]": "<%= form.data.dig('other_reasons', 'vsi_si') ? 7 : 0 %>", + "form1[0].#subform[4].OtherReasonsForRequest[2]": "<%= form.data.dig('other_reasons', 'als') ? 4 : 0 %>", + "form1[0].#subform[4].OtherReasonsForRequest[3]": "<%= form.data.dig('other_reasons', 'financial_hardship') ? 1 : 0 %>", + "form1[0].#subform[4].OtherReasonsForRequest[4]": "<%= form.data.dig('other_reasons', 'terminal_illness') ? 2 : 0 %>", + "form1[0].#subform[4].OtherReasonsForRequest[5]": "<%= form.data.dig('other_reasons', 'medal_award') ? 3 : 0 %>", + "form1[0].#subform[4].OtherReasonsForRequest[6]": "<%= form.data.dig('other_reasons', 'over_85') ? 5 : 0 %>", "form1[0].#subform[4].Month[1]": "<%= form.data['pow_confinement_start_date']&.[](5..6) %>", "form1[0].#subform[4].Day[1]": "<%= form.data['pow_confinement_start_date']&.[](8..9) %>", "form1[0].#subform[4].Year[1]": "<%= form.data['pow_confinement_start_date']&.[](0..3) %>", "form1[0].#subform[4].Month[3]": "<%= form.data['pow_confinement_end_date']&.[](5..6) %>", "form1[0].#subform[4].Day[3]": "<%= form.data['pow_confinement_end_date']&.[](8..9) %>", "form1[0].#subform[4].Year[3]": "<%= form.data['pow_confinement_end_date']&.[](0..3) %>", - "form1[0].#subform[4].Month[5]": "<%= form.data['pow_confinement2start_date']&.[](5..6) %>", - "form1[0].#subform[4].Day[5]": "<%= form.data['pow_confinement2start_date']&.[](8..9) %>", - "form1[0].#subform[4].Year[5]": "<%= form.data['pow_confinement2start_date']&.[](0..3) %>", - "form1[0].#subform[4].Month[7]": "<%= form.data['pow_confinement2end_date']&.[](5..6) %>", - "form1[0].#subform[4].Day[7]": "<%= form.data['pow_confinement2end_date']&.[](8..9) %>", - "form1[0].#subform[4].Year[7]": "<%= form.data['pow_confinement2end_date']&.[](0..3) %>", + "form1[0].#subform[4].Month[5]": "<%= form.data['pow_confinement2_start_date']&.[](5..6) %>", + "form1[0].#subform[4].Day[5]": "<%= form.data['pow_confinement2_start_date']&.[](8..9) %>", + "form1[0].#subform[4].Year[5]": "<%= form.data['pow_confinement2_start_date']&.[](0..3) %>", + "form1[0].#subform[4].Month[7]": "<%= form.data['pow_confinement2_end_date']&.[](5..6) %>", + "form1[0].#subform[4].Day[7]": "<%= form.data['pow_confinement2_end_date']&.[](8..9) %>", + "form1[0].#subform[4].Year[7]": "<%= form.data['pow_confinement2_end_date']&.[](0..3) %>", - "form1[0].#subform[4].NameOfFacility1[0]": "<%= form.facility_name(1) %>", + "form1[0].#subform[4].Name_And_Location_Of_Treatment_Facility1[0]": "<%= form.facility_name(1) %>", "form1[0].#subform[4].DateOfTreatment_Month1[0]": "<%= form.facility_month(1) %>", "form1[0].#subform[4].DateOfTreatment_Day1[0]": "<%= form.facility_day(1) %>", "form1[0].#subform[4].DateOfTreatment_Year1[0]": "<%= form.facility_year(1) %>", - "form1[0].#subform[4].NameOfFacility2[0]": "<%= form.facility_name(2) %>", + "form1[0].#subform[4].Name_And_Location_Of_Treatment_Facility2[0]": "<%= form.facility_name(2) %>", "form1[0].#subform[4].DateOfTreatment_Month2[0]": "<%= form.facility_month(2) %>", "form1[0].#subform[4].DateOfTreatment_Day2[0]": "<%= form.facility_day(2) %>", "form1[0].#subform[4].DateOfTreatment_Year2[0]": "<%= form.facility_year(2) %>", - "form1[0].#subform[4].NameOfFacility3[0]": "<%= form.facility_name(3) %>", + "form1[0].#subform[4].Name_And_Location_Of_Treatment_Facility3[0]": "<%= form.facility_name(3) %>", "form1[0].#subform[4].DateOfTreatment_Month3[0]": "<%= form.facility_month(3) %>", "form1[0].#subform[4].DateOfTreatment_Day3[0]": "<%= form.facility_day(3) %>", "form1[0].#subform[4].DateOfTreatment_Year3[0]": "<%= form.facility_year(3) %>", - "form1[0].#subform[4].NameOfFacility4[0]": "<%= form.facility_name(4) %>", + "form1[0].#subform[4].Name_And_Location_Of_Treatment_Facility4[0]": "<%= form.facility_name(4) %>", "form1[0].#subform[4].DateOfTreatment_Month4[0]": "<%= form.facility_month(4) %>", "form1[0].#subform[4].DateOfTreatment_Day4[0]": "<%= form.facility_day(4) %>", "form1[0].#subform[4].DateOfTreatment_Year4[0]": "<%= form.facility_year(4) %>", - "form1[0].#subform[4].NameOfFacility5[0]": "<%= form.facility_name(5) %>", - "form1[0].#subform[4].DateOfTreatment_Month5[0]": "<%= form.facility_month(5) %>", - "form1[0].#subform[4].DateOfTreatment_Day5[0]": "<%= form.facility_day(5) %>", - "form1[0].#subform[4].DateOfTreatment_Year5[0]": "<%= form.facility_year(5) %>", "form1[0].#subform[5].RequesterSignature[0]": "<%= form.requester_signature %>", "form1[0].#subform[5].RequesterDateSigned_Month[0]": "<%= form.requester_signature ? Time.current.in_time_zone('America/Chicago').strftime('%m') : nil %>", diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vba_20_10206.rb b/modules/simple_forms_api/app/models/simple_forms_api/vba_20_10206.rb index 51d6d504eab..6bcd1c8dc17 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vba_20_10206.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vba_20_10206.rb @@ -36,13 +36,21 @@ def zip_code_is_us_based @data.dig('address', 'country') == 'USA' end - def submission_date_config - { - should_stamp_date?: true, - page_number: 1, - title_coords: [460, 710], - text_coords: [460, 690] - } + def submission_date_stamps + [ + { + coords: [460, 710], + text: 'Application Submitted:', + page: 1, + font_size: 12 + }, + { + coords: [460, 690], + text: Time.current.in_time_zone('UTC').strftime('%H:%M %Z %D'), + page: 1, + font_size: 12 + } + ] end def track_user_identity(confirmation_number) diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vba_20_10207.rb b/modules/simple_forms_api/app/models/simple_forms_api/vba_20_10207.rb index 5401691a3cf..c0b5c505672 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vba_20_10207.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vba_20_10207.rb @@ -12,14 +12,14 @@ def initialize(data) def facility_name(index) facility = @data['medical_treatments']&.[](index - 1) - "#{facility&.[]('facility_name')}\n#{facility_address(index)}" + "#{facility&.[]('facility_name')}\\n#{facility_address(index)}" if facility end def facility_address(index) facility = @data['medical_treatments']&.[](index - 1) address = facility&.[]('facility_address') - "#{address&.[]('street')}\n" \ - "#{address&.[]('city')}, #{address&.[]('state')} #{address&.[]('postal_code')}\n" \ + "#{address&.[]('street')}" \ + "#{address&.[]('city')}, #{address&.[]('state')}\\n#{address&.[]('postal_code')}\\n" \ "#{address&.[]('country')}" end @@ -39,12 +39,12 @@ def facility_year(index) end def requester_signature - @data['statement_of_truth_signature'] if @data['preparer_type'] == 'veteran' + @data['statement_of_truth_signature'] if %w[veteran non-veteran].include? @data['preparer_type'] end def third_party_signature - @data['statement_of_truth_signature'] if @data['preparer_type'] != 'veteran' && - @data['third_party_type'] != 'power-of-attorney' + @data['statement_of_truth_signature'] if %w[third-party-veteran + third-party-non-veteran].include? @data['preparer_type'] end def power_of_attorney_signature @@ -82,10 +82,19 @@ def handle_attachments(file_path) end end - def submission_date_config - { - should_stamp_date?: false - } + def desired_stamps + coords = if %w[veteran non-veteran].include? data['preparer_type'] + [[50, 685]] + elsif data['third_party_type'] == 'power-of-attorney' + [[50, 440]] + elsif %w[third-party-veteran third-party-non-veteran].include? data['preparer_type'] + [[50, 565]] + end + [{ coords:, text: data['statement_of_truth_signature'], page: 4 }] + end + + def submission_date_stamps + [] end def track_user_identity(confirmation_number); end diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0845.rb b/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0845.rb index c5194b67cee..08f4c46d1b8 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0845.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0845.rb @@ -37,13 +37,25 @@ def words_to_remove person_address + organization_address end - def submission_date_config - { - should_stamp_date?: true, - page_number: 1, - title_coords: [460, 710], - text_coords: [460, 690] - } + def desired_stamps + [{ coords: [50, 240], text: data['statement_of_truth_signature'], page: 2 }] + end + + def submission_date_stamps + [ + { + coords: [460, 710], + text: 'Application Submitted:', + page: 1, + font_size: 12 + }, + { + coords: [460, 690], + text: Time.current.in_time_zone('UTC').strftime('%H:%M %Z %D'), + page: 1, + font_size: 12 + } + ] end def track_user_identity(confirmation_number) diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0966.rb b/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0966.rb index afb264d1e98..ad38abcb935 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0966.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0966.rb @@ -59,13 +59,25 @@ def third_party_info end end - def submission_date_config - { - should_stamp_date?: true, - page_number: 0, - title_coords: [460, 710], - text_coords: [460, 690] - } + def desired_stamps + [{ coords: [50, 415], text: data['statement_of_truth_signature'], page: 1 }] + end + + def submission_date_stamps + [ + { + coords: [460, 710], + text: 'Application Submitted:', + page: 0, + font_size: 12 + }, + { + coords: [460, 690], + text: Time.current.in_time_zone('UTC').strftime('%H:%M %Z %D'), + page: 0, + font_size: 12 + } + ] end def track_user_identity(confirmation_number) diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0972.rb b/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0972.rb index eb63fb40ccd..1b63fe03efc 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0972.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vba_21_0972.rb @@ -27,13 +27,25 @@ def zip_code_is_us_based @data.dig('preparer_address', 'country') == 'USA' end - def submission_date_config - { - should_stamp_date?: true, - page_number: 1, - title_coords: [440, 690], - text_coords: [440, 670] - } + def desired_stamps + [{ coords: [50, 465], text: data['statement_of_truth_signature'], page: 2 }] + end + + def submission_date_stamps + [ + { + coords: [440, 690], + text: 'Application Submitted:', + page: 1, + font_size: 12 + }, + { + coords: [440, 670], + text: Time.current.in_time_zone('UTC').strftime('%H:%M %Z %D'), + page: 1, + font_size: 12 + } + ] end def track_user_identity(confirmation_number) diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vba_21_10210.rb b/modules/simple_forms_api/app/models/simple_forms_api/vba_21_10210.rb index be1eeb6fa35..3dfb2fbf960 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vba_21_10210.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vba_21_10210.rb @@ -33,13 +33,25 @@ def words_to_remove statement + witness_phone + witness_email end - def submission_date_config - { - should_stamp_date?: true, - page_number: 0, - title_coords: [460, 710], - text_coords: [460, 690] - } + def desired_stamps + [{ coords: [50, 160], text: data['statement_of_truth_signature'], page: 2 }] + end + + def submission_date_stamps + [ + { + coords: [460, 710], + text: 'Application Submitted:', + page: 0, + font_size: 12 + }, + { + coords: [460, 690], + text: Time.current.in_time_zone('UTC').strftime('%H:%M %Z %D'), + page: 0, + font_size: 12 + } + ] end def track_user_identity(confirmation_number) diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vba_21_4142.rb b/modules/simple_forms_api/app/models/simple_forms_api/vba_21_4142.rb index 849608e35d0..fa151f1b01a 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vba_21_4142.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vba_21_4142.rb @@ -32,13 +32,12 @@ def zip_code_is_us_based @data.dig('veteran', 'address', 'country') == 'USA' end - def submission_date_config - { - should_stamp_date?: true, - page_number: 0, - title_coords: [440, 710], - text_coords: [440, 690] - } + def desired_stamps + [{ coords: [50, 560], text: data['statement_of_truth_signature'], page: 1 }] + end + + def submission_date_stamps + [submission_date_stamps_first_page, submission_date_stamps_fourth_page].flatten end def track_user_identity(confirmation_number) @@ -94,5 +93,39 @@ def veteran_email data.dig('veteran', 'email')&.[](15..) ] end + + def submission_date_stamps_first_page + [ + { + coords: [440, 710], + text: 'Application Submitted:', + page: 0, + font_size: 12 + }, + { + coords: [440, 690], + text: Time.current.in_time_zone('UTC').strftime('%H:%M %Z %D'), + page: 0, + font_size: 12 + } + ] + end + + def submission_date_stamps_fourth_page + [ + { + coords: [440, 710], + text: 'Application Submitted:', + page: 3, + font_size: 12 + }, + { + coords: [440, 690], + text: Time.current.in_time_zone('UTC').strftime('%H:%M %Z %D'), + page: 3, + font_size: 12 + } + ] + end end end diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vba_21p_0847.rb b/modules/simple_forms_api/app/models/simple_forms_api/vba_21p_0847.rb index 89c3c30ba75..424be79a46e 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vba_21p_0847.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vba_21p_0847.rb @@ -31,13 +31,25 @@ def zip_code_is_us_based @data.dig('preparer_address', 'country') == 'USA' end - def submission_date_config - { - should_stamp_date?: true, - page_number: 1, - title_coords: [460, 710], - text_coords: [460, 690] - } + def desired_stamps + [{ coords: [50, 190], text: data['statement_of_truth_signature'], page: 1 }] + end + + def submission_date_stamps + [ + { + coords: [460, 710], + text: 'Application Submitted:', + page: 1, + font_size: 12 + }, + { + coords: [460, 690], + text: Time.current.in_time_zone('UTC').strftime('%H:%M %Z %D'), + page: 1, + font_size: 12 + } + ] end def track_user_identity(confirmation_number) diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vba_26_4555.rb b/modules/simple_forms_api/app/models/simple_forms_api/vba_26_4555.rb index a146e8bb6f0..f80757206ad 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vba_26_4555.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vba_26_4555.rb @@ -45,8 +45,20 @@ def zip_code_is_us_based @data.dig('veteran', 'address', 'country') == 'USA' end - def submission_date_config - { should_stamp_date?: false } + def desired_stamps + return [] unless data + + [].tap do |stamps| + stamps << { coords: [73, 390], text: 'X' } unless data.dig('previous_sah_application', + 'has_previous_sah_application') + stamps << { coords: [73, 355], text: 'X' } unless data.dig('previous_hi_application', + 'has_previous_hi_application') + stamps << { coords: [73, 320], text: 'X' } unless data.dig('living_situation', 'is_in_care_facility') + end.compact + end + + def submission_date_stamps + [] end def track_user_identity(confirmation_number); end diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vba_40_0247.rb b/modules/simple_forms_api/app/models/simple_forms_api/vba_40_0247.rb index 6e3444e669d..eeeee1754b6 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vba_40_0247.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vba_40_0247.rb @@ -70,8 +70,8 @@ def words_to_remove veteran_ssn_and_file_number + veteran_dates_of_birth_and_death + applicant_zip + applicant_phone end - def submission_date_config - { should_stamp_date?: false } + def submission_date_stamps + [] end def track_user_identity(confirmation_number); end diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vba_40_10007.rb b/modules/simple_forms_api/app/models/simple_forms_api/vba_40_10007.rb index 9dab970ef19..c4843559c67 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vba_40_10007.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vba_40_10007.rb @@ -221,8 +221,8 @@ def handle_attachments(file_path) def track_user_identity(confirmation_number); end - def submission_date_config - { should_stamp_date?: false } + def submission_date_stamps + [] end private diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vha_10_10d.rb b/modules/simple_forms_api/app/models/simple_forms_api/vha_10_10d.rb index dd986e4a1e4..0c6c3711284 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vha_10_10d.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vha_10_10d.rb @@ -56,8 +56,8 @@ def handle_attachments(file_path) file_paths end - def submission_date_config - { should_stamp_date?: false } + def submission_date_stamps + [] end def track_user_identity(confirmation_number) diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959c.rb b/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959c.rb index 580daa2c90b..b6a2a20cfa4 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959c.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959c.rb @@ -22,13 +22,8 @@ def metadata } end - def submission_date_config - { - should_stamp_date?: false, - page_number: 1, - title_coords: [440, 690], - text_coords: [440, 670] - } + def submission_date_stamps + [] end end end diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959f_1.rb b/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959f_1.rb index 094564b668e..1c30686e881 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959f_1.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959f_1.rb @@ -27,8 +27,12 @@ def zip_code_is_us_based true end - def submission_date_config - { should_stamp_date?: false } + def desired_stamps + [{ coords: [26, 82.5], text: data['statement_of_truth_signature'], page: 0 }] + end + + def submission_date_stamps + [] end def track_user_identity(confirmation_number); end diff --git a/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959f_2.rb b/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959f_2.rb index 9bc44048f24..436e3c869b8 100644 --- a/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959f_2.rb +++ b/modules/simple_forms_api/app/models/simple_forms_api/vha_10_7959f_2.rb @@ -49,8 +49,8 @@ def handle_attachments(file_path) file_paths end - def submission_date_config - { should_stamp_date?: false } + def submission_date_stamps + [] end def track_user_identity(confirmation_number); end diff --git a/modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb b/modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb index 64fd8a7a867..02988c59632 100644 --- a/modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb +++ b/modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb @@ -9,12 +9,23 @@ class PdfStamper SUBMISSION_DATE_TITLE = 'Application Submitted:' def self.stamp_pdf(stamped_template_path, form, current_loa) + stamp_signature(stamped_template_path, form) + + stamp_auth_text(stamped_template_path, current_loa) + + stamp_submission_date(stamped_template_path, form.submission_date_stamps) + end + + def self.stamp_signature(stamped_template_path, form) form_number = form.data['form_number'] if FORM_REQUIRES_STAMP.include? form_number - stamp_method = "stamp#{form_number.gsub('-', '')}".downcase - send(stamp_method, stamped_template_path, form) + form.desired_stamps.each do |desired_stamp| + stamp(desired_stamp, stamped_template_path) + end end + end + def self.stamp_auth_text(stamped_template_path, current_loa) current_time = "#{Time.current.in_time_zone('America/Chicago').strftime('%H:%M:%S')} " auth_text = case current_loa when 3 @@ -24,147 +35,14 @@ def self.stamp_pdf(stamped_template_path, form, current_loa) else 'Signee not signed in.' end - stamp_text = SUBMISSION_TEXT + current_time - desired_stamps = [[10, 10, stamp_text]] - verify(stamped_template_path) { stamp(desired_stamps, stamped_template_path, auth_text, text_only: false) } - - stamp_submission_date(stamped_template_path, form.submission_date_config) - end - - def self.stamp107959f1(stamped_template_path, form) - desired_stamps = [[26, 82.5, form.data['statement_of_truth_signature']]] - append_to_stamp = false - verify(stamped_template_path) { stamp(desired_stamps, stamped_template_path, append_to_stamp) } - end - - def self.stamp264555(stamped_template_path, form) - desired_stamps = [] - desired_stamps.append([73, 390, 'X']) unless form.data['previous_sah_application']['has_previous_sah_application'] - desired_stamps.append([73, 355, 'X']) unless form.data['previous_hi_application']['has_previous_hi_application'] - desired_stamps.append([73, 320, 'X']) unless form.data['living_situation']['is_in_care_facility'] - append_to_stamp = false - stamp(desired_stamps, stamped_template_path, append_to_stamp) - end - - def self.stamp214142(stamped_template_path, form) - desired_stamps = [[50, 560]] - signature_text = form.data['statement_of_truth_signature'] - page_configuration = [ - { type: :new_page }, - { type: :text, position: desired_stamps[0] }, - { type: :new_page } - ] - - verified_multistamp(stamped_template_path, signature_text, page_configuration) - - # This is a one-off case where we need to stamp a date on the first page of 21-4142 when resubmitting - if form.data['in_progress_form_created_at'] - date_title = 'Application Submitted:' - date_text = form.data['in_progress_form_created_at'] - stamp214142_date_stamp_for_resubmission(stamped_template_path, date_title, date_text) + coords = [10, 10] + text = SUBMISSION_TEXT + current_time + desired_stamp = { coords:, text: } + verify(stamped_template_path) do + stamp(desired_stamp, stamped_template_path, append_to_stamp: auth_text, text_only: false) end end - def self.stamp214142_date_stamp_for_resubmission(stamped_template_path, date_title, date_text) - date_title_stamp_position = [440, 710] - date_text_stamp_position = [440, 690] - page_configuration = [ - { type: :text, position: date_title_stamp_position }, - { type: :new_page }, - { type: :new_page } - ] - - verified_multistamp(stamped_template_path, date_title, page_configuration, 12) - - page_configuration = [ - { type: :text, position: date_text_stamp_position }, - { type: :new_page }, - { type: :new_page } - ] - - verified_multistamp(stamped_template_path, date_text, page_configuration, 12) - end - - def self.stamp2110210(stamped_template_path, form) - desired_stamps = [[50, 160]] - signature_text = form.data['statement_of_truth_signature'] - page_configuration = [ - { type: :new_page }, - { type: :new_page }, - { type: :text, position: desired_stamps[0] } - ] - - verified_multistamp(stamped_template_path, signature_text, page_configuration) - end - - def self.stamp210845(stamped_template_path, form) - desired_stamps = [[50, 240]] - signature_text = form.data['statement_of_truth_signature'] - page_configuration = [ - { type: :new_page }, - { type: :new_page }, - { type: :text, position: desired_stamps[0] } - ] - - verified_multistamp(stamped_template_path, signature_text, page_configuration) - end - - def self.stamp21p0847(stamped_template_path, form) - desired_stamps = [[50, 190]] - signature_text = form.data['statement_of_truth_signature'] - page_configuration = [ - { type: :new_page }, - { type: :text, position: desired_stamps[0] } - ] - - verified_multistamp(stamped_template_path, signature_text, page_configuration) - end - - def self.stamp210972(stamped_template_path, form) - desired_stamps = [[50, 465]] - signature_text = form.data['statement_of_truth_signature'] - page_configuration = [ - { type: :new_page }, - { type: :new_page }, - { type: :text, position: desired_stamps[0] } - ] - - verified_multistamp(stamped_template_path, signature_text, page_configuration) - end - - def self.stamp210966(stamped_template_path, form) - desired_stamps = [[50, 415]] - signature_text = form.data['statement_of_truth_signature'] - page_configuration = [ - { type: :new_page }, - { type: :text, position: desired_stamps[0] } - ] - - verified_multistamp(stamped_template_path, signature_text, page_configuration) - end - - def self.stamp2010207(stamped_template_path, form) - desired_stamps = if form.data['preparer_type'] == 'veteran' - [[50, 690]] - elsif form.data['third_party_type'] == 'power-of-attorney' - [[50, 445]] - elsif form.data['preparer_type'] == 'third-party-veteran' || - form.data['preparer_type'] == 'third-party-non-veteran' || - form.data['preparer_type'] == 'non-veteran' - [[50, 570]] - end - signature_text = form.data['statement_of_truth_signature'] - page_configuration = [ - { type: :new_page }, - { type: :new_page }, - { type: :new_page }, - { type: :new_page }, - { type: :text, position: desired_stamps[0] } - ] - - verified_multistamp(stamped_template_path, signature_text, page_configuration) - end - def self.stamp4010007_uuid(uuid) uuid = "UUID: #{uuid}" stamped_template_path = 'tmp/vba_40_10007-tmp.pdf' @@ -197,13 +75,22 @@ def self.multistamp(stamped_template_path, signature_text, page_configuration, f Common::FileHelpers.delete_file_if_exists(stamp_path) if defined?(stamp_path) end - def self.stamp(desired_stamps, stamped_template_path, append_to_stamp, text_only: true) + def self.stamp(desired_stamp, stamped_template_path, append_to_stamp: false, text_only: true) current_file_path = stamped_template_path - desired_stamps.each do |x, y, text| + coords = desired_stamp[:coords] + text = desired_stamp[:text] + page = desired_stamp[:page] + font_size = desired_stamp[:font_size] + x = coords[0] + y = coords[1] + if page + page_configuration = get_page_configuration(page, coords) + verified_multistamp(stamped_template_path, text, page_configuration, font_size) + else datestamp_instance = CentralMail::DatestampPdf.new(current_file_path, append_to_stamp:) current_file_path = datestamp_instance.run(text:, x:, y:, text_only:, size: 9) + File.rename(current_file_path, stamped_template_path) end - File.rename(current_file_path, stamped_template_path) end def self.perform_multistamp(stamped_template_path, stamp_path) @@ -217,20 +104,9 @@ def self.perform_multistamp(stamped_template_path, stamp_path) raise end - def self.stamp_submission_date(stamped_template_path, config) - if config[:should_stamp_date?] - date_title_stamp_position = config[:title_coords] - date_text_stamp_position = config[:text_coords] - page_configuration = default_page_configuration - page_configuration[config[:page_number]] = { type: :text, position: date_title_stamp_position } - - verified_multistamp(stamped_template_path, SUBMISSION_DATE_TITLE, page_configuration, 12) - - page_configuration = default_page_configuration - page_configuration[config[:page_number]] = { type: :text, position: date_text_stamp_position } - - current_time = Time.current.in_time_zone('UTC').strftime('%H:%M %Z %D') - verified_multistamp(stamped_template_path, current_time, page_configuration, 12) + def self.stamp_submission_date(stamped_template_path, desired_stamps) + desired_stamps.each do |desired_stamp| + stamp(desired_stamp, stamped_template_path) end end @@ -252,13 +128,16 @@ def self.verified_multistamp(stamped_template_path, stamp_text, page_configurati verify(stamped_template_path) { multistamp(stamped_template_path, stamp_text, page_configuration, *) } end - def self.default_page_configuration + def self.get_page_configuration(page, position) [ { type: :new_page }, { type: :new_page }, { type: :new_page }, + { type: :new_page }, { type: :new_page } - ] + ].tap do |config| + config[page] = { type: :text, position: } + end end end end diff --git a/modules/simple_forms_api/spec/fixtures/form_json/vba_20_10207-non-veteran.json b/modules/simple_forms_api/spec/fixtures/form_json/vba_20_10207-non-veteran.json index 59d048e4b8c..8a1cb918faa 100644 --- a/modules/simple_forms_api/spec/fixtures/form_json/vba_20_10207-non-veteran.json +++ b/modules/simple_forms_api/spec/fixtures/form_json/vba_20_10207-non-veteran.json @@ -12,7 +12,7 @@ "va_file_number": "123456789" }, "living_situation": { - "NONE": true + "none": true }, "mailing_address_yes_no": true, "non_veteran_mailing_address": { @@ -37,13 +37,13 @@ }, "veteran_insurance_file_number": "987654321", "other_reasons": { - "FINANCIAL_HARDSHIP": true, - "ALS": true, - "TERMINAL_ILLNESS": true, - "VSI_SI": true, - "OVER_85": true, - "FORMER_POW": true, - "MEDAL_AWARD": true + "financial_hardship": true, + "als": true, + "terminal_illness": true, + "vsi_si": true, + "over_85": true, + "former_pow": true, + "medal_award": true }, "pow_confinement_start_date": "2013-01-01", "pow_confinement_end_date": "2013-01-02", diff --git a/modules/simple_forms_api/spec/fixtures/form_json/vba_20_10207-veteran.json b/modules/simple_forms_api/spec/fixtures/form_json/vba_20_10207-veteran.json index 2f22efb67a4..dde9552118f 100644 --- a/modules/simple_forms_api/spec/fixtures/form_json/vba_20_10207-veteran.json +++ b/modules/simple_forms_api/spec/fixtures/form_json/vba_20_10207-veteran.json @@ -10,8 +10,9 @@ "ssn": "321540987" }, "living_situation": { - "OVERNIGHT": true, - "LOSING_HOME": true + "overnight": true, + "losing_home": true, + "other_risk": true }, "other_housing_risks": "Other housing risks", "mailing_address_yes_no": true, @@ -23,14 +24,15 @@ "postal_code": "12345" }, "veteran_phone": "1234567890", + "veteran_email_address": "email@vet.com", "other_reasons": { - "FINANCIAL_HARDSHIP": true, - "ALS": true, - "TERMINAL_ILLNESS": true, - "VSI_SI": true, - "FORMER_POW": true, - "MEDAL_AWARD": true, - "OVER_85": true + "financial_hardship": true, + "als": true, + "terminal_illness": true, + "vsi_si": true, + "former_pow": true, + "medal_award": true, + "over_85": true }, "pow_confinement_start_date": "2018-01-01", "pow_confinement_end_date": "2018-02-03", diff --git a/modules/simple_forms_api/spec/models/vba_20_10207_spec.rb b/modules/simple_forms_api/spec/models/vba_20_10207_spec.rb index 66f60b88e33..02e96f258a1 100644 --- a/modules/simple_forms_api/spec/models/vba_20_10207_spec.rb +++ b/modules/simple_forms_api/spec/models/vba_20_10207_spec.rb @@ -51,7 +51,7 @@ statement_of_truth_signature = 'John Veteran' [ { preparer_type: 'veteran', third_party_type: nil, expected: statement_of_truth_signature }, - { preparer_type: 'non-veteran', third_party_type: nil, expected: nil }, + { preparer_type: 'non-veteran', third_party_type: nil, expected: statement_of_truth_signature }, { preparer_type: 'third-party-non-veteran', third_party_type: 'representative', expected: nil }, { preparer_type: 'third-party-veteran', third_party_type: 'representative', expected: nil }, { preparer_type: 'third-party-non-veteran', third_party_type: 'power-of-attorney', expected: nil } @@ -78,12 +78,13 @@ statement_of_truth_signature = 'John Veteran' [ { preparer_type: 'veteran', third_party_type: nil, expected: nil }, - { preparer_type: 'non-veteran', third_party_type: nil, expected: statement_of_truth_signature }, + { preparer_type: 'non-veteran', third_party_type: nil, expected: nil }, { preparer_type: 'third-party-non-veteran', third_party_type: 'representative', expected: statement_of_truth_signature }, { preparer_type: 'third-party-veteran', third_party_type: 'representative', expected: statement_of_truth_signature }, - { preparer_type: 'third-party-non-veteran', third_party_type: 'power-of-attorney', expected: nil } + { preparer_type: 'third-party-non-veteran', third_party_type: 'power-of-attorney', + expected: statement_of_truth_signature } ].each do |data| preparer_type = data[:preparer_type] third_party_type = data[:third_party_type] diff --git a/modules/simple_forms_api/spec/requests/v1/uploads_spec.rb b/modules/simple_forms_api/spec/requests/v1/uploads_spec.rb index e5e0ebca706..5c70fcf9c1b 100644 --- a/modules/simple_forms_api/spec/requests/v1/uploads_spec.rb +++ b/modules/simple_forms_api/spec/requests/v1/uploads_spec.rb @@ -2,6 +2,7 @@ require 'rails_helper' require 'simple_forms_api_submission/metadata_validator' +require 'common/file_helpers' RSpec.describe 'Forms uploader', type: :request do non_ivc_forms = [ @@ -30,94 +31,105 @@ ] describe '#submit' do - non_ivc_forms.each do |form| - fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', form) - data = JSON.parse(fixture_path.read) + context 'going to Lighthouse Benefits Intake API' do + let(:metadata_file) { "#{file_seed}.SimpleFormsApi.metadata.json" } + let(:file_seed) { 'tmp/some-unique-simple-forms-file-seed' } - it 'makes the request' do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') do - allow(SimpleFormsApiSubmission::MetadataValidator).to receive(:validate) + before do + VCR.insert_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') + VCR.insert_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') + allow(Common::FileHelpers).to receive(:random_file_path).and_return(file_seed) + end - post '/simple_forms_api/v1/simple_forms', params: data + after do + VCR.eject_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') + VCR.eject_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') + Common::FileHelpers.delete_file_if_exists(metadata_file) + end - expect(SimpleFormsApiSubmission::MetadataValidator).to have_received(:validate) - expect(response).to have_http_status(:ok) - ensure - metadata_file = Dir['tmp/*.SimpleFormsApi.metadata.json'][0] - Common::FileHelpers.delete_file_if_exists(metadata_file) if defined?(metadata_file) - end + non_ivc_forms.each do |form| + fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', form) + data = JSON.parse(fixture_path.read) + + it 'makes the request' do + allow(SimpleFormsApiSubmission::MetadataValidator).to receive(:validate) + + post '/simple_forms_api/v1/simple_forms', params: data + + expect(SimpleFormsApiSubmission::MetadataValidator).to have_received(:validate) + expect(response).to have_http_status(:ok) + end + + it 'saves a FormSubmissionAttempt' do + allow(SimpleFormsApiSubmission::MetadataValidator).to receive(:validate) + + expect do + post '/simple_forms_api/v1/simple_forms', params: data + end.to change(FormSubmissionAttempt, :count).by(1) end end - it 'saves a FormSubmissionAttempt' do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') do + authenticated_non_ivc_forms.each do |form| + fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', form) + data = JSON.parse(fixture_path.read) + + context 'authenticated user' do + before do + user = create(:user) + sign_in_as(user) + create(:in_progress_form, user_uuid: user.uuid, form_id: data['form_number']) + end + + it 'clears the InProgressForm' do allow(SimpleFormsApiSubmission::MetadataValidator).to receive(:validate) expect do post '/simple_forms_api/v1/simple_forms', params: data - end.to change(FormSubmissionAttempt, :count).by(1) - ensure - metadata_file = Dir['tmp/*.SimpleFormsApi.metadata.json'][0] - Common::FileHelpers.delete_file_if_exists(metadata_file) if defined?(metadata_file) + end.to change(InProgressForm, :count).by(-1) end end end - end - authenticated_non_ivc_forms.each do |form| - fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', form) - data = JSON.parse(fixture_path.read) + context 'request with intent to file' do + context 'authenticated' do + before do + sign_in + allow_any_instance_of(User).to receive(:icn).and_return('123498767V234859') + allow_any_instance_of(Auth::ClientCredentials::Service).to receive(:get_token).and_return('fake_token') + end - context 'authenticated user' do - before do - user = create(:user) - sign_in_as(user) - create(:in_progress_form, user_uuid: user.uuid, form_id: data['form_number']) - end + context 'third party' do + let(:expiration_date) { Time.zone.now } + + before do + allow_any_instance_of(ActiveSupport::TimeZone).to receive(:now).and_return(expiration_date) + end - it 'clears the InProgressForm' do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') do - allow(SimpleFormsApiSubmission::MetadataValidator).to receive(:validate) + %w[THIRD_PARTY_VETERAN THIRD_PARTY_SURVIVING_DEPENDENT].each do |identification| + it 'returns an expiration date' do + fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', + 'vba_21_0966.json') + data = JSON.parse(fixture_path.read) + data['preparer_identification'] = identification - expect do post '/simple_forms_api/v1/simple_forms', params: data - end.to change(InProgressForm, :count).by(-1) - ensure - metadata_file = Dir['tmp/*.SimpleFormsApi.metadata.json'][0] - Common::FileHelpers.delete_file_if_exists(metadata_file) if defined?(metadata_file) + + parsed_response_body = JSON.parse(response.body) + parsed_expiration_date = Time.zone.parse(parsed_response_body['expiration_date']) + expect(parsed_expiration_date.to_s).to eq (expiration_date + 1.year).to_s + end end end end - end - end - - ivc_forms.each do |form| - fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', form) - data = JSON.parse(fixture_path.read) - it 'uploads a PDF file to S3' do - allow(SimpleFormsApiSubmission::MetadataValidator).to receive(:validate) - allow_any_instance_of(Aws::S3::Client).to receive(:put_object).and_return(true) - - post '/simple_forms_api/v1/simple_forms', params: data - - expect(response).to have_http_status(:ok) - end - end - - describe 'request with intent to file unauthenticated' do - let(:expiration_date) { Time.zone.now } + context 'unauthenticated' do + let(:expiration_date) { Time.zone.now } - before do - allow_any_instance_of(ActiveSupport::TimeZone).to receive(:now).and_return(expiration_date) - end + before do + allow_any_instance_of(ActiveSupport::TimeZone).to receive(:now).and_return(expiration_date) + end - it 'returns an expiration date' do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') do + it 'returns an expiration date' do fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', 'vba_21_0966.json') data = JSON.parse(fixture_path.read) @@ -130,123 +142,133 @@ end end end - end - describe 'authenticated' do - before do - sign_in - allow_any_instance_of(User).to receive(:icn).and_return('123498767V234859') - allow_any_instance_of(Auth::ClientCredentials::Service).to receive(:get_token).and_return('fake_token') - allow(Common::VirusScan).to receive(:scan).and_return(true) - allow_any_instance_of(Common::VirusScan).to receive(:scan).and_return(true) - end - - describe 'request with intent to file' do - describe 'veteran' do - it 'makes the request with an intent to file' do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/404_response') do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/200_response_pension') do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/200_response_survivor') do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/create_compensation_200_response') do - fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', - 'vba_21_0966-min.json') - data = JSON.parse(fixture_path.read) - data['preparer_identification'] = 'VETERAN' - - post '/simple_forms_api/v1/simple_forms', params: data - - expect(response).to have_http_status(:ok) - end - end - end - end - end + context 'request with attached documents' do + it 'appends the attachments to the 40-0247 PDF' do + fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', + 'vba_40_0247_with_supporting_document.json') + pdf_path = Rails.root.join('spec', 'fixtures', 'files', 'doctors-note.pdf') + data = JSON.parse(fixture_path.read) + attachment = double + allow(attachment).to receive(:to_pdf).and_return(pdf_path) + + expect(PersistentAttachment).to receive(:where).with(guid: ['a-random-uuid']).and_return([attachment]) + + post '/simple_forms_api/v1/simple_forms', params: data + + expect(response).to have_http_status(:ok) end - describe 'third party' do - let(:expiration_date) { Time.zone.now } + it 'appends the attachments to the 40-10007 PDF' do + fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', + 'vba_40_10007_with_supporting_document.json') + pdf_path = Rails.root.join('spec', 'fixtures', 'files', 'doctors-note.pdf') + data = JSON.parse(fixture_path.read) + attachment = double + allow(attachment).to receive(:to_pdf).and_return(pdf_path) + expect(PersistentAttachment).to receive(:where).with(guid: ['a-random-uuid']).and_return([attachment]) + post '/simple_forms_api/v1/simple_forms', params: data + expect(response).to have_http_status(:ok) + end + end - before do - allow_any_instance_of(ActiveSupport::TimeZone).to receive(:now).and_return(expiration_date) - end + context 'LOA3 authenticated' do + before do + sign_in + allow_any_instance_of(User).to receive(:icn).and_return('123498767V234859') + allow_any_instance_of(Auth::ClientCredentials::Service).to receive(:get_token).and_return('fake_token') + end - %w[THIRD_PARTY_VETERAN THIRD_PARTY_SURVIVING_DEPENDENT].each do |identification| - it 'returns an expiration date' do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') do - fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', - 'vba_21_0966.json') - data = JSON.parse(fixture_path.read) - data['preparer_identification'] = identification - - post '/simple_forms_api/v1/simple_forms', params: data - - parsed_response_body = JSON.parse(response.body) - parsed_expiration_date = Time.zone.parse(parsed_response_body['expiration_date']) - expect(parsed_expiration_date.to_s).to eq (expiration_date + 1.year).to_s - end - end - end - end + it 'stamps the LOA3 text on the PDF' do + fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', + 'vba_21_4142.json') + data = JSON.parse(fixture_path.read) + + allow(SimpleFormsApiSubmission::MetadataValidator).to receive(:validate) + expect_any_instance_of(SimpleFormsApi::PdfFiller).to receive(:generate).with(3) + + post '/simple_forms_api/v1/simple_forms', params: data end end - it 'stamps the LOA3 text on the PDF' do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') do + context 'transliterating fields' do + context 'transliteration succeeds' do + it 'responds with ok' do fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', - 'vba_21_4142.json') + 'form_with_accented_chars_21_0966.json') data = JSON.parse(fixture_path.read) - allow(SimpleFormsApiSubmission::MetadataValidator).to receive(:validate) - expect_any_instance_of(SimpleFormsApi::PdfFiller).to receive(:generate).with(3) post '/simple_forms_api/v1/simple_forms', params: data - ensure - metadata_file = Dir['tmp/*.SimpleFormsApi.metadata.json'][0] - Common::FileHelpers.delete_file_if_exists(metadata_file) if defined?(metadata_file) + + expect(response).to have_http_status(:ok) end end - end - end - describe 'request with attached documents' do - it 'appends the attachments to the 40-0247 PDF' do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') do + context 'transliteration fails' do + it 'responds with an error' do fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', - 'vba_40_0247_with_supporting_document.json') - pdf_path = Rails.root.join('spec', 'fixtures', 'files', 'doctors-note.pdf') + 'form_with_non_latin_chars_21_0966.json') data = JSON.parse(fixture_path.read) - attachment = double - allow(attachment).to receive(:to_pdf).and_return(pdf_path) - - expect(PersistentAttachment).to receive(:where).with(guid: ['a-random-uuid']).and_return([attachment]) post '/simple_forms_api/v1/simple_forms', params: data - expect(response).to have_http_status(:ok) - ensure - metadata_file = Dir['tmp/*.SimpleFormsApi.metadata.json'][0] - Common::FileHelpers.delete_file_if_exists(metadata_file) if defined?(metadata_file) + expect(response).to have_http_status(:error) + expect(response.body).to include('not compatible with the Windows-1252 character set') end end end + end - it 'appends the attachments to the 40-10007 PDF' do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') do - fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', - 'vba_40_10007_with_supporting_document.json') - pdf_path = Rails.root.join('spec', 'fixtures', 'files', 'doctors-note.pdf') - data = JSON.parse(fixture_path.read) - attachment = double - allow(attachment).to receive(:to_pdf).and_return(pdf_path) - expect(PersistentAttachment).to receive(:where).with(guid: ['a-random-uuid']).and_return([attachment]) - post '/simple_forms_api/v1/simple_forms', params: data - expect(response).to have_http_status(:ok) - ensure - metadata_file = Dir['tmp/*.SimpleFormsApi.metadata.json'][0] - Common::FileHelpers.delete_file_if_exists(metadata_file) if defined?(metadata_file) + context 'going to S3' do + ivc_forms.each do |form| + fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', form) + data = JSON.parse(fixture_path.read) + + it 'uploads a PDF file to S3' do + allow(SimpleFormsApiSubmission::MetadataValidator).to receive(:validate) + allow_any_instance_of(Aws::S3::Client).to receive(:put_object).and_return(true) + + post '/simple_forms_api/v1/simple_forms', params: data + + expect(response).to have_http_status(:ok) + end + end + end + + context 'going to Lighthouse Benefits Claims API' do + before do + VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/404_response') + VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/200_response_pension') + VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/200_response_survivor') + VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/create_compensation_200_response') + end + + after do + VCR.eject_cassette('lighthouse/benefits_claims/intent_to_file/404_response') + VCR.eject_cassette('lighthouse/benefits_claims/intent_to_file/200_response_pension') + VCR.eject_cassette('lighthouse/benefits_claims/intent_to_file/200_response_survivor') + VCR.eject_cassette('lighthouse/benefits_claims/intent_to_file/create_compensation_200_response') + end + + context 'authenticated' do + before do + sign_in + allow_any_instance_of(User).to receive(:icn).and_return('123498767V234859') + allow_any_instance_of(Auth::ClientCredentials::Service).to receive(:get_token).and_return('fake_token') + end + + context 'request with intent to file' do + context 'veteran' do + it 'makes the request with an intent to file' do + fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', + 'vba_21_0966-min.json') + data = JSON.parse(fixture_path.read) + data['preparer_identification'] = 'VETERAN' + + post '/simple_forms_api/v1/simple_forms', params: data + + expect(response).to have_http_status(:ok) + end end end end @@ -380,37 +402,6 @@ end end end - - describe 'transliterating fields' do - context 'transliteration succeeds' do - it 'responds with ok' do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') do - VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') do - fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', - 'form_with_accented_chars_21_0966.json') - data = JSON.parse(fixture_path.read) - - post '/simple_forms_api/v1/simple_forms', params: data - - expect(response).to have_http_status(:ok) - end - end - end - end - - context 'transliteration fails' do - it 'responds with an error' do - fixture_path = Rails.root.join('modules', 'simple_forms_api', 'spec', 'fixtures', 'form_json', - 'form_with_non_latin_chars_21_0966.json') - data = JSON.parse(fixture_path.read) - - post '/simple_forms_api/v1/simple_forms', params: data - - expect(response).to have_http_status(:error) - expect(response.body).to include('not compatible with the Windows-1252 character set') - end - end - end end describe '#submit_supporting_documents' do @@ -441,80 +432,91 @@ describe '#get_intents_to_file' do before do + VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/404_response') + VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/404_response_pension') + VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/404_response_survivor') sign_in allow_any_instance_of(User).to receive(:icn).and_return('123498767V234859') allow_any_instance_of(Auth::ClientCredentials::Service).to receive(:get_token).and_return('fake_token') end + after do + VCR.eject_cassette('lighthouse/benefits_claims/intent_to_file/404_response') + VCR.eject_cassette('lighthouse/benefits_claims/intent_to_file/404_response_pension') + VCR.eject_cassette('lighthouse/benefits_claims/intent_to_file/404_response_survivor') + end + describe 'no intents on file' do it 'returns no intents' do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/404_response') do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/404_response_pension') do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/404_response_survivor') do - get '/simple_forms_api/v1/simple_forms/get_intents_to_file' - - parsed_response = JSON.parse(response.body) - expect(parsed_response['compensation_intent']).to eq nil - expect(parsed_response['pension_intent']).to eq nil - expect(parsed_response['survivor_intent']).to eq nil - expect(response).to have_http_status(:ok) - end - end - end + get '/simple_forms_api/v1/simple_forms/get_intents_to_file' + + parsed_response = JSON.parse(response.body) + expect(parsed_response['compensation_intent']).to eq nil + expect(parsed_response['pension_intent']).to eq nil + expect(parsed_response['survivor_intent']).to eq nil + expect(response).to have_http_status(:ok) end end describe 'compensation intent on file' do + before do + VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/200_response') + end + + after do + VCR.eject_cassette('lighthouse/benefits_claims/intent_to_file/200_response') + end + it 'returns a compensation intent' do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/200_response') do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/404_response_pension') do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/404_response_survivor') do - get '/simple_forms_api/v1/simple_forms/get_intents_to_file' - - parsed_response = JSON.parse(response.body) - expect(parsed_response['compensation_intent']['type']).to eq 'compensation' - expect(parsed_response['pension_intent']).to eq nil - expect(parsed_response['survivor_intent']).to eq nil - expect(response).to have_http_status(:ok) - end - end - end + get '/simple_forms_api/v1/simple_forms/get_intents_to_file' + + parsed_response = JSON.parse(response.body) + expect(parsed_response['compensation_intent']['type']).to eq 'compensation' + expect(parsed_response['pension_intent']).to eq nil + expect(parsed_response['survivor_intent']).to eq nil + expect(response).to have_http_status(:ok) end end describe 'pension intent on file' do + before do + VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/200_response_pension') + end + + after do + VCR.eject_cassette('lighthouse/benefits_claims/intent_to_file/200_response_pension') + end + it 'returns a pension intent' do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/404_response') do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/200_response_pension') do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/404_response_survivor') do - get '/simple_forms_api/v1/simple_forms/get_intents_to_file' - - parsed_response = JSON.parse(response.body) - expect(parsed_response['compensation_intent']).to eq nil - expect(parsed_response['pension_intent']['type']).to eq 'pension' - expect(parsed_response['survivor_intent']).to eq nil - expect(response).to have_http_status(:ok) - end - end - end + get '/simple_forms_api/v1/simple_forms/get_intents_to_file' + + parsed_response = JSON.parse(response.body) + expect(parsed_response['compensation_intent']).to eq nil + expect(parsed_response['pension_intent']['type']).to eq 'pension' + expect(parsed_response['survivor_intent']).to eq nil + expect(response).to have_http_status(:ok) end end describe 'both intents on file' do + before do + VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/200_response') + VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/200_response_pension') + end + + after do + VCR.eject_cassette('lighthouse/benefits_claims/intent_to_file/200_response') + VCR.eject_cassette('lighthouse/benefits_claims/intent_to_file/200_response_pension') + end + it 'returns a pension intent' do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/200_response') do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/200_response_pension') do - VCR.use_cassette('lighthouse/benefits_claims/intent_to_file/404_response_survivor') do - get '/simple_forms_api/v1/simple_forms/get_intents_to_file' - - parsed_response = JSON.parse(response.body) - expect(parsed_response['compensation_intent']['type']).to eq 'compensation' - expect(parsed_response['pension_intent']['type']).to eq 'pension' - expect(parsed_response['survivor_intent']).to eq nil - expect(response).to have_http_status(:ok) - end - end - end + get '/simple_forms_api/v1/simple_forms/get_intents_to_file' + + parsed_response = JSON.parse(response.body) + expect(parsed_response['compensation_intent']['type']).to eq 'compensation' + expect(parsed_response['pension_intent']['type']).to eq 'pension' + expect(parsed_response['survivor_intent']).to eq nil + expect(response).to have_http_status(:ok) end end end diff --git a/modules/simple_forms_api/spec/services/pdf_stamper_spec.rb b/modules/simple_forms_api/spec/services/pdf_stamper_spec.rb index 09927ed66fb..aa90b4ff640 100644 --- a/modules/simple_forms_api/spec/services/pdf_stamper_spec.rb +++ b/modules/simple_forms_api/spec/services/pdf_stamper_spec.rb @@ -8,78 +8,52 @@ let(:form) { "SimpleFormsApi::#{test_payload.titleize.gsub(' ', '')}".constantize.new(data) } let(:path) { 'tmp/stuff.json' } - describe 'form-specific stamp methods' do - subject(:stamp) { described_class.send(stamp_method, generated_form_path, form) } + describe '.stamp_signature' do + subject(:stamp_signature) { described_class.stamp_signature(path, form) } before do - allow(Common::FileHelpers).to receive(:random_file_path).and_return('fake/stamp_path') - allow(Common::FileHelpers).to receive(:delete_file_if_exists) - end - - %w[21-4142 21-10210 21p-0847].each do |form_number| - context "when generating a stamped file for form #{form_number}" do - let(:stamp_method) { "stamp#{form_number.gsub('-', '')}" } - let(:test_payload) { "vba_#{form_number.gsub('-', '_')}" } - let(:generated_form_path) { 'fake/generated_form_path' } - - it 'raises an error' do - expect { stamp }.to raise_error(StandardError, /An error occurred while verifying stamp/) - end - end - end - end - - describe '.stamp107959f1' do - subject(:stamp107959f1) { described_class.stamp107959f1(path, form) } - - before do - allow(described_class).to receive(:stamp).and_return(true) allow(File).to receive(:size).and_return(1, 2) end context 'when statement_of_truth_signature is provided' do - before { stamp107959f1 } + before do + allow(described_class).to receive(:stamp).and_return(true) + stamp_signature + end let(:test_payload) { 'vha_10_7959f_1' } - let(:signature) { form.data['statement_of_truth_signature'] } - let(:stamps) { [[26, 82.5, signature]] } + let(:desired_stamp) do + { + coords: [26, 82.5], + text: form.data['statement_of_truth_signature'], + page: 0 + } + end it 'calls stamp with correct desired_stamp' do - expect(described_class).to have_received(:stamp).with(stamps, path, false) + expect(described_class).to have_received(:stamp).with(desired_stamp, path) end end - end - - describe '.stamp264555' do - subject(:stamp264555) { described_class.stamp264555(path, form) } - before do - allow(described_class).to receive(:stamp).and_return(true) - allow(File).to receive(:size).and_return(1, 2) - end - - context 'when it is called with legitimate parameters' do - before { stamp264555 } + context 'when no stamps are needed' do + before do + allow(described_class).to receive(:stamp).and_return(true) + stamp_signature + end let(:test_payload) { 'vba_26_4555' } let(:stamps) { [] } - it 'calls stamp correctly' do - expect(described_class).to have_received(:stamp).with(stamps, path, false) + it 'does not call :stamp' do + expect(described_class).not_to have_received(:stamp) end end - end - - describe '.stamp210845' do - subject(:stamp210845) { described_class.stamp210845(path, form) } - - before do - allow(described_class).to receive(:multistamp).and_return(true) - allow(File).to receive(:size).and_return(1, 2) - end context 'when it is called with legitimate parameters' do - before { stamp210845 } + before do + allow(described_class).to receive(:multistamp).and_return(true) + stamp_signature + end let(:test_payload) { 'vba_21_0845' } let(:signature) { form.data['statement_of_truth_signature'] } @@ -87,12 +61,14 @@ [ { type: :new_page }, { type: :new_page }, - { type: :text, position: [50, 240] } + { type: :text, position: [50, 240] }, + { type: :new_page }, + { type: :new_page } ] end it 'calls multistamp correctly' do - expect(described_class).to have_received(:multistamp).with(path, signature, page_config) + expect(described_class).to have_received(:multistamp).with(path, signature, page_config, nil) end end end diff --git a/modules/travel_pay/app/controllers/travel_pay/application_controller.rb b/modules/travel_pay/app/controllers/travel_pay/application_controller.rb index 7e522c1a4a1..ae4696eb0a0 100644 --- a/modules/travel_pay/app/controllers/travel_pay/application_controller.rb +++ b/modules/travel_pay/app/controllers/travel_pay/application_controller.rb @@ -38,6 +38,16 @@ def after_logger logger.info('travel-pay') { Utils::Logger.build(self).after } end + def authorize + auth_header = request.headers['Authorization'] + raise_unauthorized('Missing Authorization header') if auth_header.nil? + raise_unauthorized('Authorization header missing Bearer token') unless auth_header.start_with?('Bearer ') + end + + def raise_unauthorized(detail) + raise Common::Exceptions::Unauthorized.new(detail:) + end + # Blocks requests from being handled if feature flag is disabled def block_if_flag_disabled unless Flipper.enabled?(:travel_pay_power_switch, @current_user) diff --git a/modules/travel_pay/app/controllers/travel_pay/claims_controller.rb b/modules/travel_pay/app/controllers/travel_pay/claims_controller.rb index 413d9ea4a68..59cce20d36d 100644 --- a/modules/travel_pay/app/controllers/travel_pay/claims_controller.rb +++ b/modules/travel_pay/app/controllers/travel_pay/claims_controller.rb @@ -2,12 +2,13 @@ module TravelPay class ClaimsController < ApplicationController + before_action :authorize + def index veis_token = client.request_veis_token - # Non-intuitive Ruby behavior: #split splits a string on space by default - vagov_token = request.headers['Authorization'].split[1] - btsss_token = client.request_btsss_token(veis_token, vagov_token) + sts_token = client.request_sts_token(@current_user) + btsss_token = client.request_btsss_token(veis_token, sts_token) begin claims = client.get_claims(veis_token, btsss_token) diff --git a/modules/travel_pay/app/controllers/travel_pay/pings_controller.rb b/modules/travel_pay/app/controllers/travel_pay/pings_controller.rb index 8529b72d842..6f8964a7fd2 100644 --- a/modules/travel_pay/app/controllers/travel_pay/pings_controller.rb +++ b/modules/travel_pay/app/controllers/travel_pay/pings_controller.rb @@ -2,6 +2,8 @@ module TravelPay class PingsController < ApplicationController + before_action :authorize, only: [:authorized_ping] + def ping veis_token = client.request_veis_token @@ -11,9 +13,9 @@ def ping end def authorized_ping - vagov_token = request.headers['Authorization'].split[1] + sts_token = client.request_sts_token(@current_user) veis_token = client.request_veis_token - btsss_token = client.request_btsss_token(veis_token, vagov_token) + btsss_token = client.request_btsss_token(veis_token, sts_token) btsss_authorized_ping_response = client.authorized_ping(veis_token, btsss_token) render json: { diff --git a/modules/travel_pay/app/services/travel_pay/client.rb b/modules/travel_pay/app/services/travel_pay/client.rb index 7cafe4a677f..24ef261c2c9 100644 --- a/modules/travel_pay/app/services/travel_pay/client.rb +++ b/modules/travel_pay/app/services/travel_pay/client.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require 'securerandom' + module TravelPay class Client ## @@ -24,7 +26,7 @@ def request_veis_token # # @return [Faraday::Response] # - def request_btsss_token(veis_token, vagov_token) + def request_btsss_token(veis_token, sts_token) btsss_url = Settings.travel_pay.base_url api_key = Settings.travel_pay.subscription_key client_number = Settings.travel_pay.client_number @@ -33,7 +35,7 @@ def request_btsss_token(veis_token, vagov_token) req.headers['Authorization'] = "Bearer #{veis_token}" req.headers['Ocp-Apim-Subscription-Key'] = api_key req.headers['BTSSS-API-Client-Number'] = client_number.to_s - req.body = { authJwt: vagov_token } + req.body = { authJwt: sts_token } end response.body['access_token'] end @@ -90,8 +92,59 @@ def get_claims(veis_token, btsss_token) symbolized_body[:data].sort_by(&parse_claim_date).reverse! end + def request_sts_token(user) + host_baseurl = build_host_baseurl({ ip_form: false }) + private_key_file = Settings.sign_in.sts_client.key_path + private_key = OpenSSL::PKey::RSA.new(File.read(private_key_file)) + + assertion = build_sts_assertion(user) + jwt = JWT.encode(assertion, private_key, 'RS256') + + # send to sis + response = connection(server_url: host_baseurl).post('/v0/sign_in/token') do |req| + req.params['grant_type'] = 'urn:ietf:params:oauth:grant-type:jwt-bearer' + req.params['assertion'] = jwt + end + + response.body['data']['access_token'] + end + private + def build_sts_assertion(user) + service_account_id = Settings.travel_pay.sts.service_account_id + host_baseurl = build_host_baseurl({ ip_form: false }) + audience_baseurl = build_host_baseurl({ ip_form: true }) + + current_time = Time.now.to_i + jti = SecureRandom.uuid + + { + 'iss' => host_baseurl, + 'sub' => user.email, + 'aud' => "#{audience_baseurl}/v0/sign_in/token", + 'iat' => current_time, + 'exp' => current_time + 300, + 'scopes' => [], + 'service_account_id' => service_account_id, + 'jti' => jti, + 'user_attributes' => { 'icn' => user.icn } + } + end + + def build_host_baseurl(config) + env = Settings.vsp_environment + host = Settings.hostname + + if env == 'localhost' + return 'http://127.0.0.1:3000' if config[:ip_form] + + 'http://localhost:3000' + end + + "https://#{host}" + end + def veis_params { client_id: Settings.travel_pay.veis.client_id, @@ -112,7 +165,7 @@ def connection(server_url:) Faraday.new(url: server_url) do |conn| conn.use :breakers conn.response :raise_error, error_prefix: service_name, include_request: true - conn.response :betamocks if use_fakes? + conn.response :betamocks if mock_enabled? conn.response :json conn.request :json @@ -123,8 +176,8 @@ def connection(server_url:) ## # Syntactic sugar for determining if the client should use # fake api responses or actually connect to the BTSSS API - def use_fakes? - Settings.useFakes + def mock_enabled? + Settings.travel_pay.mock end end end diff --git a/modules/travel_pay/spec/controllers/claims_controller_spec.rb b/modules/travel_pay/spec/controllers/claims_controller_spec.rb index 0762820acf5..16c2ca24639 100644 --- a/modules/travel_pay/spec/controllers/claims_controller_spec.rb +++ b/modules/travel_pay/spec/controllers/claims_controller_spec.rb @@ -12,9 +12,13 @@ .to receive(:request_veis_token) .and_return('veis_token') + allow_any_instance_of(TravelPay::Client) + .to receive(:request_sts_token) + .and_return('sts_token') + allow_any_instance_of(TravelPay::Client) .to receive(:request_btsss_token) - .with('veis_token', 'vagov_token') + .with('veis_token', 'sts_token') .and_return('btsss_token') allow_any_instance_of(TravelPay::Client) @@ -34,9 +38,13 @@ .to receive(:request_veis_token) .and_return('veis_token') + allow_any_instance_of(TravelPay::Client) + .to receive(:request_sts_token) + .and_return('sts_token') + allow_any_instance_of(TravelPay::Client) .to receive(:request_btsss_token) - .with('veis_token', 'vagov_token') + .with('veis_token', 'sts_token') .and_return('btsss_token') allow_any_instance_of(TravelPay::Client) diff --git a/modules/travel_pay/spec/controllers/pings_controller_spec.rb b/modules/travel_pay/spec/controllers/pings_controller_spec.rb index 750a96600bf..93c43f00240 100644 --- a/modules/travel_pay/spec/controllers/pings_controller_spec.rb +++ b/modules/travel_pay/spec/controllers/pings_controller_spec.rb @@ -48,6 +48,9 @@ before do btsss_authorized_ping_response = double allow(btsss_authorized_ping_response).to receive(:status).and_return(200) + allow(client) + .to receive(:request_sts_token) + .and_return('sample_sts_token') allow(client) .to receive(:request_btsss_token) .and_return('sample_btsss_token') diff --git a/modules/vba_documents/app/swagger/vba_documents/v1/controller_swagger.rb b/modules/vba_documents/app/swagger/vba_documents/v1/controller_swagger.rb index b83922f4e5f..045f4cab2bf 100644 --- a/modules/vba_documents/app/swagger/vba_documents/v1/controller_swagger.rb +++ b/modules/vba_documents/app/swagger/vba_documents/v1/controller_swagger.rb @@ -85,6 +85,9 @@ class ControllerSwagger extend VBADocuments::Responses::ForbiddenError key :summary, 'Get status for a previous benefits document upload' key :operationId, 'getBenefitsDocumentUploadStatus' + key :description, 'A request to the `/uploads/{id}` endpoint will return a real-time status for that GUID, ' \ + 'and update its status in `/uploads/report`.\n\n' \ + 'The `updated_at` field indicates the last time the status for a given GUID was updated.' key :tags, [ VBA_TAG @@ -173,6 +176,12 @@ class ControllerSwagger key :summary, 'Get a bulk status report for a list of previous uploads' key :operationId, 'getBenefitsDocumentUploadStatusReport' + key :description, 'Due to current system limitations, data for the `/uploads/report` endpoint is cached for one hour.' \ + '\n\n' \ + 'A request to the `/uploads/{id}` endpoint will return a real-time status for that GUID, ' \ + 'and update its status in `/uploads/report`.' \ + '\n\n' \ + 'The `updated_at` field indicates the last time the status for a given GUID was updated.' security do key :apikey, [] diff --git a/modules/vba_documents/app/swagger/vba_documents/v1/description.md b/modules/vba_documents/app/swagger/vba_documents/v1/description.md index 3ec795ed7a3..f0efc266428 100644 --- a/modules/vba_documents/app/swagger/vba_documents/v1/description.md +++ b/modules/vba_documents/app/swagger/vba_documents/v1/description.md @@ -1,4 +1,5 @@ -The Benefits Intake API allows authorized third-party systems used by Veteran Service Organizations (VSOs), agencies, and Veterans to digitally submit VA benefits claim documents directly to the Veterans Benefits Administration's (VBA) claims intake process. This API handles documents related to the following benefit claim types: +The Benefits Intake API enables authorized third-party systems, such as those used by Veteran Service Organizations (VSOs), agencies, and Veterans, to digitally submit documents for VA benefits claims directly to the claims intake process of the Veterans Benefits Administration (VBA). This API handles documents related to the following benefit claim types: + * Compensation * Pension/Survivors Benefits @@ -8,105 +9,109 @@ The Benefits Intake API allows authorized third-party systems used by Veteran Se * Veteran Readiness & Employment (VRE) * Board of Veteran Appeals (BVA) -This API also provides submission status updates until documents are successfully established for VBA claim processing, eliminating the need for users to switch between systems to manually check whether documents have been successfully uploaded. - -**Note**: This API may not be used for Veterans Health Administration (VHA) benefits, including 10-10EZ and 10-10d. +Additionally, the API offers real-time status updates on document submissions until they've been successfully accepted by VBA or another VA system for claims processing. -## Background -This API provides a secure, efficient, and tracked alternative to mail or fax for VA benefit claim document submissions. Documents are uploaded directly to the VBA so they can be processed as quickly as possible. +**Important**: This API **may not** be used for Veterans Health Administration (VHA) benefits forms, including the Instructions and Enrollment Application for Health Benefits form (10-10EZ) and the application for CHAMPVA benefits form (10-10d). ## Technical overview -The Benefits Intake API first provides an upload location and unique submission identifier, and then accepts a payload consisting of a document in PDF format, zero or more optional attachments in PDF format, and some JSON metadata. - -The metadata describes the document and attachments, and identifies the person for whom it is being submitted. This payload is encoded as binary multipart/form-data (not base64). The unique identifier supplied with the payload can subsequently be used to request the processing status of the uploaded document package. - -To avoid errors and processing delays, API consumers are encouraged to validate the `zipcode`,`fileNumber`, `veteranFirstName`, `veteranLastName` and `businessLine` fields before submission according to their description in the DocumentUploadMetadata model and use the 'businessLine' attribute for the most efficient processing. Additionally, please ensure no PDF user passwords are used in submitted PDFs. - -### Attachment & file size limits -There is no limit on the number of files a payload can contain, but size limits do apply. - -* Uploaded documents cannot be larger than 78" x 101" -* The entire payload cannot exceed 5 GB -* No single file in a payload can exceed 100 MB - -### Date of receipt -The date that documents are successfully submitted through the Benefits Intake API is used as the official VA date of receipt. However, note that until a document status of `received`, `processing`, `success`, or `vbms` is returned, a client cannot consider the document received by VA. - -A status of `received` means that the document package has been transmitted, but may not be validated. Any errors with the document package, such as unreadable PDFs or a Veteran not found, will cause the status to change to `error`. - -If the document status is `error`, VA has not received the submission and cannot honor the submission date as the date of receipt. +The Benefits Intake API first provides an upload location and unique submission identifier, and then accepts a payload consisting of a PDF document, other optional PDF attachments, and JSON metadata. The metadata describes the PDF attachments and identifies the Veteran who the benefits are related to. ### Authentication and Authorization -API requests are authorized through a symmetric API token, provided in an HTTP header with name 'apikey'. [Request an API key](https://developer.va.gov/explore/api/benefits-intake/sandbox-access). - -### Testing in the sandbox environment -In the sandbox environment, the final status of a submission is `received` and submissions do not actually progress to the central mail repository or VBMS. - -Progress beyond the `received` status can be simulated for testing. We allow passing in a `Status-Override` header on the `/uploads/{id}` endpoint so that you can change the status of your submission to simulate the various scenarios. - -The available statuses are `pending`, `uploaded`, `received`, `processing`, `success`, `vbms`, and `error`. The meaning of the various statuses is listed below in Models under DocumentUploadStatusAttributes. +API requests are authorized through a symmetric API token, provided in an HTTP header with name `apikey`. [Get access to sandbox](https://developer.va.gov/explore/api/benefits-intake/sandbox-access). ### Test data -We use mock test data in the sandbox environment. Data is not sent upstream and it is not necessary to align submitted test data with any other systems' data. +Since the primary purpose of this API is to accept user submissions, it doesn't have mock test data available. In the sandbox environment, data submitted to the API is not sent downstream. This API can return data that has been previously submitted by a consumer. -### Validating documents -Use the POST `/uploads/validate_document` endpoint to make sure your documents will pass system file requirements and -validations before you send them through the submissions process. This step is optional but decreases the likelihood -of individual document errors during the submission process. +### Document Submission Statuses -Validations performed: -* Document is a valid PDF (Note: `Content-Type` header value must be "application/pdf") -* Document does not have a user password (an owner password is acceptable) -* File size does not exceed 100 MB -* Page size does not exceed 78" x 101" +After a successful upload, a submission status can be tracked using the GET /uploads/{id} endpoint. If multiple uploads have been made, the POST /uploads/report endpoint can be used to track the status of multiple submissions. For more information, please see steps 5 and 6 in the **How to Upload** section of this documentation or check out the example curl and response sections for these endpoints. -### Upload operation -Allows a client to upload a multi-part document package (form + attachments + metadata). +Detailed descriptions of what each status means are found in this table. +| Status | What it means | +| --- | --- | +| **Pending** | - This is the initial status. Indicates no document submission has been uploaded yet.

- Date of Receipt is not yet established with this status. | +| **Uploaded** | - Indicates document submission has been successfully uploaded (PUT) to the API server.

- Submission has not yet been validated.

- Date of Receipt is not yet established with this status.

- Any errors with the document submission, such as having an unreadable PDF, may cause an Error status. | +| **Received** | - Indicates document submission has been received downstream of the API and is awaiting processing.

- The VA Date of Receipt is set when this status is achieved.

- Any errors with the document submission, such as having an unreadable PDF, may cause an Error status.

- This is the final status in the sandbox environment unless further progress is simulated by the user. | +| **Processing**| - Indicates the document package is being validated, processed, and made ready to route and work.

- Any errors with the document submission, such as having an unreadable PDF, may cause an Error status.| +| **Success** | - Indicates the document submission has been successfully received within VA's mail handling system.

- Success is the final status for a small percentage of submissions with claim types, Veteran types, or exception processes that are not worked in VBMS.

- Most submissions reach a Success status within 1 business day.

- A small portion will take longer. However, some submissions may take up to 2 weeks to reach a Success status.| +| **VBMS** | - Indicates the document submission was successfully uploaded into a Veteran's eFolder within VBMS.

- On average, submissions reach VBMS status within 3 business days. However, processing times vary and some submissions may remain in a Success status for several weeks before reaching a VBMS status.

- Some document packages are worked in VA systems other than VBMS. For these submissions, Success is the final status. | +| **Error** | - Indicates that there was an error. Refer to the error code and detail for further information. | +| **Expired** | - After a POST request, there is a 15-minute window during which documents must be uploaded via a PUT request.

- An Expired status means the documents were not successfully uploaded within this 15-minute window.

- We recommend coding to retry unsuccessful uploads within 15 minutes using the same submission in case of connection issues. | + +In the sandbox environment: +* The final status of a submission is `received` since submissions do not actually progress to the Central Mail repository or VBMS. +* Progress beyond the `received` status can be simulated for testing. A `Status-Override` header can be passed on the `/uploads/{id}` endpoint to change the status of a submission to simulate the various status scenarios. + +In the production environment: +* The date that the Benefits Intake API submits the documents downstream (indicated by the `received` status) is used as the official VA date of receipt. This is usually the same day as when the documents are submitted by users, but not always. +* If the document's final destination is VBMS, it can fall into an `error` state until the status of VBMS is returned. +* If the document's final destination is another VA system besides VBMS, it can fall into an `error` state until the status of `success` is returned. + + +### How to avoid submission errors +The Benefits Intake API returns three different categories of errors: +* HTTP errors relating to the client request. These errors will be immediate. +* Metadata and PDF validation errors run by the system before passing the submission downstream to subsequent services. These errors will be asynchronous but generally come within minutes of submission. +* Downstream errors returned by subsequent services, usually relating to the content of the PDFs or metadata. These errors will be asynchronous and can take minutes to hours or longer to receive. + +To prevent submission delays and errors: +* Ensure that submitted PDFs are not locked by user passwords and that they are within the file and page size limits before submitting your payload. +* Be sure to validate all metadata fields against their data requirements as defined in the DocumentUploadMetadata schema before submitting your payload. +* The businessLine field is optional, but when included, it will ensure the fastest possible processing. If not specified, businessLine will default to CMP, the business line for Compensation requests. +* The POST /uploads/validate_document endpoint can be used to ensure individual PDF documents meet system requirements prior to submission. + +For information on how to monitor the status of submissions, please see Steps 5 and 6 of the **How to Upload** section of this documentation. -1. Client Request: POST https://sandbox-api.va.gov/services/vba_documents/v1/ - * No request body or parameters required +### Attachment & file size limits +There is no limit on the number of files a payload can contain, but file size and page dimension limits do apply. +* Uploaded PDFs can't be larger than 78" x 101". +* Uploaded PDFs can't exceed 100 MB. +* The entire payload can't exceed 5 GB. +### How to Upload +The Upload operation lets a client upload a multi-part document submission, specifically PDFs and metadata. Uploading is detailed below. +1. Client Request: POST https://sandbox-api.va.gov/services/vba_documents/v1/ + * No request body or parameters required. 2. Service Response: A JSON API object with the following attributes: - * `guid`: An identifier used for subsequent status requests - * `location`: A URL to which the actual document package payload can be submitted in the next step. The URL is specific to this upload request, and should not be re-used for subsequent uploads. The URL is valid for 900 seconds (15 minutes) from the time of this response. If the location is not used within 15 minutes, the GUID will expire. Once expired, status checks on the GUID will return a status of `expired`. - * Note: If, after you've submitted a document, the status hasn't changed to `uploaded` before 15 minutes has elapsed, we recommend retrying the upload in order to make sure the document properly reaches our servers. If the upload continues to fail, try encoding the payload as Base64 (See below). - - 3. Client Request: PUT to the location URL returned in Step 2. - * Request body should be encoded as binary multipart/form-data (base64 also available - see details below), equivalent to that generated by an HTML form submission or using "curl -F…". The format is described in more detail below. - * No `apikey` authorization header is required for this request, as authorization is embedded in the signed location URL. - -4. Service Response: The HTTP status indicates whether the upload was successful. - * Additionally, the response includes an ETag header containing an MD5 hash of the submitted payload. This can be compared to the submitted payload to ensure data integrity of the upload. - -### Status caching -Due to current system limitations, data for the `/uploads/report` endpoint is cached for one hour. + * `guid`: An identifier used for subsequent status requests. + * `location`: A URL to which the actual document submission payload can be submitted in the next step. The URL is specific to this upload request, and should not be re-used for subsequent uploads. The URL is valid for 15 minutes (900 seconds) from the time of this response. If the location is not used within 15 minutes, the GUID will expire. Once expired, status checks on the GUID will return a status of `expired`. + * **Note**: If the status hasn't changed to uploaded within 15 minutes of submission, retry the POST request in step 1 to generate a new location URL. +3. Client Request: PUT to the location URL returned in step 2. + * The request body should use the binary multipart/form-data format . The body can optionally be encoded as Base64. + * No `apikey` authorization header is required for this request, as authorization is embedded in the signed location URL. +4. Service Response: The HTTP status indicates whether the upload was submitted. + * Additionally, the response includes an ETag header containing an MD5 hash of the submitted payload. This can be compared to the submitted payload to ensure data integrity of the upload. + * **Note**: A successful document submission **_does not_** mean it was successfully received by VA. Successful document submissions can fail later, as discussed above in the "How to avoid submission errors" section. +5. Client Request: GET https://sandbox-api.va.gov/services/vba_documents/v2/uploads/{id} + * `id`: An identifier (`guid`) returned in step 2 by the previous submission. +6. Service Response: A JSON API object with the following attributes: + * `guid`: The identifier of the submission for which a status was requested. + * `status`: The current status of the submission. See the previous "Document Submission Statuses" section for more information about the specific statuses. + * `code`: Only present if `status` is `error`. An error code specifying why the submission is in an error state. For a list of the error codes, see the schema for the GET /uploads/{id} 200 response. + * `detail`: Only present if `status` is `error`. Plain language detailing of the error corresponding to the error code and the specific submission. + * `updated_at`: The last time the submission status was updated. + + +If submissions to the API are made frequently, the bulk status endpoint should be used in place of the above Step 5 to request updates for multiple submissions: + +5. Client Request: POST https://sandbox-api.va.gov/services/vba_documents/v1/uploads/report + * `ids`: A list of identifiers ( guid) returned in step 2 by the previous submissions. +6. Service Response: A JSON API object with the following attributes for each `id`: + * `guid`: The identifier of the submission for which a status was requested. + * `status`: The current status of the submission. See the previous "Document Submission Statuses" section for more information about the specific statuses. + * `code`: Only present if `status` is `error`. An error code specifying why the submission is in an error state. For a list of the error codes, see the schema for the GET /uploads/{id} 200 response. + * `detail`: Only present if `status` is `error`. Plain language detailing of the error corresponding to the error code and the specific submission. + * `updated_at`: The last time the submission status was updated. + * Due to current system limitations, data for the /uploads/report endpoint is cached for one hour. The /uploads/{id} endpoint isn't cached. -A request to the `/uploads/{id}` endpoint will return a real-time status for that GUID, and update its status in `/uploads/report`. - -The `updated_at` field indicates the last time the status for a given GUID was updated. - -### Document Submission Statuses -**Important note:** a submission has not been received by VA until it has a status of Received, Processing, Success, -or VBMS. Detailed descriptions of what each status means are found in this table. - -| Status | What it means | -| --- | --- | -| **Pending** | Initial status.

Indicates no document package has been uploaded yet.

Date of Receipt is not yet established with this status | -| **Uploaded** | Indicates document package has been successfully uploaded (PUT) from your system to the API server but has not yet been validated.

Date of Receipt is not yet established with this status. Any errors with the document package, such as having an unreadable PDF, may cause an Error status. | -| **Received** | Indicates document package has been received upstream of the API and is awaiting Processing.

The VA Date of Receipt is set when this status is achieved.

This is the final status in the sandbox environment unless further progress is simulated. | -| **Processing**| Indicates the document package is being validated, processed, and made ready to route and work. | -| **Success** | Indicates the document package has been successfully received within VA's mail handling system.

Success is the final status for a small percentage of submitted packages with claim types, Veteran types, or exception processes that are not worked in VBMS. Most submissions reach a Success status within 1 business day. A small portion will take longer; however, some submissions may take up to 2 weeks to reach a Success status. | -| **VBMS** | Indicates this document package was successfully uploaded into a Veteran's eFolder within VBMS.

On average, submissions reach VBMS status within 3 business days; however, processing times vary and some submissions may remain in a Success status for several weeks before reaching a VBMS status.

Some document packages are worked in VA systems other than VBMS. For these submissions, Success is the final status. | -| **Error** | Indicates that there was an error. Refer to the error code and message for further information. | -| **Expired** | After a POST request, there is a 15-minute window during which documents must be uploaded via a PUT request.

An Expired status means the documents were not successfully uploaded within this 15-minute window. We recommend coding to retry unsuccessful uploads within 15 minutes using the same submission in case of connection issues. | ### Optional Base64 encoding +Base64 is an encoding scheme that converts binary data into text format, so that encoded textual data can be easily transported over networks uncorrupted and without data loss. -Base64 is an encoding scheme that converts binary data into text format, so that encoded textual data can be easily transported over networks uncorrupted and without data loss. - -Base64 can be used to encode binary multipart/form-data it in its entirety. Note that the whole payload must be encoded, not individual parts/attachments. +Base64 can be used to encode binary multipart/form-data in its entirety. Note that the whole payload must be encoded, not individual parts/attachments. -After encoding your payload, you'll be required to preface your base64 string with `data:multipart/form-data;base64,` in order to allow our system to distinguish the file type. Your final string payload would look something like `data:multipart/form-data;base64,(encryption string)==` and close with the standard == marker. Note that the multipart boundaries i.e. -----WebKitFormBoundaryVfOwzCyvug0JmWYo and ending ------WebKitFormBoundaryVfOwzCyvug0JmWYo- must also be included. +After encoding the payload, the base64 string must be prefaced with `data:multipart/form-data;base64` in order to allow the system to distinguish the file type. -### Consumer onboarding process -When you're ready to move to production, [request a production API key.](https://developer.va.gov/go-live) +The final string payload will look something like this: `data:multipart/form-data;base64,(encryption string)==`, and close with the standard == marker. Note that the multipart boundaries, that is,\ +-----WebKitFormBoundaryVfOwzCyvug0JmWYo and ending in\ +------WebKitFormBoundaryVfOwzCyvug0JmWYo- must also be included. \ No newline at end of file diff --git a/modules/vba_documents/app/swagger/vba_documents/v2/description.md b/modules/vba_documents/app/swagger/vba_documents/v2/description.md index 1ad9abafda2..8b5a5b290bc 100644 --- a/modules/vba_documents/app/swagger/vba_documents/v2/description.md +++ b/modules/vba_documents/app/swagger/vba_documents/v2/description.md @@ -1,4 +1,5 @@ -The Benefits Intake API allows authorized third-party systems used by Veteran Service Organizations (VSOs), agencies, and Veterans to digitally submit VA benefits claim documents directly to the Veterans Benefits Administration's (VBA) claims intake process. This API handles documents related to the following benefit claim types: +The Benefits Intake API enables authorized third-party systems, such as those used by Veteran Service Organizations (VSOs), agencies, and Veterans, to digitally submit documents for VA benefits claims directly to the claims intake process of the Veterans Benefits Administration (VBA). This API handles documents related to the following benefit claim types: + * Compensation * Pension/Survivors Benefits @@ -8,126 +9,111 @@ The Benefits Intake API allows authorized third-party systems used by Veteran Se * Veteran Readiness & Employment (VRE) * Board of Veteran Appeals (BVA) -This API also provides submission status updates until documents are successfully established for VBA claim processing, eliminating the need for users to switch between systems to manually check whether documents have been successfully uploaded. - -**Note**: This API may not be used for Veterans Health Administration (VHA) benefits, including 10-10EZ and 10-10d. +Additionally, the API offers real-time status updates on document submissions until they've been successfully accepted by VBA or another VA system for claims processing. -## Background -This API provides a secure, efficient, and tracked alternative to mail or fax for VA benefit claim document submissions. Documents are uploaded directly to the VBA so they can be processed as quickly as possible. +**Important**: This API **may not** be used for Veterans Health Administration (VHA) benefits forms, including the Instructions and Enrollment Application for Health Benefits form (10-10EZ) and the application for CHAMPVA benefits form (10-10d). ## Technical overview -The Benefits Intake API first provides an upload location and unique submission identifier, and then accepts a payload consisting of a document in PDF format, zero or more optional attachments in PDF format, and some JSON metadata. - -The metadata describes the document and attachments, and identifies the person for whom it is being submitted. This payload is encoded as binary multipart/form-data (not base64). The unique identifier supplied with the payload can subsequently be used to request the processing status of the uploaded document package. - -To avoid errors and processing delays, API consumers are encouraged to validate the `zipcode`,`fileNumber`, `veteranFirstName`, `veteranLastName` and `businessLine` fields before submission according to their description in the DocumentUploadMetadata model and use the 'businessLine' attribute for the most efficient processing. Additionally, please ensure no PDF user passwords are used in submitted PDFs. - -### Attachment & file size limits -There is no limit on the number of files a payload can contain, but size limits do apply. - -* Uploaded documents cannot be larger than 78" x 101" -* The entire payload cannot exceed 5 GB -* No single file in a payload can exceed 100 MB - -### Date of receipt -The date that documents are successfully submitted through the Benefits Intake API is used as the official VA date of receipt. However, note that until a document status of `received`, `processing`, `success`, or `vbms` is returned, a client cannot consider the document received by VA. - -A status of `received` means that the document package has been transmitted, but may not be validated. Any errors with the document package, such as unreadable PDFs or a Veteran not found, will cause the status to change to `error`. - -If the document status is `error`, VA has not received the submission and cannot honor the submission date as the date of receipt. +The Benefits Intake API first provides an upload location and unique submission identifier, and then accepts a payload consisting of a PDF document, other optional PDF attachments, and JSON metadata. The metadata describes the PDF attachments and identifies the Veteran who the benefits are related to. ### Authentication and Authorization -API requests are authorized through a symmetric API token, provided in an HTTP header with name 'apikey'. [Request an API key](https://developer.va.gov/explore/api/benefits-intake/sandbox-access). - -### Testing in the sandbox environment -In the sandbox environment, the final status of a submission is `received` and submissions do not actually progress to the central mail repository or VBMS. +API requests are authorized through a symmetric API token, provided in an HTTP header with name `apikey`. [Get access to sandbox](https://developer.va.gov/explore/api/benefits-intake/sandbox-access). -Progress beyond the `received` status can be simulated for testing. We allow passing in a `Status-Override` header on the `/uploads/{id}` endpoint so that you can change the status of your submission to simulate the various scenarios. +### Test data +Since the primary purpose of this API is to accept user submissions, it doesn't have mock test data available. In the sandbox environment, data submitted to the API is not sent downstream. This API can return data that has been previously submitted by a consumer. -The available statuses are `pending`, `uploaded`, `received`, `processing`, `success`, `vbms`, and `error`. The meaning of the various statuses is listed below in Models under DocumentUploadStatusAttributes. +### Document Submission Statuses -There are additional tools that can help developers explore how the API works. There is a "download" endpoint that can help developers see how the server consumes the data. This endpoint is only available in sandbox and more information can be seen [here](https://github.com/department-of-veterans-affairs/vets-api/blob/master/modules/vba_documents/app/swagger/vba_documents/v2/downloads.md). +After a successful upload, a submission status can be tracked using the GET /uploads/{id} endpoint. If multiple uploads have been made, the POST /uploads/report endpoint can be used to track the status of multiple submissions. For more information, please see steps 5 and 6 in the **How to Upload** section of this documentation or check out the example curl and response sections for these endpoints. -In addition, there are Postman collections and a ping method that are only available in sandbox. More information can be found [here](https://github.com/department-of-veterans-affairs/vets-api/blob/master/lib/webhooks/postman_webhooks/ping-pong). -### Test data -We use mock test data in the sandbox environment. Data is not sent upstream and it is not necessary to align submitted test data with any other systems' data. +Detailed descriptions of what each status means are found in this table. +| Status | What it means | +| --- | --- | +| **Pending** | - This is the initial status. Indicates no document submission has been uploaded yet.

- Date of Receipt is not yet established with this status. | +| **Uploaded** | - Indicates document submission has been successfully uploaded (PUT) to the API server.

- Submission has not yet been validated.

- Date of Receipt is not yet established with this status.

- Any errors with the document submission, such as having an unreadable PDF, may cause an Error status. | +| **Received** | - Indicates document submission has been received downstream of the API and is awaiting processing.

- The VA Date of Receipt is set when this status is achieved.

- Any errors with the document submission, such as having an unreadable PDF, may cause an Error status.

- This is the final status in the sandbox environment unless further progress is simulated by the user. | +| **Processing**| - Indicates the document package is being validated, processed, and made ready to route and work.

- Any errors with the document submission, such as having an unreadable PDF, may cause an Error status.| +| **Success** | - Indicates the document submission has been successfully received within VA's mail handling system.

- Success is the final status for a small percentage of submissions with claim types, Veteran types, or exception processes that are not worked in VBMS.

- Most submissions reach a Success status within 1 business day.

- A small portion will take longer. However, some submissions may take up to 2 weeks to reach a Success status.| +| **VBMS** | - Indicates the document submission was successfully uploaded into a Veteran's eFolder within VBMS.

- On average, submissions reach VBMS status within 3 business days. However, processing times vary and some submissions may remain in a Success status for several weeks before reaching a VBMS status.

- Some document packages are worked in VA systems other than VBMS. For these submissions, Success is the final status. | +| **Error** | - Indicates that there was an error. Refer to the error code and detail for further information. | +| **Expired** | - After a POST request, there is a 15-minute window during which documents must be uploaded via a PUT request.

- An Expired status means the documents were not successfully uploaded within this 15-minute window.

- We recommend coding to retry unsuccessful uploads within 15 minutes using the same submission in case of connection issues. | + +In the sandbox environment: +* The final status of a submission is `received` since submissions do not actually progress to the Central Mail repository or VBMS. +* Progress beyond the `received` status can be simulated for testing. A `Status-Override` header can be passed on the `/uploads/{id}` endpoint to change the status of a submission to simulate the various status scenarios. + +In the production environment: +* The date that the Benefits Intake API submits the documents downstream (indicated by the `received` status) is used as the official VA date of receipt. This is usually the same day as when the documents are submitted by users, but not always. +* If the document's final destination is VBMS, it can fall into an `error` state until the status of VBMS is returned. +* If the document's final destination is another VA system besides VBMS, it can fall into an `error` state until the status of `success` is returned. + + +### How to avoid submission errors +The Benefits Intake API returns three different categories of errors: +* HTTP errors relating to the client request. These errors will be immediate. +* Metadata and PDF validation errors run by the system before passing the submission downstream to subsequent services. These errors will be asynchronous but generally come within minutes of submission. +* Downstream errors returned by subsequent services, usually relating to the content of the PDFs or metadata. These errors will be asynchronous and can take minutes to hours or longer to receive. + +To prevent submission delays and errors: +* Ensure that submitted PDFs are not locked by user passwords and that they are within the file and page size limits before submitting your payload. +* Be sure to validate all metadata fields against their data requirements as defined in the DocumentUploadMetadata schema before submitting your payload. +* The businessLine field is optional, but when included, it will ensure the fastest possible processing. If not specified, businessLine will default to CMP, the business line for Compensation requests. +* The POST /uploads/validate_document endpoint can be used to ensure individual PDF documents meet system requirements prior to submission. + +For information on how to monitor the status of submissions, please see Steps 5 and 6 of the **How to Upload** section of this documentation. -### Upload operation -Allows a client to upload a multi-part document package (form + attachments + metadata). Subscribing to the webhook callback in step 1 is optional. If polling is desired, begin with step 2. +### Attachment & file size limits +There is no limit on the number of files a payload can contain, but file size and page dimension limits do apply. +* Uploaded PDFs can't be larger than 78" x 101". +* Uploaded PDFs can't exceed 100 MB. +* The entire payload can't exceed 5 GB. +### How to Upload +The Upload operation lets a client upload a multi-part document submission, specifically PDFs and metadata. Uploading is detailed below. 1. Client Request (Optional): POST https://dev-api.va.gov/webhooks/v1/register * Webhooks: Pass the `webhook` object to subscribe URL(s) to the status change event `gov.va.developer.benefits-intake.status_change`. This can be sent as a JSON file or as JSON text data. Please refer to the endpoint Webhook schema below for additional details. - -2. Client Request: POST https://dev-api.va.gov/services/vba_documents/v2/uploads - * No request body or parameters required - +2. Client Request: POST https://sandbox-api.va.gov/services/vba_documents/v2/ + * No request body or parameters required. 3. Service Response: A JSON API object with the following attributes: - * `guid`: An identifier used for subsequent status requests - * `location`: A URL to which the actual document package payload can be submitted in the next step. The URL is specific to this upload request, and should not be re-used for subsequent uploads. The URL is valid for 900 seconds (15 minutes) from the time of this response. If the location is not used within 15 minutes, the GUID will expire. Once expired, status checks on the GUID will return a status of `expired`. - * Note: If, after you've submitted a document, the status hasn't changed to `uploaded` before 15 minutes has elapsed, we recommend retrying the upload in order to make sure the document properly reaches our servers. If the upload continues to fail, try encoding the payload as Base64 (See below). - -4. Client Request: PUT to the location URL returned in Step 3. - * Request body should be encoded as binary multipart/form-data (base64 also available - see details below), equivalent to that generated by an HTML form submission or using "curl -F…". The format is described in more detail below. - * No `apikey` authorization header is required for this request, as authorization is embedded in the signed location URL. - -5. Service Response: The HTTP status indicates whether the upload was successful. - * Additionally, the response includes an ETag header containing an MD5 hash of the submitted payload. This can be compared to the submitted payload to ensure data integrity of the upload. - -### Status updates -Once you submit a file upload, you may check its status using multiple methods. - - -* Polling: to check once or at regular intervals: - * For a single GUID, make GET requests to the /uploads/{guid} endpoint. - * For multiple GUIDs, make POST requests to the /uploads/report endpoint. -* Webhooks: we return the status changes to your subscribed URL (from step 1) as shown below. No polling or additional action is needed. - -``` -{ - api_name: 'vba_documents-v2', - timestamp: 1631048257, - notifications: [ - { - guid: 'a5a404d6-4547-4747-a9e1-31eca18d2e1f', - event: 'gov.va.developer.benefits-intake.status_change', - status_to: 'uploaded', - epoch_time: 1631047688, - status_from: 'pending' - }, - { - guid: 'a5a404d6-4547-4747-a9e1-31eca18d2e1f', - event: 'gov.va.developer.benefits-intake.status_change', - status_to: 'received', - epoch_time: 1631047697, - status_from: 'uploaded' - } - ] -} -``` + * `guid`: An identifier used for subsequent status requests. + * `location`: A URL to which the actual document submission payload can be submitted in the next step. The URL is specific to this upload request, and should not be re-used for subsequent uploads. The URL is valid for 15 minutes (900 seconds) from the time of this response. If the location is not used within 15 minutes, the GUID will expire. Once expired, status checks on the GUID will return a status of `expired`. + * **Note**: If the status hasn't changed to uploaded within 15 minutes of submission, retry the POST request in step 1 to generate a new location URL. +4. Client Request: PUT to the location URL returned in step 2. + * The request body should use the binary multipart/form-data format . The body can optionally be encoded as Base64. + * No `apikey` authorization header is required for this request, as authorization is embedded in the signed location URL. +5. Service Response: The HTTP status indicates whether the upload was submitted. + * Additionally, the response includes an ETag header containing an MD5 hash of the submitted payload. This can be compared to the submitted payload to ensure data integrity of the upload. + * **Note**: A successful document submission **_does not_** mean it was successfully received by VA. Successful document submissions can fail later, as discussed above in the "How to avoid submission errors" section. +6. Client Request: GET https://sandbox-api.va.gov/services/vba_documents/v2/uploads/{id} + * `id`: An identifier (`guid`) returned in step 2 by the previous submission. +7. Service Response: A JSON API object with the following attributes: + * `guid`: The identifier of the submission for which a status was requested. + * `status`: The current status of the submission. See the previous "Document Submission Statuses" section for more information about the specific statuses. + * `code`: Only present if `status` is `error`. An error code specifying why the submission is in an error state. For a list of the error codes, see the schema for the GET /uploads/{id} 200 response. + * `detail`: Only present if `status` is `error`. Plain language detailing of the error corresponding to the error code and the specific submission. + * `updated_at`: The last time the submission status was updated. + + +If submissions to the API are made frequently, the bulk status endpoint should be used in place of the above Step 5 to request updates for multiple submissions: + +4. Client Request: POST https://sandbox-api.va.gov/services/vba_documents/v2/uploads/report + * `ids`: A list of identifiers ( guid) returned in step 2 by the previous submissions. +5. Service Response: A JSON API object with the following attributes for each `id`: + * `guid`: The identifier of the submission for which a status was requested. + * `status`: The current status of the submission. See the previous "Document Submission Statuses" section for more information about the specific statuses. + * `code`: Only present if `status` is `error`. An error code specifying why the submission is in an error state. For a list of the error codes, see the schema for the GET /uploads/{id} 200 response. + * `detail`: Only present if `status` is `error`. Plain language detailing of the error corresponding to the error code and the specific submission. + * `updated_at`: The last time the submission status was updated. + * Due to current system limitations, data for the /uploads/report endpoint is cached for one hour. The /uploads/{id} endpoint isn't cached. -### Document Submission Statuses - -**Important note:** a submission has not been received by VA until it has a status of Received, Processing, Success, -or VBMS. Detailed descriptions of what each status means are found in this table. - -| Status | What it means | -| --- | --- | -| **Pending** | Initial status.

Indicates no document package has been uploaded yet.

Date of Receipt is not yet established with this status | -| **Uploaded** | Indicates document package has been successfully uploaded (PUT) from your system to the API server but has not yet been validated.

Date of Receipt is not yet established with this status. Any errors with the document package, such as having an unreadable PDF, may cause an Error status. | -| **Received** | Indicates document package has been received upstream of the API and is awaiting Processing.

The VA Date of Receipt is set when this status is achieved.

This is the final status in the sandbox environment unless further progress is simulated. | -| **Processing**| Indicates the document package is being validated, processed, and made ready to route and work. | -| **Success** | Indicates the document package has been successfully received within VA's mail handling system.

Success is the final status for a small percentage of submitted packages with claim types, Veteran types, or exception processes that are not worked in VBMS. Most submissions reach a Success status within 1 business day. A small portion will take longer; however, some submissions may take up to 2 weeks to reach a Success status. | -| **VBMS** | Indicates this document package was successfully uploaded into a Veteran's eFolder within VBMS.

On average, submissions reach VBMS status within 3 business days; however, processing times vary and some submissions may remain in a Success status for several weeks before reaching a VBMS status.

Some document packages are worked in VA systems other than VBMS. For these submissions, Success is the final status. | -| **Error** | Indicates that there was an error. Refer to the error code and message for further information. | -| **Expired** | After a POST request, there is a 15-minute window during which documents must be uploaded via a PUT request.

An Expired status means the documents were not successfully uploaded within this 15-minute window. We recommend coding to retry unsuccessful uploads within 15 minutes using the same submission in case of connection issues. | ### Optional Base64 encoding - Base64 is an encoding scheme that converts binary data into text format, so that encoded textual data can be easily transported over networks uncorrupted and without data loss. -Base64 can be used to encode binary multipart/form-data it in its entirety. Note that the whole payload must be encoded, not individual parts/attachments. +Base64 can be used to encode binary multipart/form-data in its entirety. Note that the whole payload must be encoded, not individual parts/attachments. -After encoding your payload, you'll be required to preface your base64 string with `data:multipart/form-data;base64,` in order to allow our system to distinguish the file type. Your final string payload would look something like `data:multipart/form-data;base64,(encryption string)==` and close with the standard == marker. Note that the multipart boundaries i.e. -----WebKitFormBoundaryVfOwzCyvug0JmWYo and ending ------WebKitFormBoundaryVfOwzCyvug0JmWYo- must also be included. +After encoding the payload, the base64 string must be prefaced with `data:multipart/form-data;base64` in order to allow the system to distinguish the file type. -### Consumer onboarding process -When you're ready to move to production, [request a production API key.](https://developer.va.gov/go-live) +The final string payload will look something like this: `data:multipart/form-data;base64,(encryption string)==`, and close with the standard == marker. Note that the multipart boundaries, that is,\ +-----WebKitFormBoundaryVfOwzCyvug0JmWYo and ending in\ +------WebKitFormBoundaryVfOwzCyvug0JmWYo- must also be included. \ No newline at end of file diff --git a/modules/veteran/app/models/veteran/service/representative.rb b/modules/veteran/app/models/veteran/service/representative.rb index 4cfc2da6ad8..ff777fef6d4 100644 --- a/modules/veteran/app/models/veteran/service/representative.rb +++ b/modules/veteran/app/models/veteran/service/representative.rb @@ -9,8 +9,6 @@ class Representative < ApplicationRecord BASE_URL = 'https://www.va.gov/ogc/apps/accreditation/' self.primary_key = :representative_id - has_kms_key - has_encrypted :dob, :ssn, key: :kms_key, **lockbox_options scope :attorneys, -> { where(user_types: ['attorney']) } scope :veteran_service_officers, -> { where(user_types: ['veteran_service_officer']) } @@ -24,62 +22,28 @@ class Representative < ApplicationRecord # Find all representatives that matches the provided search criteria # @param first_name: [String] First name to search for, ignoring case # @param last_name: [String] Last name to search for, ignoring case - # @param ssn: nil [String] SSN to search for - # @param dob: nil [String] Date of birth to search for # @param middle_initial: nil [String] Middle initial to search for # @param poa_code: nil [String] filter to reps working this POA code # # @return [Array(Veteran::Service::Representative)] All representatives found using the submitted search criteria - def self.all_for_user(first_name:, last_name:, ssn: nil, dob: nil, middle_initial: nil, poa_code: nil) # rubocop:disable Metrics/ParameterLists - reps = where('lower(first_name) = ? AND lower(last_name) = ?', first_name.downcase, last_name.downcase) - reps = reps.where('? = ANY(poa_codes)', poa_code) if poa_code - - reps.select do |rep| - matching_ssn(rep, ssn) && - matching_date_of_birth(rep, dob) && - matching_middle_initial(rep, middle_initial) - end + def self.all_for_user(first_name:, last_name:, middle_initial: nil, poa_code: nil) + representatives = where('lower(first_name) = ? AND lower(last_name) = ?', first_name.downcase, + last_name.downcase) + representatives = representatives.where('? = ANY(poa_codes)', poa_code) if poa_code + representatives.select { |rep| matching_middle_initial(rep, middle_initial) } end # # Find first representative that matches the provided search criteria # @param first_name: [String] First name to search for, ignoring case # @param last_name: [String] Last name to search for, ignoring case - # @param ssn: nil [String] SSN to search for - # @param dob: nil [String] Date of birth to search for # # @return [Veteran::Service::Representative] First representative record found using the submitted search criteria - def self.for_user(first_name:, last_name:, ssn: nil, dob: nil) - reps = all_for_user(first_name:, last_name:, ssn:, dob:) - return nil if reps.blank? - - reps.first - end - - # - # Determine if representative ssn matches submitted ssn search query - # @note Assumes that the consumer did not submit an ssn value if the value is blank - # @param rep [Veteran::Service::Representative] Representative to match soon with - # @param ssn [String] Submitted ssn to match against representative - # - # @return [Boolean] True if matches, false if not - def self.matching_ssn(rep, ssn) - return true if ssn.blank? - - rep.ssn.present? && rep.ssn == ssn - end - - # - # Determine if representative dob matches submitted birth_date search query - # @note Assumes that the consumer did not submit a birth_date value if the value is blank - # @param rep [Veteran::Service::Representative] Representative to match soon with - # @param birth_date [String] Submitted birth_date to match against representative - # - # @return [Boolean] True if matches, false if not - def self.matching_date_of_birth(rep, birth_date) - return true if birth_date.blank? + def self.for_user(first_name:, last_name:) + representatives = all_for_user(first_name:, last_name:) + return nil if representatives.blank? - rep.dob.present? && rep.dob == birth_date + representatives.first end # @@ -89,10 +53,10 @@ def self.matching_date_of_birth(rep, birth_date) # @param middle_initial [String] Submitted middle_initial to match against representative # # @return [Boolean] True if matches, false if not - def self.matching_middle_initial(rep, middle_initial) + def self.matching_middle_initial(representative, middle_initial) return true if middle_initial.blank? - rep.middle_initial.present? && rep.middle_initial == middle_initial + representative.middle_initial.present? && representative.middle_initial == middle_initial end # diff --git a/modules/veteran/spec/models/veteran/service/representative_spec.rb b/modules/veteran/spec/models/veteran/service/representative_spec.rb index 0ed3407192a..a8f4d72f625 100644 --- a/modules/veteran/spec/models/veteran/service/representative_spec.rb +++ b/modules/veteran/spec/models/veteran/service/representative_spec.rb @@ -25,50 +25,31 @@ def basic_attributes end describe 'finding by identity' do - let(:rep) do + let(:representative) do FactoryBot.create(:representative, - basic_attributes.merge!(ssn: identity.ssn, dob: identity.birth_date)) + basic_attributes) end before do identity - rep + representative end - describe 'finding by all fields' do - it 'finds a user by name, ssn, and dob' do + describe 'finding by the name' do + it 'finds a user' do expect(Veteran::Service::Representative.for_user( first_name: identity.first_name, - last_name: identity.last_name, - dob: identity.birth_date, - ssn: identity.ssn - ).id).to eq(rep.id) + last_name: identity.last_name + ).id).to eq(representative.id) end it 'finds right user when 2 with the same name exist' do FactoryBot.create(:representative, - basic_attributes.merge!(ssn: '123-45-6789', dob: '1929-10-01')) - expect(Veteran::Service::Representative.for_user( - first_name: identity.first_name, - last_name: identity.last_name, - dob: identity.birth_date, - ssn: identity.ssn - ).id).to eq(rep.id) - end - end - - describe 'finding by the name only' do - it 'finds a user by name fields' do - rep = FactoryBot.create(:representative, first_name: 'Bob', last_name: 'Smith') - identity = FactoryBot.create(:user_identity, first_name: rep.first_name, last_name: rep.last_name) - Veteran::Service::Representative.for_user( - first_name: identity.first_name, - last_name: identity.last_name - ) + basic_attributes) expect(Veteran::Service::Representative.for_user( first_name: identity.first_name, last_name: identity.last_name - ).id).to eq(rep.id) + ).id).to eq(representative.id) end end end @@ -118,26 +99,26 @@ def basic_attributes describe '#set_full_name' do context 'creating a new representative' do it 'sets the full_name attribute as first_name + last_name' do - rep = described_class.new(representative_id: 'abc', poa_codes: ['123'], first_name: 'Joe', - last_name: 'Smith') + representative = described_class.new(representative_id: 'abc', poa_codes: ['123'], first_name: 'Joe', + last_name: 'Smith') - expect(rep.full_name).to be_nil + expect(representative.full_name).to be_nil - rep.save! + representative.save! - expect(rep.reload.full_name).to eq('Joe Smith') + expect(representative.reload.full_name).to eq('Joe Smith') end end context 'updating an existing representative' do it 'sets the full_name attribute as first_name + last_name' do - rep = create(:representative, first_name: 'Joe', last_name: 'Smith') + representative = create(:representative, first_name: 'Joe', last_name: 'Smith') - expect(rep.full_name).to eq('Joe Smith') + expect(representative.full_name).to eq('Joe Smith') - rep.update(first_name: 'Bob') + representative.update(first_name: 'Bob') - expect(rep.reload.full_name).to eq('Bob Smith') + expect(representative.reload.full_name).to eq('Bob Smith') end end end diff --git a/rakelib/prod/user_credential.rake b/rakelib/prod/user_credential.rake index daba12202cf..69b51c49984 100644 --- a/rakelib/prod/user_credential.rake +++ b/rakelib/prod/user_credential.rake @@ -8,10 +8,11 @@ namespace :user_credential do type = args[:type] credential_id = args[:credential_id] context = { type:, credential_id:, requested_by: args[:requested_by] } - log_task(namespace:, status: 'start', context:) + log_to_stdout(level: 'info', message: "[#{namespace}] rake task start, context: #{context.to_json}") user_verification = UserVerification.where(["#{type}_uuid = ?", credential_id]).first user_verification.lock! - log_task(namespace:, status: 'complete', context: context.merge(locked: user_verification.locked)) + context[:locked] = user_verification.locked + log_to_stdout(level: 'info', message: "[#{namespace}] rake task complete, context: #{context.to_json}") puts "#{namespace} complete - #{type}_uuid: #{credential_id}" rescue => e puts "#{namespace} failed - #{e.message}" @@ -23,10 +24,11 @@ namespace :user_credential do type = args[:type] credential_id = args[:credential_id] context = { type:, credential_id:, requested_by: args[:requested_by] } - log_task(namespace:, status: 'start', context:) + log_to_stdout(level: 'info', message: "[#{namespace}] rake task start, context: #{context.to_json}") user_verification = UserVerification.where(["#{type}_uuid = ?", credential_id]).first user_verification.unlock! - log_task(namespace:, status: 'complete', context: context.merge(locked: user_verification.locked)) + context[:locked] = user_verification.locked + log_to_stdout(level: 'info', message: "[#{namespace}] rake task complete, context: #{context.to_json}") puts "#{namespace} complete - #{type}_uuid: #{credential_id}" rescue => e puts "#{namespace} failed - #{e.message}" @@ -38,7 +40,27 @@ namespace :user_credential do args[:requested_by].blank? end - def log_task(namespace:, status:, context:) - Rails.logger.info("[#{namespace}] rake task #{status}", context) + def log_to_stdout(level:, message:) + `echo "#{log_message(level:, message:).to_json.dump}" >> /proc/1/fd/1` + end + + def log_message(level:, message:) + { + level:, + message:, + application: 'vets-api-server', + environment: Rails.env, + timestamp: Time.zone.now.iso8601, + + file: 'rakelib/prod/user_credential.rake', + named_tags: { + dd: { + env: ENV.fetch('DD_ENV', nil), + service: 'vets-api' + }, + ddsource: 'ruby' + }, + name: 'Rails' + } end end diff --git a/rakelib/rswag.rake b/rakelib/rswag.rake index ce030b04aff..2d1a184fbae 100644 --- a/rakelib/rswag.rake +++ b/rakelib/rswag.rake @@ -33,16 +33,6 @@ end namespace :rswag do namespace :claims_api do - desc 'Generate rswag docs for claims_api' - task run: :environment do - ENV['PATTERN'] = 'modules/claims_api/spec/requests/**/*_spec.rb' - ENV['RAILS_MODULE'] = 'claims_api' - ENV['SWAGGER_DRY_RUN'] = '0' - Rake::Task['rswag:specs:swaggerize'].invoke - - %w[v1 v2].each { |version| format_for_swagger(version) } - end - desc 'Generate rswag docs by environment for the claims_api' task build: :environment do ENV['PATTERN'] = 'modules/claims_api/spec/requests/**/*_spec.rb' diff --git a/spec/controllers/v0/average_days_for_claim_completion_controller_spec.rb b/spec/controllers/v0/average_days_for_claim_completion_controller_spec.rb new file mode 100644 index 00000000000..47a56a8450b --- /dev/null +++ b/spec/controllers/v0/average_days_for_claim_completion_controller_spec.rb @@ -0,0 +1,39 @@ +# frozen_string_literal: true + +require 'rails_helper' + +RSpec.describe V0::AverageDaysForClaimCompletionController, type: :controller do + context 'when querying with nothing in db' do + it 'returns -1 for value' do + get :index + expect(response).to have_http_status(:ok) + expect(JSON.parse(response.body)['average_days']).to eq(-1.0) + end + end + + context 'when querying with record in db' do + before do + AverageDaysForClaimCompletion.create(average_days: 100) + end + + it 'returns the value' do + get :index + expect(response).to have_http_status(:ok) + expect(JSON.parse(response.body)['average_days']).to eq(100.0) + end + end + + context 'when querying with multiple records in db' do + before do + AverageDaysForClaimCompletion.create(average_days: 100) + AverageDaysForClaimCompletion.create(average_days: 200) + AverageDaysForClaimCompletion.create(average_days: 300) + end + + it 'returns the most recently inserted value' do + get :index + expect(response).to have_http_status(:ok) + expect(JSON.parse(response.body)['average_days']).to eq(300.0) + end + end +end diff --git a/spec/controllers/v0/education_career_counseling_claims_controller_spec.rb b/spec/controllers/v0/education_career_counseling_claims_controller_spec.rb index 9481d2dceaa..d7d5deeb77b 100644 --- a/spec/controllers/v0/education_career_counseling_claims_controller_spec.rb +++ b/spec/controllers/v0/education_career_counseling_claims_controller_spec.rb @@ -24,7 +24,7 @@ end it 'calls successfully submits the career counseling job' do - expect(CentralMail::SubmitCareerCounselingJob).to receive(:perform_async) + expect(Lighthouse::SubmitCareerCounselingJob).to receive(:perform_async) post(:create, params: form_params) end diff --git a/spec/controllers/v0/health_care_applications_controller_spec.rb b/spec/controllers/v0/health_care_applications_controller_spec.rb index 84cd49af786..619dbf23f44 100644 --- a/spec/controllers/v0/health_care_applications_controller_spec.rb +++ b/spec/controllers/v0/health_care_applications_controller_spec.rb @@ -14,21 +14,4 @@ expect(json['attributes']).to eq(hca_response['attributes']) end end - - describe '#download_pdf' do - let(:response_pdf) { Rails.root.join 'tmp', 'pdfs', '10-10EZ_John_Smith.pdf' } - let(:expected_pdf) { Rails.root.join 'spec', 'fixtures', 'pdf_fill', '10-10EZ', 'unsigned', 'simple.pdf' } - - it 'downloads a pdf' do - post :download_pdf, params: JSON.parse(hca_request) - - File.open(response_pdf, 'wb+') { |f| f.write(response.body) } - - expect(response).to have_http_status(:ok) - - expect( - pdfs_fields_match?(response_pdf, expected_pdf) - ).to eq(true) - end - end end diff --git a/spec/controllers/v0/profile/direct_deposits/disability_compensations_controller_spec.rb b/spec/controllers/v0/profile/direct_deposits/disability_compensations_controller_spec.rb index 0476d184745..21774981862 100644 --- a/spec/controllers/v0/profile/direct_deposits/disability_compensations_controller_spec.rb +++ b/spec/controllers/v0/profile/direct_deposits/disability_compensations_controller_spec.rb @@ -405,43 +405,4 @@ end end end - - describe '#update feature flag' do - let(:params) do - { - routing_number: '031000503', - account_number: '12345678' - } - end - - context 'when feature flag is on' do - before do - Flipper.enable(:profile_show_direct_deposit_single_form) - end - - it 'error code is prefixed with direct.deposit' do - VCR.use_cassette('lighthouse/direct_deposit/update/400_invalid_account_type') do - put(:update, params:) - end - - json = JSON.parse(response.body) - e = json['errors'].first - - expect(e['code']).to eq('direct.deposit.account.type.invalid') - end - end - - context 'when feature flag is off' do - it 'error code is prefixed with cnp.payment' do - VCR.use_cassette('lighthouse/direct_deposit/update/400_invalid_account_type') do - put(:update, params:) - end - - json = JSON.parse(response.body) - e = json['errors'].first - - expect(e['code']).to eq('cnp.payment.account.type.invalid') - end - end - end end diff --git a/spec/controllers/v0/profile/direct_deposits_controller_spec.rb b/spec/controllers/v0/profile/direct_deposits_controller_spec.rb index 1e0af7acae2..3dd8abc3e91 100644 --- a/spec/controllers/v0/profile/direct_deposits_controller_spec.rb +++ b/spec/controllers/v0/profile/direct_deposits_controller_spec.rb @@ -181,7 +181,7 @@ context 'when the user does have an associated email address' do it 'sends an email through va notify' do expect(VANotifyDdEmailJob).to receive(:send_to_emails).with( - user.all_emails, 'comp_and_pen' + user.all_emails ) VCR.use_cassette('lighthouse/direct_deposit/update/200_valid') do diff --git a/spec/controllers/v0/virtual_agent/virtual_agent_claim_spec.rb b/spec/controllers/v0/virtual_agent/virtual_agent_claim_spec.rb index 251c50b5c2b..5a8c675c2fd 100644 --- a/spec/controllers/v0/virtual_agent/virtual_agent_claim_spec.rb +++ b/spec/controllers/v0/virtual_agent/virtual_agent_claim_spec.rb @@ -19,14 +19,9 @@ end describe 'GET /v0/virtual_agent/claim' do - let!(:claim) do - FactoryBot.create(:evss_claim, id: 11, evss_id: 600_118_854, - user_uuid: user.uuid) - FactoryBot.create(:evss_claim, id: 22, evss_id: 600_118_855, - user_uuid: user.uuid) - FactoryBot.create(:evss_claim, id: 33, evss_id: 600_118_851, - user_uuid: user.uuid) - end + let!(:claim1) { FactoryBot.create(:evss_claim, evss_id: 600_118_854, user_uuid: user.uuid) } + let!(:claim2) { FactoryBot.create(:evss_claim, evss_id: 600_118_855, user_uuid: user.uuid) } + let!(:claim3) { FactoryBot.create(:evss_claim, evss_id: 600_118_851, user_uuid: user.uuid) } it 'returns information on multiple open compensation claims in descending chronological order by updated date' do sign_in_as(user) @@ -41,13 +36,13 @@ EVSS::RetrieveClaimsFromRemoteJob.new.perform(user.uuid) end VCR.use_cassette('evss/claims/claim_with_docs1') do - EVSS::UpdateClaimFromRemoteJob.new.perform(user.uuid, 11) + EVSS::UpdateClaimFromRemoteJob.new.perform(user.uuid, claim1.id) end VCR.use_cassette('evss/claims/claim_with_docs2') do - EVSS::UpdateClaimFromRemoteJob.new.perform(user.uuid, 22) + EVSS::UpdateClaimFromRemoteJob.new.perform(user.uuid, claim2.id) end VCR.use_cassette('evss/claims/claim_with_docs3') do - EVSS::UpdateClaimFromRemoteJob.new.perform(user.uuid, 33) + EVSS::UpdateClaimFromRemoteJob.new.perform(user.uuid, claim3.id) end get '/v0/virtual_agent/claim' @@ -81,10 +76,7 @@ end describe 'for a single claim' do - let!(:claim) do - FactoryBot.create(:evss_claim, id: 3, evss_id: 600_118_851, - user_uuid: user.uuid) - end + let!(:claim) { FactoryBot.create(:evss_claim, evss_id: 600_118_851, user_uuid: user.uuid) } it 'returns information on single open compensation claim' do sign_in_as(user) @@ -99,7 +91,7 @@ EVSS::RetrieveClaimsFromRemoteJob.new.perform(user.uuid) end VCR.use_cassette('evss/claims/claim_with_docs1') do - EVSS::UpdateClaimFromRemoteJob.new.perform(user.uuid, 3) + EVSS::UpdateClaimFromRemoteJob.new.perform(user.uuid, claim.id) end get '/v0/virtual_agent/claim' @@ -183,10 +175,7 @@ end describe 'for a user who has non-compensation and compensation claims' do - let!(:claim) do - FactoryBot.create(:evss_claim, id: 3, evss_id: 600_114_693, - user_uuid: user.uuid) - end + let!(:claim) { FactoryBot.create(:evss_claim, evss_id: 600_114_693, user_uuid: user.uuid) } it 'returns information when there is a more recent non-compensation open claim' do sign_in_as(user) @@ -200,7 +189,7 @@ EVSS::RetrieveClaimsFromRemoteJob.new.perform(user.uuid) end VCR.use_cassette('evss/claims/claim_with_docs4') do - EVSS::UpdateClaimFromRemoteJob.new.perform(user.uuid, 3) + EVSS::UpdateClaimFromRemoteJob.new.perform(user.uuid, claim.id) end get '/v0/virtual_agent/claim' @@ -218,10 +207,7 @@ end describe 'GET /v0/virtual_agent/claim/{EVSS_ID}' do - let!(:claim) do - FactoryBot.create(:evss_claim, id: 1, evss_id: 600_117_255, - user_uuid: user.uuid) - end + let!(:claim) { FactoryBot.create(:evss_claim, evss_id: 600_117_255, user_uuid: user.uuid) } it 'returns claims details of a specific claim' do sign_in_as(user) diff --git a/spec/controllers/v1/sessions_controller_spec.rb b/spec/controllers/v1/sessions_controller_spec.rb index 3b8fcc9e116..0447796f1c9 100644 --- a/spec/controllers/v1/sessions_controller_spec.rb +++ b/spec/controllers/v1/sessions_controller_spec.rb @@ -502,13 +502,16 @@ def expect_logger_msg(level, msg) context 'when user has not accepted the current terms of use' do let(:user) { build(:user, loa, uuid:, idme_uuid: uuid) } + let(:application) { 'some-applicaton' } before do SAMLRequestTracker.create(uuid: login_uuid, payload: { type: 'idme', application: }) end - context 'and authentication occurred with a application in TERMS_OF_USE_ENABLED_CLIENTS' do - let(:application) { SAML::URLService::TERMS_OF_USE_ENABLED_CLIENTS.first } + context 'and authentication occurred with a application in Settings.terms_of_use.enabled_clients' do + before do + allow(Settings.terms_of_use).to receive(:enabled_clients).and_return(application) + end it 'redirects to terms of use page' do expect(call_endpoint).to redirect_to( @@ -517,8 +520,10 @@ def expect_logger_msg(level, msg) end end - context 'and authentication occurred with an application not in TERMS_OF_USE_ENABLED_CLIENTS' do - let(:application) { 'foobar' } + context 'and authentication occurred with an application not in Settings.terms_of_use.enabled_clients' do + before do + allow(Settings.terms_of_use).to receive(:enabled_clients).and_return('') + end it 'redirects to expected auth page' do expect(call_endpoint).to redirect_to(expected_redirect_url) @@ -540,13 +545,16 @@ def expect_logger_msg(level, msg) context 'when user has not accepted the current terms of use' do let(:user) { build(:user, loa, uuid:, idme_uuid: uuid) } + let(:application) { 'some-applicaton' } before do SAMLRequestTracker.create(uuid: login_uuid, payload: { type: 'idme', application: }) end - context 'and authentication occurred with a application in TERMS_OF_USE_ENABLED_CLIENTS' do - let(:application) { SAML::URLService::TERMS_OF_USE_ENABLED_CLIENTS.first } + context 'and authentication occurred with a application in Settings.terms_of_use.enabled_clients' do + before do + allow(Settings.terms_of_use).to receive(:enabled_clients).and_return(application) + end it 'redirects to terms of use page' do expect(call_endpoint).to redirect_to( @@ -555,8 +563,10 @@ def expect_logger_msg(level, msg) end end - context 'and authentication occurred with an application not in TERMS_OF_USE_ENABLED_CLIENTS' do - let(:application) { 'foobar' } + context 'and authentication occurred with an application not in Settings.terms_of_use.enabled_clients' do + before do + allow(Settings.terms_of_use).to receive(:enabled_clients).and_return('') + end it 'redirects to expected auth page' do expect(call_endpoint).to redirect_to(expected_redirect_url) diff --git a/spec/fixtures/education_benefits_claims/10203/kitchen_sink.spl b/spec/fixtures/education_benefits_claims/10203/kitchen_sink.spl index ec6667db4e3..b0a6fc395d9 100644 --- a/spec/fixtures/education_benefits_claims/10203/kitchen_sink.spl +++ b/spec/fixtures/education_benefits_claims/10203/kitchen_sink.spl @@ -10,7 +10,7 @@ SCHOOL NAME CH33 *START* VA Form 22-10203 -JUN 2020 +OMB Control #: 2900-0878 APPLICATION FOR EDITH NOURSE ROGERS STEM SCHOLARSHIP @@ -65,8 +65,8 @@ Auto Email Sent to SCO: YES Applicant School Email Address: test@school.edu Applicant School ID: 12345 - Certification and Signature of Applicant -Signature of Applicant Date +As an active-duty service member, you have consulted with an Education Service +Officer (ESO) regarding your education program. Electronically Received by VA: 2017-01-17 diff --git a/spec/fixtures/education_benefits_claims/10203/kitchen_sink_stem_ad_with_poa.spl b/spec/fixtures/education_benefits_claims/10203/kitchen_sink_stem_ad_with_poa.spl index 923d2db9689..ca379cbd2fe 100644 --- a/spec/fixtures/education_benefits_claims/10203/kitchen_sink_stem_ad_with_poa.spl +++ b/spec/fixtures/education_benefits_claims/10203/kitchen_sink_stem_ad_with_poa.spl @@ -10,7 +10,7 @@ SCHOOL NAME CH33 *START* VA Form 22-10203DNY -JUN 2020 +OMB Control #: 2900-0878 APPLICATION FOR EDITH NOURSE ROGERS STEM SCHOLARSHIP @@ -66,8 +66,8 @@ Applicant has POA: YES Applicant School Email Address: test@school.edu Applicant School ID: 12345 - Certification and Signature of Applicant -Signature of Applicant Date +As an active-duty service member, you have consulted with an Education Service +Officer (ESO) regarding your education program. Electronically Received by VA: 2017-01-17 diff --git a/spec/fixtures/education_benefits_claims/10203/kitchen_sink_stem_ad_without_poa.spl b/spec/fixtures/education_benefits_claims/10203/kitchen_sink_stem_ad_without_poa.spl index 917f4eb7fa0..0eb3f970b60 100644 --- a/spec/fixtures/education_benefits_claims/10203/kitchen_sink_stem_ad_without_poa.spl +++ b/spec/fixtures/education_benefits_claims/10203/kitchen_sink_stem_ad_without_poa.spl @@ -10,7 +10,7 @@ SCHOOL NAME CH33 *START* VA Form 22-10203DNY -JUN 2020 +OMB Control #: 2900-0878 APPLICATION FOR EDITH NOURSE ROGERS STEM SCHOLARSHIP @@ -66,8 +66,8 @@ Applicant has POA: NO Applicant School Email Address: test@school.edu Applicant School ID: 12345 - Certification and Signature of Applicant -Signature of Applicant Date +As an active-duty service member, you have consulted with an Education Service +Officer (ESO) regarding your education program. Electronically Received by VA: 2017-01-17 diff --git a/spec/fixtures/education_benefits_claims/10203/minimal.spl b/spec/fixtures/education_benefits_claims/10203/minimal.spl index d01606beaf8..b699fe2920c 100644 --- a/spec/fixtures/education_benefits_claims/10203/minimal.spl +++ b/spec/fixtures/education_benefits_claims/10203/minimal.spl @@ -10,7 +10,7 @@ SCHOOL NAME CH33 *START* VA Form 22-10203 -JUN 2020 +OMB Control #: 2900-0878 APPLICATION FOR EDITH NOURSE ROGERS STEM SCHOLARSHIP diff --git a/spec/fixtures/pdf_fill/21P-530V2/merge_fields.json b/spec/fixtures/pdf_fill/21P-530V2/merge_fields.json index 6d10245e9ea..f552775eb10 100644 --- a/spec/fixtures/pdf_fill/21P-530V2/merge_fields.json +++ b/spec/fixtures/pdf_fill/21P-530V2/merge_fields.json @@ -68,16 +68,15 @@ "claimantSocialSecurityNumber":{"first":"987", "second":"65", "third":"4321"}, "claimantDateOfBirth":{"month":"01", "day":"01", "year":"1960"}, "formV2":true, - "relationshipToVeteran":{"spouse":"On", "child":"Off", "executor":"Off", "parent":"Off", "funeralHome":"Off", "other":"Off"}, + "relationshipToVeteran":{"spouse":"On", "child":"Off", "executor":"Off", "parent":"Off", "funeralDirector":"Off", "otherFamily":"Off"}, "privacyAgreementAccepted":true, "signature":"test spouse", "signatureDate":"2024-03-21", "veteranSocialSecurityNumber2":{"first":"987", "second":"65", "third":"4322"}, "veteranSocialSecurityNumber3":{"first":"987", "second":"65", "third":"4322"}, + "hasTransportation":"YES", "hasBurialExpenseResponsibility":"On", - "noBurialExpenseResponsibility":null, "hasPlotExpenseResponsibility":"On", - "noPlotExpenseResponsibility":null, "hasProcessOption":null, "noProcessOption":"On", "hasConfirmation":"YES", @@ -93,7 +92,5 @@ "hasPreviouslyReceivedAllowance":"YES", "noPreviouslyReceivedAllowance":null, "hasAllowanceStatementOfTruth":null, - "noAllowanceStatementOfTruth":null, - "hasTransportation":"YES", - "noTransportation":null + "noAllowanceStatementOfTruth":null } \ No newline at end of file diff --git a/spec/lib/common/client/concerns/mhv_fhir_session_client_spec.rb b/spec/lib/common/client/concerns/mhv_fhir_session_client_spec.rb index 88271047aef..a9371307fd9 100644 --- a/spec/lib/common/client/concerns/mhv_fhir_session_client_spec.rb +++ b/spec/lib/common/client/concerns/mhv_fhir_session_client_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' require 'medical_records/client_session' -require_relative '../../../../../lib/common/client/concerns/mhv_fhir_session_client' +require 'common/client/concerns/mhv_fhir_session_client' describe Common::Client::Concerns::MhvFhirSessionClient do let(:dummy_class) do diff --git a/spec/lib/lighthouse/benefits_intake/configuration_spec.rb b/spec/lib/lighthouse/benefits_intake/configuration_spec.rb new file mode 100644 index 00000000000..d5ce23e2fa0 --- /dev/null +++ b/spec/lib/lighthouse/benefits_intake/configuration_spec.rb @@ -0,0 +1,104 @@ +# frozen_string_literal: true + +require 'rails_helper' +require 'common/client/configuration/rest' +require 'lighthouse/benefits_intake/configuration' + +RSpec.describe BenefitsIntake::Configuration do + let(:base) { Common::Client::Configuration::REST } + let(:config) { BenefitsIntake::Configuration.send(:new) } + let(:settings) do + OpenStruct.new({ + host: 'https://sandbox-api.va.gov', + path: '/services/vba_documents', + version: 'v1', + use_mocks: false, + api_key: 'some-long-hash-api-key' + }) + end + + before do + allow(Settings.lighthouse).to receive(:benefits_intake).and_return(settings) + end + + context 'valid settings' do + it 'returns settings' do + expect(config.intake_settings).to eq(settings) + end + + it 'has correct api_key' do + expect(config.intake_settings.api_key).to eq(settings.api_key) + end + + it 'returns service_path' do + valid_path = 'https://sandbox-api.va.gov/services/vba_documents/v1' + expect(config.service_path).to eq(valid_path) + end + + it 'returns use_mocks' do + expect(config.use_mocks?).to eq(settings.use_mocks) + end + end + + context 'expected constants' do + it 'returns service_name' do + expect(config.service_name).to eq('BenefitsIntake') + end + + it 'returns breakers_error_threshold' do + expect(config.breakers_error_threshold).to eq(80) + end + end + + describe '#base_request_headers' do + it 'returns expected headers' do + headers = config.base_request_headers + expected = base.base_request_headers.merge({ 'apikey' => settings.api_key }) + expect(headers).to eq(expected) + end + + it 'errors if missing api_key' do + allow(Settings.lighthouse.benefits_intake).to receive(:api_key).and_return(nil) + expect { config.base_request_headers }.to raise_error StandardError, /^No api_key set.+/ + end + end + + describe '#connection' do + let(:faraday) { double('faraday') } + + before do + allow(Faraday).to receive(:new).and_yield(faraday) + + allow(config).to receive(:service_path).and_return('service_path') + allow(config).to receive(:base_request_headers).and_return('base_request_headers') + allow(config).to receive(:request_options).and_return('request_options') + allow(config).to receive(:use_mocks?).and_return(true) + end + + it 'returns existing connection' do + config.instance_variable_set(:@conn, 'TEST') + + expect(Faraday).not_to receive(:new) + expect(config.connection).to eq('TEST') + end + + it 'creates the connection' do + expect(Faraday).to receive(:new).with('service_path', headers: 'base_request_headers', request: 'request_options') + + expect(faraday).to receive(:use).once.with(:breakers) + expect(faraday).to receive(:use).once.with(Faraday::Response::RaiseError) + + expect(faraday).to receive(:request).once.with(:multipart) + expect(faraday).to receive(:request).once.with(:json) + + expect(faraday).to receive(:response).once.with(:betamocks) # use_mocks? => true + expect(faraday).to receive(:response).once.with(:json) + + expect(faraday).to receive(:adapter).once.with(Faraday.default_adapter) + + config.connection + end + end + + # end RSpec.describe +end diff --git a/spec/lib/lighthouse/benefits_intake/metadata_spec.rb b/spec/lib/lighthouse/benefits_intake/metadata_spec.rb new file mode 100644 index 00000000000..70e7a79821a --- /dev/null +++ b/spec/lib/lighthouse/benefits_intake/metadata_spec.rb @@ -0,0 +1,139 @@ +# frozen_string_literal: true + +require 'rails_helper' +require 'lighthouse/benefits_intake/metadata' + +RSpec.describe BenefitsIntake::Metadata do + let(:meta) { described_class } + + context 'with valid parameters' do + let(:valid) do + { + 'veteranFirstName' => 'firstname', + 'veteranLastName' => 'lastname', + 'fileNumber' => '123456789', + 'zipCode' => '12345-5555', + 'source' => 'source', + 'docType' => 'doc_type', + 'businessLine' => 'BVA' + } + end + + it 'returns unmodified metadata' do + data = meta.generate('firstname', 'lastname', '123456789', '12345-5555', 'source', 'doc_type', 'BVA') + expect(data).to eq(valid) + end + + it 'returns corrected metadata' do + data = meta.generate('first_name', 'last_name', '123456789', '123455555', 'source', 'doc_type', :bva) + expect(data).to eq(valid) + end + end + + context 'malformed data' do + it 'truncates names' do + charset = Array('a'..'z') + Array('A'..'Z') + ['-', ' ', '/'] + firstname = Array.new(rand(50..100)) { charset.sample }.join + lastname = Array.new(rand(50..100)) { charset.sample }.join + + first50 = meta.validate_first_name({ 'veteranFirstName' => firstname }) + expect(first50).to eq({ 'veteranFirstName' => firstname.strip[0..49] }) + + last50 = meta.validate_last_name({ 'veteranLastName' => lastname }) + expect(last50).to eq({ 'veteranLastName' => lastname.strip[0..49] }) + end + + it 'errors on substituted blank names' do + expect do + meta.validate_first_name({ 'veteranFirstName' => '23&_$!42' }) + end.to raise_error(ArgumentError, 'veteran first name is blank') + + expect do + meta.validate_last_name({ 'veteranLastName' => '23&_$!42' }) + end.to raise_error(ArgumentError, 'veteran last name is blank') + end + + it 'corrects malformed zipcode' do + zip = meta.validate_zip_code({ 'zipCode' => '12345TEST' }) + expect(zip).to eq({ 'zipCode' => '12345' }) + + zip = meta.validate_zip_code({ 'zipCode' => '12345TEST6789' }) + expect(zip).to eq({ 'zipCode' => '12345-6789' }) + + zip = meta.validate_zip_code({ 'zipCode' => '123456789123456789' }) + expect(zip).to eq({ 'zipCode' => '00000' }) + end + + it 'corrects malformed business_line' do + zip = meta.validate_business_line({ 'businessLine' => :BVA }) + expect(zip).to eq({ 'businessLine' => 'BVA' }) + + zip = meta.validate_business_line({ 'businessLine' => :pmc }) + expect(zip).to eq({ 'businessLine' => 'PMC' }) + + zip = meta.validate_business_line({ 'businessLine' => 'pmc' }) + expect(zip).to eq({ 'businessLine' => 'PMC' }) + + zip = meta.validate_business_line({ 'businessLine' => :TEST }) + expect(zip).to eq({ 'businessLine' => 'OTH' }) + + zip = meta.validate_business_line({ 'businessLine' => 'TEST' }) + expect(zip).to eq({ 'businessLine' => 'OTH' }) + + zip = meta.validate_business_line({ 'businessLine' => nil }) + expect(zip).to eq({}) + end + + it 'errors on invalid file number' do + expect do + meta.validate_file_number({ 'fileNumber' => '123TEST89' }) + end.to raise_error(ArgumentError, 'file number is invalid. It must be 8 or 9 digits') + + expect do + meta.validate_file_number({ 'fileNumber' => '123456789123456789' }) + end.to raise_error(ArgumentError, 'file number is invalid. It must be 8 or 9 digits') + + expect do + meta.validate_file_number({ 'fileNumber' => '12345' }) + end.to raise_error(ArgumentError, 'file number is invalid. It must be 8 or 9 digits') + end + end + + describe '#validate_presence_and_stringiness' do + it 'raises a missing exception' do + expect do + meta.validate_presence_and_stringiness(nil, 'TEST FIELD') + end.to raise_error(ArgumentError, 'TEST FIELD is missing') + + expect do + meta.validate_presence_and_stringiness(false, 'TEST FIELD') + end.to raise_error(ArgumentError, 'TEST FIELD is missing') + end + + it 'raises a non-string exception' do + expect do + meta.validate_presence_and_stringiness(12, 'TEST FIELD') + end.to raise_error(ArgumentError, 'TEST FIELD is not a string') + + expect do + meta.validate_presence_and_stringiness(true, 'TEST FIELD') + end.to raise_error(ArgumentError, 'TEST FIELD is not a string') + + expect do + meta.validate_presence_and_stringiness({}, 'TEST FIELD') + end.to raise_error(ArgumentError, 'TEST FIELD is not a string') + end + + it 'raises a blank exception' do + expect do + meta.validate_nonblank('', 'TEST FIELD') + end.to raise_error(ArgumentError, 'TEST FIELD is blank') + + expect do + meta.validate_nonblank(' ', 'TEST FIELD') + end.to raise_error(ArgumentError, 'TEST FIELD is blank') + end + end + + # end Rspec.describe +end diff --git a/spec/lib/lighthouse/benefits_intake/service_spec.rb b/spec/lib/lighthouse/benefits_intake/service_spec.rb new file mode 100644 index 00000000000..cb593e5f47b --- /dev/null +++ b/spec/lib/lighthouse/benefits_intake/service_spec.rb @@ -0,0 +1,287 @@ +# frozen_string_literal: true + +require 'rails_helper' +require 'common/file_helpers' +require 'lighthouse/benefits_intake/service' + +RSpec.describe BenefitsIntake::Service do + let(:service) { BenefitsIntake::Service.new } + let(:metadata) do + { + 'veteranFirstName' => 'firstname', + 'veteranLastName' => 'lastname', + 'fileNumber' => '123456789', + 'zipCode' => '12345-5555', + 'source' => 'source', + 'docType' => 'doc_type', + 'businessLine' => 'BVA' + } + end + let(:upload) do + OpenStruct.new({ + body: { + 'data' => { + 'id' => 'uuid-for-the-upload', + 'attributes' => { + 'location' => 'upload-url-location' + } + } + } + }) + end + let(:mime_pdf) { Mime[:pdf].to_s } + let(:mime_json) { Mime[:json].to_s } + + before do + allow(service).to receive(:perform) + end + + describe '#perform_upload' do + let(:args) do + { + metadata: 'metadata', + document: 'file-path', + attachments: %w[attachment-path1 attachment-path2] + # upload_url: nil, # force call to #request_upload + } + end + + let(:expected_params) do + { + metadata: 'a-file-io-object', + content: 'a-file-io-object', + attachment1: 'a-file-io-object', + attachment2: 'a-file-io-object' + } + end + + let(:headers) { { 'Content-Type' => 'multipart/form-data' } } + + before do + service.instance_variable_set(:@uploads, true) + service.instance_variable_set(:@location, 'location') + service.instance_variable_set(:@uuid, 'uuid') + + allow(Common::FileHelpers).to receive(:generate_temp_file).and_return 'a-temp-file' + allow(Faraday::UploadIO).to receive(:new).and_return 'a-file-io-object' + end + + it 'performs the upload' do + expect(Common::FileHelpers).to( + receive(:generate_temp_file).once.with('metadata', 'api.benefits_intake.uuid.metadata.json') + ) + + expect(Faraday::UploadIO).to receive(:new).once.with('a-temp-file', mime_json, 'metadata.json') + expect(Faraday::UploadIO).to receive(:new).once.with('file-path', mime_pdf, 'file-path') + expect(Faraday::UploadIO).to receive(:new).once.with('attachment-path1', mime_pdf, 'attachment-path1') + expect(Faraday::UploadIO).to receive(:new).once.with('attachment-path2', mime_pdf, 'attachment-path2') + + expect(service).to receive(:perform).with(:put, 'location', expected_params, headers) + service.perform_upload(**args) + end + + it 'performs the upload to a different url' do + args[:upload_url] = 'another-location' + expect(service).not_to receive(:request_upload) + expect(service).to receive(:perform).with(:put, 'another-location', expected_params, headers) + service.perform_upload(**args) + end + end + + describe '#request_upload' do + it 'instantiates and returns location and uuid' do + allow(service).to receive(:perform).and_return(upload) + + expect(service).to receive(:perform).with(:post, 'uploads', {}, {}) + + location, uuid = service.request_upload + + expect(location).to eq('upload-url-location') + expect(uuid).to eq('uuid-for-the-upload') + expect(service.location).to eq(location) + expect(service.uuid).to eq(uuid) + end + + context 'existing instance variables' do + before do + service.instance_variable_set(:@uploads, true) + service.instance_variable_set(:@location, 'location') + service.instance_variable_set(:@uuid, 'uuid') + end + + it 'returns existing instance values' do + expect(service).not_to receive(:perform) + + location, uuid = service.request_upload + + expect(location).to eq('location') + expect(uuid).to eq('uuid') + end + + it 're-instantiates and return location and uuid' do + allow(service).to receive(:perform).and_return(upload) + + expect(service).to receive(:perform).with(:post, 'uploads', {}, {}) + + location, uuid = service.request_upload(refresh: true) + + expect(location).to eq('upload-url-location') + expect(uuid).to eq('uuid-for-the-upload') + expect(service.location).to eq(location) + expect(service.uuid).to eq(uuid) + end + end + end + + describe '#get_status' do + it 'gets an upload status' do + uuid = '12345TEST' + headers = { 'accept' => mime_json } + + expect(service).to receive(:perform).with(:get, "uploads/#{uuid}", {}, headers) + service.get_status(uuid:) + end + end + + describe '#bulk_status' do + it 'requests a status report' do + uuids = ['12345TEST', '6789FOO', 'BAR!'] + headers = { 'Content-Type' => mime_json, 'accept' => mime_json } + data = { uuids: }.to_json + + expect(service).to receive(:perform).with(:post, 'uploads/report', data, headers) + + service.bulk_status(uuids:) + end + end + + describe '#download' do + it 'gets the download' do + uuid = '12345TEST' + headers = { 'accept' => Mime[:zip].to_s } + + expect(service).to receive(:perform).with(:get, "uploads/#{uuid}/download", {}, headers) + service.download(uuid:) + end + end + + describe '#valid_metadata?' do + it 'returns valid metadata' do + data = service.valid_metadata?(metadata:) + expect(data).to eq(metadata) + end + + context 'invalid metadata' do + it 'errors on missing field' do + expect do + service.valid_metadata?(metadata: {}) + end.to raise_error(ArgumentError, 'veteran first name is missing') + end + + it 'errors on non-string field' do + expect do + service.valid_metadata?(metadata: { 'veteranFirstName' => 42 }) + end.to raise_error(ArgumentError, 'veteran first name is not a string') + end + + it 'errors on blank field' do + expect do + service.valid_metadata?(metadata: { 'veteranFirstName' => '' }) + end.to raise_error(ArgumentError, 'veteran first name is blank') + + expect do + service.valid_metadata?(metadata: { 'veteranFirstName' => ' ' }) + end.to raise_error(ArgumentError, 'veteran first name is blank') + + expect do + service.valid_metadata?(metadata: { 'veteranFirstName' => '23&_$!42' }) + end.to raise_error(ArgumentError, 'veteran first name is blank') + end + end + end + + describe '#valid_document?' do + let(:document) { 'fake-file-path' } + + context 'a valid file' do + before do + allow(File).to receive(:read).and_return('test-file-read') + allow(Marcel::MimeType).to receive(:for).and_return(mime_pdf) + allow(service).to receive(:perform).and_return OpenStruct.new({ success?: true }) + end + + it 'returns document path' do + expect(File).to receive(:read).once.with(document, mode: 'rb') + expect(Marcel::MimeType).to receive(:for).once.with('test-file-read') + expect(service).to receive(:perform).once.with(:post, 'uploads/validate_document', 'test-file-read', anything) + + expect(service.valid_document?(document:)).to eq(document) + end + end + + context 'an invalid file' do + it 'errors reading a missing file' do + expect do + service.valid_document?(document:) + end.to raise_error SystemCallError, /#{document}/ + end + + it 'errors if not a PDF' do + allow(File).to receive(:read).and_return('test-file-read') + allow(Marcel::MimeType).to receive(:for).and_return('not-a-pdf') + + expect do + service.valid_document?(document:) + end.to raise_error TypeError, 'Invalid Document MimeType: not-a-pdf' + end + + it 'errors on unsuccessful api validation' do + allow(File).to receive(:read).and_return('test-file-read') + allow(Marcel::MimeType).to receive(:for).and_return(mime_pdf) + allow(service).to receive(:perform).and_return OpenStruct.new({ success?: false }) + + expect do + service.valid_document?(document:) + end.to raise_error BenefitsIntake::Service::InvalidDocumentError, /Invalid Document/ + end + end + end + + describe '#valid_upload?' do + it 'returns valid upload parameters' do + allow(service).to receive(:valid_document?).and_return('valid-doc-path') + + # no attachments included + expected = { metadata:, document: 'valid-doc-path', attachments: [] } + expect(service).to receive(:valid_document?).once + + response = service.valid_upload?(metadata:, document: 'file-path') + expect(response).to eq(expected) + + # with 2 attachments + expected = { + metadata:, + document: 'valid-doc-path', + attachments: %w[valid-doc-path valid-doc-path] + } + expect(service).to receive(:valid_document?).exactly(3).times + + response = service.valid_upload?(metadata:, document: 'file-path', attachments: %w[1 2]) + expect(response).to eq(expected) + end + + it 'errors on bad metadata' do + expect do + service.valid_upload?(metadata: {}, document: 'file-path') + end.to raise_error ArgumentError + end + + it 'errors on bad file' do + expect do + service.valid_upload?(metadata:, document: 'file-path') + end.to raise_error SystemCallError + end + end + + # end RSpec.describe +end diff --git a/spec/lib/pdf_fill/forms/va21p530v2_spec.rb b/spec/lib/pdf_fill/forms/va21p530v2_spec.rb index 58dd79761a1..b5529119276 100644 --- a/spec/lib/pdf_fill/forms/va21p530v2_spec.rb +++ b/spec/lib/pdf_fill/forms/va21p530v2_spec.rb @@ -142,5 +142,20 @@ def class_form_data get_fixture('pdf_fill/21P-530V2/merge_fields').to_json ) end + + it 'leaves benefit selections blank on pdf if unselected', run_at: '2024-03-21 00:00:00 EDT' do + unselected_benefits_data = get_fixture('pdf_fill/21P-530V2/kitchen_sink').except( + 'burialExpenseResponsibility', 'plotExpenseResponsibility', 'transportation' + ) + expected_merge_data = get_fixture('pdf_fill/21P-530V2/merge_fields').except( + 'burialExpenseResponsibility', 'plotExpenseResponsibility', 'transportation' + ) + expected_merge_data['hasTransportation'] = nil + expected_merge_data['hasBurialExpenseResponsibility'] = nil + expected_merge_data['hasPlotExpenseResponsibility'] = nil + expect(described_class.new(unselected_benefits_data).merge_fields.to_json).to eq( + expected_merge_data.to_json + ) + end end end diff --git a/spec/lib/saml/post_url_service_spec.rb b/spec/lib/saml/post_url_service_spec.rb index 5a45c3e270f..fb2c9df8172 100644 --- a/spec/lib/saml/post_url_service_spec.rb +++ b/spec/lib/saml/post_url_service_spec.rb @@ -613,27 +613,102 @@ let(:expected_log_message) { 'Redirecting to /terms-of-use' } let(:expected_log_payload) { { type: :ssoe } } - context 'when tracker application is within TERMS_OF_USE_ENABLED_CLIENTS' do - let(:application) { SAML::URLService::TERMS_OF_USE_ENABLED_CLIENTS_LOWERS.first } + context 'when associated terms of use redirect user cache object exists' do + let(:cache_key) { "terms_of_use_redirect_user_#{user.uuid}" } + let(:enabled_clients) { application } + let(:cache_expiration) { 5.minutes } + + before do + allow(Settings.terms_of_use).to receive(:enabled_clients).and_return(enabled_clients) + allow(Rails.cache).to receive(:read).with(cache_key).and_return(application) + end - context 'and authentication is occuring on a review instance' do - let(:review_instance_slug) { 'some-review-instance-slug' } - let(:review_instance_url) { "#{review_instance_slug}.review.vetsgov-internal" } + context 'and application is within Settings.terms_of_use.enabled_clients' do + let(:enabled_clients) { application } - before { allow(Settings).to receive(:review_instance_slug).and_return(review_instance_slug) } + context 'and authentication is occuring on a review instance' do + let(:review_instance_slug) { 'some-review-instance-slug' } + let(:review_instance_url) { "#{review_instance_slug}.review.vetsgov-internal" } - it 'has a login redirect url as a parameter embedded in review instance terms of use page' do - expect(subject.terms_of_use_redirect_url) - .to eq("http://#{review_instance_url}/terms-of-use?#{expected_redirect_url_param}") + before { allow(Settings).to receive(:review_instance_slug).and_return(review_instance_slug) } + + it 'has a login redirect url as a parameter embedded in review instance terms of use page' do + expect(subject.terms_of_use_redirect_url) + .to eq("http://#{review_instance_url}/terms-of-use?#{expected_redirect_url_param}") + end + + it 'logs expected message and payload' do + expect(Rails.logger).to receive(:info).with(expected_log_message, expected_log_payload) + subject.terms_of_use_redirect_url + end end - it 'logs expected message and payload' do - expect(Rails.logger).to receive(:info).with(expected_log_message, expected_log_payload) - subject.terms_of_use_redirect_url + context 'and authentication is not occurring on a review instance' do + it 'has a login redirect url as a parameter embedded in terms of use page with success' do + expect(subject.terms_of_use_redirect_url) + .to eq("#{values[:base_redirect]}/terms-of-use?#{expected_redirect_url_param}") + end + + it 'logs expected message and payload' do + expect(Rails.logger).to receive(:info).with(expected_log_message, expected_log_payload) + subject.terms_of_use_redirect_url + end + end + end + + context 'and stored application is not within Settings.terms_of_use.enabled_clients' do + let(:enabled_clients) { '' } + + it 'has a login redirect url with success not embedded in a terms of use page' do + expect(subject.terms_of_use_redirect_url).to eq(expected_login_redirect_url) end end - context 'and authentication is not occurring on a review instance' do + it 'deletes the cached terms of use redirect user object' do + expect(Rails.cache).to receive(:delete).with(cache_key) + subject.terms_of_use_redirect_url + end + end + + context 'when associated terms of use redirect user cache object does not exist' do + context 'when tracker application is within Settings.terms_of_use.enabled_clients' do + before do + allow(Settings.terms_of_use).to receive(:enabled_clients).and_return(application) + end + + context 'and authentication is occuring on a review instance' do + let(:review_instance_slug) { 'some-review-instance-slug' } + let(:review_instance_url) { "#{review_instance_slug}.review.vetsgov-internal" } + + before { allow(Settings).to receive(:review_instance_slug).and_return(review_instance_slug) } + + it 'has a login redirect url as a parameter embedded in review instance terms of use page' do + expect(subject.terms_of_use_redirect_url) + .to eq("http://#{review_instance_url}/terms-of-use?#{expected_redirect_url_param}") + end + + it 'logs expected message and payload' do + expect(Rails.logger).to receive(:info).with(expected_log_message, expected_log_payload) + subject.terms_of_use_redirect_url + end + end + + context 'and authentication is not occurring on a review instance' do + it 'has a login redirect url as a parameter embedded in terms of use page with success' do + expect(subject.terms_of_use_redirect_url) + .to eq("#{values[:base_redirect]}/terms-of-use?#{expected_redirect_url_param}") + end + + it 'logs expected message and payload' do + expect(Rails.logger).to receive(:info).with(expected_log_message, expected_log_payload) + subject.terms_of_use_redirect_url + end + end + end + + context 'when tracker application is nil' do + let(:application) { nil } + it 'has a login redirect url as a parameter embedded in terms of use page with success' do expect(subject.terms_of_use_redirect_url) .to eq("#{values[:base_redirect]}/terms-of-use?#{expected_redirect_url_param}") @@ -644,28 +719,16 @@ subject.terms_of_use_redirect_url end end - end - - context 'when tracker application is nil' do - let(:application) { nil } - it 'has a login redirect url as a parameter embedded in terms of use page with success' do - expect(subject.terms_of_use_redirect_url) - .to eq("#{values[:base_redirect]}/terms-of-use?#{expected_redirect_url_param}") - end - - it 'logs expected message and payload' do - expect(Rails.logger).to receive(:info).with(expected_log_message, expected_log_payload) - subject.terms_of_use_redirect_url - end - end - - context 'when tracker application is not within TERMS_OF_USE_ENABLED_CLIENTS' do - let(:application) { 'some-application' } + context 'when tracker application is not within Settings.terms_of_use.enabled_clients' do + before do + allow(Settings.terms_of_use).to receive(:enabled_clients).and_return('') + end - it 'has a login redirect url with success not embedded in a terms of use page' do - expect(subject.terms_of_use_redirect_url) - .to eq(expected_login_redirect_url) + it 'has a login redirect url with success not embedded in a terms of use page' do + expect(subject.terms_of_use_redirect_url) + .to eq(expected_login_redirect_url) + end end end end diff --git a/spec/lib/simple_forms_api_submission/service_spec.rb b/spec/lib/simple_forms_api_submission/service_spec.rb index 6864c3532cc..f7495a07983 100644 --- a/spec/lib/simple_forms_api_submission/service_spec.rb +++ b/spec/lib/simple_forms_api_submission/service_spec.rb @@ -5,47 +5,51 @@ require 'simple_forms_api_submission/service' describe SimpleFormsApiSubmission::Service do - mock_metadata = ' - {"veteranFirstName"=>"Veteran", "veteranLastName"=>"Surname", "fileNumber"=>"123456789", - "zipCode"=>"12345", "source"=>"test", "docType"=>"test", "businessLine"=>"OTH"} - ' - - before(:all) do - @service = SimpleFormsApiSubmission::Service.new + let(:mock_metadata) do + '{"veteranFirstName"=>"Veteran", "veteranLastName"=>"Surname", "fileNumber"=>"123456789", + "zipCode"=>"12345", "source"=>"test", "docType"=>"test", "businessLine"=>"OTH"}' end + let(:simple_forms_service) { SimpleFormsApiSubmission::Service.new } + let(:file_seed) { 'some-unique-simple-forms-service-spec-file-seed' } + + before { allow(SecureRandom).to receive(:hex).and_return(file_seed) } + describe 'get uuid and upload location' do it 'retrieves uuid and upload location from the Lighthouse API' do VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload_location') do - response = @service.get_upload_location + response = simple_forms_service.get_upload_location expect(response.status).to equal(200) end end end describe 'generate metadata file' do + let(:mock_file_path_metadata) { "#{file_seed}.SimpleFormsApi.metadata.json" } + it 'generates a json file from the metadata' do - @service.generate_tmp_metadata(mock_metadata) + simple_forms_service.generate_tmp_metadata(mock_metadata) expect(Dir['tmp/*.SimpleFormsApi.metadata.json'].any?).to equal(true) ensure - metadata_file = Dir['tmp/*.SimpleFormsApi.metadata.json'][0] - Common::FileHelpers.delete_file_if_exists(metadata_file) if defined?(metadata_file) + Common::FileHelpers.delete_file_if_exists(mock_file_path_metadata) end end describe 'upload doc' do + let(:mock_file) { Common::FileHelpers.random_file_path } + let(:mock_file_path_pdf) { "#{mock_file}-mock-upload.pdf" } + let(:mock_file_path_metadata) { "#{mock_file}.SimpleFormsApi.metadata.json" } + it 'upload doc to mock location' do VCR.use_cassette('lighthouse/benefits_intake/200_lighthouse_intake_upload') do mock_upload_url = 'https://sandbox-api.va.gov/services_user_content/vba_documents/id-path-doesnt-matter' - mock_file_path = "#{Common::FileHelpers.random_file_path}-mock-upload.pdf" - Prawn::Document.new.render_file mock_file_path - response = @service.upload_doc(upload_url: mock_upload_url, file: mock_file_path, metadata: mock_metadata) + Prawn::Document.new.render_file mock_file_path_pdf + response = simple_forms_service.upload_doc(upload_url: mock_upload_url, + file: mock_file_path_pdf, + metadata: mock_metadata) expect(response.status).to equal(200) ensure - metadata_file = Dir['tmp/*.SimpleFormsApi.metadata.json'][0] - pdf_file = Dir['tmp/*-mock-upload.pdf'][0] - Common::FileHelpers.delete_file_if_exists(metadata_file) if defined?(metadata_file) - Common::FileHelpers.delete_file_if_exists(pdf_file) if defined?(pdf_file) + Common::FileHelpers.delete_file_if_exists(mock_file_path_pdf) end end end diff --git a/spec/models/personal_information_log_spec.rb b/spec/models/personal_information_log_spec.rb index 42b0dde1ea3..4d9cfff7e39 100644 --- a/spec/models/personal_information_log_spec.rb +++ b/spec/models/personal_information_log_spec.rb @@ -26,8 +26,8 @@ context 'when data is missing' do let(:pi_log) { build(:personal_information_log, data: nil) } - it 'raises PG::NotNullViolation error' do - expect { pi_log.save }.to raise_error(ActiveRecord::NotNullViolation) + it 'does not raise error' do + expect { pi_log.save }.not_to raise_error end end diff --git a/spec/models/saved_claim/education_career_counseling_claim_spec.rb b/spec/models/saved_claim/education_career_counseling_claim_spec.rb index 0c3c80b5d13..57a684aa202 100644 --- a/spec/models/saved_claim/education_career_counseling_claim_spec.rb +++ b/spec/models/saved_claim/education_career_counseling_claim_spec.rb @@ -12,18 +12,40 @@ end end - describe '#send_to_central_mail!' do - it 'formats data before sending to central mail' do + describe '#send_to_benefits_intake!' do + it 'formats data before sending to central mail or benefits intake' do allow(claim).to receive(:process_attachments!) expect(claim).to receive(:update).with(form: a_string_including('"veteranSocialSecurityNumber":"333224444"')) - claim.send_to_central_mail! + claim.send_to_benefits_intake! end it 'calls process_attachments! method' do expect(claim).to receive(:process_attachments!) - claim.send_to_central_mail! + claim.send_to_benefits_intake! + end + + context 'Feature ecc_benefits_intake_submission is true' do + before do + Flipper.enable(:ecc_benefits_intake_submission) + end + + it 'calls Lighthouse::SubmitBenefitsIntakeClaim job' do + expect_any_instance_of(Lighthouse::SubmitBenefitsIntakeClaim).to receive(:perform).with(claim.id) + claim.send_to_benefits_intake! + end + end + + context 'Feature ecc_benefits_intake_submission is false' do + before do + Flipper.disable(:ecc_benefits_intake_submission) + end + + it 'calls CentralMail::SubmitSavedClaimJob job' do + expect_any_instance_of(CentralMail::SubmitSavedClaimJob).to receive(:perform).with(claim.id) + claim.send_to_benefits_intake! + end end end end diff --git a/spec/requests/health_care_applications_request_spec.rb b/spec/requests/health_care_applications_request_spec.rb index 946b431a186..dfbb234ae2f 100644 --- a/spec/requests/health_care_applications_request_spec.rb +++ b/spec/requests/health_care_applications_request_spec.rb @@ -210,6 +210,51 @@ end end + describe 'GET facilities' do + it 'responds with facilities data' do + VCR.use_cassette('lighthouse/facilities/v1/200_facilities_facility_ids', match_requests_on: %i[method uri]) do + get(facilities_v0_health_care_applications_path(facilityIds: %w[vha_757 vha_358])) + end + expect(response).to have_http_status(:ok) + expect(response.parsed_body[0]).to eq({ 'access' => nil, + 'active_status' => nil, + 'address' => { + 'mailing' => { 'zip' => '66713', 'city' => 'Leavenworth', + 'state' => 'KS', 'address1' => '150 Muncie Rd' }, + 'physical' => { 'zip' => '66713', 'city' => 'Baxter Springs', + 'state' => 'KS', + 'address1' => 'Baxter Springs City Cemetery' } + }, + 'classification' => 'Soldiers Lot', + 'detailed_services' => nil, + 'distance' => nil, + 'facility_type' => 'va_cemetery', + 'facility_type_prefix' => 'nca', + 'feedback' => nil, + 'hours' => + { 'monday' => 'Sunrise - Sundown', + 'tuesday' => 'Sunrise - Sundown', + 'wednesday' => 'Sunrise - Sundown', + 'thursday' => 'Sunrise - Sundown', + 'friday' => 'Sunrise - Sundown', + 'saturday' => 'Sunrise - Sundown', + 'sunday' => 'Sunrise - Sundown' }, + 'id' => 'nca_042', + 'lat' => 37.0320575, + 'long' => -94.7706605, + 'mobile' => nil, + 'name' => "Baxter Springs City Soldiers' Lot", + 'operating_status' => { 'code' => 'NORMAL' }, + 'operational_hours_special_instructions' => nil, + 'phone' => { 'fax' => '9137584136', 'main' => '9137584105' }, + 'services' => nil, + 'type' => 'va_facilities', + 'unique_id' => '042', + 'visn' => nil, + 'website' => 'https://www.cem.va.gov/cems/lots/BaxterSprings.asp' }) + end + end + describe 'POST create' do subject do post(v0_health_care_applications_path, diff --git a/spec/services/claim_fast_tracking/max_rating_annotator_spec.rb b/spec/services/claim_fast_tracking/max_rating_annotator_spec.rb index 498c5cb5cb9..4eb5ab56353 100644 --- a/spec/services/claim_fast_tracking/max_rating_annotator_spec.rb +++ b/spec/services/claim_fast_tracking/max_rating_annotator_spec.rb @@ -30,6 +30,23 @@ expect(max_ratings).to eq([10, nil, nil]) end end + + context 'when a disabilities response has two rated disabilities with same diagnostic code' do + let(:disabilities_data) do + [ + { name: 'Tinnitus', diagnostic_code: 6260, rating_percentage: 10 }, + { name: 'Tinnitus', diagnostic_code: 6260, rating_percentage: 10 } + ] + end + + it 'mutates both rated disabilities with max ratings from VRO' do + VCR.use_cassette('virtual_regional_office/max_ratings') do + subject + max_ratings = disabilities_response.rated_disabilities.map(&:maximum_rating_percentage) + expect(max_ratings).to eq([10, 10]) + end + end + end end context 'with disability_526_maximum_rating_api_all_conditions enabled' do diff --git a/spec/sidekiq/central_mail/submit_career_counseling_job_spec.rb b/spec/sidekiq/lighthouse/submit_career_counseling_job_spec.rb similarity index 80% rename from spec/sidekiq/central_mail/submit_career_counseling_job_spec.rb rename to spec/sidekiq/lighthouse/submit_career_counseling_job_spec.rb index 980c183089d..d4dccbd2a6a 100644 --- a/spec/sidekiq/central_mail/submit_career_counseling_job_spec.rb +++ b/spec/sidekiq/lighthouse/submit_career_counseling_job_spec.rb @@ -2,19 +2,19 @@ require 'rails_helper' -RSpec.describe CentralMail::SubmitCareerCounselingJob do +RSpec.describe Lighthouse::SubmitCareerCounselingJob do let(:claim) { create(:education_career_counseling_claim) } let(:job) { described_class.new } describe '#perform' do it 'sends to central mail' do - expect_any_instance_of(SavedClaim::EducationCareerCounselingClaim).to receive(:send_to_central_mail!) + expect_any_instance_of(SavedClaim::EducationCareerCounselingClaim).to receive(:send_to_benefits_intake!) job.perform(claim.id) end it 'sends confirmation email' do - allow_any_instance_of(SavedClaim::EducationCareerCounselingClaim).to receive(:send_to_central_mail!) + allow_any_instance_of(SavedClaim::EducationCareerCounselingClaim).to receive(:send_to_benefits_intake!) expect(job).to receive(:send_confirmation_email).with(nil) @@ -60,11 +60,11 @@ describe 'sidekiq_retries_exhausted block' do it 'logs error when retries are exhausted' do - CentralMail::SubmitCareerCounselingJob.within_sidekiq_retries_exhausted_block do + Lighthouse::SubmitCareerCounselingJob.within_sidekiq_retries_exhausted_block do expect(Rails.logger).to receive(:error).exactly(:once).with( - 'Failed all retries on CentralMail::SubmitCareerCounselingJob, last error: An error occured' + 'Failed all retries on SubmitCareerCounselingJob, last error: An error occured' ) - expect(StatsD).to receive(:increment).with('worker.central_mail.submit_career_counseling_job.exhausted') + expect(StatsD).to receive(:increment).with('worker.lighthouse.submit_career_counseling_job.exhausted') end end end diff --git a/spec/sidekiq/terms_of_use/sign_up_service_updater_job_spec.rb b/spec/sidekiq/terms_of_use/sign_up_service_updater_job_spec.rb index 65086fbcbc0..25a6fbd12bc 100644 --- a/spec/sidekiq/terms_of_use/sign_up_service_updater_job_spec.rb +++ b/spec/sidekiq/terms_of_use/sign_up_service_updater_job_spec.rb @@ -23,8 +23,8 @@ allow(Sidekiq::AttrPackage).to receive(:delete) end - it 'retries 15 times after failure' do - expect(described_class.get_sidekiq_options['retry']).to eq(15) + it 'retries 5 times after failure' do + expect(described_class.get_sidekiq_options['retry']).to eq(5) end it 'logs a message when retries have been exhausted' do @@ -45,8 +45,6 @@ ) end - it { is_expected.to be_unique } - context 'when the terms of use agreement is accepted' do before do allow(service_instance).to receive(:agreements_accept) diff --git a/spec/sidekiq/va_notify_dd_email_job_spec.rb b/spec/sidekiq/va_notify_dd_email_job_spec.rb index 10a5d528e74..406ee454aa7 100644 --- a/spec/sidekiq/va_notify_dd_email_job_spec.rb +++ b/spec/sidekiq/va_notify_dd_email_job_spec.rb @@ -38,19 +38,42 @@ describe '#perform' do let(:notification_client) { double('Notifications::Client') } - %w[ch33 comp_pen].each do |dd_type| - context "with a dd type of #{dd_type}" do - it 'sends a confirmation email' do - allow(VaNotify::Service).to receive(:new) - .with(Settings.vanotify.services.va_gov.api_key).and_return(notification_client) - - expect(notification_client).to receive(:send_email).with( - email_address: email, - template_id: dd_type == 'ch33' ? 'edu_template_id' : 'comp_pen_template_id' - ) - - described_class.new.perform(email, dd_type) - end + context 'with a dd type of ch33' do + it 'sends a confirmation email using the edu template' do + allow(VaNotify::Service).to receive(:new) + .with(Settings.vanotify.services.va_gov.api_key).and_return(notification_client) + + expect(notification_client).to receive(:send_email).with( + email_address: email, template_id: 'edu_template_id' + ) + + described_class.new.perform(email, 'ch33') + end + end + + context 'with a dd type of comp_pen' do + it 'sends a confirmation email using the comp and pen template' do + allow(VaNotify::Service).to receive(:new) + .with(Settings.vanotify.services.va_gov.api_key).and_return(notification_client) + + expect(notification_client).to receive(:send_email).with( + email_address: email, template_id: 'comp_pen_template_id' + ) + + described_class.new.perform(email, 'comp_pen') + end + end + + context 'without a dd type' do + it 'sends a confirmation email using the direct_deposit template' do + allow(VaNotify::Service).to receive(:new) + .with(Settings.vanotify.services.va_gov.api_key).and_return(notification_client) + + expect(notification_client).to receive(:send_email).with( + email_address: email, template_id: 'direct_deposit_template_id' + ) + + described_class.new.perform(email, nil) end end @@ -89,4 +112,26 @@ .and trigger_statsd_increment('worker.direct_deposit_confirmation_email.error') end end + + describe '#get_template' do + let(:job) { VANotifyDdEmailJob.new } + + context 'when dd_type is nil' do + it 'returns the direct_deposit template' do + expect(job.template_type(nil)).to eq('direct_deposit') + end + end + + context 'when dd_type is comp_pen' do + it 'returns the direct_deposit template' do + expect(job.template_type('comp_pen')).to eq('direct_deposit_comp_pen') + end + end + + context 'when dd_type is edu' do + it 'returns the direct_deposit template' do + expect(job.template_type('edu')).to eq('direct_deposit') + end + end + end end diff --git a/spec/support/vcr_cassettes/bgs/awards_service/get_awards.yml b/spec/support/vcr_cassettes/bgs/awards_service/get_awards.yml index bb37ddaa7ae..7ac6854bdce 100644 --- a/spec/support/vcr_cassettes/bgs/awards_service/get_awards.yml +++ b/spec/support/vcr_cassettes/bgs/awards_service/get_awards.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/AwardWebServiceBean/AwardWebService?WSDL + uri: /AwardWebServiceBean/AwardWebService?WSDL body: encoding: US-ASCII string: '' @@ -263,7 +263,7 @@ http_interactions: recorded_at: Thu, 19 Nov 2020 16:45:03 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/AwardWebServiceBean/AwardWebService + uri: /AwardWebServiceBean/AwardWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/benefit_claim/create.yml b/spec/support/vcr_cassettes/bgs/benefit_claim/create.yml index 0d4fb82b5fd..51a486ea210 100644 --- a/spec/support/vcr_cassettes/bgs/benefit_claim/create.yml +++ b/spec/support/vcr_cassettes/bgs/benefit_claim/create.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService?WSDL + uri: /BenefitClaimServiceBean/BenefitClaimWebService?WSDL body: encoding: US-ASCII string: '' @@ -355,7 +355,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:37:47 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService + uri: /BenefitClaimServiceBean/BenefitClaimWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/benefit_claim/create/error.yml b/spec/support/vcr_cassettes/bgs/benefit_claim/create/error.yml index bcdc4a0e0a0..96e75898983 100644 --- a/spec/support/vcr_cassettes/bgs/benefit_claim/create/error.yml +++ b/spec/support/vcr_cassettes/bgs/benefit_claim/create/error.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService?WSDL + uri: /BenefitClaimServiceBean/BenefitClaimWebService?WSDL body: encoding: US-ASCII string: '' @@ -355,7 +355,7 @@ http_interactions: recorded_at: Mon, 27 Jul 2020 23:21:14 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService + uri: /BenefitClaimServiceBean/BenefitClaimWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/benefit_claim/find_bnft_claim_400.yml b/spec/support/vcr_cassettes/bgs/benefit_claim/find_bnft_claim_400.yml index 6145d56df97..e31737dfe1b 100644 --- a/spec/support/vcr_cassettes/bgs/benefit_claim/find_bnft_claim_400.yml +++ b/spec/support/vcr_cassettes/bgs/benefit_claim/find_bnft_claim_400.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL body: encoding: US-ASCII string: '' @@ -217,7 +217,7 @@ http_interactions: recorded_at: Thu, 31 Aug 2023 19:48:14 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/benefit_claim/find_bnft_claim_500.yml b/spec/support/vcr_cassettes/bgs/benefit_claim/find_bnft_claim_500.yml index 8d5d85dd516..bd57826f339 100644 --- a/spec/support/vcr_cassettes/bgs/benefit_claim/find_bnft_claim_500.yml +++ b/spec/support/vcr_cassettes/bgs/benefit_claim/find_bnft_claim_500.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EbenefitsBenefitClaimsStatus?WSDL + uri: /EBenefitsBnftClaimStatusWebServiceBean/EbenefitsBenefitClaimsStatus?WSDL body: encoding: US-ASCII string: '' @@ -217,7 +217,7 @@ http_interactions: recorded_at: Tue, 25 Oct 2022 01:52:04 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EbenefitsBenefitClaimsStatus + uri: /EBenefitsBnftClaimStatusWebServiceBean/EbenefitsBenefitClaimsStatus body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/benefit_claim/update_5103_200.yml b/spec/support/vcr_cassettes/bgs/benefit_claim/update_5103_200.yml index 5dfd686992c..d3f5e305dc5 100644 --- a/spec/support/vcr_cassettes/bgs/benefit_claim/update_5103_200.yml +++ b/spec/support/vcr_cassettes/bgs/benefit_claim/update_5103_200.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL body: encoding: US-ASCII string: '' @@ -217,7 +217,7 @@ http_interactions: recorded_at: Thu, 31 Aug 2023 19:44:07 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/benefit_claim/update_5103_claim.yml b/spec/support/vcr_cassettes/bgs/benefit_claim/update_5103_claim.yml index 9bf3bc41c9f..c4f9c312e5a 100644 --- a/spec/support/vcr_cassettes/bgs/benefit_claim/update_5103_claim.yml +++ b/spec/support/vcr_cassettes/bgs/benefit_claim/update_5103_claim.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimWebServiceBean/BenefitClaimWebService?WSDL + uri: /BenefitClaimWebServiceBean/BenefitClaimWebService?WSDL body: encoding: US-ASCII string: '' @@ -401,7 +401,7 @@ http_interactions: recorded_at: Thu, 13 Jul 2023 15:27:37 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimWebServiceBean/BenefitClaimWebService + uri: /BenefitClaimWebServiceBean/BenefitClaimWebService body: encoding: UTF-8 string: | @@ -472,7 +472,7 @@ http_interactions: recorded_at: Thu, 13 Jul 2023 15:27:38 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimWebServiceBean/BenefitClaimWebServiceV1?WSDL + uri: /BenefitClaimWebServiceBean/BenefitClaimWebServiceV1?WSDL body: encoding: US-ASCII string: '' @@ -873,7 +873,7 @@ http_interactions: recorded_at: Thu, 13 Jul 2023 15:27:39 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimWebServiceBean/BenefitClaimWebServiceV1 + uri: /BenefitClaimWebServiceBean/BenefitClaimWebServiceV1 body: encoding: UTF-8 string: |- @@ -935,7 +935,7 @@ http_interactions: recorded_at: Thu, 13 Jul 2023 15:27:40 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimManagementService/ClaimManagementService?WSDL + uri: /ClaimManagementService/ClaimManagementService?WSDL body: encoding: US-ASCII string: '' @@ -1092,7 +1092,7 @@ http_interactions: recorded_at: Thu, 13 Jul 2023 15:27:40 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimManagementService/ClaimManagementService + uri: /ClaimManagementService/ClaimManagementService body: encoding: UTF-8 string: | @@ -1167,7 +1167,7 @@ http_interactions: recorded_at: Thu, 13 Jul 2023 15:27:41 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimManagementService/ClaimManagementService?WSDL + uri: /ClaimManagementService/ClaimManagementService?WSDL body: encoding: US-ASCII string: '' @@ -1324,7 +1324,7 @@ http_interactions: recorded_at: Thu, 13 Jul 2023 15:27:42 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimManagementService/ClaimManagementService + uri: /ClaimManagementService/ClaimManagementService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/children/apdopted_child_lives_with_veteran.yml b/spec/support/vcr_cassettes/bgs/children/apdopted_child_lives_with_veteran.yml index 285bb3dd938..f11e998c8da 100644 --- a/spec/support/vcr_cassettes/bgs/children/apdopted_child_lives_with_veteran.yml +++ b/spec/support/vcr_cassettes/bgs/children/apdopted_child_lives_with_veteran.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:36:27 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:36:27 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -396,7 +396,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:36:28 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -455,7 +455,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:36:29 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -624,7 +624,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:36:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/children/create_all.yml b/spec/support/vcr_cassettes/bgs/children/create_all.yml index b0573ee4bfb..75ce829a660 100644 --- a/spec/support/vcr_cassettes/bgs/children/create_all.yml +++ b/spec/support/vcr_cassettes/bgs/children/create_all.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:28:54 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:28:55 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -396,7 +396,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:28:56 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -452,7 +452,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:28:57 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -621,7 +621,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:28:58 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -678,7 +678,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:28:59 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -847,7 +847,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:00 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -903,7 +903,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:01 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -1072,7 +1072,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:02 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -1130,7 +1130,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:03 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -1299,7 +1299,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:05 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -1356,7 +1356,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:05 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -1525,7 +1525,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:06 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -1581,7 +1581,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:07 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -1750,7 +1750,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:08 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -1806,7 +1806,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:09 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -1975,7 +1975,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:10 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -2031,7 +2031,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:11 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -2200,7 +2200,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:12 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -2256,7 +2256,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:13 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -2425,7 +2425,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:13 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -2482,7 +2482,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:14 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -2651,7 +2651,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:15 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -2707,7 +2707,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:16 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -2876,7 +2876,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:17 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -2932,7 +2932,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:18 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -3101,7 +3101,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:19 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -3157,7 +3157,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:20 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -3326,7 +3326,7 @@ http_interactions: recorded_at: Wed, 26 Aug 2020 14:29:21 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/claimant_web_service/dependents.yml b/spec/support/vcr_cassettes/bgs/claimant_web_service/dependents.yml index ff865a4e4c2..7322710bd08 100644 --- a/spec/support/vcr_cassettes/bgs/claimant_web_service/dependents.yml +++ b/spec/support/vcr_cassettes/bgs/claimant_web_service/dependents.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimantServiceBean/ClaimantWebService?WSDL + uri: /ClaimantServiceBean/ClaimantWebService?WSDL body: encoding: US-ASCII string: '' @@ -724,7 +724,7 @@ http_interactions: recorded_at: Sat, 25 Apr 2020 01:11:06 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimantServiceBean/ClaimantWebService + uri: /ClaimantServiceBean/ClaimantWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/claimant_web_service/dependents_400.yml b/spec/support/vcr_cassettes/bgs/claimant_web_service/dependents_400.yml index 54095c3dce4..5bf9a2b70a8 100644 --- a/spec/support/vcr_cassettes/bgs/claimant_web_service/dependents_400.yml +++ b/spec/support/vcr_cassettes/bgs/claimant_web_service/dependents_400.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimantServiceBean/ClaimantWebService?WSDL + uri: /ClaimantServiceBean/ClaimantWebService?WSDL body: encoding: US-ASCII string: '' diff --git a/spec/support/vcr_cassettes/bgs/claimant_web_service/find_poa_by_participant_id.yml b/spec/support/vcr_cassettes/bgs/claimant_web_service/find_poa_by_participant_id.yml index 28ea1f9331b..dbb4826b0c4 100644 --- a/spec/support/vcr_cassettes/bgs/claimant_web_service/find_poa_by_participant_id.yml +++ b/spec/support/vcr_cassettes/bgs/claimant_web_service/find_poa_by_participant_id.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimantServiceBean/ClaimantWebService?WSDL + uri: /ClaimantServiceBean/ClaimantWebService?WSDL body: encoding: US-ASCII string: '' @@ -723,7 +723,7 @@ http_interactions: recorded_at: Wed, 07 Oct 2020 15:00:23 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimantServiceBean/ClaimantWebService + uri: /ClaimantServiceBean/ClaimantWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/claimant_web_service/not_find_poa_by_participant_id.yml b/spec/support/vcr_cassettes/bgs/claimant_web_service/not_find_poa_by_participant_id.yml index 40e0d24ab74..d9afea5ada4 100644 --- a/spec/support/vcr_cassettes/bgs/claimant_web_service/not_find_poa_by_participant_id.yml +++ b/spec/support/vcr_cassettes/bgs/claimant_web_service/not_find_poa_by_participant_id.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimantServiceBean/ClaimantWebService?WSDL + uri: /ClaimantServiceBean/ClaimantWebService?WSDL body: encoding: US-ASCII string: '' @@ -723,7 +723,7 @@ http_interactions: recorded_at: Wed, 07 Oct 2020 15:01:12 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimantServiceBean/ClaimantWebService + uri: /ClaimantServiceBean/ClaimantWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/claims/claim.yml b/spec/support/vcr_cassettes/bgs/claims/claim.yml index 66fb87ce3ab..51b212ba0d7 100644 --- a/spec/support/vcr_cassettes/bgs/claims/claim.yml +++ b/spec/support/vcr_cassettes/bgs/claims/claim.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL body: encoding: US-ASCII string: '' @@ -217,7 +217,7 @@ http_interactions: recorded_at: Wed, 28 Jun 2023 22:06:32 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/claims/claim_with_errors.yml b/spec/support/vcr_cassettes/bgs/claims/claim_with_errors.yml index 6d30df5b74c..05085075cbc 100644 --- a/spec/support/vcr_cassettes/bgs/claims/claim_with_errors.yml +++ b/spec/support/vcr_cassettes/bgs/claims/claim_with_errors.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL body: encoding: US-ASCII string: '' @@ -217,7 +217,7 @@ http_interactions: recorded_at: Wed, 28 Jun 2023 22:06:34 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/claims/claims.yml b/spec/support/vcr_cassettes/bgs/claims/claims.yml index 66ea5660ceb..49bf977d849 100644 --- a/spec/support/vcr_cassettes/bgs/claims/claims.yml +++ b/spec/support/vcr_cassettes/bgs/claims/claims.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL body: encoding: US-ASCII string: '' @@ -217,7 +217,7 @@ http_interactions: recorded_at: Tue, 12 Dec 2017 03:09:06 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/claims/claims_trimmed_down.yml b/spec/support/vcr_cassettes/bgs/claims/claims_trimmed_down.yml index 5ad011045c9..849390cfaca 100644 --- a/spec/support/vcr_cassettes/bgs/claims/claims_trimmed_down.yml +++ b/spec/support/vcr_cassettes/bgs/claims/claims_trimmed_down.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL body: encoding: US-ASCII string: '' @@ -217,7 +217,7 @@ http_interactions: recorded_at: Wed, 28 Jun 2023 22:13:54 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/claims/claims_with_errors.yml b/spec/support/vcr_cassettes/bgs/claims/claims_with_errors.yml index 47a3c6d627c..b482803dd7e 100644 --- a/spec/support/vcr_cassettes/bgs/claims/claims_with_errors.yml +++ b/spec/support/vcr_cassettes/bgs/claims/claims_with_errors.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL body: encoding: US-ASCII string: '' @@ -217,7 +217,7 @@ http_interactions: recorded_at: Wed, 28 Jun 2023 21:15:21 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/ddeft/find_bank_name_invalid_routing.yml b/spec/support/vcr_cassettes/bgs/ddeft/find_bank_name_invalid_routing.yml index ba75cec30f4..a11159bcdf2 100644 --- a/spec/support/vcr_cassettes/bgs/ddeft/find_bank_name_invalid_routing.yml +++ b/spec/support/vcr_cassettes/bgs/ddeft/find_bank_name_invalid_routing.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/DdeftWebServiceBean/DdeftWebService?WSDL + uri: /DdeftWebServiceBean/DdeftWebService?WSDL body: encoding: US-ASCII string: '' @@ -263,7 +263,7 @@ http_interactions: recorded_at: Tue, 05 Jan 2021 00:02:07 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/DdeftWebServiceBean/DdeftWebService + uri: /DdeftWebServiceBean/DdeftWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/ddeft/find_bank_name_valid.yml b/spec/support/vcr_cassettes/bgs/ddeft/find_bank_name_valid.yml index ca02063f4ff..f6d8c5b0095 100644 --- a/spec/support/vcr_cassettes/bgs/ddeft/find_bank_name_valid.yml +++ b/spec/support/vcr_cassettes/bgs/ddeft/find_bank_name_valid.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/DdeftWebServiceBean/DdeftWebService?WSDL + uri: /DdeftWebServiceBean/DdeftWebService?WSDL body: encoding: US-ASCII string: '' @@ -263,7 +263,7 @@ http_interactions: recorded_at: Thu, 31 Dec 2020 19:32:14 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/DdeftWebServiceBean/DdeftWebService + uri: /DdeftWebServiceBean/DdeftWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/dependent_higher_ed_attendance/create.yml b/spec/support/vcr_cassettes/bgs/dependent_higher_ed_attendance/create.yml index 6a7802f740f..9a58d85216e 100644 --- a/spec/support/vcr_cassettes/bgs/dependent_higher_ed_attendance/create.yml +++ b/spec/support/vcr_cassettes/bgs/dependent_higher_ed_attendance/create.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Thu, 22 Oct 2020 17:48:06 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Thu, 22 Oct 2020 17:48:07 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -396,7 +396,7 @@ http_interactions: recorded_at: Thu, 22 Oct 2020 17:48:08 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -452,7 +452,7 @@ http_interactions: recorded_at: Thu, 22 Oct 2020 17:48:09 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -621,7 +621,7 @@ http_interactions: recorded_at: Thu, 22 Oct 2020 17:48:10 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/dependent_service/get_dependents.yml b/spec/support/vcr_cassettes/bgs/dependent_service/get_dependents.yml index f886da0b51e..84487340db2 100644 --- a/spec/support/vcr_cassettes/bgs/dependent_service/get_dependents.yml +++ b/spec/support/vcr_cassettes/bgs/dependent_service/get_dependents.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimantServiceBean/ClaimantWebService?WSDL + uri: /ClaimantServiceBean/ClaimantWebService?WSDL body: encoding: US-ASCII string: '' @@ -723,7 +723,7 @@ http_interactions: recorded_at: Fri, 24 Jul 2020 23:41:45 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/ClaimantServiceBean/ClaimantWebService + uri: /ClaimantServiceBean/ClaimantWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/dependent_service/submit_686c_form.yml b/spec/support/vcr_cassettes/bgs/dependent_service/submit_686c_form.yml index 0a6b62ea837..359791ac212 100644 --- a/spec/support/vcr_cassettes/bgs/dependent_service/submit_686c_form.yml +++ b/spec/support/vcr_cassettes/bgs/dependent_service/submit_686c_form.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService?WSDL + uri: /PersonWebServiceBean/PersonWebService?WSDL body: encoding: US-ASCII string: '' @@ -677,7 +677,7 @@ http_interactions: recorded_at: Fri, 24 Jul 2020 01:26:42 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService + uri: /PersonWebServiceBean/PersonWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/dependents/create.yml b/spec/support/vcr_cassettes/bgs/dependents/create.yml index d735069876d..e36ffb03ebf 100644 --- a/spec/support/vcr_cassettes/bgs/dependents/create.yml +++ b/spec/support/vcr_cassettes/bgs/dependents/create.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:06 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:07 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -396,7 +396,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:08 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -452,7 +452,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:09 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -621,7 +621,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:10 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -678,7 +678,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:11 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -847,7 +847,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:11 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -903,7 +903,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:12 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -1072,7 +1072,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:13 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -1128,7 +1128,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:14 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -1297,7 +1297,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:15 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -1354,7 +1354,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:16 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -1523,7 +1523,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:17 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -1579,7 +1579,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:17 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -1748,7 +1748,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:18 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -1807,7 +1807,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:19 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -1976,7 +1976,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:20 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -2033,7 +2033,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:21 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -2202,7 +2202,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:22 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -2258,7 +2258,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:23 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -2427,7 +2427,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:23 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -2483,7 +2483,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:24 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -2652,7 +2652,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:25 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -2708,7 +2708,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:26 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -2877,7 +2877,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:27 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -2933,7 +2933,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:27 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -3102,7 +3102,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:28 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -3158,7 +3158,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:29 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -3327,7 +3327,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -3383,7 +3383,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:30 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -3552,7 +3552,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:31 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -3609,7 +3609,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:32 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -3778,7 +3778,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:33 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -3834,7 +3834,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:34 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -4003,7 +4003,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:34 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -4059,7 +4059,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:35 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -4228,7 +4228,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:36 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -4284,7 +4284,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:37 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -4453,7 +4453,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 05:51:38 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/dependents/create/death.yml b/spec/support/vcr_cassettes/bgs/dependents/create/death.yml index 671ae5ce8fa..fe54ce283f2 100644 --- a/spec/support/vcr_cassettes/bgs/dependents/create/death.yml +++ b/spec/support/vcr_cassettes/bgs/dependents/create/death.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:12 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:13 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -396,7 +396,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:14 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -452,7 +452,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:16 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -621,7 +621,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:16 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -678,7 +678,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:17 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -847,7 +847,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:18 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -903,7 +903,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:19 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -1072,7 +1072,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:20 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -1128,7 +1128,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:21 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -1297,7 +1297,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:22 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -1354,7 +1354,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:23 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -1523,7 +1523,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:24 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -1579,7 +1579,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:24 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -1748,7 +1748,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:25 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -1807,7 +1807,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:26 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -1976,7 +1976,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:27 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -2033,7 +2033,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:28 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -2202,7 +2202,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:29 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -2258,7 +2258,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:30 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -2427,7 +2427,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -2483,7 +2483,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:31 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -2652,7 +2652,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:32 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -2708,7 +2708,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:33 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -2877,7 +2877,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:34 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -2933,7 +2933,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:34 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -3102,7 +3102,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:35 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -3158,7 +3158,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:36 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -3327,7 +3327,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:37 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -3383,7 +3383,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:38 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -3552,7 +3552,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:39 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -3609,7 +3609,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:39 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -3778,7 +3778,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:40 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -3834,7 +3834,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:41 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -4003,7 +4003,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:42 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -4059,7 +4059,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:43 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -4228,7 +4228,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:44 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -4284,7 +4284,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:45 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -4453,7 +4453,7 @@ http_interactions: recorded_at: Tue, 28 Jul 2020 14:53:45 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/dependents/create/spouse/is_veteran.yml b/spec/support/vcr_cassettes/bgs/dependents/create/spouse/is_veteran.yml index 6f6a2ccba07..4188cf10c1c 100644 --- a/spec/support/vcr_cassettes/bgs/dependents/create/spouse/is_veteran.yml +++ b/spec/support/vcr_cassettes/bgs/dependents/create/spouse/is_veteran.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:09:32 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:09:33 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -396,7 +396,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:09:33 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -452,7 +452,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:09:34 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -621,7 +621,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:09:35 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/dependents/create/spouse/lives_with_veteran.yml b/spec/support/vcr_cassettes/bgs/dependents/create/spouse/lives_with_veteran.yml index c9438a5b19f..6cede7e99d0 100644 --- a/spec/support/vcr_cassettes/bgs/dependents/create/spouse/lives_with_veteran.yml +++ b/spec/support/vcr_cassettes/bgs/dependents/create/spouse/lives_with_veteran.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:00:27 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:00:28 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -396,7 +396,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:00:28 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -452,7 +452,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:00:29 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -621,7 +621,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:00:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/diaries/read.yml b/spec/support/vcr_cassettes/bgs/diaries/read.yml index df66624b361..a8780057db1 100644 --- a/spec/support/vcr_cassettes/bgs/diaries/read.yml +++ b/spec/support/vcr_cassettes/bgs/diaries/read.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService?WSDL + uri: /benefits-awards/DiariesService?WSDL body: encoding: US-ASCII string: '' @@ -146,7 +146,7 @@ http_interactions: recorded_at: Wed, 24 Feb 2021 02:49:42 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService + uri: /benefits-awards/DiariesService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries.yml b/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries.yml index 122fe9cf694..6c2539595e3 100644 --- a/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries.yml +++ b/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService?WSDL + uri: /benefits-awards/DiariesService?WSDL body: encoding: US-ASCII string: '' @@ -146,7 +146,7 @@ http_interactions: recorded_at: Mon, 01 Feb 2021 20:08:03 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService + uri: /benefits-awards/DiariesService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_no_entries.yml b/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_no_entries.yml index 00a7c2a9895..9d78373bc5f 100644 --- a/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_no_entries.yml +++ b/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_no_entries.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService?WSDL + uri: /benefits-awards/DiariesService?WSDL body: encoding: US-ASCII string: '' @@ -146,7 +146,7 @@ http_interactions: recorded_at: Mon, 01 Feb 2021 20:08:03 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService + uri: /benefits-awards/DiariesService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_one_entry.yml b/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_one_entry.yml index f4ca001b536..54fd5cb6a58 100644 --- a/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_one_entry.yml +++ b/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_one_entry.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService?WSDL + uri: /benefits-awards/DiariesService?WSDL body: encoding: US-ASCII string: '' @@ -146,7 +146,7 @@ http_interactions: recorded_at: Mon, 01 Feb 2021 20:08:03 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService + uri: /benefits-awards/DiariesService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_one_entry_cxcl.yml b/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_one_entry_cxcl.yml index d0d4a496f9e..03acb427750 100644 --- a/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_one_entry_cxcl.yml +++ b/spec/support/vcr_cassettes/bgs/diaries_service/read_diaries_one_entry_cxcl.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService?WSDL + uri: /benefits-awards/DiariesService?WSDL body: encoding: US-ASCII string: '' @@ -146,7 +146,7 @@ http_interactions: recorded_at: Mon, 01 Feb 2021 20:08:03 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService + uri: /benefits-awards/DiariesService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/diaries_service/read_empty_diaries.yml b/spec/support/vcr_cassettes/bgs/diaries_service/read_empty_diaries.yml index dbde864e653..0ccaeb265ad 100644 --- a/spec/support/vcr_cassettes/bgs/diaries_service/read_empty_diaries.yml +++ b/spec/support/vcr_cassettes/bgs/diaries_service/read_empty_diaries.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService?WSDL + uri: /benefits-awards/DiariesService?WSDL body: encoding: US-ASCII string: '' @@ -146,7 +146,7 @@ http_interactions: recorded_at: Mon, 01 Feb 2021 20:13:29 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService + uri: /benefits-awards/DiariesService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/diaries_service/update_diaries.yml b/spec/support/vcr_cassettes/bgs/diaries_service/update_diaries.yml index 48686b14c73..974f9648085 100644 --- a/spec/support/vcr_cassettes/bgs/diaries_service/update_diaries.yml +++ b/spec/support/vcr_cassettes/bgs/diaries_service/update_diaries.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService?WSDL + uri: /benefits-awards/DiariesService?WSDL body: encoding: US-ASCII string: '' @@ -146,7 +146,7 @@ http_interactions: recorded_at: Fri, 19 Mar 2021 20:48:48 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService + uri: /benefits-awards/DiariesService body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Fri, 19 Mar 2021 20:48:50 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService?WSDL + uri: /benefits-awards/DiariesService?WSDL body: encoding: US-ASCII string: '' @@ -371,7 +371,7 @@ http_interactions: recorded_at: Fri, 19 Mar 2021 20:49:09 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/benefits-awards/DiariesService + uri: /benefits-awards/DiariesService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/ebenefits_benefit_claims_status/empty_find_benefit_claim_details_by_benefit_claim_id.yml b/spec/support/vcr_cassettes/bgs/ebenefits_benefit_claims_status/empty_find_benefit_claim_details_by_benefit_claim_id.yml index 19c47e8c5e1..f2999b86e94 100644 --- a/spec/support/vcr_cassettes/bgs/ebenefits_benefit_claims_status/empty_find_benefit_claim_details_by_benefit_claim_id.yml +++ b/spec/support/vcr_cassettes/bgs/ebenefits_benefit_claims_status/empty_find_benefit_claim_details_by_benefit_claim_id.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EbenefitsBenefitClaimsStatus?WSDL + uri: /EBenefitsBnftClaimStatusWebServiceBean/EbenefitsBenefitClaimsStatus?WSDL body: encoding: US-ASCII string: '' @@ -217,7 +217,7 @@ http_interactions: recorded_at: Fri, 09 Sep 2022 23:11:21 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EbenefitsBenefitClaimsStatus + uri: /EBenefitsBnftClaimStatusWebServiceBean/EbenefitsBenefitClaimsStatus body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/ebenefits_benefit_claims_status/find_benefit_claim_details_by_benefit_claim_id.yml b/spec/support/vcr_cassettes/bgs/ebenefits_benefit_claims_status/find_benefit_claim_details_by_benefit_claim_id.yml index 7cb9480b291..d13d131399e 100644 --- a/spec/support/vcr_cassettes/bgs/ebenefits_benefit_claims_status/find_benefit_claim_details_by_benefit_claim_id.yml +++ b/spec/support/vcr_cassettes/bgs/ebenefits_benefit_claims_status/find_benefit_claim_details_by_benefit_claim_id.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL body: encoding: US-ASCII string: '' @@ -217,7 +217,7 @@ http_interactions: recorded_at: Fri, 09 Sep 2022 21:55:12 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/form674/submit.yml b/spec/support/vcr_cassettes/bgs/form674/submit.yml index 0c1806d2c0d..1ed52c250e5 100644 --- a/spec/support/vcr_cassettes/bgs/form674/submit.yml +++ b/spec/support/vcr_cassettes/bgs/form674/submit.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:07 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2 + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2 body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:08 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService?WSDL + uri: /VnpProcFormWebServiceBean/VnpProcFormService?WSDL body: encoding: US-ASCII string: '' @@ -373,7 +373,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:09 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService + uri: /VnpProcFormWebServiceBean/VnpProcFormService body: encoding: UTF-8 string: |- @@ -429,7 +429,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:10 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -598,7 +598,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:11 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -654,7 +654,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:12 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService?WSDL + uri: /StandardDataWebServiceBean/StandardDataWebService?WSDL body: encoding: US-ASCII string: '' @@ -1528,7 +1528,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:13 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService + uri: /StandardDataWebServiceBean/StandardDataWebService body: encoding: UTF-8 string: |- @@ -1584,7 +1584,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:14 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -1753,7 +1753,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:15 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -1810,7 +1810,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:16 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RORoutingServiceWS/RORoutingService?WSDL + uri: /RORoutingServiceWS/RORoutingService?WSDL body: encoding: US-ASCII string: '' @@ -1890,7 +1890,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:16 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RORoutingServiceWS/RORoutingService + uri: /RORoutingServiceWS/RORoutingService body: encoding: UTF-8 string: |- @@ -1946,7 +1946,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:17 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -2115,7 +2115,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:18 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -2171,7 +2171,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:19 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService?WSDL + uri: /VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService?WSDL body: encoding: US-ASCII string: '' @@ -2340,7 +2340,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:20 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService + uri: /VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService body: encoding: UTF-8 string: |- @@ -2396,7 +2396,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:20 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -2565,7 +2565,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:21 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -2621,7 +2621,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:22 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -2790,7 +2790,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:23 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -2846,7 +2846,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:24 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -3015,7 +3015,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:24 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -3072,7 +3072,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:25 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -3241,7 +3241,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:26 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -3297,7 +3297,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:27 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildSchoolWebServiceBean/VnpChildSchoolService?WSDL + uri: /VnpChildSchoolWebServiceBean/VnpChildSchoolService?WSDL body: encoding: US-ASCII string: '' @@ -3466,7 +3466,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:28 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildSchoolWebServiceBean/VnpChildSchoolService + uri: /VnpChildSchoolWebServiceBean/VnpChildSchoolService body: encoding: UTF-8 string: |- @@ -3529,7 +3529,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:29 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildStudentWebServiceBean/VnpChildStudentService?WSDL + uri: /VnpChildStudentWebServiceBean/VnpChildStudentService?WSDL body: encoding: US-ASCII string: '' @@ -3698,7 +3698,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildStudentWebServiceBean/VnpChildStudentService + uri: /VnpChildStudentWebServiceBean/VnpChildStudentService body: encoding: UTF-8 string: |- @@ -3756,7 +3756,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:30 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL body: encoding: US-ASCII string: '' @@ -3925,7 +3925,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:31 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService body: encoding: UTF-8 string: |- @@ -3981,7 +3981,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:32 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService?WSDL + uri: /BenefitClaimServiceBean/BenefitClaimWebService?WSDL body: encoding: US-ASCII string: '' @@ -4334,7 +4334,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:33 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService + uri: /BenefitClaimServiceBean/BenefitClaimWebService body: encoding: UTF-8 string: |- @@ -4861,7 +4861,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:53 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL body: encoding: US-ASCII string: '' @@ -5030,7 +5030,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:53 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService body: encoding: UTF-8 string: |- @@ -5086,7 +5086,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:55 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL body: encoding: US-ASCII string: '' @@ -5255,7 +5255,7 @@ http_interactions: recorded_at: Wed, 21 Oct 2020 13:18:55 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2 + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2 body: encoding: UTF-8 string: |- @@ -5309,4 +5309,4 @@ http_interactions: xmlns:work="http://oracle.com/weblogic/soap/workarea/">rO0ABXdKABR3ZWJsb2dpYy5hcHAudm5wLWVhcgAAANYAAAAjd2VibG9naWMud29ya2FyZWEuU3RyaW5nV29ya0NvbnRleHQABTIuMC44AAA=3831394DEPCHGReady2020-10-21T08:18:55-05:002020-10-21T08:18:55-05:002020-10-21T08:18:55-05:00281UVAgovAPIVAgovAPI2020-10-21T08:18:55-05:00 recorded_at: Wed, 21 Oct 2020 13:18:56 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/bgs/form686c/submit.yml b/spec/support/vcr_cassettes/bgs/form686c/submit.yml index 5a3b09d5517..7477dcd4f5d 100644 --- a/spec/support/vcr_cassettes/bgs/form686c/submit.yml +++ b/spec/support/vcr_cassettes/bgs/form686c/submit.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:32:54 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2 + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2 body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:32:55 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService?WSDL + uri: /VnpProcFormWebServiceBean/VnpProcFormService?WSDL body: encoding: US-ASCII string: '' @@ -373,7 +373,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:32:56 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService + uri: /VnpProcFormWebServiceBean/VnpProcFormService body: encoding: UTF-8 string: |- @@ -429,7 +429,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:32:56 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -598,7 +598,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:32:57 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -654,7 +654,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:32:58 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService?WSDL + uri: /StandardDataWebServiceBean/StandardDataWebService?WSDL body: encoding: US-ASCII string: '' @@ -1528,7 +1528,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:32:58 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService + uri: /StandardDataWebServiceBean/StandardDataWebService body: encoding: UTF-8 string: |- @@ -1584,7 +1584,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:32:59 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -1753,7 +1753,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:00 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -1810,7 +1810,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:01 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RORoutingServiceWS/RORoutingService?WSDL + uri: /RORoutingServiceWS/RORoutingService?WSDL body: encoding: US-ASCII string: '' @@ -1890,7 +1890,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:01 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RORoutingServiceWS/RORoutingService + uri: /RORoutingServiceWS/RORoutingService body: encoding: UTF-8 string: |- @@ -1946,7 +1946,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:02 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService?WSDL + uri: /StandardDataWebServiceBean/StandardDataWebService?WSDL body: encoding: US-ASCII string: '' @@ -2820,7 +2820,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:02 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService + uri: /StandardDataWebServiceBean/StandardDataWebService body: encoding: UTF-8 string: |- @@ -2923,7 +2923,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:03 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -3092,7 +3092,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:04 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -3148,7 +3148,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:04 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService?WSDL + uri: /VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService?WSDL body: encoding: US-ASCII string: '' @@ -3317,7 +3317,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:05 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService + uri: /VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService body: encoding: UTF-8 string: |- @@ -3373,7 +3373,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:06 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -3542,7 +3542,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:06 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -3598,7 +3598,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:07 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -3767,7 +3767,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:07 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -3823,7 +3823,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:09 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -3992,7 +3992,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:09 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -4049,7 +4049,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:10 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -4218,7 +4218,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:10 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -4274,7 +4274,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:11 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -4443,7 +4443,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:11 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -4499,7 +4499,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:12 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -4668,7 +4668,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:13 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -4724,7 +4724,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:13 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -4893,7 +4893,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:14 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -4949,7 +4949,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:14 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -5118,7 +5118,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:15 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -5174,7 +5174,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:15 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -5343,7 +5343,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:16 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -5399,7 +5399,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:17 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -5568,7 +5568,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:17 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -5624,7 +5624,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:18 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -5793,7 +5793,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:19 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -5850,7 +5850,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:20 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -6019,7 +6019,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:21 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -6075,7 +6075,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:22 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -6244,7 +6244,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:23 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -6300,7 +6300,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:23 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -6469,7 +6469,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:24 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -6525,7 +6525,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:24 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -6694,7 +6694,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:25 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -6750,7 +6750,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:26 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -6919,7 +6919,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:26 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -6975,7 +6975,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:27 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -7144,7 +7144,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:27 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -7201,7 +7201,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:28 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -7370,7 +7370,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:28 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -7426,7 +7426,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:29 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -7595,7 +7595,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -7653,7 +7653,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:30 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -7822,7 +7822,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:31 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -7879,7 +7879,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:31 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -8048,7 +8048,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:32 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -8104,7 +8104,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:33 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -8273,7 +8273,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:33 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -8329,7 +8329,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:34 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -8498,7 +8498,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:34 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -8554,7 +8554,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:35 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -8723,7 +8723,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:36 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -8779,7 +8779,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:36 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -8948,7 +8948,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:37 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -9005,7 +9005,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:37 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -9174,7 +9174,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:38 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -9230,7 +9230,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:38 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -9399,7 +9399,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:39 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -9455,7 +9455,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:40 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -9624,7 +9624,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:40 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -9680,7 +9680,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:41 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -9849,7 +9849,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:41 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -9905,7 +9905,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:43 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -10074,7 +10074,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:43 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -10130,7 +10130,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:44 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -10299,7 +10299,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:45 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -10355,7 +10355,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:46 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -10524,7 +10524,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:46 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -10580,7 +10580,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:47 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -10749,7 +10749,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:48 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -10805,7 +10805,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:48 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -10974,7 +10974,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:49 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -11030,7 +11030,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:49 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -11199,7 +11199,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:50 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -11255,7 +11255,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:51 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -11424,7 +11424,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:51 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -11481,7 +11481,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:52 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -11650,7 +11650,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:53 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -11706,7 +11706,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:54 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -11875,7 +11875,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:54 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -11932,7 +11932,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:55 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -12101,7 +12101,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:56 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -12157,7 +12157,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:56 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -12326,7 +12326,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:57 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -12382,7 +12382,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:57 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildSchoolWebServiceBean/VnpChildSchoolService?WSDL + uri: /VnpChildSchoolWebServiceBean/VnpChildSchoolService?WSDL body: encoding: US-ASCII string: '' @@ -12551,7 +12551,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:58 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildSchoolWebServiceBean/VnpChildSchoolService + uri: /VnpChildSchoolWebServiceBean/VnpChildSchoolService body: encoding: UTF-8 string: |- @@ -12614,7 +12614,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:59 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildStudentWebServiceBean/VnpChildStudentService?WSDL + uri: /VnpChildStudentWebServiceBean/VnpChildStudentService?WSDL body: encoding: US-ASCII string: '' @@ -12783,7 +12783,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:33:59 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildStudentWebServiceBean/VnpChildStudentService + uri: /VnpChildStudentWebServiceBean/VnpChildStudentService body: encoding: UTF-8 string: |- @@ -12841,7 +12841,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:34:00 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL body: encoding: US-ASCII string: '' @@ -13010,7 +13010,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:34:01 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService body: encoding: UTF-8 string: |- @@ -13066,7 +13066,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:34:02 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService?WSDL + uri: /BenefitClaimServiceBean/BenefitClaimWebService?WSDL body: encoding: US-ASCII string: '' @@ -13419,7 +13419,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:34:02 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService + uri: /BenefitClaimServiceBean/BenefitClaimWebService body: encoding: UTF-8 string: |- @@ -13956,7 +13956,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:34:17 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL body: encoding: US-ASCII string: '' @@ -14125,7 +14125,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:34:18 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService body: encoding: UTF-8 string: |- @@ -14181,7 +14181,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:34:19 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL body: encoding: US-ASCII string: '' @@ -14350,7 +14350,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:34:20 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2 + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2 body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/get_intent_to_file.yml b/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/get_intent_to_file.yml index 2676b13d569..7b2c0942751 100644 --- a/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/get_intent_to_file.yml +++ b/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/get_intent_to_file.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/IntentToFileWebServiceBean/IntentToFileWebService?WSDL + uri: /IntentToFileWebServiceBean/IntentToFileWebService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Mon, 10 Aug 2020 21:28:36 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/IntentToFileWebServiceBean/IntentToFileWebService + uri: /IntentToFileWebServiceBean/IntentToFileWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/insert_intent_to_file.yml b/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/insert_intent_to_file.yml index 71dbb10ec8a..e9bc2778e42 100644 --- a/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/insert_intent_to_file.yml +++ b/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/insert_intent_to_file.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/IntentToFileWebServiceBean/IntentToFileWebService?WSDL + uri: /IntentToFileWebServiceBean/IntentToFileWebService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Mon, 10 Aug 2020 13:31:19 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/IntentToFileWebServiceBean/IntentToFileWebService + uri: /IntentToFileWebServiceBean/IntentToFileWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/insert_intent_to_file_500.yml b/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/insert_intent_to_file_500.yml index 9b983f4815b..8cf34f4ecba 100644 --- a/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/insert_intent_to_file_500.yml +++ b/spec/support/vcr_cassettes/bgs/intent_to_file_web_service/insert_intent_to_file_500.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/IntentToFileWebServiceBean/IntentToFileWebService?WSDL + uri: /IntentToFileWebServiceBean/IntentToFileWebService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Tue, 22 Sep 2020 13:56:19 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/IntentToFileWebServiceBean/IntentToFileWebService + uri: /IntentToFileWebServiceBean/IntentToFileWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/payment_history/find_by_ssn.yml b/spec/support/vcr_cassettes/bgs/payment_history/find_by_ssn.yml index f3bcde0ff08..54ae95036d6 100644 --- a/spec/support/vcr_cassettes/bgs/payment_history/find_by_ssn.yml +++ b/spec/support/vcr_cassettes/bgs/payment_history/find_by_ssn.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PaymentHistoryWebServiceBean/PaymentHistoryWebService?WSDL + uri: /PaymentHistoryWebServiceBean/PaymentHistoryWebService?WSDL body: encoding: US-ASCII string: '' @@ -102,7 +102,7 @@ http_interactions: recorded_at: Thu, 27 Aug 2020 22:06:32 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PaymentHistoryWebServiceBean/PaymentHistoryWebService + uri: /PaymentHistoryWebServiceBean/PaymentHistoryWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/payment_history/retrieve_payment_summary_with_bdn.yml b/spec/support/vcr_cassettes/bgs/payment_history/retrieve_payment_summary_with_bdn.yml index 426347b4e22..4815a883048 100644 --- a/spec/support/vcr_cassettes/bgs/payment_history/retrieve_payment_summary_with_bdn.yml +++ b/spec/support/vcr_cassettes/bgs/payment_history/retrieve_payment_summary_with_bdn.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService?WSDL + uri: /PersonWebServiceBean/PersonWebService?WSDL body: encoding: US-ASCII string: '' @@ -700,7 +700,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService + uri: /PersonWebServiceBean/PersonWebService body: encoding: UTF-8 string: |- @@ -757,7 +757,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:31 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService?WSDL + uri: /vrm-ws/PaymentInformationService?WSDL body: encoding: US-ASCII string: '' @@ -1033,7 +1033,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:32 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService + uri: /vrm-ws/PaymentInformationService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/payment_history/retrieve_payment_summary_with_bdn_returns.yml b/spec/support/vcr_cassettes/bgs/payment_history/retrieve_payment_summary_with_bdn_returns.yml index fc0a2fef67e..1e86e0a52b0 100644 --- a/spec/support/vcr_cassettes/bgs/payment_history/retrieve_payment_summary_with_bdn_returns.yml +++ b/spec/support/vcr_cassettes/bgs/payment_history/retrieve_payment_summary_with_bdn_returns.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService?WSDL + uri: /vrm-ws/PaymentInformationService?WSDL body: encoding: US-ASCII string: '' @@ -278,7 +278,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:24:44 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService + uri: /vrm-ws/PaymentInformationService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/payment_service/no_payment_history.yml b/spec/support/vcr_cassettes/bgs/payment_service/no_payment_history.yml index 6864afcccd9..94cebc43d3a 100644 --- a/spec/support/vcr_cassettes/bgs/payment_service/no_payment_history.yml +++ b/spec/support/vcr_cassettes/bgs/payment_service/no_payment_history.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService?WSDL + uri: /vrm-ws/PaymentInformationService?WSDL body: encoding: US-ASCII string: '' @@ -278,7 +278,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:24:43 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService + uri: /vrm-ws/PaymentInformationService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/payment_service/payment_history.yml b/spec/support/vcr_cassettes/bgs/payment_service/payment_history.yml index 68d696c7e11..ce379b46fee 100644 --- a/spec/support/vcr_cassettes/bgs/payment_service/payment_history.yml +++ b/spec/support/vcr_cassettes/bgs/payment_service/payment_history.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService?WSDL + uri: /vrm-ws/PaymentInformationService?WSDL body: encoding: US-ASCII string: '' @@ -278,7 +278,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:24:44 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService + uri: /vrm-ws/PaymentInformationService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/payment_service/payment_history_with_pending.yml b/spec/support/vcr_cassettes/bgs/payment_service/payment_history_with_pending.yml index 53da0063892..a95d7ef70f5 100644 --- a/spec/support/vcr_cassettes/bgs/payment_service/payment_history_with_pending.yml +++ b/spec/support/vcr_cassettes/bgs/payment_service/payment_history_with_pending.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService?WSDL + uri: /vrm-ws/PaymentInformationService?WSDL body: encoding: US-ASCII string: '' @@ -278,7 +278,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:24:44 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService + uri: /vrm-ws/PaymentInformationService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/people_service/no_person_data.yml b/spec/support/vcr_cassettes/bgs/people_service/no_person_data.yml index e46d1bdc29a..0720d273cf3 100644 --- a/spec/support/vcr_cassettes/bgs/people_service/no_person_data.yml +++ b/spec/support/vcr_cassettes/bgs/people_service/no_person_data.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService?WSDL + uri: /PersonWebServiceBean/PersonWebService?WSDL body: encoding: US-ASCII string: '' @@ -655,7 +655,7 @@ http_interactions: recorded_at: Fri, 12 Jun 2020 02:58:28 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService + uri: /PersonWebServiceBean/PersonWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/people_service/person_data.yml b/spec/support/vcr_cassettes/bgs/people_service/person_data.yml index a13e6c546e1..3096b2ce790 100644 --- a/spec/support/vcr_cassettes/bgs/people_service/person_data.yml +++ b/spec/support/vcr_cassettes/bgs/people_service/person_data.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService?WSDL + uri: /PersonWebServiceBean/PersonWebService?WSDL body: encoding: US-ASCII string: '' @@ -655,7 +655,7 @@ http_interactions: recorded_at: Fri, 12 Jun 2020 02:57:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService + uri: /PersonWebServiceBean/PersonWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/person_web_service/find_person_by_participant_id.yml b/spec/support/vcr_cassettes/bgs/person_web_service/find_person_by_participant_id.yml index 220cbc6dd74..a9e0bcbd6e0 100644 --- a/spec/support/vcr_cassettes/bgs/person_web_service/find_person_by_participant_id.yml +++ b/spec/support/vcr_cassettes/bgs/person_web_service/find_person_by_participant_id.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService?WSDL + uri: /PersonWebServiceBean/PersonWebService?WSDL body: encoding: US-ASCII string: '' @@ -700,7 +700,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:58:01 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService + uri: /PersonWebServiceBean/PersonWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/person_web_service/find_person_by_participant_id_no_result.yml b/spec/support/vcr_cassettes/bgs/person_web_service/find_person_by_participant_id_no_result.yml index 4d31507ee70..9b4086efb03 100644 --- a/spec/support/vcr_cassettes/bgs/person_web_service/find_person_by_participant_id_no_result.yml +++ b/spec/support/vcr_cassettes/bgs/person_web_service/find_person_by_participant_id_no_result.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService?WSDL + uri: /PersonWebServiceBean/PersonWebService?WSDL body: encoding: US-ASCII string: '' @@ -700,7 +700,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 20:01:45 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService + uri: /PersonWebServiceBean/PersonWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data.yml b/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data.yml index 534ea27d907..0e3aa7c5edb 100644 --- a/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data.yml +++ b/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RatingServiceBean/RatingService?WSDL + uri: /RatingServiceBean/RatingService?WSDL body: encoding: US-ASCII string: '' @@ -103,7 +103,7 @@ http_interactions: recorded_at: Wed, 06 May 2020 13:51:14 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RatingServiceBean/RatingService + uri: /RatingServiceBean/RatingService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data_no_ratings.yml b/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data_no_ratings.yml index 20541cbac9f..1a914d5faab 100644 --- a/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data_no_ratings.yml +++ b/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data_no_ratings.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RatingServiceBean/RatingService?WSDL + uri: /RatingServiceBean/RatingService?WSDL body: encoding: US-ASCII string: '' @@ -103,7 +103,7 @@ http_interactions: recorded_at: Wed, 06 May 2020 13:59:09 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RatingServiceBean/RatingService + uri: /RatingServiceBean/RatingService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data_single_rating.yml b/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data_single_rating.yml index 62b9b43ed2f..50cb4d5de8d 100644 --- a/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data_single_rating.yml +++ b/spec/support/vcr_cassettes/bgs/rating_web_service/rating_data_single_rating.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RatingServiceBean/RatingService?WSDL + uri: /RatingServiceBean/RatingService?WSDL body: encoding: US-ASCII string: '' @@ -103,7 +103,7 @@ http_interactions: recorded_at: Wed, 06 May 2020 13:59:06 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RatingServiceBean/RatingService + uri: /RatingServiceBean/RatingService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/service/create_address.yml b/spec/support/vcr_cassettes/bgs/service/create_address.yml index 50d5eeedf2a..3fb71c8155b 100644 --- a/spec/support/vcr_cassettes/bgs/service/create_address.yml +++ b/spec/support/vcr_cassettes/bgs/service/create_address.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Thu, 16 Jul 2020 18:20:19 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -226,4 +226,4 @@ http_interactions: xmlns:ns0="http://ptcpntAddrsService.services.vonapp.vba.va.gov/">1163042020-07-16T18:20:18Z1488863829360123 mainstreet rd.Tampafoo@foo.com2020-07-16T18:20:18Z281VAgovAPIUVAgovAPIFLFLMailingN11234 recorded_at: Thu, 16 Jul 2020 18:20:20 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/bgs/service/create_note.yml b/spec/support/vcr_cassettes/bgs/service/create_note.yml index 278773d6467..ee7da073a61 100644 --- a/spec/support/vcr_cassettes/bgs/service/create_note.yml +++ b/spec/support/vcr_cassettes/bgs/service/create_note.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/DevelopmentNotesService/DevelopmentNotesService?WSDL + uri: /DevelopmentNotesService/DevelopmentNotesService?WSDL body: encoding: US-ASCII string: '' @@ -232,7 +232,7 @@ http_interactions: recorded_at: Tue, 27 Jul 2021 23:53:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/DevelopmentNotesService/DevelopmentNotesService + uri: /DevelopmentNotesService/DevelopmentNotesService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/service/create_participant.yml b/spec/support/vcr_cassettes/bgs/service/create_participant.yml index 54263eae848..ee35773ff6e 100644 --- a/spec/support/vcr_cassettes/bgs/service/create_participant.yml +++ b/spec/support/vcr_cassettes/bgs/service/create_participant.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Thu, 16 Jul 2020 18:20:18 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -225,4 +225,4 @@ http_interactions: xmlns:work="http://oracle.com/weblogic/soap/workarea/">rO0ABXdKABR3ZWJsb2dpYy5hcHAudm5wLWVhcgAAANYAAAAjd2VibG9naWMud29ya2FyZWEuU3RyaW5nV29ya0NvbnRleHQABTIuMC44AAA=14945638293602020-07-16T18:20:17Z281VAgovAPIUVAgovAPIPerson recorded_at: Thu, 16 Jul 2020 18:20:18 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/bgs/service/create_person.yml b/spec/support/vcr_cassettes/bgs/service/create_person.yml index c0c94c285d5..cdc37c59dc4 100644 --- a/spec/support/vcr_cassettes/bgs/service/create_person.yml +++ b/spec/support/vcr_cassettes/bgs/service/create_person.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Thu, 16 Jul 2020 20:49:25 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -228,4 +228,4 @@ http_interactions: last nameMarriedvet middle name123341234JrY3829671 recorded_at: Thu, 16 Jul 2020 20:49:26 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/bgs/service/create_phone.yml b/spec/support/vcr_cassettes/bgs/service/create_phone.yml index 340f24c592f..75963b3ce4a 100644 --- a/spec/support/vcr_cassettes/bgs/service/create_phone.yml +++ b/spec/support/vcr_cassettes/bgs/service/create_phone.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService?WSDL + uri: /VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Thu, 16 Jul 2020 18:20:50 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService + uri: /VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService body: encoding: UTF-8 string: |- @@ -225,4 +225,4 @@ http_interactions: xmlns:work="http://oracle.com/weblogic/soap/workarea/">rO0ABXdKABR3ZWJsb2dpYy5hcHAudm5wLWVhcgAAANYAAAAjd2VibG9naWMud29ya2FyZWEuU3RyaW5nV29ya0NvbnRleHQABTIuMC44AAA=772893829360148886Daytime55555555552020-07-16T18:20:50Z2020-07-16T18:20:50Z281VAgovAPIUVAgovAPI recorded_at: Thu, 16 Jul 2020 18:20:51 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/bgs/service/create_proc.yml b/spec/support/vcr_cassettes/bgs/service/create_proc.yml index b02623ee33b..06d25ca0909 100644 --- a/spec/support/vcr_cassettes/bgs/service/create_proc.yml +++ b/spec/support/vcr_cassettes/bgs/service/create_proc.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Thu, 06 Aug 2020 22:28:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2 + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2 body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/service/create_proc_form.yml b/spec/support/vcr_cassettes/bgs/service/create_proc_form.yml index b91d3367b1c..acd8fb4760e 100644 --- a/spec/support/vcr_cassettes/bgs/service/create_proc_form.yml +++ b/spec/support/vcr_cassettes/bgs/service/create_proc_form.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService?WSDL + uri: /VnpProcFormWebServiceBean/VnpProcFormService?WSDL body: encoding: US-ASCII string: '' @@ -148,7 +148,7 @@ http_interactions: recorded_at: Thu, 06 Aug 2020 22:15:10 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService + uri: /VnpProcFormWebServiceBean/VnpProcFormService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/service/errors/create_participant.yml b/spec/support/vcr_cassettes/bgs/service/errors/create_participant.yml index 167903469fc..5ffd49fc9a0 100644 --- a/spec/support/vcr_cassettes/bgs/service/errors/create_participant.yml +++ b/spec/support/vcr_cassettes/bgs/service/errors/create_participant.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Mon, 20 Jul 2020 22:57:58 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Mon, 20 Jul 2020 22:57:59 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -396,7 +396,7 @@ http_interactions: recorded_at: Mon, 20 Jul 2020 22:58:00 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -452,7 +452,7 @@ http_interactions: recorded_at: Mon, 20 Jul 2020 22:58:01 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -621,7 +621,7 @@ http_interactions: recorded_at: Mon, 20 Jul 2020 22:58:02 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -675,4 +675,4 @@ http_interactions: Exception Description: The object [invalid_proc_id], of class [class java.lang.String], from mapping [org.eclipse.persistence.oxm.mappings.XMLDirectMapping[vnpProcId-->vnpProcId/text()]] with descriptor [XMLDescriptor(gov.va.vba.vonapp.dto.VnpPtcpntDTO --> [])], could not be converted to [class java.lang.Long]. Internal Exception: java.lang.NumberFormatException: For input string: "invalid_proc_id" recorded_at: Mon, 20 Jul 2020 22:58:03 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/bgs/service/errors/create_proc_form.yml b/spec/support/vcr_cassettes/bgs/service/errors/create_proc_form.yml index 72ac2cfca7f..1ae757ffaef 100644 --- a/spec/support/vcr_cassettes/bgs/service/errors/create_proc_form.yml +++ b/spec/support/vcr_cassettes/bgs/service/errors/create_proc_form.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService?WSDL + uri: /VnpProcFormWebServiceBean/VnpProcFormService?WSDL body: encoding: US-ASCII string: '' @@ -148,7 +148,7 @@ http_interactions: recorded_at: Thu, 16 Jul 2020 18:20:42 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService + uri: /VnpProcFormWebServiceBean/VnpProcFormService body: encoding: UTF-8 string: |- @@ -204,7 +204,7 @@ http_interactions: recorded_at: Thu, 16 Jul 2020 18:20:42 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService?WSDL + uri: /VnpProcFormWebServiceBean/VnpProcFormService?WSDL body: encoding: US-ASCII string: '' @@ -350,7 +350,7 @@ http_interactions: recorded_at: Thu, 16 Jul 2020 18:20:43 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService + uri: /VnpProcFormWebServiceBean/VnpProcFormService body: encoding: UTF-8 string: |- @@ -406,7 +406,7 @@ http_interactions: recorded_at: Thu, 16 Jul 2020 18:20:44 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService?WSDL + uri: /VnpProcFormWebServiceBean/VnpProcFormService?WSDL body: encoding: US-ASCII string: '' @@ -552,7 +552,7 @@ http_interactions: recorded_at: Thu, 16 Jul 2020 18:20:45 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService + uri: /VnpProcFormWebServiceBean/VnpProcFormService body: encoding: UTF-8 string: |- @@ -606,4 +606,4 @@ http_interactions: Exception Description: The object [invalid_proc_id], of class [class java.lang.String], from mapping [org.eclipse.persistence.oxm.mappings.XMLDirectMapping[vnpProcId-->vnpProcId/text()]] with descriptor [XMLDescriptor(gov.va.vba.vonapp.dto.VnpProcFormPKDTO --> [])], could not be converted to [class java.lang.Long]. Internal Exception: java.lang.NumberFormatException: For input string: "invalid_proc_id" recorded_at: Thu, 16 Jul 2020 18:20:45 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft.yml b/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft.yml index 91c6bcf70fa..45ed5c4f3cb 100644 --- a/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft.yml +++ b/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService?WSDL + uri: /BenefitClaimServiceBean/BenefitClaimWebService?WSDL body: encoding: US-ASCII string: '' @@ -355,7 +355,7 @@ http_interactions: recorded_at: Wed, 30 Sep 2020 21:04:37 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService + uri: /BenefitClaimServiceBean/BenefitClaimWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft_no_bank_info.yml b/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft_no_bank_info.yml index a50cf74c34c..721d9064381 100644 --- a/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft_no_bank_info.yml +++ b/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft_no_bank_info.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService?WSDL + uri: /BenefitClaimServiceBean/BenefitClaimWebService?WSDL body: encoding: US-ASCII string: '' @@ -355,7 +355,7 @@ http_interactions: recorded_at: Wed, 30 Sep 2020 21:04:37 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService + uri: /BenefitClaimServiceBean/BenefitClaimWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft_no_icn.yml b/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft_no_icn.yml index 046357cb638..228fbc05da2 100644 --- a/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft_no_icn.yml +++ b/spec/support/vcr_cassettes/bgs/service/find_ch33_dd_eft_no_icn.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService?WSDL + uri: /BenefitClaimServiceBean/BenefitClaimWebService?WSDL body: encoding: US-ASCII string: '' @@ -355,7 +355,7 @@ http_interactions: recorded_at: Mon, 12 Oct 2020 21:05:40 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService + uri: /BenefitClaimServiceBean/BenefitClaimWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/service/find_rating_data.yml b/spec/support/vcr_cassettes/bgs/service/find_rating_data.yml index c39a5c22f9f..a823b18c070 100644 --- a/spec/support/vcr_cassettes/bgs/service/find_rating_data.yml +++ b/spec/support/vcr_cassettes/bgs/service/find_rating_data.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RatingServiceBean/RatingService?WSDL + uri: /RatingServiceBean/RatingService?WSDL body: encoding: US-ASCII string: '' @@ -104,7 +104,7 @@ http_interactions: recorded_at: Sun, 16 Apr 2023 08:25:02 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RatingServiceBean/RatingService + uri: /RatingServiceBean/RatingService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/service/find_regional_offices.yml b/spec/support/vcr_cassettes/bgs/service/find_regional_offices.yml index a828b953664..102e1005819 100644 --- a/spec/support/vcr_cassettes/bgs/service/find_regional_offices.yml +++ b/spec/support/vcr_cassettes/bgs/service/find_regional_offices.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService?WSDL + uri: /StandardDataWebServiceBean/StandardDataWebService?WSDL body: encoding: US-ASCII string: '' @@ -876,7 +876,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:13:47 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService + uri: /StandardDataWebServiceBean/StandardDataWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/service/get_regional_office_by_zip_code.yml b/spec/support/vcr_cassettes/bgs/service/get_regional_office_by_zip_code.yml index 777bff85431..6ff4814b519 100644 --- a/spec/support/vcr_cassettes/bgs/service/get_regional_office_by_zip_code.yml +++ b/spec/support/vcr_cassettes/bgs/service/get_regional_office_by_zip_code.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RORoutingServiceWS/RORoutingService?WSDL + uri: /RORoutingServiceWS/RORoutingService?WSDL body: encoding: US-ASCII string: '' @@ -82,7 +82,7 @@ http_interactions: recorded_at: Fri, 02 Oct 2020 23:34:42 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RORoutingServiceWS/RORoutingService + uri: /RORoutingServiceWS/RORoutingService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/service/update_ch33_dd_eft.yml b/spec/support/vcr_cassettes/bgs/service/update_ch33_dd_eft.yml index 2aa34e7970e..0d77ce321a3 100644 --- a/spec/support/vcr_cassettes/bgs/service/update_ch33_dd_eft.yml +++ b/spec/support/vcr_cassettes/bgs/service/update_ch33_dd_eft.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService?WSDL + uri: /BenefitClaimServiceBean/BenefitClaimWebService?WSDL body: encoding: US-ASCII string: '' @@ -355,7 +355,7 @@ http_interactions: recorded_at: Fri, 02 Oct 2020 23:38:59 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService + uri: /BenefitClaimServiceBean/BenefitClaimWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/service/update_proc.yml b/spec/support/vcr_cassettes/bgs/service/update_proc.yml index f0425e1a7a8..baad4a933b1 100644 --- a/spec/support/vcr_cassettes/bgs/service/update_proc.yml +++ b/spec/support/vcr_cassettes/bgs/service/update_proc.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Thu, 06 Aug 2020 22:18:06 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2 + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2 body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/student_school/create.yml b/spec/support/vcr_cassettes/bgs/student_school/create.yml index d32f85731bf..3c34fdd4903 100644 --- a/spec/support/vcr_cassettes/bgs/student_school/create.yml +++ b/spec/support/vcr_cassettes/bgs/student_school/create.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildSchoolWebServiceBean/VnpChildSchoolService?WSDL + uri: /VnpChildSchoolWebServiceBean/VnpChildSchoolService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:53:50 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildSchoolWebServiceBean/VnpChildSchoolService + uri: /VnpChildSchoolWebServiceBean/VnpChildSchoolService body: encoding: UTF-8 string: |- @@ -234,7 +234,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:53:51 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildStudentWebServiceBean/VnpChildStudentService?WSDL + uri: /VnpChildStudentWebServiceBean/VnpChildStudentService?WSDL body: encoding: US-ASCII string: '' @@ -403,7 +403,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 02:53:51 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpChildStudentWebServiceBean/VnpChildStudentService + uri: /VnpChildStudentWebServiceBean/VnpChildStudentService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/tracked_item_service/claims_v2_show_tracked_items.yml b/spec/support/vcr_cassettes/bgs/tracked_item_service/claims_v2_show_tracked_items.yml index afa2a393d18..b20748da3c6 100644 --- a/spec/support/vcr_cassettes/bgs/tracked_item_service/claims_v2_show_tracked_items.yml +++ b/spec/support/vcr_cassettes/bgs/tracked_item_service/claims_v2_show_tracked_items.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService?WSDL body: encoding: US-ASCII string: '' @@ -43,7 +43,7 @@ http_interactions: recorded_at: Wed, 19 Apr 2023 20:47:06 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService + uri: /EBenefitsBnftClaimStatusWebServiceBean/EBenefitsBnftClaimStatusWebService body: encoding: UTF-8 string: | @@ -153,7 +153,7 @@ http_interactions: recorded_at: Wed, 19 Apr 2023 20:47:07 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/TrackedItemService/TrackedItemService?WSDL + uri: /TrackedItemService/TrackedItemService?WSDL body: encoding: US-ASCII string: '' @@ -194,7 +194,7 @@ http_interactions: recorded_at: Wed, 19 Apr 2023 20:47:11 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/TrackedItemService/TrackedItemService + uri: /TrackedItemService/TrackedItemService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/tracked_items/find_tracked_items.yml b/spec/support/vcr_cassettes/bgs/tracked_items/find_tracked_items.yml index d5beb76ee11..e66db69553c 100644 --- a/spec/support/vcr_cassettes/bgs/tracked_items/find_tracked_items.yml +++ b/spec/support/vcr_cassettes/bgs/tracked_items/find_tracked_items.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/TrackedItemService/TrackedItemService?WSDL + uri: /TrackedItemService/TrackedItemService?WSDL body: encoding: US-ASCII string: '' @@ -266,7 +266,7 @@ http_interactions: recorded_at: Wed, 17 Aug 2022 20:30:36 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/TrackedItemService/TrackedItemService + uri: /TrackedItemService/TrackedItemService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/uploaded_document_service/bad_participant_id.yml b/spec/support/vcr_cassettes/bgs/uploaded_document_service/bad_participant_id.yml index e963c3398fd..36c6ac76e42 100644 --- a/spec/support/vcr_cassettes/bgs/uploaded_document_service/bad_participant_id.yml +++ b/spec/support/vcr_cassettes/bgs/uploaded_document_service/bad_participant_id.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/UploadedDocumentWebServiceBean/UploadedDocumentWebService?WSDL + uri: /UploadedDocumentWebServiceBean/UploadedDocumentWebService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Fri, 28 Aug 2020 21:21:27 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/UploadedDocumentWebServiceBean/UploadedDocumentWebService?WSDL + uri: /UploadedDocumentWebServiceBean/UploadedDocumentWebService?WSDL body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/uploaded_document_service/uploaded_document_data.yml b/spec/support/vcr_cassettes/bgs/uploaded_document_service/uploaded_document_data.yml index 8e7e33520ed..394a73339af 100644 --- a/spec/support/vcr_cassettes/bgs/uploaded_document_service/uploaded_document_data.yml +++ b/spec/support/vcr_cassettes/bgs/uploaded_document_service/uploaded_document_data.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/UploadedDocumentWebServiceBean/UploadedDocumentWebService?WSDL + uri: /UploadedDocumentWebServiceBean/UploadedDocumentWebService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Tue, 25 Aug 2020 15:45:24 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/UploadedDocumentWebServiceBean/UploadedDocumentWebService + uri: /UploadedDocumentWebServiceBean/UploadedDocumentWebService body: encoding: UTF-8 string: |- @@ -2321,4 +2321,4 @@ http_interactions: Notice AcknowledgementEBNeBenefitsINITIALSECURITY1989052017-01-30T11:00:21-06:00189625ClaimDecisionRequest.pdf5103 Notice AcknowledgementEBNeBenefitsINITIALSECURITY1990292017-01-31T14:07:08-06:00" recorded_at: Tue, 25 Aug 2020 15:45:33 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/bgs/vnp_benefit_claim/create.yml b/spec/support/vcr_cassettes/bgs/vnp_benefit_claim/create.yml index e8af0378b53..1b6aea157e1 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_benefit_claim/create.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_benefit_claim/create.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Mon, 20 Jul 2020 22:43:42 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService body: encoding: UTF-8 string: |- @@ -225,4 +225,4 @@ http_interactions: xmlns:work="http://oracle.com/weblogic/soap/workarea/">rO0ABXdKABR3ZWJsb2dpYy5hcHAudm5wLWVhcgAAANYAAAAjd2VibG9naWMud29ya2FyZWEuU3RyaW5nV29ya0NvbnRleHQABTIuMC44AAA=425718N130DPNEBNADJ3352020-07-20T22:43:41Z3352020-07-20T22:43:41Z281VAgovAPIUVAgovAPICOMP146189CURRCP1133721461893828033 recorded_at: Mon, 20 Jul 2020 22:43:44 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/bgs/vnp_benefit_claim/update.yml b/spec/support/vcr_cassettes/bgs/vnp_benefit_claim/update.yml index 176e84d4c00..0b1599f74b7 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_benefit_claim/update.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_benefit_claim/update.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Tue, 21 Jul 2020 00:26:33 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpBnftClaimWebServiceBean/VnpBnftClaimService + uri: /VnpBnftClaimWebServiceBean/VnpBnftClaimService body: encoding: UTF-8 string: |- @@ -225,4 +225,4 @@ http_interactions: xmlns:work="http://oracle.com/weblogic/soap/workarea/">rO0ABXdKABR3ZWJsb2dpYy5hcHAudm5wLWVhcgAAANYAAAAjd2VibG9naWMud29ya2FyZWEuU3RyaW5nV29ya0NvbnRleHQABTIuMC44AAA=425718130DPNEBNADJ3352020-07-20T19:26:30-05:003352020-07-20T19:26:30-05:00281VAgovAPIUVAgovAPICPL146189PENDCP3828033600196508 recorded_at: Tue, 21 Jul 2020 00:26:34 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/bgs/vnp_proc_form_service/vnp_proc_form_create.yml b/spec/support/vcr_cassettes/bgs/vnp_proc_form_service/vnp_proc_form_create.yml index 628c8e3c426..dd083c565d6 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_proc_form_service/vnp_proc_form_create.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_proc_form_service/vnp_proc_form_create.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService?WSDL + uri: /VnpProcFormWebServiceBean/VnpProcFormService?WSDL body: encoding: US-ASCII string: '' @@ -148,7 +148,7 @@ http_interactions: recorded_at: Wed, 27 Mar 2024 18:49:03 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcFormWebServiceBean/VnpProcFormService + uri: /VnpProcFormWebServiceBean/VnpProcFormService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/vnp_proc_service_v2/vnp_proc_create.yml b/spec/support/vcr_cassettes/bgs/vnp_proc_service_v2/vnp_proc_create.yml index 3a4be9d2d32..dc448a7fc5c 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_proc_service_v2/vnp_proc_create.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_proc_service_v2/vnp_proc_create.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Mon, 25 Mar 2024 16:05:36 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpProcWebServiceBeanV2/VnpProcServiceV2 + uri: /VnpProcWebServiceBeanV2/VnpProcServiceV2 body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/vnp_ptcpnt_phone_service/vnp_ptcpnt_phone_create.yml b/spec/support/vcr_cassettes/bgs/vnp_ptcpnt_phone_service/vnp_ptcpnt_phone_create.yml index 45077ecae6b..1c8d90c047d 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_ptcpnt_phone_service/vnp_ptcpnt_phone_create.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_ptcpnt_phone_service/vnp_ptcpnt_phone_create.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService?WSDL + uri: /VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Fri, 29 Mar 2024 14:37:13 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService + uri: /VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/vnp_ptcpnt_service/vnp_ptcpnt_create.yml b/spec/support/vcr_cassettes/bgs/vnp_ptcpnt_service/vnp_ptcpnt_create.yml index cb74fba901d..0ca6ac8b3ca 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_ptcpnt_service/vnp_ptcpnt_create.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_ptcpnt_service/vnp_ptcpnt_create.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Tue, 26 Mar 2024 21:28:36 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: | diff --git a/spec/support/vcr_cassettes/bgs/vnp_relationships/create/child.yml b/spec/support/vcr_cassettes/bgs/vnp_relationships/create/child.yml index 6d6b36f3236..ac5e030cdb4 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_relationships/create/child.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_relationships/create/child.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 03:03:48 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/vnp_relationships/create/death.yml b/spec/support/vcr_cassettes/bgs/vnp_relationships/create/death.yml index af2c9e9c1d4..6b8bd57448f 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_relationships/create/death.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_relationships/create/death.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 03:03:42 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/vnp_relationships/create/marriage_history.yml b/spec/support/vcr_cassettes/bgs/vnp_relationships/create/marriage_history.yml index abae18c0851..c029826cef7 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_relationships/create/marriage_history.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_relationships/create/marriage_history.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 03:03:46 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/vnp_relationships/create/spouse.yml b/spec/support/vcr_cassettes/bgs/vnp_relationships/create/spouse.yml index 47d9e4dd991..823c54a38b7 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_relationships/create/spouse.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_relationships/create/spouse.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Sat, 18 Jul 2020 03:03:44 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/vnp_relationships/step_children.yml b/spec/support/vcr_cassettes/bgs/vnp_relationships/step_children.yml index 428017a1c66..1d7a4cbf568 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_relationships/step_children.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_relationships/step_children.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Thu, 27 Aug 2020 14:56:55 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Thu, 27 Aug 2020 14:56:56 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService?WSDL body: encoding: US-ASCII string: '' @@ -396,7 +396,7 @@ http_interactions: recorded_at: Thu, 27 Aug 2020 14:56:57 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService + uri: /VnpPtcpntRlnshpWebServiceBean/VnpPtcpntRlnshpService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/bgs/vnp_veteran/create.yml b/spec/support/vcr_cassettes/bgs/vnp_veteran/create.yml index e83c63478df..a0267621798 100644 --- a/spec/support/vcr_cassettes/bgs/vnp_veteran/create.yml +++ b/spec/support/vcr_cassettes/bgs/vnp_veteran/create.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService?WSDL body: encoding: US-ASCII string: '' @@ -171,7 +171,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:42 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntWebServiceBean/VnpPtcpntService + uri: /VnpPtcpntWebServiceBean/VnpPtcpntService body: encoding: UTF-8 string: |- @@ -227,7 +227,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:43 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService?WSDL + uri: /StandardDataWebServiceBean/StandardDataWebService?WSDL body: encoding: US-ASCII string: '' @@ -1101,7 +1101,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:43 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService + uri: /StandardDataWebServiceBean/StandardDataWebService body: encoding: UTF-8 string: |- @@ -1157,7 +1157,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:44 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService?WSDL + uri: /StandardDataWebServiceBean/StandardDataWebService?WSDL body: encoding: US-ASCII string: '' @@ -2031,7 +2031,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:13:47 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/StandardDataWebServiceBean/StandardDataWebService + uri: /StandardDataWebServiceBean/StandardDataWebService body: encoding: UTF-8 string: |- @@ -2134,7 +2134,7 @@ http_interactions: recorded_at: Wed, 28 Oct 2020 19:13:48 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL body: encoding: US-ASCII string: '' @@ -2303,7 +2303,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:44 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -2360,7 +2360,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:45 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -2417,7 +2417,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:45 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService body: encoding: UTF-8 string: |- @@ -2474,7 +2474,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:45 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RORoutingServiceWS/RORoutingService?WSDL + uri: /RORoutingServiceWS/RORoutingService?WSDL body: encoding: US-ASCII string: '' @@ -2554,7 +2554,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:46 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/RORoutingServiceWS/RORoutingService + uri: /RORoutingServiceWS/RORoutingService body: encoding: UTF-8 string: |- @@ -2610,7 +2610,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:46 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService?WSDL + uri: /VnpPersonWebServiceBean/VnpPersonService?WSDL body: encoding: US-ASCII string: '' @@ -2779,7 +2779,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:47 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPersonWebServiceBean/VnpPersonService + uri: /VnpPersonWebServiceBean/VnpPersonService body: encoding: UTF-8 string: |- @@ -2835,7 +2835,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:48 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService?WSDL + uri: /VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService?WSDL body: encoding: US-ASCII string: '' @@ -3004,7 +3004,7 @@ http_interactions: recorded_at: Mon, 21 Sep 2020 20:57:48 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService + uri: /VnpPtcpntPhoneWebServiceBean/VnpPtcpntPhoneService body: encoding: UTF-8 string: |- @@ -3058,4 +3058,4 @@ http_interactions: xmlns:work="http://oracle.com/weblogic/soap/workarea/">rO0ABXdKABR3ZWJsb2dpYy5hcHAudm5wLWVhcgAAANYAAAAjd2VibG9naWMud29ya2FyZWEuU3RyaW5nV29ya0NvbnRleHQABTIuMC44AAA=7838012345151031Daytime11122233332020-09-21T20:57:48Z2020-09-21T20:57:48Z281VAgovAPIUVAgovAPI recorded_at: Mon, 21 Sep 2020 20:57:49 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/claims_api/bgs/vnp_ptcpnt_addrs_service/vnp_ptcpnt_addrs_create/happy_path.yml b/spec/support/vcr_cassettes/claims_api/bgs/vnp_ptcpnt_addrs_service/vnp_ptcpnt_addrs_create/happy_path.yml new file mode 100644 index 00000000000..11d52b9b5fd --- /dev/null +++ b/spec/support/vcr_cassettes/claims_api/bgs/vnp_ptcpnt_addrs_service/vnp_ptcpnt_addrs_create/happy_path.yml @@ -0,0 +1,186 @@ +--- +http_interactions: +- request: + method: get + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService?WSDL + body: + encoding: US-ASCII + string: '' + headers: + User-Agent: + - Faraday v2.9.0 + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 04 Apr 2024 18:57:11 GMT + Server: + - Apache + X-Frame-Options: + - SAMEORIGIN + Transfer-Encoding: + - chunked + Content-Type: + - text/xml;charset=utf-8 + Strict-Transport-Security: + - max-age=16000000; includeSubDomains; preload; + body: + encoding: UTF-8 + string: |- + + recorded_at: Thu, 04 Apr 2024 18:57:11 GMT +- request: + method: post + uri: /VnpPtcpntAddrsWebServiceBean/VnpPtcpntAddrsService + body: + encoding: UTF-8 + string: | + + + + + + VAgovAPI + + + 127.0.0.1 + 281 + VAgovAPI + xUid + xKey + + + + + + + + 3854596 + 182057 + 2020-07-16T18:20:18Z + 76 Crowther Ave + + + + Bridgeport + + + + testy@test.com + + + + + 2020-07-16T18:20:17Z + 281 + VAgovAPI + U + VAgovAPI + + + + CT + CT + Mailing + N + + + + + + + + + + 06605 + + + + + + headers: + User-Agent: + - Faraday v2.9.0 + Content-Type: + - text/xml;charset=UTF-8 + Host: + - ".vba.va.gov" + Soapaction: + - '"vnpPtcpntAddrsCreate"' + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Date: + - Thu, 04 Apr 2024 18:57:12 GMT + Server: + - Apache + X-Frame-Options: + - SAMEORIGIN + Transfer-Encoding: + - chunked + Content-Type: + - text/xml; charset=utf-8 + Strict-Transport-Security: + - max-age=16000000; includeSubDomains; preload; + body: + encoding: UTF-8 + string: | + + + + + rO0ABXdKABR3ZWJsb2dpYy5hcHAudm5wLWVhcgAAANYAAAAjd2VibG9naWMud29ya2FyZWEuU3RyaW5nV29ya0NvbnRleHQABTIuMC44AAA= + + + + + + 143950 + 2020-07-16T18:20:18Z + 182057 + 3854596 + 76 Crowther Ave + Bridgeport + testy@test.com + 2020-07-16T18:20:17Z + 281 + VAgovAPI + U + VAgovAPI + CT + CT + Mailing + N + 06605 + + + + + recorded_at: Thu, 04 Apr 2024 18:57:12 GMT +recorded_with: VCR 6.2.0 diff --git a/spec/support/vcr_cassettes/debts/person_data_and_letters.yml b/spec/support/vcr_cassettes/debts/person_data_and_letters.yml index 4b66eac4398..0decc8a5a10 100644 --- a/spec/support/vcr_cassettes/debts/person_data_and_letters.yml +++ b/spec/support/vcr_cassettes/debts/person_data_and_letters.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService?WSDL + uri: /PersonWebServiceBean/PersonWebService?WSDL body: encoding: US-ASCII string: '' @@ -655,7 +655,7 @@ http_interactions: recorded_at: Fri, 12 Jun 2020 02:57:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService + uri: /PersonWebServiceBean/PersonWebService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/dgi/forms/submit_toe_claim.yml b/spec/support/vcr_cassettes/dgi/forms/submit_toe_claim.yml index d0ac2bee740..02ccb82924f 100644 --- a/spec/support/vcr_cassettes/dgi/forms/submit_toe_claim.yml +++ b/spec/support/vcr_cassettes/dgi/forms/submit_toe_claim.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService?WSDL + uri: /BenefitClaimServiceBean/BenefitClaimWebService?WSDL body: encoding: US-ASCII string: '' @@ -355,7 +355,7 @@ http_interactions: recorded_at: Wed, 30 Sep 2020 21:04:37 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/BenefitClaimServiceBean/BenefitClaimWebService + uri: /BenefitClaimServiceBean/BenefitClaimWebService body: encoding: UTF-8 string: |- @@ -442,4 +442,4 @@ http_interactions: encoding: UTF-8 string: '' recorded_at: Thu, 30 Dec 2021 14:30:12 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/lighthouse/facilities/v1/200_facilities_facility_ids.yml b/spec/support/vcr_cassettes/lighthouse/facilities/v1/200_facilities_facility_ids.yml new file mode 100644 index 00000000000..280012d498c --- /dev/null +++ b/spec/support/vcr_cassettes/lighthouse/facilities/v1/200_facilities_facility_ids.yml @@ -0,0 +1,129 @@ +--- +http_interactions: +- request: + method: get + uri: https://sandbox-api.va.gov/services/va_facilities/v1/facilities?facilityIds%5B%5D=vha_358&facilityIds%5B%5D=vha_757 + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - Vets.gov Agent + Apikey: + - abcde + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + response: + status: + code: 200 + message: '' + headers: + Date: + - Wed, 10 Apr 2024 20:19:43 GMT + Content-Type: + - application/json + Connection: + - keep-alive + X-Ratelimit-Remaining-Minute: + - '47' + X-Ratelimit-Limit-Minute: + - '60' + Ratelimit-Remaining: + - '47' + Ratelimit-Limit: + - '60' + Ratelimit-Reset: + - '17' + Strict-Transport-Security: + - max-age=16000000; includeSubDomains; preload; + - max-age=31536000; includeSubDomains; preload + Access-Control-Allow-Origin: + - "*" + Cache-Control: + - '' + - no-cache, no-store + X-Frame-Options: + - SAMEORIGIN + Pragma: + - no-cache + Transfer-Encoding: + - chunked + body: + encoding: ASCII-8BIT + string: '{"data":[{"id":"nca_042","type":"va_facilities","attributes":{"name":"Baxter + Springs City Soldiers'' Lot","facilityType":"va_cemetery","classification":"Soldiers + Lot","website":"https://www.cem.va.gov/cems/lots/BaxterSprings.asp","lat":37.03205750,"long":-94.77066050,"timeZone":"America/Chicago","address":{"mailing":{"zip":"66713","city":"Leavenworth","state":"KS","address1":"150 + Muncie Rd"},"physical":{"zip":"66713","city":"Baxter Springs","state":"KS","address1":"Baxter + Springs City Cemetery"}},"phone":{"fax":"9137584136","main":"9137584105"},"hours":{"monday":"Sunrise + - Sundown","tuesday":"Sunrise - Sundown","wednesday":"Sunrise - Sundown","thursday":"Sunrise + - Sundown","friday":"Sunrise - Sundown","saturday":"Sunrise - Sundown","sunday":"Sunrise + - Sundown"},"operatingStatus":{"code":"NORMAL"}}},{"id":"nca_054","type":"va_facilities","attributes":{"name":"Congressional + Cemetery Government Lots","facilityType":"va_cemetery","classification":"Government + Lots","website":"https://www.cem.va.gov/cems/lots/Congressional.asp","lat":38.88277970,"long":-76.97901110,"timeZone":"America/New_York","address":{"mailing":{"zip":"21228","city":"Baltimore","state":"MD","address1":"5501 + Frederick Avenue"},"physical":{"zip":"20003","city":"Washington","state":"DC","address1":"1801 + E Street, SE"}},"phone":{"fax":"4106441563","main":"4106449696"},"hours":{"monday":"Sunrise + - Sundown","tuesday":"Sunrise - Sundown","wednesday":"Sunrise - Sundown","thursday":"Sunrise + - Sundown","friday":"Sunrise - Sundown","saturday":"Sunrise - Sundown","sunday":"Sunrise + - Sundown"},"operatingStatus":{"code":"NORMAL"}}},{"id":"nca_055","type":"va_facilities","attributes":{"name":"Evergreen + Cemetery Soldiers'' Lot","facilityType":"va_cemetery","classification":"Soldiers + Lot","website":"https://www.cem.va.gov/cems/lots/Evergreen.asp","lat":39.06965130,"long":-84.46885410,"timeZone":"America/New_York","address":{"mailing":{"zip":"40356","city":"Nicholasville","state":"KY","address1":"6980 + Danville Rd"},"physical":{"zip":"41071","city":"Southgate","state":"KY","address1":"25 + South Alexandria Pike"}},"phone":{"fax":"859-887-4860","main":"859-885-5727"},"hours":{"monday":"Sunrise + - Sundown","tuesday":"Sunrise - Sundown","wednesday":"Sunrise - Sundown","thursday":"Sunrise + - Sundown","friday":"Sunrise - Sundown","saturday":"Sunrise - Sundown","sunday":"Sunrise + - Sundown"},"operatingStatus":{"code":"NORMAL"}}},{"id":"nca_058","type":"va_facilities","attributes":{"name":"Forest + Lawn Cemetery Soldiers'' Lot","facilityType":"va_cemetery","classification":"Soldiers + Lot","website":"https://www.cem.va.gov/cems/lots/ForestLawn.asp","lat":41.33124280,"long":-95.99361190,"timeZone":"America/Chicago","address":{"mailing":{"zip":"66048","city":"Leavenworth","state":"KS","address1":"150 + Muncie Rd"},"physical":{"zip":"68112","city":"Omaha","state":"NE","address1":"7909 + Mormon Bridge Rd"}},"phone":{"fax":"9137584136","main":"9137584105"},"hours":{"monday":"Sunrise + - Sundown","tuesday":"Sunrise - Sundown","wednesday":"Sunrise - Sundown","thursday":"Sunrise + - Sundown","friday":"Sunrise - Sundown","saturday":"Sunrise - Sundown","sunday":"Sunrise + - Sundown"},"operatingStatus":{"code":"NORMAL"}}},{"id":"nca_059","type":"va_facilities","attributes":{"name":"Fort + Crawford Cemetery Soldiers'' Lot","facilityType":"va_cemetery","classification":"Soldiers + Lot","website":"https://www.cem.va.gov/cems/lots/Fort_Crawford.asp","lat":43.04707820,"long":-91.14648480,"timeZone":"America/Chicago","address":{"mailing":{"zip":"53295-4000","city":"Milwaukee","state":"WI","address1":"5000 + W. National Ave, Bldg. 1301"},"physical":{"zip":"53821","city":"Prairie du + Chien","state":"WI","address1":"413 S. Beaumont Rd"}},"phone":{"fax":"4143825321","main":"4143825300"},"hours":{"monday":"Sunrise + - Sundown","tuesday":"Sunrise - Sundown","wednesday":"Sunrise - Sundown","thursday":"Sunrise + - Sundown","friday":"Sunrise - Sundown","saturday":"Sunrise - Sundown","sunday":"Sunrise + - Sundown"},"operatingStatus":{"code":"NORMAL"}}},{"id":"nca_061","type":"va_facilities","attributes":{"name":"Green + Mount Cemetery Soldiers'' Lot","facilityType":"va_cemetery","classification":"Soldiers + Lot","website":"https://www.cem.va.gov/cems/lots/Green_Mount.asp","lat":44.25730710,"long":-72.59974600,"timeZone":"America/New_York","address":{"mailing":{"zip":"02532","city":"Bourne","state":"MA","address1":"Off + Connery Ave."},"physical":{"zip":"05602","city":"Montpelier","state":"VT","address1":"250 + State Street"}},"phone":{"fax":"5085649946","main":"5085637113"},"hours":{"monday":"Sunrise + - Sundown","tuesday":"Sunrise - Sundown","wednesday":"Sunrise - Sundown","thursday":"Sunrise + - Sundown","friday":"Sunrise - Sundown","saturday":"Sunrise - Sundown","sunday":"Sunrise + - Sundown"},"operatingStatus":{"code":"NORMAL"}}},{"id":"nca_062","type":"va_facilities","attributes":{"name":"Lakeside + Cemetery Soldiers'' Lot","facilityType":"va_cemetery","classification":"Soldiers + Lot","website":"https://www.cem.va.gov/cems/lots/Lakeside.asp","lat":43.01735370,"long":-82.43269330,"timeZone":"America/Detroit","address":{"mailing":{"zip":"48442","city":"Holly","state":"MI","address1":"4200 + Belford Rd"},"physical":{"zip":"48060","city":"Port Huron","state":"MI","address1":"3781 + Gratiot St"}},"phone":{"fax":"2483280612","main":"2483280386"},"hours":{"monday":"Sunrise + - Sundown","tuesday":"Sunrise - Sundown","wednesday":"Sunrise - Sundown","thursday":"Sunrise + - Sundown","friday":"Sunrise - Sundown","saturday":"Sunrise - Sundown","sunday":"Sunrise + - Sundown"},"operatingStatus":{"code":"NORMAL"}}},{"id":"nca_063","type":"va_facilities","attributes":{"name":"Mound + Cemetery Soldiers'' Lot","facilityType":"va_cemetery","classification":"Soldiers + Lot","website":"https://www.cem.va.gov/cems/lots/Mound.asp","lat":42.71931550,"long":-87.81609560,"timeZone":"America/Chicago","address":{"mailing":{"zip":"53295-4000","city":"Milwaukee","state":"WI","address1":"5000 + W. National Ave, Bldg. 1301"},"physical":{"zip":"53405","city":"Racine","state":"WI","address1":"1147 + West Blvd"}},"phone":{"fax":"4143825321","main":"4143825300"},"hours":{"monday":"Sunrise + - Sundown","tuesday":"Sunrise - Sundown","wednesday":"Sunrise - Sundown","thursday":"Sunrise + - Sundown","friday":"Sunrise - Sundown","saturday":"Sunrise - Sundown","sunday":"Sunrise + - Sundown"},"operatingStatus":{"code":"NORMAL"}}},{"id":"nca_064","type":"va_facilities","attributes":{"name":"Mound + City Cemetery Soldiers'' Lot","facilityType":"va_cemetery","classification":"Soldiers + Lot","website":"https://www.cem.va.gov/cems/lots/MoundCity.asp","lat":38.14555200,"long":-94.81322820,"timeZone":"America/Chicago","address":{"mailing":{"zip":"66506","city":"Leavenworth","state":"KS","address1":"150 + Muncie Rd"},"physical":{"zip":"66506","city":"Mound City","state":"KS","address1":"Woodland + Cemetery"}},"phone":{"fax":"9137584136","main":"9137584105"},"hours":{"monday":"Sunrise + - Sundown","tuesday":"Sunrise - Sundown","wednesday":"Sunrise - Sundown","thursday":"Sunrise + - Sundown","friday":"Sunrise - Sundown","saturday":"Sunrise - Sundown","sunday":"Sunrise + - Sundown"},"operatingStatus":{"code":"NORMAL"}}},{"id":"nca_065","type":"va_facilities","attributes":{"name":"Mount + Moriah Cemetery Soldiers'' Lot","facilityType":"va_cemetery","classification":"Soldiers + Lot","website":"https://www.cem.va.gov/cems/lots/MountMoriah.asp","lat":39.93245530,"long":-75.23679670,"timeZone":"America/New_York","address":{"mailing":{"zip":"08010","city":"Beverly","state":"NJ","address1":"916 + Bridgeboro Road"},"physical":{"zip":"19142","city":"Philadelphia","state":"PA","address1":"62nd + Street and Kingsessing Avenue"}},"phone":{"fax":"6098714691","main":"6098775460"},"hours":{"monday":"Sunrise + - Sundown","tuesday":"Sunrise - Sundown","wednesday":"Sunrise - Sundown","thursday":"Sunrise + - Sundown","friday":"Sunrise - Sundown","saturday":"Sunrise - Sundown","sunday":"Sunrise + - Sundown"},"operatingStatus":{"code":"NORMAL"}}}],"links":{"self":"https://sandbox-api.va.gov/services/va_facilities/v1/facilities?page=1&per_page=10","first":"https://sandbox-api.va.gov/services/va_facilities/v1/facilities?page=1&per_page=10","next":"https://sandbox-api.va.gov/services/va_facilities/v1/facilities?page=2&per_page=10","last":"https://sandbox-api.va.gov/services/va_facilities/v1/facilities?page=257&per_page=10"},"meta":{"pagination":{"currentPage":1,"perPage":10,"totalPages":257,"totalEntries":2563}}}' + recorded_at: Wed, 10 Apr 2024 20:19:43 GMT +recorded_with: VCR 6.2.0 diff --git a/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn.yml b/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn.yml index 426347b4e22..4815a883048 100644 --- a/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn.yml +++ b/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService?WSDL + uri: /PersonWebServiceBean/PersonWebService?WSDL body: encoding: US-ASCII string: '' @@ -700,7 +700,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService + uri: /PersonWebServiceBean/PersonWebService body: encoding: UTF-8 string: |- @@ -757,7 +757,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:31 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService?WSDL + uri: /vrm-ws/PaymentInformationService?WSDL body: encoding: US-ASCII string: '' @@ -1033,7 +1033,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:32 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService + uri: /vrm-ws/PaymentInformationService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn_blank_date.yml b/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn_blank_date.yml index f6d30e7ff7a..30e62f6dfb8 100644 --- a/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn_blank_date.yml +++ b/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn_blank_date.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService?WSDL + uri: /PersonWebServiceBean/PersonWebService?WSDL body: encoding: US-ASCII string: '' @@ -700,7 +700,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService + uri: /PersonWebServiceBean/PersonWebService body: encoding: UTF-8 string: |- @@ -757,7 +757,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:31 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService?WSDL + uri: /vrm-ws/PaymentInformationService?WSDL body: encoding: US-ASCII string: '' @@ -1033,7 +1033,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:32 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService + uri: /vrm-ws/PaymentInformationService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn_only_blank_dates.yml b/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn_only_blank_dates.yml index 7bd41a45a93..4c40b2793e4 100644 --- a/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn_only_blank_dates.yml +++ b/spec/support/vcr_cassettes/mobile/payment_history/retrieve_payment_summary_with_bdn_only_blank_dates.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService?WSDL + uri: /PersonWebServiceBean/PersonWebService?WSDL body: encoding: US-ASCII string: '' @@ -700,7 +700,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:30 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService + uri: /PersonWebServiceBean/PersonWebService body: encoding: UTF-8 string: |- @@ -757,7 +757,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:31 GMT - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService?WSDL + uri: /vrm-ws/PaymentInformationService?WSDL body: encoding: US-ASCII string: '' @@ -1033,7 +1033,7 @@ http_interactions: recorded_at: Tue, 06 Oct 2020 19:10:32 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/vrm-ws/PaymentInformationService + uri: /vrm-ws/PaymentInformationService body: encoding: UTF-8 string: |- diff --git a/spec/support/vcr_cassettes/vaos/appointment_requests/get_request_with_id.yml b/spec/support/vcr_cassettes/vaos/appointment_requests/get_request_with_id.yml index 10e7fd9df0c..3c0768b67f7 100644 --- a/spec/support/vcr_cassettes/vaos/appointment_requests/get_request_with_id.yml +++ b/spec/support/vcr_cassettes/vaos/appointment_requests/get_request_with_id.yml @@ -16,7 +16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iaWNuIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJkb2IiOiIxOTUzLTA0LTAxIiwiZGF0ZU9mQmlydGgiOiIxOTUzLTA0LTAxIiwic3NuIjoiNzk2MDYxOTc2In0sImRvYiI6IjE5NTMwNDAxIiwidmFtZi5hdXRoLnJvbGVzIjpbInZldGVyYW4iXSwicmlnaHRPZkFjY2Vzc0FjY2VwdGVkIjp0cnVlLCJleHAiOjE2MTEwODk3MDQsImp0aSI6ImIyMjBkNTVhLTJlZGQtNDI4MS04ODBkLThmMTc1MGE3ZWM5ZSIsImxvYSI6Mn0.Yje2jYpVo2xU7-IgtW8BumqFY-A114-vzYLXo7S5wrWstvH3ju-LsYKj-Bxl9DELyQnHELGQYwktJ5Xlu-yF14Qp_JOHbMsFalm83dcjvYGrrR50B6qowdF2pF9wYGtuwD2DNXHK7CzqmblWCMGDL9JhY4aTIlpu4FSNHbVM2B0BQreU7brs5iN03BfadL2enPLiVpdSNBi_kUwGxG0m9sCgXa7aIcyp4Std6kSMXzFUIPQOwjv0OZFcucVLdufGa56Hi9dZXtrf3l91Rr1qKLeNh4NnSltuIyYKGWUx9bAOX1_1KdNyo1iZSjT63B3QyV-QkbgdyxsqttP2MvXEnw + - stubbed_token X-Request-Id: - "" Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/appointment_requests/get_requests.yml b/spec/support/vcr_cassettes/vaos/appointment_requests/get_requests.yml index 769c3c95fd4..e6adbe6f31a 100644 --- a/spec/support/vcr_cassettes/vaos/appointment_requests/get_requests.yml +++ b/spec/support/vcr_cassettes/vaos/appointment_requests/get_requests.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ -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zt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/appointment_requests/get_requests_with_params.yml b/spec/support/vcr_cassettes/vaos/appointment_requests/get_requests_with_params.yml index 32501423e2b..770410ae9bf 100644 --- a/spec/support/vcr_cassettes/vaos/appointment_requests/get_requests_with_params.yml +++ b/spec/support/vcr_cassettes/vaos/appointment_requests/get_requests_with_params.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: @@ -241,7 +241,7 @@ http_interactions: uri: https://internal-dsva-vagov-staging-fwdproxy-1821450725.us-gov-west-1.elb.amazonaws.com:4463/users/v2/session?processRules=true body: encoding: US-ASCII - string: eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJzdWIiOiIxMDAwMTIzNDU2VjEyMzQ1NiIsImlkVHlwZSI6IklDTiIsImlzcyI6Imdvdi52YS52YW9zIiwiZmlyc3ROYW1lIjoiQmVubmllIiwibGFzdE5hbW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cLK6NNNdDKuZMuSiCqnVt3T_reg9Pri7YK4UUCbUy1IovCOH8bXKSht7nGLa0e3CN48jLNoHHbVZJ8j_8uuVr3aZKsNi5ltnAjMULx9KSy5_cKIJWB5Rbid1WeeMS5y1j4CCEeOlrVqwbGBC143rGcK0Odsg + string: stubbed_token recorded_at: Tue, 19 Jan 2021 16:50:21 GMT - request: method: get @@ -306,7 +306,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6IlNjaGFlZmVyIiwic3ViIjoiMTAwMDEyMzQ1NlYxMjM0NTYiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJkYXRlT2ZCaXJ0aCI6IjE5NDEwMzA2IiwidmVyc2lvbiI6Mi4xLCJlZGlwaWQiOiI2NzQ4NTcwNDk2Iiwic3NuIjoiMDEyNzk1OTk1IiwiZmlyc3ROYW1lIjoiQmVubmllIiwibmJmIjoxNjExMDc0ODQxLCJzc3QiOjE2MTEwNzUwMjEsImRvYiI6IjE5NDEwMzA2IiwicGF0aWVudCI6eyJmaXJzdE5hbWUiOiJCZW5uaWUiLCJsYXN0TmFtZSI6IlNjaGFlZmVyIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaWNuIjoiMTAwMDEyMzQ1NlYxMjM0NTYiLCJkb2IiOiIxOTQxLTAzLTA2IiwiZGF0ZU9mQmlydGgiOiIxOTQxLTAzLTA2Iiwic3NuIjoiMDEyNzk1OTk1In0sInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sImV4cCI6MTYxMTA3NTkyMSwianRpIjoiMmE0ZmVlYzEtZjI2Yi00ZGRmLWE1MGEtMzVkMzkwMzQwYjhmIiwibG9hIjoyfQ.CHnNg422D87rf0ow3ZphdUHRVUIbq7K9TKNigChZ6wCvakvi_Oxzi5TwH4ebvJGLSuoSZ9_PJFPtz-eh9CCf7j_KCHEdEYwNILzeczrHq0GrIDAfoqlwZc8_4b10UAsMsIFsQhAn3uwBqJi3G9kIzY1fpkYgHHaPlpeiquGG84gw6VLCgYiKFm5PuvcLK6NNNdDKuZMuSiCqnVt3T_reg9Pri7YK4UUCbUy1IovCOH8bXKSht7nGLa0e3CN48jLNoHHbVZJ8j_8uuVr3aZKsNi5ltnAjMULx9KSy5_cKIJWB5Rbid1WeeMS5y1j4CCEeOlrVqwbGBC143rGcK0Odsg + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/appointment_requests/post_request.yml b/spec/support/vcr_cassettes/vaos/appointment_requests/post_request.yml index 43900b6e5b1..6bff68dd5ca 100644 --- a/spec/support/vcr_cassettes/vaos/appointment_requests/post_request.yml +++ b/spec/support/vcr_cassettes/vaos/appointment_requests/post_request.yml @@ -22,7 +22,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFt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odkRqf3TU_uPjhHlVGQzxNDUq2hpIoPJ1xf0mKUfKcR2RZypQGPVEem1cc-fbLIRtMFatfrECvlqk83revr5CSveskojzNx2hkjOmDlysmltmtcIXGSE5XY4riST03pHX3jwMgdjtrc-ymPT2fSuiwEfAQJPB8I6OQtljMiUEyta1vEtA + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/appointment_requests/post_request_CC.yml b/spec/support/vcr_cassettes/vaos/appointment_requests/post_request_CC.yml index be28bc3b5b2..91722bbbfec 100644 --- a/spec/support/vcr_cassettes/vaos/appointment_requests/post_request_CC.yml +++ b/spec/support/vcr_cassettes/vaos/appointment_requests/post_request_CC.yml @@ -30,7 +30,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1My0wNC0wMSIsInZlcn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hGBRg + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/appointment_requests/put_request.yml b/spec/support/vcr_cassettes/vaos/appointment_requests/put_request.yml index e62a8210940..f672e7fd675 100644 --- a/spec/support/vcr_cassettes/vaos/appointment_requests/put_request.yml +++ b/spec/support/vcr_cassettes/vaos/appointment_requests/put_request.yml @@ -22,7 +22,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1My0wNC0wMSIsInZlcnNpb24iOjIuMSwiZWRpcGlkIjoiMTI1OTg5Nzk3OCIsInZpc3RhSWRzIjpbeyJwYXRpZW50SWQiOiI1NTIxNjEwNTAiLCJzaXRlSWQiOiI5ODQifSx7InBhdGllbnRJZCI6IjcyMTY2OTEiLCJzaXRlSWQiOiI5ODMifV0sInNzbiI6Ijc5NjA2MTk3NiIsImZpcnN0TmFtZSI6Ikp1ZHkiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNTc0NDI5MDk4LCJzc3QiOjE1NzQ0MjkyNzgsInBhdGllbnQiOnsiZmlyc3ROYW1lIjoiSnVkeSIsImxhc3ROYW1lIjoiTW9ycmlzb24iLCJnZW5kZXIiOiJGRU1BTEUiLCJpY24iOiIxMDEyODQ1MzMxVjE1MzA0MyIsImRvYiI6IjE5NTMtMDQtMDEiLCJkYXRlT2ZCaXJ0aCI6IjE5NTMtMDQtMDEiLCJzc24iOiI3OTYwNjE5NzYifSwiZG9iIjoiMTk1My0wNC0wMSIsInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sInJpZ2h0T2ZBY2Nlc3NBY2NlcHRlZCI6dHJ1ZSwiZXhwIjoxNTc0NDMwMTc4LCJqdGkiOiI0ZWQ5MzJlMi1hNzVmLTQ2ZjEtYjBhOS0xYWE0OTMwYjFmZDUiLCJsb2EiOjJ9.n_YSkFVvTLblCngHr4_G2tECDnRtefEOFJD-ZO76-Vq8SdU9XLBFzbNDl1g0WT_S-plIkDOHIraL49dTHaLm3ay_OdFqeKBNzZmBlUhy2IGftBbQKOo3KNo1nhwJZeCQC8g-e_5wfYQM55fxkeEdAc6rfqYtb-zqIZ4ZRnzhaIwBIhrozFkEihHWN3NrCOF7UWGXXugaV1jqtbgLfGCySoFoDU7tgsh2_c6JSQGLjDqQ0w92L9q-asf85gto6LH3IRI67FfwL4ysnxN-kNTo2-mPF0UwHU4r3A01nbK0fohny-d8TLnrqovvw_mZf4WEn4AsvTSmWAhYMqGJfNuryw + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/appointments/get_appointments.yml b/spec/support/vcr_cassettes/vaos/appointments/get_appointments.yml index ca8fa47376e..da0b0f2f2df 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/get_appointments.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/get_appointments.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1MzA0MDEiLCJ2ZXJzaW9uIjoyLjEsImVkaXBpZCI6IjEyNTk4OTc5NzgiLCJ2aXN0YUlkcyI6W3sicGF0aWVudElkIjoiNTUyMTYxMDUwIiwic2l0ZUlkIjoiOTg0In0seyJwYXRpZW50SWQiOiI3MjE2NjkxIiwic2l0ZUlkIjoiOTgzIn1dLCJzc24iOiI3OTYwNjE5NzYiLCJmaXJzdE5hbWUiOiJKdWR5Iiwic3RhZmZEaXNjbGFpbWVyQWNjZXB0ZWQiOnRydWUsIm5iZiI6MTYxMDA1MzYxNSwic3N0IjoxNjEwMDUzNzk1LCJwYXRpZW50Ijp7ImZpcnN0TmFtZSI6Ikp1ZHkiLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaWNuIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJkb2IiOiIxOTUzLTA0LTAxIiwiZGF0ZU9mQmlydGgiOiIxOTUzLTA0LTAxIiwic3NuIjoiNzk2MDYxOTc2In0sImRvYiI6IjE5NTMwNDAxIiwidmFtZi5hdXRoLnJvbGVzIjpbInZldGVyYW4iXSwicmlnaHRPZkFjY2Vzc0FjY2VwdGVkIjp0cnVlLCJleHAiOjE2MTAwNTQ2OTUsImp0aSI6ImQzN2E2MjE4LTc5ZjYtNGE3YS1hOWRkLTZjYWFmOWVjYzM4MyIsImxvYSI6Mn0.vbxXGsc1H8dIZJGrvgX8B30lepT20Q17c8K1Ck43TdfC9UtpvcBMAbOnpULUAklITLUt1GSXDej9r0uUbRZkaUexr4yQl6U1JLn30TYV6z4h7uCKf54ghBVJ1OxNvBe7QZOZgqLPbBqco-f3JNIqpW9EQtpE3ASxUiZoac5GNaazziRWUTw1loQQwWCSgbG3f-opnggBZS6-ewkDR6C5WBSAqF1hYWoTOBaCaTs2qEqf5l5NsvlmBTYwxHPOrT2gs2dzeguibNXY9DdOmrvo02FGD3pba8lsC58MUmPG_ybCxcy5bLijdItqbySDbDg4JZwRmo1Mo383Lu9BLYJVvQ + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/appointments/get_appointments_200_partial_error.yml b/spec/support/vcr_cassettes/vaos/appointments/get_appointments_200_partial_error.yml index 62d398cbb5f..8a4a629c325 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/get_appointments_200_partial_error.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/get_appointments_200_partial_error.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAx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zk2MDYxOTc2In0sImRvYiI6IjE5NTMwNDAxIiwidmFtZi5hdXRoLnJvbGVzIjpbInZldGVyYW4iXSwicmlnaHRPZkFjY2Vzc0FjY2VwdGVkIjp0cnVlLCJleHAiOjE2MTAwNTQ2OTUsImp0aSI6ImQzN2E2MjE4LTc5ZjYtNGE3YS1hOWRkLTZjYWFmOWVjYzM4MyIsImxvYSI6Mn0.vbxXGsc1H8dIZJGrvgX8B30lepT20Q17c8K1Ck43TdfC9UtpvcBMAbOnpULUAklITLUt1GSXDej9r0uUbRZkaUexr4yQl6U1JLn30TYV6z4h7uCKf54ghBVJ1OxNvBe7QZOZgqLPbBqco-f3JNIqpW9EQtpE3ASxUiZoac5GNaazziRWUTw1loQQwWCSgbG3f-opnggBZS6-ewkDR6C5WBSAqF1hYWoTOBaCaTs2qEqf5l5NsvlmBTYwxHPOrT2gs2dzeguibNXY9DdOmrvo02FGD3pba8lsC58MUmPG_ybCxcy5bLijdItqbySDbDg4JZwRmo1Mo383Lu9BLYJVvQ + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/appointments/get_appointments_500.yml b/spec/support/vcr_cassettes/vaos/appointments/get_appointments_500.yml index 5b6b6f574a5..b7676991bd4 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/get_appointments_500.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/get_appointments_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyM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0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/appointments/get_appointments_empty.yml b/spec/support/vcr_cassettes/vaos/appointments/get_appointments_empty.yml index c4efea0ea12..d4fff173794 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/get_appointments_empty.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/get_appointments_empty.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/appointments/get_appointments_map_error.yml b/spec/support/vcr_cassettes/vaos/appointments/get_appointments_map_error.yml index da430f50eac..e6f7e0be769 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/get_appointments_map_error.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/get_appointments_map_error.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9z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VwdGVkIjp0cnVlLCJleHAiOjE2MTAwNjEwODMsImp0aSI6IjNiODVmYmJlLTUxMmMtNGIwNy1iYzQ5LTNhYzFlNjY4OTA4OSIsImxvYSI6Mn0.OS8kIzEITq2E5cpp_D3mdCV5sIsKBt_-6qItxvP9N2FOeqOxMphjfHYiVCyh_mqZHIe1oMJ3DuwQrcyfMbjI-_y7bU4T6nXY26n14ne7c40cIx7BbHyEhvjntpIjwYJGXnzc977vl-zatZnU9NRybi4UnepynKtwucYN72hKVYl5rp08msCkTi0P4o-vFnKdYaQ8VQjhNEmUQiVGip4bwXSoVyiJZ-kaaBXgesTBvVGQyokRGXNB29AZUb4Vt8IoZQ-R2Bw4SoXfMT19zJYoP4WwLTbm26o_RrJ7UUPU3fcHyGISoXL6lR6Ws-onIAvtHOVVK-V9YadqXtjAPp97jQ + - stubbed_token X-Request-Id: - de89da5f-1c2c-4980-b956-3fe9a4fa82ce Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments.yml b/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments.yml index ef022989b59..0fc88f1107d 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85OD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X8YW-NifUwOXQ07kgf7U71hqSkErrW1eZYf5XOpSfl_W6G-So-qUCtXmPpCaRefWZLmZbx0qnKPpCsytPN0AHRcDac3lNPnBeDKciZBFtdbz7cHRsraKWVxpfkpv8BBbppCYF-mLT76OfcskzD6GJo6Wh-J6tBjhTBMuB2rHRibrdLsBVyTNOaYOHhLuVLPiRes3BHbshGFS81TNMO_bK4GuGODwe7rn_5SnF0Tx-ASeOag9oYPMmNG2knDsoTwPXMAIGanZBRMZ3Etc33ZxKaAizmfvrTag + - stubbed_token X-Request-Id: - c78ffef0-8930-41f8-8065-75e6a53c0870 Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments_500.yml b/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments_500.yml index b625e40f252..f1dc22c378f 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments_500.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments_empty.yml b/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments_empty.yml index 3894c705d01..502e0e55b64 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments_empty.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/get_cc_appointments_empty.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/appointments/post_appointment.yml b/spec/support/vcr_cassettes/vaos/appointments/post_appointment.yml index 2005df96dff..2dc078420b7 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/post_appointment.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/post_appointment.yml @@ -22,7 +22,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvK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Ea54TDFW4yqVK4G_GFYaO6U84Zx2yHfMYSizIg5PSCpLId60ZrpIUFJFf9aKA2Zq30qVQk9CMyhkiPqog0NiTg4cDyhrq---kKxZRZxApEFkp7ZkY4cAq8XkhsYXiu4QktCw9AGQLo6kjEUC0lgrPUbfRDqraZ2XG8UsZPRqM70w14wzlsuD6K60xsK7WGMJKX1BCPqajVQ38TmP_hFpPCvaiurOW6YuxoaQ + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/appointments/post_appointment_400.yml b/spec/support/vcr_cassettes/vaos/appointments/post_appointment_400.yml index 0e2115bfd89..16e8c620539 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/post_appointment_400.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/post_appointment_400.yml @@ -22,7 +22,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4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LocJDe1l4O0GMysMQJI4EirvK_rUuHeIkxB0nAfkvyEnllKswwS4TvLA + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/appointments/post_appointment_409.yml b/spec/support/vcr_cassettes/vaos/appointments/post_appointment_409.yml index 8a5814e1200..2d0f4d28d3a 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/post_appointment_409.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/post_appointment_409.yml @@ -22,7 +22,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1My0wNC0wMSIsInZlcnNpb24iOjIuMSwiZWRpcGlkIjoiMTI1OTg5Nzk3OCIsInZpc3RhSWRzIjpbeyJwYXRpZW50SWQiOiI1NTIxNjEwNTAiLCJzaXRlSWQiOiI5ODQifSx7InBhdGllbnRJZCI6IjcyMTY2OTEiLCJzaXRlSWQiOiI5ODMifV0sInNzbiI6Ijc5NjA2MTk3NiIsImZpcnN0TmFtZSI6Ikp1ZHkiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNTc5MDMwMzk0LCJzc3QiOjE1NzkwMzA1NzMsInBhdGllbnQiOnsiZmlyc3ROYW1lIjoiSnVkeSIsImxhc3ROYW1lIjoiTW9ycmlzb24iLCJnZW5kZXIiOiJGRU1BTEUiLCJpY24iOiIxMDEyODQ1MzMxVjE1MzA0MyIsImRvYiI6IjE5NTMtMDQtMDEiLCJkYXRlT2ZCaXJ0aCI6IjE5NTMtMDQtMDEiLCJzc24iOiI3OTYwNjE5NzYifSwiZG9iIjoiMTk1My0wNC0wMSIsInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sInJpZ2h0T2ZBY2Nlc3NBY2NlcHRlZCI6dHJ1ZSwiZXhwIjoxNTc5MDMxNDc0LCJqdGkiOiIxNGE5NTVkZi1jZmQ1LTRiY2MtYTEwMi00YjQ0MTMwMDVlNzYiLCJsb2EiOjJ9.ibFZqltCKkylUGpeu54bJwjlFurqJqCgy0Cslx7zm1Rifc2N1MhTQzzEVPK_QHVTjMphgviDc1se-1XVmCUW4pDJ_YJk0YEdaQvYrYRUqYN4VRWNUQpunSBcWxx3UXa46QWPJQNBWmCa1mwHn1MRQNRdmGvJxODIOXaq9aoboZHJIsZLrf5YD6i3fMbahSsbGLA9c2ZwzeAn4-6ybwATe81NKRsrqe-txMV8X91n24KJx5CKAL1C-HV4ili47JJZD1sESTByM09iTBkLc5MHOLXd0t_-DlLocJDe1l4O0GMysMQJI4EirvK_rUuHeIkxB0nAfkvyEnllKswwS4TvLA + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/appointments/put_cancel_appointment.yml b/spec/support/vcr_cassettes/vaos/appointments/put_cancel_appointment.yml index bd4ae2eac6d..b3f53aa1ab1 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/put_cancel_appointment.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/put_cancel_appointment.yml @@ -17,7 +17,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1PUlJJU09OIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sInZlcnNpb24iOjIuMSwidmlzdGFJZHMiOlt7InBhdGllbnRJZCI6IjU1MjE2MTA1MCIsInNpdGVJZCI6Ijk4NCJ9LHsicGF0aWVudElkIjoiNzIxNjY5MSIsInNpdGVJZCI6Ijk4MyJ9XSwiZmlyc3ROYW1lIjoiSlVEWSIsInN0YWZmRGlzY2xhaW1lckFjY2VwdGVkIjp0cnVlLCJuYmYiOjE1NzM4NDEyMTYsInNzdCI6MTU3Mzg0MTM5NiwicGF0aWVudCI6eyJmaXJzdE5hbWUiOiJKVURZIiwibGFzdE5hbWUiOiJNT1JSSVNPTiIsImljbiI6IjEwMTI4NDUzMzFWMTUzMDQzIn0sInVzZXJUeXBlIjoiVkVURVJBTiIsInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sInJpZ2h0T2ZBY2Nlc3NBY2NlcHRlZCI6dHJ1ZSwiZXhwIjoxNTczODQyMjk2LCJqdGkiOiIwYmI5ZTFjYi1hNDg1LTQ0YTgtOGI1NS02OTQ2Yjk5YzU4MTgiLCJsb2EiOjJ9.S6f-KCgADErhYVhcOcpa1K1Bm8oe7LpKbi09VehNp5KvA57Eg7Z-B3m3LDnvUnWkAg1Da8h3JVph4h4H5oSlALURuKB5FeQOXiARkfrHpIq0nuHWBQbeaIOqsHiAswT4U1xGPQk0Q2zmsumJXviBl1ffoLJXQih6UQy1do1MMBskCL1YcJzaO6MaYl5kuDKdo3wtXg9xMYd0MEBSeyKEynvdXcH80BIFdz6gMQZt4DXRM4iCPldW9DRbEp0mOIV7vdXFx_8q0atILAABes891HOygXsBPAGvL7sDTw8PMD04Yz__2NKefRBXOmtjGj28D9Yv6PEKcP3TYrt29-FO9A + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/appointments/put_cancel_appointment_409.yml b/spec/support/vcr_cassettes/vaos/appointments/put_cancel_appointment_409.yml index 6b99191d31b..9e2391d44fa 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/put_cancel_appointment_409.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/put_cancel_appointment_409.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1PUlJJU09OIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiaXNzIjoiZ292LnZhLnZhbWY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xwVYHh9mRzuOQJun9e2d9qDkIDOIqtp5OxXlxTaBm6sD3IfW7EkTa89fxMPkrWpqYR7CPNU8cN6vxnxKsP4vD5EsiIoGBbTBUHUJ23GXS4cr8E9MsrvEfKF8IbbsiuJmhDc_ght9fx5E2t_I0tPDhkg_47dyMlUy5WxAQKWuWPOC5AOA + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/appointments/show_appointment_404.yml b/spec/support/vcr_cassettes/vaos/appointments/show_appointment_404.yml index bbca812cd95..3e4ffd0a033 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/show_appointment_404.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/show_appointment_404.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1MzA0MDEiL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9gxK9ZqoNSabpA + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/appointments/show_appointment_500.yml b/spec/support/vcr_cassettes/vaos/appointments/show_appointment_500.yml index 2b27d155dcc..d4bf477e6e5 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/show_appointment_500.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/show_appointment_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/appointments/show_appointment_with_dash.yml b/spec/support/vcr_cassettes/vaos/appointments/show_appointment_with_dash.yml index 2ddc1513716..3f4bc01c782 100644 --- a/spec/support/vcr_cassettes/vaos/appointments/show_appointment_with_dash.yml +++ b/spec/support/vcr_cassettes/vaos/appointments/show_appointment_with_dash.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRk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Imp0aSI6ImJkNjA2YzcxLWNmODgtNDdhMi1hNWY3LTFiY2I2NjVmMmI1OCIsImxvYSI6Mn0.HqQTeWy8Fd63QvvoR5KvP4QIRSNLqelTTaVzETUU36vGbjuJTVFgr7cdVaQ1XPDzGiJwxXKTWq_kMwzP7h9rEKODbciP1Wl72yj3J3p8spsSg81Slr6Xnrsi_fK4_I2GTUxAjCt50CFCDOOH7pPE6DpCf9_2nAUFQnYL4YBOrzFxuQ2yqGiUovKckVGp-j4ZFM1rWIEPwDCGsDd69YJlMi1qhooGTIxozXzm2PxApiSWVwp3CzD1PQOMpejfS6j3l6AR6SRhhZOP-9EssoRSBmwP7t8HjacGq08He5ba3C8AD1NGruhzAtO1_y93Ty1myv-M4BVp0Mszmzw7W9js0Q + - stubbed_token X-Request-Id: - "" Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_400.yml b/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_400.yml index ec54ab310ef..173f8e8aa97 100644 --- a/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_400.yml +++ b/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_400.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50c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RX9n86716cIQGFccpqVdejhUeWfwKjRczWThc0UjeJ-8NSP7pDrLAF_Apdyi9wwILdQ8FI8Te5-Ad-cF9cxaYStqLv_b6IQ2Rlzqmiyr1FL9foXrAf91KKxC1QrGp6z6RN6CWOsMvkYcszfS3_aMJQiHw4kCtBi1K_IexOAYbeelWgJ5l8pBmE-YQXsfr31zYnxAwrKSb6RFNB08RqVC0Tseo-93DMfdt9eB-2LsJT2OxLG92BbQng + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_false.yml b/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_false.yml index b758adc1a96..35057b7c8d6 100644 --- a/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_false.yml +++ b/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_false.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKEl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ftKiOs8IjE6-M193dlRkp-2ZRCywZDOSX8zkJ-7YygTCEvoBm4YAdc9ugsjl4HV1-zlcX62EPi-c_v_iQQBB0P89tqtQ + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_true.yml b/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_true.yml index 5d3dd23b2cb..a6b9cc05c7b 100644 --- a/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_true.yml +++ b/spec/support/vcr_cassettes/vaos/cc_eligibility/get_eligibility_true.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1My0wNC0wMSIsInZlcnNpb24iOjIuMSwiZWRpcGlkIjoiMTI1OTg5Nzk3OCIsInZpc3RhSWRzIj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;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/cc_supported_sites/get_no_sites.yml b/spec/support/vcr_cassettes/vaos/cc_supported_sites/get_no_sites.yml index 958668d9eec..e96168c3870 100644 --- a/spec/support/vcr_cassettes/vaos/cc_supported_sites/get_no_sites.yml +++ b/spec/support/vcr_cassettes/vaos/cc_supported_sites/get_no_sites.yml @@ -16,7 +16,7 @@ Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1My0wNC0wMSIsInZlcnNpb24iOjIuMSwiZWRpcGlkIjoiMTI1OTg5Nzk3OCIsInZpc3RhSWRzIjpbeyJwYXRpZW50SWQiOiI1NTIxNjEwNTAiLCJzaXRlSWQiOiI5ODQifSx7InBhdGllbnRJZCI6IjcyMTY2OTEiLCJzaXRlSWQiOiI5ODMifV0sInNzbiI6Ijc5NjA2MTk3NiIsImZpcnN0TmFtZSI6Ikp1ZHkiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNTc3MTQ1NDYzLCJzc3QiOjE1NzcxNDU2NDIsInBhdGllbnQiOnsiZmlyc3ROYW1lIjoiSnVkeSIsImxhc3ROYW1lIjoiTW9ycmlzb24iLCJnZW5kZXIiOiJGRU1BTEUiLCJpY24iOiIxMDEyODQ1MzMxVjE1MzA0MyIsImRvYiI6IjE5NTMtMDQtMDEiLCJkYXRlT2ZCaXJ0aCI6IjE5NTMtMDQtMDEiLCJzc24iOiI3OTYwNjE5NzYifSwiZG9iIjoiMTk1My0wNC0wMSIsInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sInJpZ2h0T2ZBY2Nlc3NBY2NlcHRlZCI6dHJ1ZSwiZXhwIjoxNTc3MTQ2NTQzLCJqdGkiOiI2NTE4MGQwZS1iMmJjLTRhOGUtYTFlOC03YTIzNmUzNDY2ZGQiLCJsb2EiOjJ9.MDgRaVnE3MQbsdL7WWKfJ80qbtRbMWLLIHhFXt95UfBhHsQ-0b3toxo_SvvZnhwXyfpnTDmEsXmyNeLBvGoiwq02VHlHnr96njcezUeoE5Dkxr8gpuNHOfNNALKwp1QLNn8u664-Ck9LnNsLMbcfyINE4xdrewinNd7V8P4UvV22dCzvn4EluCa8PHEn0-WynJH8laxyBdICHXoG6Y93BXbzT6dGiHx_h7OQmfY15kOOIMc0soeU2tEb-LEZC4ss0zoEnifWzVHbJvA6qxi_XZVGnscLjekQR7TMN5OyIzz1QmwwfHpvvFxQKgk98Ys4G9e-307JQSqqanPwVyV63A + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: @@ -43,4 +43,4 @@ http_version: recorded_at: Tue, 24 Dec 2019 00:00:43 GMT recorded_with: VCR 5.0.0 - \ No newline at end of file + diff --git a/spec/support/vcr_cassettes/vaos/cc_supported_sites/get_one_site.yml b/spec/support/vcr_cassettes/vaos/cc_supported_sites/get_one_site.yml index 8c61dc8cab3..4a89840046d 100644 --- a/spec/support/vcr_cassettes/vaos/cc_supported_sites/get_one_site.yml +++ b/spec/support/vcr_cassettes/vaos/cc_supported_sites/get_one_site.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1My0wNC0wMSIsInZlcnNpb24iOjIuMSwiZWRpcGlkIjoiMTI1OTg5Nzk3OCIsInZpc3RhSWRzIjpbeyJwYXRpZW50SWQiOiI1NTIxNjEwNTAiLCJzaXRlSWQiOiI5ODQifSx7InBhdGllbnRJZCI6IjcyMTY2OTEiLCJzaXRlSWQiOiI5ODMifV0sInNzbiI6Ijc5NjA2MTk3NiIsImZpcnN0TmFtZSI6Ikp1ZHkiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNTc3MTQ1NDYzLCJzc3QiOjE1NzcxNDU2NDIsInBhdGllbnQiOnsiZmlyc3ROYW1lIjoiSnVkeSIsImxhc3ROYW1lIjoiTW9ycmlzb24iLCJnZW5kZXIiOiJGRU1BTEUiLCJpY24iOiIxMDEyODQ1MzMxVjE1MzA0MyIsImRvYiI6IjE5NTMtMDQtMDEiLCJkYXRlT2ZCaXJ0aCI6IjE5NTMtMDQtMDEiLCJzc24iOiI3OTYwNjE5NzYifSwiZG9iIjoiMTk1My0wNC0wMSIsInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sInJpZ2h0T2ZBY2Nlc3NBY2NlcHRlZCI6dHJ1ZSwiZXhwIjoxNTc3MTQ2NTQzLCJqdGkiOiI2NTE4MGQwZS1iMmJjLTRhOGUtYTFlOC03YTIzNmUzNDY2ZGQiLCJsb2EiOjJ9.MDgRaVnE3MQbsdL7WWKfJ80qbtRbMWLLIHhFXt95UfBhHsQ-0b3toxo_SvvZnhwXyfpnTDmEsXmyNeLBvGoiwq02VHlHnr96njcezUeoE5Dkxr8gpuNHOfNNALKwp1QLNn8u664-Ck9LnNsLMbcfyINE4xdrewinNd7V8P4UvV22dCzvn4EluCa8PHEn0-WynJH8laxyBdICHXoG6Y93BXbzT6dGiHx_h7OQmfY15kOOIMc0soeU2tEb-LEZC4ss0zoEnifWzVHbJvA6qxi_XZVGnscLjekQR7TMN5OyIzz1QmwwfHpvvFxQKgk98Ys4G9e-307JQSqqanPwVyV63A + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/fhir/appointment/search_200.yml b/spec/support/vcr_cassettes/vaos/fhir/appointment/search_200.yml index d3c8996785a..d61bfdc1983 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/appointment/search_200.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/appointment/search_200.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-VAMF-JWT: - - eyJ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oZRFKVVMxveCQU6FWxdC82IfPKqD571AeSgde8LoUqh0d6c0PVVUT9tX-hZGEhFFQWmcT8R64l8Csecx23NVzou_8aWJ8AkAeizRCW4S6zX4BaSKUIwgA0aOQM7_bjae-9_tknxEiOi1ioqcW71F73r4hjcKKaRVP8qaz3Eu_F3J7XPuCVaISBWkuq2z2eMRGUT4wGmS3mBBuEmC1GPsdfAcyc4vzAHz7QD5P3hMP_niX4xs8A + - stubbed_token X-Request-ID: - '' response: diff --git a/spec/support/vcr_cassettes/vaos/fhir/appointment/search_no_records.yml b/spec/support/vcr_cassettes/vaos/fhir/appointment/search_no_records.yml index d94f916c728..eeea35afd59 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/appointment/search_no_records.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/appointment/search_no_records.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-VAMF-JWT: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJzdWIiOiIxMDEyODQ1MzMxVjE1MzA0MyIsImF1dGhlbnRpY2F0aW9uQXV0aG9yaXR5IjoiZ292LnZhLnZhb3MiLCJpZFR5cGUiOiJJQ04iLCJpc3MiOiJnb3YudmEudmFtZi51c2Vyc2VydmljZS52MSIsInZhbWYuYXV0aC5yZXNvdXJjZXMiOlsiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4NFwvcGF0aWVudFtzXT9cLzU1MjE2MTA1MFwvYXBwb2ludG1lbnRzKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_OTgzXC9wYXRpZW50W3NdP1wvNzIxNjY5MVwvYXBwb2ludG1lbnRzKFwvLiopPyQiLCJeLiooXC8pP3BhdGllbnRbc10_XC8oSUNOXC8pPzEwMTI4NDUzMzFWMTUzMDQzKFwvLiopPyQiXSwidmVyc2lvbiI6Mi4xLCJ2aXN0YUlkcyI6W3sicGF0aWVudElkIjoiNTUyMTYxMDUwIiwic2l0ZUlkIjoiOTg0In0seyJwYXRpZW50SWQiOiI3MjE2NjkxIiwic2l0ZUlkIjoiOTgzIn1dLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNTkwMTg0OTIwLCJzc3QiOjE1OTAxODUxMDAsInBhdGllbnQiOnsiaWNuIjoiMTAxMjg0NTMzMVYxNTMwNDMifSwidmFtZi5hdXRoLnJvbGVzIjpbInZldGVyYW4iXSwicmlnaHRPZkFjY2Vzc0FjY2VwdGVkIjp0cnVlLCJleHAiOjE1OTAxODYwMDAsImp0aSI6ImNhMDFiMDcyLWI5ZDEtNDEyNS1hYjEwLTlkNmJkMTczMDYzNiIsImxvYSI6Mn0.fWrlU_0s_qY_-V1zAOu8UArFxBQgDxjp7TmhrRG8qmPDcQUinfYJPnjtag8zr25pm2XATucPF_OMvVQJupfoVpqyzYSSNX2Sh1gpoZRFKVVMxveCQU6FWxdC82IfPKqD571AeSgde8LoUqh0d6c0PVVUT9tX-hZGEhFFQWmcT8R64l8Csecx23NVzou_8aWJ8AkAeizRCW4S6zX4BaSKUIwgA0aOQM7_bjae-9_tknxEiOi1ioqcW71F73r4hjcKKaRVP8qaz3Eu_F3J7XPuCVaISBWkuq2z2eMRGUT4wGmS3mBBuEmC1GPsdfAcyc4vzAHz7QD5P3hMP_niX4xs8A + - stubbed_token X-Request-ID: - '' response: diff --git a/spec/support/vcr_cassettes/vaos/fhir/get_conformance.yml b/spec/support/vcr_cassettes/vaos/fhir/get_conformance.yml index 4663f2625c0..c2ac42411ae 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/get_conformance.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/get_conformance.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c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GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/fhir/get_organization.yml b/spec/support/vcr_cassettes/vaos/fhir/get_organization.yml index 6c53aa2fc26..41154d3cf78 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/get_organization.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/get_organization.yml @@ -37,9 +37,9 @@ http_interactions: Etag: - '"5e4d1f55-1493"' Set-Cookie: - - TS016f4012=01c8917e4814ddf255371554cd27d2a76f275d24ca38317c47ca7b133f12b567b8f6dfcd607fb7288dbd874b27ddad04f63606dbdfecde3921fa5bb6a26ee7ea46425acef36974d6ea77bf5c3b37bd1a84ed591ee8; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.fxkkVX09CuXJ3gJX5IuiQnCSQXatwJMHJg67vJw2m4_NMk3sv1s49_ED7Yfy2u-VDE6pKBABh4cC2K4d8S6liz7SwrqjGNE0Xf7t1eUM0axYKG3a2qnseWNO3ZIHv1pz60QZCDPP6av8fuk-e_mckJ8Ts0itegX3K7ranVF8LpAHPHPjNbUGRHpUuyzEye4MqEWz78u_j-oopgy-_HwyticAHFvfiPSmhPW5miawqjICecgViAnTwSXnRP0A_dGMncyCDp83_P6GH11H6eS6DkHhBOGIq8j7VqzjW09iyFMl7O0Q6lXE-tSTgYwBrqMyJqC7en9dVv_tdi6ltaUXRw.adexP0DzjpTWIP6nIT0BSA.Bc6ytehBQB1iJbbiFtOGxkLleRR4iD-1oncVF31R4FaNfjx0hCtjR20pGt6MlgNuqSMv-wmAokEzJK3MHx9L5xpL-f3bHciieOr4imuZrCjo59ZCajZAmbK2H5OVE4iCJv7xhzkuwEoaq0EuF0fPyJGzSora0yegTVoOwLXp1L_kfLTyW_or1qu-wtytBP2eOOLafWl9qSzQRZ6qmkKU3hPqQfOSdpyEb61ydO8LX_LNC7GSys-8XjUGTWhk_TOu3-ZuEvCMOcQYKZaWMBm5KoR3RMhst5ALuD04VnZjtQ7oZoSKwjKwxaAdthigGQt1bhJotiMN_6ESSloWJg1pzGIRFtttZNvYs2nFoXlU07c_EyQp3JcscVJ4greiRGu_SkzlQ1NkgrYbqGzu1zVCYk-WXIHWnYplmqtS88x5HvxEwi49Qy2jvf16v-QPsvYx6GAcblVs6EaOYF38rIlXtLAPA8DNBRhl2GeCU2jzxsn0oJGq2brrUcDGRzAKJcLE4aIDgiZ3tpLx2Clm07YVw4vLfHgVMKLyc0sfBIRk5R0X73f4ixby4sXSFYwXqAxqVLD7ihuweicYoiOoIpLuNJOV3WUbz2p3ZewoljrVxQg6OBpChzDsAgDCvOoBeCtghvN9IeqvK-mlkrwyDprPSnUWN0lp_i19Op80IFVQ_p1TiIADhxr0zfjLIXRR7Nha.P2I05meIABr5EIxFshqYmjXqPYpKS79eEuUo20TWS-w; + - vamfjwtv3=stubbed_token; path=/; HttpOnly - vamftimeoutv1=1589231290; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/fhir/patient/search_200.yml b/spec/support/vcr_cassettes/vaos/fhir/patient/search_200.yml index a91a3699254..c947828e64b 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/patient/search_200.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/patient/search_200.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0Tm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jHAGG-Fjk4c6z1pS2OH2BOFaUErC4NN_SegXwv9u2cw + - stubbed_token X-Request-Id: - 4b0203dc-4ea5-4faf-8b0d-629b0e166be2 Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/fhir/patient/search_404.yml b/spec/support/vcr_cassettes/vaos/fhir/patient/search_404.yml index f8f6e777da5..7e2f1ea6470 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/patient/search_404.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/patient/search_404.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1hbm4iLCJzdWIiOiIyMDY4MTczMTExOTM1NDkwMiIsImF1dGhlbnRpY2F0ZWQiOnRydWUsImF1dGhlbnRpY2F0aW9uQXV0aG9yaXR5IjoiZ292LnZhLnZhb3MiLCJpZFR5cGUiOiJJQ04iLCJnZW5kZXIiOiJNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJkYXRlT2ZCaXJ0aCI6IjE5NDIwNjA4IiwidmVyc2lvbiI6Mi4xLCJlZGlwaWQiOiI5NTc5ODk3NzE3Iiwic3NuIjoiNTMxODYyMTQyIiwiZmlyc3ROYW1lIjoiTW9ycmlzIiwibmJmIjoxNTk0MDcwNzU1LCJzc3QiOjE1OTQwNzA5MzQsImRvYiI6IjE5NDIwNjA4IiwicGF0aWVudCI6eyJmaXJzdE5hbWUiOiJNb3JyaXMiLCJsYXN0TmFtZSI6Ik1hbm4iLCJnZW5kZXIiOiJNQUxFIiwiaWNuIjoiMjA2ODE3MzExMTkzNTQ5MDIiLCJkb2IiOiIxOTQyLTA2LTA4IiwiZGF0ZU9mQmlydGgiOiIxOTQyLTA2LTA4Iiwic3NuIjoiNTMxODYyMTQyIn0sInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sImV4cCI6MTU5NDA3MTgzNSwianRpIjoiYjExODFhYmItZDhiNy00NDk3LWFmMmEtNTA0NWViYzcxNmFkIiwibG9hIjoyfQ.etTXKIxOMENl8AJKyWiqz2qTkHPPP3i8jQCamVxHRKIv85Y_MEQm8-Xn3hOzO4supkdPr0SnRP5Utjkrw1t1RlUi7DFG5rs2f09zlfla9v9_BhYIDKpF4pBMpCjU-e_b7eMaLa_c7hK0UA50Qr3Q3B0DdtzlFZLb1IJz-NrnSBZ6NGZWBA21cUj8fto50fHA255sYuuJAhwztTcR7eHfEviFKX5-BVvTzVDBiu8m36HUJnM3qXQY2nsujWZPnhyGV-GSbaoJx2wxZ8Z7TEtpceTWEGwWpTxQfwo1mCeVBTk5E6alF-NIYTGENgs3vNhcaOxy7X5ZaTQq1Jl6VM04tg + - stubbed_token X-Request-Id: - a637c420-45f1-40b7-9313-8ce79b1b36dc Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/fhir/patient/search_500.yml b/spec/support/vcr_cassettes/vaos/fhir/patient/search_500.yml index ae7f77497f3..eec81d9a8f7 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/patient/search_500.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/patient/search_500.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6IkhlaWRlbnJlaWNoIiwic3ViIjoiNjMyMTk2Nzc2MjQyMTI0OTMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYxIiwiZGF0ZU9mQmlydGgiOiIxOTc1MTAyMSIsInZlcnNpb24iOjIuMSwiZWRpcGlkIjoiMjM0MTM0NzQyOSIsInNzbiI6IjQyNjEwMzU3NiIsImZpcnN0TmFtZSI6IkFobWVkIiwibmJmIjoxNTk0MDY5OTQyLCJzc3QiOjE1OTQwNzAxMjIsImRvYiI6IjE5NzUxMDIxIiwicGF0aWVudCI6eyJmaXJzdE5hbWUiOiJBaG1lZCIsImxhc3ROYW1lIjoiSGVpZGVucmVpY2giLCJnZW5kZXIiOiJNQUxFIiwiaWNuIjoiNjMyMTk2Nzc2MjQyMTI0OTMiLCJkb2IiOiIxOTc1LTEwLTIxIiwiZGF0ZU9mQmlydGgiOiIxOTc1LTEwLTIxIiwic3NuIjoiNDI2MTAzNTc2In0sInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sImV4cCI6MTU5NDA3MTAyMiwianRpIjoiOWMyZGFhNzAtMDZiMC00MzM1LTk1YmItNDM5ZWRlOTIwNDU1IiwibG9hIjoyfQ.odw3g_rKrjLPdcA4SY-MdrbffY-CH_m5bw5d9hhsomZdg7__-OH6kw5LJCRS45svi_wgYoEFT-DfXAJNuhwnbJhMXYq4wH7R0z5QGrx-m_-cdIqLN8YLqaUPoTt9sPuQzaVyTSpB2WA35pzOw_LTMaLilb2EDUDj0Mic8TlC692-rXqdv6iLj9wzw-hswkGMz6QwI3fQEmVSJc_4UEIwU5t-1bk9RY_mNzBlFYlt-GhNKTEj1jt0qtt8vRr0Lhp2fifl4mqg1QA5kW0xadAo7y7msHIEpTR8VTi31hfvI5Tgm27DXGsI6jAf2X5rvMJis5VVy1-jCcmfO0px40zvBg + - stubbed_token X-Request-Id: - 738bc292-3ad7-4787-90e5-255f0ea9f4b1 Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/fhir/read_organization_200.yml b/spec/support/vcr_cassettes/vaos/fhir/read_organization_200.yml index 4f1eb7cd1de..674537348c5 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/read_organization_200.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/read_organization_200.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/fhir/read_organization_404.yml b/spec/support/vcr_cassettes/vaos/fhir/read_organization_404.yml index fc29b986831..6a6d2bdf9d2 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/read_organization_404.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/read_organization_404.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/fhir/read_organization_500.yml b/spec/support/vcr_cassettes/vaos/fhir/read_organization_500.yml index 6a4b0a76c7d..21f61aa349e 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/read_organization_500.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/read_organization_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/fhir/search_organization_200.yml b/spec/support/vcr_cassettes/vaos/fhir/search_organization_200.yml index b76f457fcde..f7304e58d91 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/search_organization_200.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/search_organization_200.yml @@ -57,9 +57,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/fhir/search_organization_200_no_query_string.yml b/spec/support/vcr_cassettes/vaos/fhir/search_organization_200_no_query_string.yml index 755f60680e9..e68cca6ffbe 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/search_organization_200_no_query_string.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/search_organization_200_no_query_string.yml @@ -57,9 +57,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: @@ -5726,7 +5726,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-VAMF-JWT: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJzdWIiOiIxMDEyODQ1MzMxVjE1MzA0MyIsImF1dGhlbnRpY2F0aW9uQXV0aG9yaXR5IjoiZ292LnZhLnZhb3MiLCJpZFR5cGUiOiJJQ04iLCJpc3MiOiJnb3YudmEudmFtZi51c2Vyc2VydmljZS52MSIsInZhbWYuYXV0aC5yZXNvdXJjZXMiOlsiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4NFwvcGF0aWVudFtzXT9cLzU1MjE2MTA1MFwvYXBwb2ludG1lbnRzKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_OTgzXC9wYXRpZW50W3NdP1wvNzIxNjY5MVwvYXBwb2ludG1lbnRzKFwvLiopPyQiLCJeLiooXC8pP3BhdGllbnRbc10_XC8oSUNOXC8pPzEwMTI4NDUzMzFWMTUzMDQzKFwvLiopPyQiXSwidmVyc2lvbiI6Mi4xLCJ2aXN0YUlkcyI6W3sicGF0aWVudElkIjoiNTUyMTYxMDUwIiwic2l0ZUlkIjoiOTg0In0seyJwYXRpZW50SWQiOiI3MjE2NjkxIiwic2l0ZUlkIjoiOTgzIn1dLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNTkwMDA4OTgwLCJzc3QiOjE1OTAwMDkxNjAsInBhdGllbnQiOnsiaWNuIjoiMTAxMjg0NTMzMVYxNTMwNDMifSwidmFtZi5hdXRoLnJvbGVzIjpbInZldGVyYW4iXSwicmlnaHRPZkFjY2Vzc0FjY2VwdGVkIjp0cnVlLCJleHAiOjE1OTAwMTAwNjAsImp0aSI6ImIxNjIxNWRhLWM2YWItNGUzMC04MDA3LWE4YTJmYzFiMDkyYyIsImxvYSI6Mn0.Q9A6u64aHTx3NYtngUtGFhuO4yU3Ff9oKApJd9aIgsXL8088ZMKnY7LWXeUMDnELjDO-xOqmeI6hU9EDRkXVgObyjVpiopaRf8uxtfvQCJdZuR_XIi5-ESR3_GhaRwdCrklDnQ58w-8IgLqCWw3wAR8s2-J6-fvPRVyYi6amvu-2NMvJoucb9nadXLBzDKN1yM8ABuQYG-UjZhv_xhWY4S6HWqg-k8mOKt2Y_EqlSVD6CLYJ-2_FN2x0b17sHY8IF3etIeWUjhkJX5IaSCObM4m_kTjrfbRSvpZJUdAVhg29JPBRTkMfwGx7r6WQ7_TuvDnSIrP2KG60mmbO23DimA + - stubbed_token X-Request-ID: - '' normalized_header_keys: diff --git a/spec/support/vcr_cassettes/vaos/fhir/search_organization_404.yml b/spec/support/vcr_cassettes/vaos/fhir/search_organization_404.yml index 0bcc2818266..bdc7bbddc5b 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/search_organization_404.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/search_organization_404.yml @@ -37,9 +37,9 @@ http_interactions: Etag: - '"5e4d1f55-1493"' Set-Cookie: - - TS016f4012=01c16e2d81cec6db2bc6962189502ce2a5bd1b10a6fb59f0cc2d7437ca1ef9fe830b4a7be999c5ac51c3d1add4c3e01709dc0f8735b965fba9d212999b5ca863de1d4d8c7ee4c693df4b0321b483d054be83eb1aab; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.g2NONJnkqu6aS-fAWlr3IqPC5zwfn6vrwKbYVTYWQFNB62JvpMEFEyndL8LGF7ijtCEo6eXhMLNKHBbWpZ9LdxOGOiH6phVEsdcq0RznaHsfZGb3xy11b3qA8GEtEE-pL_rTQFvqMcjZdBzat4deZx8Ug2WK-ojg2DX_8NsWRXiiADSx7jDjupNQnAM7P_rMwWg6eeC7o_ZWQmH_I0_ioAPc4sQXAtskKf253b6l4squm9krSebOu2qcEyr0jzh-OaZvzoSSgN7_hUmUtN47vdRowqGNfmPSnE73N3c4m7HZA_Dunv6ugmPvBa8-Lt3BIG_i1yWgisUCFruPXo0JFQ.M12qV_FJmZJO6mQLtAyNlg.1HYVf-nG-aixFVdTXiruxMcz64igJFa34pEbzG5fog31iSvs3o-DZFdrf5Zh5AVLJ9Ei9zqIaywzyoB--mE_vS70ImUPRTfBdSb-z0vU9R5Jrg-Qfh2iBHyNFRZnyPce861nM2deqB5u8qxvplw4l2VBGbWyfOhDJc0UMTrRPnFGsGP-qlldOMz20rkvRRwBaT88J2bHWCGKcBTgyi56SsA05vEBI8NVntGdl7XGQkxjJiaSUuB17bt-haNag0qh1xW6_fIFsMArAXw_sRak2gLc9bQXiAuQUwpG_xPaignSUvEyULUPWodIEewnvHl3DK2y3tQYmfSy_UlXe6j7Yojz3Nx9iKltujv90OkTlCe9me3DtBlmwA0ynrJ5asf-cNU85gMLJZUtrMdxCeM4verfY8NV7GC1XgugGhFzrXTy3_sTjN9bh_OM58UxXL4Rj7w7rhq0nxOFBhg32x3dtKSxcpLGZw5_GQc38ZwbLKbZS5OipYj610L1-cx_uZDnMw_XEdPNKkuoXQXOS3iBl5W8ZRYylk-QWOuwqTXEE2l9oPCJTMOMpP3dKvn2c0etvuIwugKQakMy9fSTtJwAIyxFZsZEtDxCy7QCVjD3r27IYwAyW_7tx0OjAqnfG2RP_zEU-dEefU7Z2udwR4CXn9ejFQkySC6spgAqZvgjWbfDrihKpN1rxHO5do1eU9QImnjjWJLzivu2bO1F7uLReA.olMr8ZDZLIeWlYHQJ1BxKNMzK4rVljHld-e8geVEsdE; + - vamfjwtv3=stubbed_token; path=/; HttpOnly - vamftimeoutv1=1589862134; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/fhir/slot/search_200_no_slots_found.yml b/spec/support/vcr_cassettes/vaos/fhir/slot/search_200_no_slots_found.yml index d1463422f78..bdb39d54392 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/slot/search_200_no_slots_found.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/slot/search_200_no_slots_found.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6IkNhcnRlciIsInN1YiI6IjEzNjY1OTU0NTc1OTk5NDYwIiwiYXV0aGVudGljYXRlZCI6dHJ1ZSwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImlkVHlwZSI6IklDTiIsImdlbmRlciI6Ik1BTEUiLCJpc3MiOiJnb3YudmEudmFtZi51c2Vyc2VydmljZS52MSIsImRhdGVPZkJpcnRoIjoiMTk1NDExMTUiLCJ2ZXJzaW9uIjoyLjEsImVkaXBpZCI6IjI1MzY2ODgyMDkiLCJzc24iOiIzNjgwNDMzMTIiLCJmaXJzdE5hbWUiOiJDaGkiLCJuYmYiOjE1OTQwNjg4NjYsInNzdCI6MTU5NDA2OTA0NSwiZG9iIjoiMTk1NDExMTUiLCJwYXRpZW50Ijp7ImZpcnN0TmFtZSI6IkNoaSIsImxhc3ROYW1lIjoiQ2FydGVyIiwiZ2VuZGVyIjoiTUFMRSIsImljbiI6IjEzNjY1OTU0NTc1OTk5NDYwIiwiZG9iIjoiMTk1NC0xMS0xNSIsImRhdGVPZkJpcnRoIjoiMTk1NC0xMS0xNSIsInNzbiI6IjM2ODA0MzMxMiJ9LCJ2YW1mLmF1dGgucm9sZXMiOlsidmV0ZXJhbiJdLCJleHAiOjE1OTQwNjk5NDYsImp0aSI6IjAxZTU4ZDBiLTNlZWUtNDQzMi04NmE4LWE4ODAzNWQ2MGE5ZCIsImxvYSI6Mn0.GdwyF-GpFQYbPiT_iS7sm7G3xTFt-J6nmDCLR7o9qBCbjf1hYVAe15H7TGFIQdt7S5nMJGEB-4m8AxuvZPmua_n--P2sdgCGXwWofLOLnfX4_Zt7-c5GZEWAXdrCSfVli2BrntlZPafU8h6ggDJUvpC1u_EFXaJUF1OT7BqrR8bZM4w--76DZhcA7UGrewMsnpQKD_gHJRuucJCzOP-_m11XsAuZ-3CdW8SKp_UtdiXzeDQqdB0OZLA8I5SE4569kMMBcJG-F0ViArjdSfjJ9UL54K5ydFt6e8G3GApNpM3jHAGG-Fjk4c6z1pS2OH2BOFaUErC4NN_SegXwv9u2cw + - stubbed_token X-Request-Id: - 4b0203dc-4ea5-4faf-8b0d-629b0e166be2 Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/fhir/slot/search_200_slots_found.yml b/spec/support/vcr_cassettes/vaos/fhir/slot/search_200_slots_found.yml index 25c53762edf..8d53d71ba60 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/slot/search_200_slots_found.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/slot/search_200_slots_found.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik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jk4c6z1pS2OH2BOFaUErC4NN_SegXwv9u2cw + - stubbed_token X-Request-Id: - 4b0203dc-4ea5-4faf-8b0d-629b0e166be2 Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/fhir/slot/search_500.yml b/spec/support/vcr_cassettes/vaos/fhir/slot/search_500.yml index ebdb8057866..5f53e848298 100644 --- a/spec/support/vcr_cassettes/vaos/fhir/slot/search_500.yml +++ b/spec/support/vcr_cassettes/vaos/fhir/slot/search_500.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6IkhlaWRlbnJlaWNoIiwic3ViIjoiNjMyMTk2Nzc2MjQyMTI0OTMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYxIiwiZGF0ZU9mQmlydGgiOiIxOTc1MTAyMSIsInZlcnNpb24iOjIuMSwiZWRpcGlkIjoiMjM0MTM0NzQyOSIsInNzbiI6IjQyNjEwMzU3NiIsImZpcnN0TmFtZSI6IkFobWVkIiwibmJmIjoxNTk0MDY5OTQyLCJzc3QiOjE1OTQwNzAxMjIsImRvYiI6IjE5NzUxMDIxIiwicGF0aWVudCI6eyJmaXJzdE5hbWUiOiJBaG1lZCIsImxhc3ROYW1lIjoiSGVpZGVucmVpY2giLCJnZW5kZXIiOiJNQUxFIiwiaWNuIjoiNjMyMTk2Nzc2MjQyMTI0OTMiLCJkb2IiOiIxOTc1LTEwLTIxIiwiZGF0ZU9mQmlydGgiOiIxOTc1LTEwLTIxIiwic3NuIjoiNDI2MTAzNTc2In0sInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sImV4cCI6MTU5NDA3MTAyMiwianRpIjoiOWMyZGFhNzAtMDZiMC00MzM1LTk1YmItNDM5ZWRlOTIwNDU1IiwibG9hIjoyfQ.odw3g_rKrjLPdcA4SY-MdrbffY-CH_m5bw5d9hhsomZdg7__-OH6kw5LJCRS45svi_wgYoEFT-DfXAJNuhwnbJhMXYq4wH7R0z5QGrx-m_-cdIqLN8YLqaUPoTt9sPuQzaVyTSpB2WA35pzOw_LTMaLilb2EDUDj0Mic8TlC692-rXqdv6iLj9wzw-hswkGMz6QwI3fQEmVSJc_4UEIwU5t-1bk9RY_mNzBlFYlt-GhNKTEj1jt0qtt8vRr0Lhp2fifl4mqg1QA5kW0xadAo7y7msHIEpTR8VTi31hfvI5Tgm27DXGsI6jAf2X5rvMJis5VVy1-jCcmfO0px40zvBg + - stubbed_token X-Request-Id: - 738bc292-3ad7-4787-90e5-255f0ea9f4b1 Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/messages/get_messages_500.yml b/spec/support/vcr_cassettes/vaos/messages/get_messages_500.yml index 31074957945..957fd223cfa 100644 --- a/spec/support/vcr_cassettes/vaos/messages/get_messages_500.yml +++ b/spec/support/vcr_cassettes/vaos/messages/get_messages_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/messages/post_message.yml b/spec/support/vcr_cassettes/vaos/messages/post_message.yml index 7a335c6923a..25beba2913f 100644 --- a/spec/support/vcr_cassettes/vaos/messages/post_message.yml +++ b/spec/support/vcr_cassettes/vaos/messages/post_message.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1My0wNC0wMSIsInZlcnNpb24iOjIuMSwiZWRpcGlkIjoiMTI1OTg5Nzk3OCIsInZpc3RhSWRzIjpbeyJwYXRpZW50SWQiOiI1NTIxNjEwNTAiLCJzaXRlSWQiOiI5ODQifSx7InBhdGllbnRJZCI6IjcyMTY2OTEiLCJzaXRlSWQiOiI5ODMifV0sInNzbiI6Ijc5NjA2MTk3NiIsImZpcnN0TmFtZSI6Ikp1ZHkiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNTc2MDk2NjI0LCJzc3QiOjE1NzYwOTY4MDMsInBhdGllbnQiOnsiZmlyc3ROYW1lIjoiSnVkeSIsImxhc3ROYW1lIjoiTW9ycmlzb24iLCJnZW5kZXIiOiJGRU1BTEUiLCJpY24iOiIxMDEyODQ1MzMxVjE1MzA0MyIsImRvYiI6IjE5NTMtMDQtMDEiLCJkYXRlT2ZCaXJ0aCI6IjE5NTMtMDQtMDEiLCJzc24iOiI3OTYwNjE5NzYifSwiZG9iIjoiMTk1My0wNC0wMSIsInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sInJpZ2h0T2ZBY2Nlc3NBY2NlcHRlZCI6dHJ1ZSwiZXhwIjoxNTc2MDk3NzA0LCJqdGkiOiJlMTYwYzBmMS05OWQwLTRjODktODc2Mi1lZmZiM2NkNTNiYjkiLCJsb2EiOjJ9.Dt01kfAMRVEEJzFlCzW-ewZSpygJnF7gCVWlNqbiJJt8Gzv-k_G3YlheNrw2sLjo8slKpC7D3fibiktTsweIV4ndkkMqKj8dm72yPcxDs1_gkB_QObQy9QHlBPQvBLA-YT2n_Hwp8eU_NIZCCyNqt5iMZi9txL2ctk926spG81SMBQ37hHdybswzqosfI_LFFfYqBycpkveLccorXYf7BBRLZHllKEkO0R7nyD-0AnmpR3qAqw8SFgWVEhQl7-mPYYpADDVJfB5bVAUuOBvtobS8Q830XMLL1KkniqKbUHqM83elIn7ufQww-qIk-6FyHPxfy-n_INwuqfQXGMG6GA + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/messages/post_message_error.yml b/spec/support/vcr_cassettes/vaos/messages/post_message_error.yml index 427ca1be3cb..e665a2002ed 100644 --- a/spec/support/vcr_cassettes/vaos/messages/post_message_error.yml +++ b/spec/support/vcr_cassettes/vaos/messages/post_message_error.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.ey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aXJ0aCI6IjE5NTMtMDQtMDEiLCJzc24iOiI3OTYwNjE5NzYifSwiZG9iIjoiMTk1My0wNC0wMSIsInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sInJpZ2h0T2ZBY2Nlc3NBY2NlcHRlZCI6dHJ1ZSwiZXhwIjoxNTc1OTE2NDMzLCJqdGkiOiJhMjFjMGJkNC1lNTViLTQ0ZmUtOWM2Ni1kMjA2MDk4ZDMxYzYiLCJsb2EiOjJ9.LEVJZAc9iHxR-50ClGj2D0sR7KXXHxSrQwrgmqnes9qKovY2IalCOjA20YGK4GK0anvAhyhyyNKRj948TJ59hFWBgZOEl9fvBMcG5ATBf50vmz0a9pMa3GzV304Gkx4XLPpqAZ_CZN3kEcaMJCXykfh4_CbkunK0S55n_YrAo906klYpwrokOcc2nppg3o5RZexJxWfdR46mRiS4X8KpjihvUfeudS0xWk11F85unQDmMc55TpnwmP8gA9mUbgTkBL-jopodtWaK5cvw2Gf4Bgkf5prnRG90O-0c7IGokoTBuKNwEt03MhUiVDGgUZru7Y_5DZH_BnpMk6zAe9Vn-Q + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/messages/post_message_error_400.yml b/spec/support/vcr_cassettes/vaos/messages/post_message_error_400.yml index b0871c5998b..0041044ea0f 100644 --- a/spec/support/vcr_cassettes/vaos/messages/post_message_error_400.yml +++ b/spec/support/vcr_cassettes/vaos/messages/post_message_error_400.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIj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MDk3Nzk1LCJqdGkiOiIxNWY3MzdmYi03YWNmLTQwNTUtYjExYi05ZTc2YTNiYzU2MDAiLCJsb2EiOjJ9.ir58j5McQ2-qZT7v3xrCEWYqyNCWBLvQS_JnDMAkQEt-8-2NSc1WDzTB8gZ0dd10zpUTL9jkk9sl9bO6e2tfmHuoZXwSC7BlLtrKNRnvwce_1nNZI6YCgC1Tsl8hkieH785H4KOS-dPcfUefK4WiM1E75cBnTq3KeaJIxnj1JsrjONzkDstS1I8MOBto-OyRP3p6ASfKpBxhxxCXB3i0CpZ1zI51Af30pgzB04bpzGcw2mPU7IaiRiA-nUdl7oSYQQ0JZIKrTo_uMO9NEOQtFGaJCVIzqcFmDQAN0jkzPocs_c-Zjip5asgEXqmCsKpUHNERwEtArr8haKicoNFWsA + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/preferences/get_preferences.yml b/spec/support/vcr_cassettes/vaos/preferences/get_preferences.yml index f4620208c7a..385055fc04e 100644 --- a/spec/support/vcr_cassettes/vaos/preferences/get_preferences.yml +++ b/spec/support/vcr_cassettes/vaos/preferences/get_preferences.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/preferences/put_preferences.yml b/spec/support/vcr_cassettes/vaos/preferences/put_preferences.yml index 9d314652732..de8f9ab3995 100644 --- a/spec/support/vcr_cassettes/vaos/preferences/put_preferences.yml +++ b/spec/support/vcr_cassettes/vaos/preferences/put_preferences.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://api.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1My0wNC0wMSIsInZlcnNpb24iOjIuMSwiZWRpcGlkIjoiMTI1OTg5Nzk3OCIsInZpc3RhSWRzIjpbeyJwYXRpZW50SWQiOiI1NTIxNjEwNTAiLCJzaXRlSWQiOiI5ODQifSx7InBhdGllbnRJZCI6IjcyMTY2OTEiLCJzaXRlSWQiOiI5ODMifV0sInNzbiI6Ijc5NjA2MTk3NiIsImZpcnN0TmFtZSI6Ikp1ZHkiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNTc2Njk2OTQyLCJzc3QiOjE1NzY2OTcxMjIsInBhdGllbnQiOnsiZmlyc3ROYW1lIjoiSnVkeSIsImxhc3ROYW1lIjoiTW9ycmlzb24iLCJnZW5kZXIiOiJGRU1BTEUiLCJpY24iOiIxMDEyODQ1MzMxVjE1MzA0MyIsImRvYiI6IjE5NTMtMDQtMDEiLCJkYXRlT2ZCaXJ0aCI6IjE5NTMtMDQtMDEiLCJzc24iOiI3OTYwNjE5NzYifSwiZG9iIjoiMTk1My0wNC0wMSIsInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sInJpZ2h0T2ZBY2Nlc3NBY2NlcHRlZCI6dHJ1ZSwiZXhwIjoxNTc2Njk4MDIyLCJqdGkiOiIwMjM3YzdjMC0xNzE5LTRmY2QtYjhmNi0yMzA2YzQwOWFiNWMiLCJsb2EiOjJ9.VcFIigpFgZi4yFm4aCJLdyZnFKxql-AiAiA4ocLLT2B_OtB4uKbbTXNdrVtULleK-j7XrLsxZYHa2BLUALP96QAUwDTOiX2618m8vZo0oLghOfB0NjTGqt3LPFl7EVSB7X3rv-0s2SpKvugen_GFPxMyvNROsHBrYYzOJUTORgaYNb1fl28GZO1KIxZGxbukpElvgaX2R8SasTLqXEDx3nv_OuZI2CISf4pcooZQJARQK5hsCtr44t4izU0l-LVYhLNbPN2M03mH6JZ6hmvxxEzmAx9Oivus-jwQ8Pd_FNHJwvLgCeIQzBpFBjMEjrdvY02VUqJ6AI6BnjD1Q3Y2kw + - stubbed_token Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_cancel_reasons.yml b/spec/support/vcr_cassettes/vaos/systems/get_cancel_reasons.yml index 7c99f961e54..ed5aac2e6cf 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_cancel_reasons.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_cancel_reasons.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_cancel_reasons_500.yml b/spec/support/vcr_cassettes/vaos/systems/get_cancel_reasons_500.yml index 543c479c451..134ebd85bd5 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_cancel_reasons_500.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_cancel_reasons_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_id.yml b/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_id.yml index 4b191e01674..3f71f0a5880 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_id.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_id.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6IkxhbmciLCJzdWIiOiI0NTY1NDkxMjU2OTY3MTUzNCIsImF1dGhlbnRpY2F0ZWQiOnRydWUsImF1dGhlbnRpY2F0aW9uQXV0aG9yaXR5IjoiZ292LnZhLnZhb3MiLCJpZFR5cGUiOiJJQ04iLCJnZW5kZXIiOiJNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjEiLCJkYXRlT2ZCaXJ0aCI6IjE5NjAxMjIwIiwidmVyc2lvbiI6Mi4xLCJlZGlwaWQiOiI3OTk1NjkzNjY0Iiwic3NuIjoiNDQ4NTA2MzU0IiwiZmlyc3ROYW1lIjoiTWlubmllIiwibmJmIjoxNjAxNDkxODMzLCJzc3QiOjE2MDE0OTIwMTMsImRvYiI6IjE5NjAxMjIwIiwicGF0aWVudCI6eyJmaXJzdE5hbWUiOiJNaW5uaWUiLCJsYXN0TmFtZSI6IkxhbmciLCJnZW5kZXIiOiJNQUxFIiwiaWNuIjoiNDU2NTQ5MTI1Njk2NzE1MzQiLCJkb2IiOiIxOTYwLTEyLTIwIiwiZGF0ZU9mQmlydGgiOiIxOTYwLTEyLTIwIiwic3NuIjoiNDQ4NTA2MzU0In0sInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sImV4cCI6MTYwMTQ5MjkxMywianRpIjoiY2ZjZTMwOTgtOGZkNi00MjZkLWFjMTEtYjY4YjFkYTNjOTEzIiwibG9hIjoyfQ.Dy85otbdWu4ELQ0831QPDdhn0KZFUW0ge3_V0UpeY1YuxVMj7k4K2deiZQYhx3y0O-ouHkLL2x2zrFJg9_vhrqkUc_ga5xhffY-ha_Vlvgpd5lrBwSbGbSREFqmqJTBCSW6Lvigt6-uSoy7M7OofmapBW4SyM7R6kaw2YEctwFFX3t8oC3UCNr3s1TFiNuXLDrH7lAr3tyof5cPvYu_35vyig-UV5K-8UZBXD2G-B2AZ5D9ekvNgQJHZ4s2k9YG4LLgiJ0gwVKLj_b7z0EZZ_1bBXPMEj0FDQmo0vtz3RqYnBiSI-6IkX24DcXvatyVN0tTXiwFzXxyFBN5-HT8k0w + - stubbed_token X-Request-Id: - 67a2a84b-1833-4239-9dd5-c0e6e6c48f0a Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_parent_sites.yml b/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_parent_sites.yml index f987925482a..49bb8a94cee 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_parent_sites.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_parent_sites.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6IkdvcmN6YW55Iiwic3ViIjoiMjkzMDg1NjQ4MTI2MDExNTciLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYxIiwiZGF0ZU9mQmlydGgiOiIxOTgyMTIyNiIsInZlcnNpb24iOjIuMSwiZWRpcGlkIjoiNTk4MDYxNjc3NSIsInNzbiI6IjI0MzAyODM3NCIsImZpcnN0TmFtZSI6IlN1ZWFubiIsIm5iZiI6MTYwMTQ5MTgzMSwic3N0IjoxNjAxNDkyMDExLCJkb2IiOiIxOTgyMTIyNiIsInBhdGllbnQiOnsiZmlyc3ROYW1lIjoiU3VlYW5uIiwibGFzdE5hbWUiOiJHb3JjemFueSIsImdlbmRlciI6Ik1BTEUiLCJpY24iOiIyOTMwODU2NDgxMjYwMTE1NyIsImRvYiI6IjE5ODItMTItMjYiLCJkYXRlT2ZCaXJ0aCI6IjE5ODItMTItMjYiLCJzc24iOiIyNDMwMjgzNzQifSwidmFtZi5hdXRoLnJvbGVzIjpbInZldGVyYW4iXSwiZXhwIjoxNjAxNDkyOTExLCJqdGkiOiJhOTQwMzA1Yy02OTEwLTQyYTYtYTIyOC01NTQ1MTVlOGE4NDQiLCJsb2EiOjJ9.Bo6VpA1gb47sKxstRSNE4qQhrp5kxvKCRnf6uBJRScPZq1I8jyFXf5H_CGBxBP8LfdhDauSjN43rMSW92UErv3Z3y7v8pqQQaLO-z8sLCen3QOtGFBUY5m4JPcYf11d2Gpb-QbUU_KKIfMg76KlFLsY34ns2jlCSAKIXbxjvmHncZY5cSEu3EMfdcbyap2I3UijR_JyG5g23uJQQO8hqUjOUz9w0BfP7IpYp3FRWvv9117Hn9YA5wkpXK1uNV--4h4Zl4eNojt2Zo5arhHQ2rayBObkJIcRStcVg3OqiyLIahfRoLeM8Iw3Rd3H73yzzs9JlMZO30ppTHTbncFL_wA + - stubbed_token X-Request-Id: - 340eedb4-803c-4fcc-a9f8-972229519a2b Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_site_codes.yml b/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_site_codes.yml index 59f514185ee..f2c522aa12e 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_site_codes.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_direct_booking_eligibility_criteria_by_site_codes.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ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hqWjASlkoHaSlTWcyvf8WZDIRs3FCQbSq7KcL5mOseaZQ3ljydJYB_OqXkJaBX98xpgitQRwsFSw + - stubbed_token X-Request-Id: - fd9d6754-31a6-4f5f-a88d-fed655fbb7c3 Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facilities.yml b/spec/support/vcr_cassettes/vaos/systems/get_facilities.yml index 8c492bc70bb..784d28137d0 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facilities.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facilities.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facilities_500.yml b/spec/support/vcr_cassettes/vaos/systems/get_facilities_500.yml index 1ce8b243498..b91f4339738 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facilities_500.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facilities_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_token; Max-Age=900; Path=/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omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facilities_limits_for_multiple.yml b/spec/support/vcr_cassettes/vaos/systems/get_facilities_limits_for_multiple.yml index f731cf43b2e..c50155db15c 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facilities_limits_for_multiple.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facilities_limits_for_multiple.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1MzA0MDEiLCJ2ZXJ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-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facilities_limits_for_multiple_500.yml b/spec/support/vcr_cassettes/vaos/systems/get_facilities_limits_for_multiple_500.yml index b243a8346a8..68aa2e51019 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facilities_limits_for_multiple_500.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facilities_limits_for_multiple_500.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sImRhdGVPZkJpcnRoIjoiMTk1MzA0MDEiLCJ2ZXJzaW9uIjoyLjEsImVkaXBpZCI6IjEyNTk4OTc5NzgiLCJ2aXN0YUlkcyI6W3sicGF0aWVudElkIjoiNTUyMTYxMDUwIiwic2l0ZUlkIjoiOTg0In0seyJwYXRpZW50SWQiOiI3MjE2NjkxIiwic2l0ZUlkIjoiOTgzIn1dLCJzc24iOiI3OTYwNjE5NzYiLCJmaXJzdE5hbWUiOiJKdWR5Iiwic3RhZmZEaXNjbGFpbWVyQWNjZXB0ZWQiOnRydWUsIm5iZiI6MTYxMTMzOTQyMiwic3N0IjoxNjExMzM5NjAxLCJwYXRpZW50Ijp7ImZpcnN0TmFtZSI6Ikp1ZHkiLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaWNuIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJkb2IiOiIxOTUzLTA0LTAxIiwiZGF0ZU9mQmlydGgiOiIxOTUzLTA0LTAxIiwic3NuIjoiNzk2MDYxOTc2In0sImRvYiI6IjE5NTMwNDAxIiwidmFtZi5hdXRoLnJvbGVzIjpbInZldGVyYW4iXSwicmlnaHRPZkFjY2Vzc0FjY2VwdGVkIjp0cnVlLCJleHAiOjE2MTEzNDA1MDIsImp0aSI6ImJkYTIxNTE1LWY0YmItNGI1MS05YzA4LWQ1OTgzN2E2N2UxNSIsImxvYSI6Mn0.ZoIX-5AiaXUneYgV3p6S4gXMah5udsq-m6x8Ms2yxjMtzifPMkkuiKYGWvYS4powiB3RefK1yDqwfZTAZh_TjzpET4XhSDFtImUCORUyPQU_RUcudcmXAtDbp4CQghfjImp5oXX4omWrnQSxQ9u5FUpCP788U-FwC8JUuITlK9nrogUpDkIdOoJzemdQB-4ejNo80n7GQpHbOM48WzMEBHtU7rm4B8tWaIOnr4180jQzGRL0LaWJkhxWuXzPIEFPoYK1Rc_uuzXO0_s4JwVO1j-0moKHsPljtMNpz3TJa4guzjHYgGMHeGhmFgVNAMLO9WGNByQva7pFT_aStwQj8A + - stubbed_token X-Request-Id: - '' Accept-Encoding: @@ -57,9 +57,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151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pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facilities_multiple.yml b/spec/support/vcr_cassettes/vaos/systems/get_facilities_multiple.yml index cc48abe5808..9d0fa4a6d0d 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facilities_multiple.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facilities_multiple.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facility_appointments.yml b/spec/support/vcr_cassettes/vaos/systems/get_facility_appointments.yml index d016bad29c7..a116fbe2356 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facility_appointments.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facility_appointments.yml @@ -35,9 +35,9 @@ http_interactions: Content-Language: - en Set-Cookie: - - TS016f4012=01c16e2d813665d6b7b52c9b82cb875e280bb55b57d365e783be7d813ed7044ade530309df15415554ea08b2be7ff4337f7775870d05f71a80764c0d85d9021f5124dc69486334bad6f392e0636860c4c3bf4f2997; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.IDIsg6YXvCqF_04fm0qBmUWsbGYB-8b6gt0YVD531Ol9ngq8Nwdpx4EdtZ93L2O1GCd63tsW0dhVhMGTqqwkExbERoYKCPCuY4NiSlYHaTVyq69CnVZm8nr24N-wGVCcC11ggaTQF083MRdKOYkrI77r8t5ssCRIEZWNvwjL79XT60OLUNT4Im_oqkaWpJl-YswrmF3woGdnTuVYs0wwgOIF8cgogKsC6dvZIXouCdYNG6G0UY7QMiX1cqSmiaDqnRFdDtdm3U-CiU6kS-k3rizueS6jPo_jgsHNrw8wpsk3T-lMYE8yYfzKnpdJ0_qwDKshVRQf6s41alhKd-YShg.HI2lCtBwH9aCG3Axuq0VnQ.vJr4t3D3HmzOXAwSPW6XauU1e4jlcuGRjFANhIGwxwUK_HqDp-Fc74TJaxW4SgWWBhhA3FM_2XOt6KCujcmZa-n0p9J6NAoi64tJfQpcMx418tmeYqpPdFoVUe3h_zU4nBy_lJbWTBMkIG6dJaNsDYhUlbxnVPgGMh3UFndVH6gd2s2F3JuMZMOhaymO387LgK-pHhr92ONRipw5QS5f1soOic1izmw90GJkIxy06N-HQUcgk_7abUkyLP065gU-8e9DbPvIAQub1Ob2kujiK0yf4bYrmR9LIQC3jGcmZ4VbcwSJnAqZTNLpAweZrmx6MwebpDWBAl8QDelLtC5AeQ9khkpcANkPuHA-4eHIKXJYJlbD80guWljKQUwC9iIGKOyQ5UrCXxwQLVytjfk0LBBD-62ZygnNLQ595qLi9O43sSnTdKPgoVtTux9g_cupE7WT5e4KzWy21KfbPeYKwQhQbH7FsW-cA6CPWg0y9KcJ-QtAuMmsyrQ9P3c3S9zvQZYdHl9gbvlxbN3Zp5KrgcCcddBG5VpGNxn8DKTr_4z0_POKKhlCI_T-lywzVVT5y3Zoxux4TwB-EqDIXn8ZJMzmHRWr8kvOQT_XXEccqVtA2hC77VVlHRLCTdS6fLEgSzVaY526kAgnRpUiQq6_ZJ-VsDnJzG0w50b6m6uU2qKZHEfuZx_UlSPiUoyrUbnp.TyjgC5z1s2wke5scZpVbMDseIj_BNGAlqK8Vfvasv74; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1574727411; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facility_available_appointments.yml b/spec/support/vcr_cassettes/vaos/systems/get_facility_available_appointments.yml index cce687bbff0..918a8c35f12 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facility_available_appointments.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facility_available_appointments.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facility_clinics.yml b/spec/support/vcr_cassettes/vaos/systems/get_facility_clinics.yml index 6709d1b3fd2..3b3da1a4920 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facility_clinics.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facility_clinics.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facility_clinics_500.yml b/spec/support/vcr_cassettes/vaos/systems/get_facility_clinics_500.yml index d93d51bd987..2f42a9f653e 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facility_clinics_500.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facility_clinics_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facility_limits.yml b/spec/support/vcr_cassettes/vaos/systems/get_facility_limits.yml index 846b57a9489..6d46dcd89dc 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facility_limits.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facility_limits.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facility_limits_500.yml b/spec/support/vcr_cassettes/vaos/systems/get_facility_limits_500.yml index d670dfe7509..3430ffb5580 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facility_limits_500.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facility_limits_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33Gw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pOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facility_visits.yml b/spec/support/vcr_cassettes/vaos/systems/get_facility_visits.yml index 2b155e3a0df..bec9da7f84f 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facility_visits.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facility_visits.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facility_visits_500.yml b/spec/support/vcr_cassettes/vaos/systems/get_facility_visits_500.yml index ea10b3a59f9..2ab19cc6ba0 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facility_visits_500.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facility_visits_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiY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1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_facility_visits_request.yml b/spec/support/vcr_cassettes/vaos/systems/get_facility_visits_request.yml index e48f02cda48..20ad6e7b5e7 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_facility_visits_request.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_facility_visits_request.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_institutions.yml b/spec/support/vcr_cassettes/vaos/systems/get_institutions.yml index e672574b634..8b6606024d7 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_institutions.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_institutions.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vam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A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_institutions_single.yml b/spec/support/vcr_cassettes/vaos/systems/get_institutions_single.yml index f90a26636bb..402ce8fc6f6 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_institutions_single.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_institutions_single.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria.yml b/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria.yml index 97929b5a572..01c2ac1d8c9 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria.yml @@ -49,9 +49,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c8917e4861286e09c908dfe4aee4d331fa0769152749f6463c707cc973c5d16306ee396d3994e80f60261c9a816362dd1cefd539321e139931e195b18df6a404a461983a2a841de7bc82cb00f2149a5e758de92b; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.aeUft-1kD-cDkfhVvHVUJykf9NN7h76NoYdLBzdSN2W0201RFZRuGNmHhQxD7kGFK-IBkpQfldlym-hof96eQiKL2AyCs7ne_MjQemITJ-LYUYfzTyK9e2e62RDa-tn4JkQ2pgdTslyEU-436_CWnnNNkOfbLFiD6ZlrQy9SN5x4PgjU73l_4UZLAz-DxdlSgdNi0-2TXcswIX-_bpC0tlC6MGrdQFcEf_EyVIdf13C2n3r24bmAc4Q72qRJlH4y1ZKgHtlOzJpBFJYRhEUpMyunD0LgNXniuzPa1GCCvJv0Vkt7Lcxjorj1Cj_ArLFjFXiZpExZqI3hw-rlghRYmg.ldm9-5mhDZCuSxWnO21prw.TBJXLFEg7ljBSZVNKDJdZkMfU0a_9D0CACW29QK9x5JNd3OTbftbON5A0Xg-_kMPGKx-VXUOLeTppcNs7mNec8aRA8tt5tVaM51cDZKqrSduFI587hrPeLYO-qjF82RnKhv_LIHgI_jGVUovrxHnFsL8IxpRznpeTZJ4uq8TV2Cwe7OSLVbJEr9x520-7xoQ1Tp2DMA8QLzgiQ4kCkdR434r0xv-Z5gCzH8t5JJnpJ9s2CSvZWS1JhjXjk2qx3beu1c0rv6kzgcl6qHTv7ULFnS-uFOTTC5Gy1iojyADstNBnqjWpys1BGtEZPdtQ-uG0-JnwrMP0g-DL0ofF4OZMYoan6g8sL4lxJHzsOo-BLkXTOMLC7CzEnz6X64M3Egnhl1_gD0-_CR9Twc24VB8nVKVPWhcUmjEVOhVLF9y31Y6DjopC39AV9VysTqQVwqnza9ntdBuV8mtFdfytHdPsTfvsIcl1mkKBc_Xt3VvRBxytnrR0S_KakwaZVn99abw1vji-91n6gf_EkzFnQasm_2rCBAAUDQzqdO2XNzxHHEIX92r5kokiSSDDchjh7lRNwZ1GxifDa5oI67l13GurX0OWHg0yY-0HOaF5vLQgrxgi-7OE3abxoA00vWyqnjB8paXxhkRDzljP3hr-VLbzk78Zr1HoaOVTTDe_ZBQostiB1ou4tSfyEUsLPbVp9lpDrA4Km7hhX3ifF4ip9fYQA.KJbXrfzkIXQFr6QjPgkMThMk8X50sVKzeSV2sV_aCUo; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1609963304; SameSite=Lax; path=/ Strict-Transport-Security: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_id.yml b/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_id.yml index db45e96998d..f8586917fcb 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_id.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_id.yml @@ -57,9 +57,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81aff1b138869e1dfa809baf6a6d8feca6d93d2936a7820ea9378b3738fcbebd6ccecb04b9b68458a615dc913f47b15b08ea1ee06467a8425dd73bd9cd30eec6a453867e7da73c36eb969d3a1d982e8bd5; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.Sti2kwTctEdYamQ82tx2ZoYAMwy1xBDM2E3yzhfxtvdF8v9RmkTwMbn8gQLEOK8SVKhJCoTePT555xyQKfOmn5yNVev9nDOHfolv5X8c0hSHvw00BUA29SgB_5o4WU02voapRZubYQtD6UjgWkngH7gFEhaZyoCLcvQnKHZvbLoZDyMy2QlWAdVS7p36oaQudOcWucXq-6c0PKkTD582UlER6W64xfB3-YEyg88fioIpLj84E2_D6GFvBtB7UmbcooRebOWpU2ODD1JgFX4iLkxon_-aS9n60gDNQ4UlZRi__oDWYqN6UPWwr8IzCke4mbF5iedOiERYEFrWz5OU9A.RFA1zfiP8ibuMlJKj3B1Ig.m9nOzt-IOkSY7S9D_aiWwwzlOO5P-6hQMK3YJdr2bie0dO1aPVd--kiX4oHkhoU9AzGQ7V0TvEqcqStFJGdRSUbeQKx6h5fHgrppfxqDbw8m4JoTWiIeUom-VjBhuuQKNBydXAO7T4TDe7lkLJZR2d-EyXCgNZcbdruZvg3NBOiJFHRNO00wEC_7Cx4O8AIQyD1yGAlZw4LjIVdZ5DQI9EidBPt30Chsk_V7pFMBOwmQtG7GiqCh5v_NXz1ftuxgOpxqki_-2OWHnKGtKokJ9rVewbeYB-y4fR5PypZjUQF4Z2VglAU_LPCddKZdM8q-_yxpG-zv4jbGe8orgi7tfQRD7BnWPJsBeraeHFoTkV4NYnZ7fxV1MBc_B4Xnq6OVfRQkD8rJ3eFVzMcPTmE2bqdYwFLtqNCEfCalJwL8GjbrjIBjY9VeUVP5QzQu0e5PYO4qL7He4sdjLBENXuNS5S491uMi3yPqqmvvio4OeANuw3Tbjuyx73FmupR7UdJCn1hB73I-hkFL8ApNprWZINCxRLstb3IBBZDT45rEhXzsgYyijh3BMjuCXz229znqsKiVxA30zT6RC4lJbgJ2H1OAi5oDth7fF220Ni7eyTnSsSndfsPclEHpwOo3TPwshlpKhCX4cLj-0n3wTrPzlaoxppUHWLU8V6rU2LIGVMjG6mWPHaZmA6ghURMCg2jw8oTsrkochRdJrbwh49BJcg.Ti18PHPghdArKJyUnCBcxatwU7aWYBBo_gDnX9JFK1A; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1595558082; SameSite=Lax; path=/ Strict-Transport-Security: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_parent_sites.yml b/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_parent_sites.yml index 220731e0197..657a130931f 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_parent_sites.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_parent_sites.yml @@ -55,9 +55,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c8917e48d83866a64d9babbb6594695147745d88d7e0ffdd63065ddf02d5f4a7b0fefb24310eaf0f23067d8934d789e12f847f15e957827292075588b70a1dbdceade7e75e0ad96393c6ec4b61dc21a56d64222a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.EEGQakcpbjpE-jZtLGBggasyR_rgsvXL0UZ7GlX4F8-VsHahYW5LXDZHmBvOWanJs57Miy0ZRVHxE8O6jIsNRffpNiYwHtSjZ7gZ4fQpL3oCk7znAs-cXW2sOFBTPUL_ED24_yFzMRA48lybAyV8bMi0Dqpb14pFRhWJv3wGuY43pW2-jYxaWymeTHuYoooabyr4gRy0j0dwXMYeFEgYHVYaAq3aLMZaUmSAM_M9JORMzz2WGQPWshPAOUsxiRKHPkrv-QKKv2XG2AH8q1ggnbPZMiSSf4nNjSs757uBZ-7NmPvF7xNVBdasLwCQ3QVqM-h-nRrvUqoMhRcjyUNGVw.7XXBWOuvl8GOm5L9hh3UhA.uQOx6nLoKUdlhvm-8k1EkB2UiE0RHJIfGZPmszgWOW6pt8xRqT0ATeWY1H6NDqfXJJzgH-daFgjUjBR1Mv4tcWiwKhWU_cOBv6TdHneoSq5o7-3cZIKkZkef-7CUnhmnhSoAT_FVMJtJ3WcF-6cHcWALYxAl1oGxg0kMhRfCrQqNZIWNqAXjrl1U7sL0vcD54ruOJ-FzvZ0YJgBqNMf9r0FcGTQUJwKA25SkSDh5gMTWAY9kSEPjOFh6lkHApcvKd0qW68X78m-zFd0n3Vy6OHPipar5sFKLRlkkoZvZ2Z6L8kvwDQU7h1WE7I0bsYW2eQFy9q7cKjc3r5pYkKK-5HYCCd59nEv3ntzEAlvht9v65n2ZNP1viRlY-qSuR0-tv--_cdstV9XxlXB-GD2I4tSeteLlng6sGRDbJqxidDjCQId3IbCT5UELalidp68W_09AAc-3tu0Vq01aTVjVJ6RjnGWbXjr-J5auxuREBGv7CiEMCj2uok9GucUCXXiUk_Oa7MfYWAV6F_B3SsBSWn76IJkAIaC836kLBiA9PKpDG8rVc0YNAT3kMlSecwYTwOBIvh_XKFY8t4chqdynMIGL7RJ9O48zO5bl-D7NMOJFxUzDGHXuhAzCMmtTjiN-NgmPxB3UNmw0vy58hj3np0MhMEN0PjhDZs_fCFk3VRVvuw5AM5clatL9p5Jv6XbvfszSAt5l_sZ41oqFuimgnw.VYRybgHrCZDIIddCpoY0cC6caf_xZ7wUbmeuALh3mq4; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1595558792; SameSite=Lax; path=/ Strict-Transport-Security: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_site_codes.yml b/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_site_codes.yml index fd9f5945b59..8f9a22dc6b7 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_site_codes.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_by_site_codes.yml @@ -55,9 +55,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81c9d47e934f25408120fcb761652786995540983028f5a61b932a00cc72c1927b71a982a6be2c3bdef6431fa7f309d00a8beebec5464d011ed6fa25d3bfe226d9a5fcf0a4c3f24e515bfa42af5c40c6c4; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1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RPtejAH3DV6u74oooQP1HC6rpBDtAcDvXaDvUsfi7M2SeQucIGPjsQSjVdKbiSzoHU1SXB1RtyV-iNUQNG6bA.8NUcax823R5ZJRFHHrPc8Vz5orIFyjB2nUgZcMZEWik; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1595558170; SameSite=Lax; path=/ Strict-Transport-Security: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_site_codes.yml b/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_site_codes.yml index 1bd9db8a81c..bfcccad1f7b 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_site_codes.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_request_eligibility_criteria_site_codes.yml @@ -55,9 +55,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81e3ccf2dfc2273aeeaa902ca87502f90180668f80415c70e6c4b4d716b0a491a06b396ddcd87dc709722b4c2bc952c25aaf16dd1dc4cc2b7519bc84260b728623985ac35b2da882b66b7f9046290955ec; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.BDOZZb36UUM_O4tv3S4ZGX2TPL-y5wAqjOHr_EkjfetkXqSacnhj2z3bj5QeCVzrkg_QWr5LjmAaAnolQfGTuESk--1-4Z-nulwaNzjMxr0e0kC7xvpf4VIXjOGELVg7-j-X1bPXfVTEg3C3GSf2uWaCjW7ltFxovaB2siNBOgq8szurU2eh9_mGMEnk34b39wPqoUaWw0YQN89hpEiztZMwZDJ6a6lMhxyP9tcH7WIFlyCBamwdU0G43ot6N5eQmjRpZEAZkpmMpUB4HSCfq-D4DDLH8rjVQ_2j6bCq2SYERIbW38DF8ocmjit-rr89T5iIasTXBjLioNhv1D7rRg.ESbw7m-nRg5CfgOdcr6INg.pNPmx__kIS7dgNUBfB-RPG3ZW1wEA8btxyAURORChcTtVjZv7gqvEX5xymCTKjwb7jcDvWxhltGKX8mNdQxZ8D1WI6kBc9z6gKJIRj4JqpYfNZtXTQF1_aPx9qmLbrTlPExUnHKK-7oaSYJUp1GGdZsXKjSBgHXnpfdPK5eR_OA-P5EfFNRbPi0jYVBQPsOD9ungiuuY1yyIETD7S2R_PBhUYw31yC3EUBSEVibGyP6-C4qBu7F2lmFBb_3vQnxuX163IH8NSkdHzQAVm8pnh5mrNyvBBDcQkvCQ89_eJEzVHMqYNAtIF-0w9RX1hJ5Wl7sPqGS5Lf6CkPul3NW81pXzSR9E9RKSQl1-ooiXhr_c5IO_S1k7AiYG3gPZ7UzQwHbFP9kHm-x1nsMHrCyWZ24cVToaprXB_sCIaDWMA460jXdbMx0FG24bpcoRmheNKb7JGFU3i-wlFIkT6yomBnFxVtqjSC8PTXOesiAOh9kNpz-rj-QDWfMqDMtc2wu0dETOkx_0NW1dCEe_na33uGeuxjGeCI6YhZNF6XktHbTVHoA4vnQw0ghJUiN7NLkIGZDosXg20klZhlPKKf_et7IELzm3-_FzQ32Sq1z-kTbNHWhbSo6JqVGkeCM2dYlpaPaoqY01z7yM2DnhlWl9arVGo1sqy_6PSaEhdlhTpRrByetYFlPEOSo0hJbFLoPupCk0_wm5ubtFyKPG5352Ug.U6Tmus1fUfg5KCCOUxA15KsYv-Zy2-cm6InFSxlqa54; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1594974623; SameSite=Lax; path=/ Strict-Transport-Security: @@ -69,4 +69,4 @@ http_interactions: string: !binary |- WyB7CiAgImxpbmtzIiA6IFsgewogICAgInRpdGxlIiA6ICJyZXF1ZXN0LWVsaWdpYmlsaXR5LWNyaXRlcmlhIiwKICAgICJocmVmIiA6ICIvZmFjaWxpdGllcy92MS9yZXF1ZXN0LWVsaWdpYmlsaXR5LWNyaX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xzZQogICAgfSwgewogICAgICAiZGF5IiA6ICJTQVRVUkRBWSIsCiAgICAgICJjYW5TY2hlZHVsZSIgOiBmYWxzZQogICAgfSwgewogICAgICAiZGF5IiA6ICJTVU5EQVkiLAogICAgICAiY2FuU2NoZWR1bGUiIDogZmFsc2UKICAgIH0gXQogIH0gXQp9IF0= recorded_at: Fri, 17 Jul 2020 08:15:23 GMT -recorded_with: VCR 6.0.0 +recorded_with: VCR 6.0.0 b diff --git a/spec/support/vcr_cassettes/vaos/systems/get_system_facilities.yml b/spec/support/vcr_cassettes/vaos/systems/get_system_facilities.yml index d7162116cd2..0dde1599690 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_system_facilities.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_system_facilities.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_500.yml b/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_500.yml index 5e12dfe468a..1cdd20b676d 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_500.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_express_care.yml b/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_express_care.yml index ed87be437b6..fa095e53968 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_express_care.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_express_care.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_noparent.yml b/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_noparent.yml index 901afb4a81a..e3da9025f16 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_noparent.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_system_facilities_noparent.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_system_pact.yml b/spec/support/vcr_cassettes/vaos/systems/get_system_pact.yml index ca22affd225..74b890235e2 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_system_pact.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_system_pact.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_system_pact_500.yml b/spec/support/vcr_cassettes/vaos/systems/get_system_pact_500.yml index 7506a3c8d89..f557e0f4ca3 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_system_pact_500.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_system_pact_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_systems.yml b/spec/support/vcr_cassettes/vaos/systems/get_systems.yml index b18c91f8a05..e1e42c84b30 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_systems.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_systems.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qN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=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_systems_403.yml b/spec/support/vcr_cassettes/vaos/systems/get_systems_403.yml index c711da889f2..ae9543b9aff 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_systems_403.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_systems_403.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_systems_420.yml b/spec/support/vcr_cassettes/vaos/systems/get_systems_420.yml index 6c8fd00291b..a6e026f8f75 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_systems_420.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_systems_420.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWm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JKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/systems/get_systems_500.yml b/spec/support/vcr_cassettes/vaos/systems/get_systems_500.yml index 233b2fe5571..17bf7470b95 100644 --- a/spec/support/vcr_cassettes/vaos/systems/get_systems_500.yml +++ b/spec/support/vcr_cassettes/vaos/systems/get_systems_500.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d81fc226234f653b401a6d3c45964b178c3dca337d48dc27850ee4b2500802d8cd5ce3022f84792af5d23119520ca71bbc596b1ad67dc95ab16a1a86b35c68d151ea4d6e53a92650a851039167e75ca477a; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ZyMpgyWmTxwJ4xf7e9aF8vSHP9YEZwRrI9sIRVX5x_tztvCzp4TDNj0yZ33GwHlXgDRFDIWh9qNZAq6d7ECDnI9hzZk-3Q-GM69bkUcdLRrYE4UX4i8HQawxXfC05lVHnqNZo81n4-laN91S6_In613ZcAQ4y4V-734nxqXFH9mYJUlf1MI3ixIPQ9G_0liQyvk0bZ2eE6GGGyDqt7mOvw_SGR3D3xgjB_csivbhkgY8qTOTTHCkRqYG6Ehpj9k2kiS_HD3XBVbyKTv3Oa7DtbnJ6HbFP7LUh-4pTATSBxT9IjyKtfCEHV9k0ZwMZGrnvJHmGaE3EcBq1qjeqdtdcw.aaLqA_CnlF_lo6pn2zINXw.Nn_C0mbkeOeXwxdkw_6h81GtmH0ykuMIKPeUUW4Z_yEmfBgTi6Ber9OUnv8OSsNVA8KUwsP8kgGB6Mh8xnvSVuA2jmn8YeG1dojV4Mhi8bGj4F0qKYTaCGorCEqpN8cu2wzupCuM4FYT3mXhHao1h_-Qc6_tRiDpbq572MngKJG8KHS7RYkMUo9RCRTuwSHQXr7XFN9Y0uToKGrY_r8a3LUr6PV8N5iFWunWF1G8_d6QbMFo-EY54cd9VPdJqydOtvTStyRbVjfq6Ud9GyzblgO22-jedghx0EOLOxjcIOVCEdJNnAnfokl50K53dW7ogK0Uj6ljH7_XzHyjhfDGBE_Xm_r2c9LYPX8_jp1bO2AZYllJGupAbJ4mIGCEG1zxUBNDaKX_T5rV5G5vxTGqlLw-9h6Il6rcqScrrfVciK46fnHZWfOZadevMNqO6yafMlUOQqnL4HodZRy4soy_KKlO4lsMX6LM1mVJM0SNU3YZUO0KuhCSTz8cMnuoek26OTurc6_x2ZrMMLS_GLh-m8pdjbvsjhbjw2n-yBQrKvHf1jl1cvUQSG8pHCFOjni2coUmmbTy0omzt29A1-NkOwbcIw7H2cgnosYzdpkgOvOMJgYAz-_PHYba1aDF8SNZpTl49TrIJXp01mVWwr-5buDmCbebuk1beqwb1-3FQI0.Owtu7sXRP0m4qVdPQ0qMZJKr2mVrSUrtpGpH9hvqjAM; + - vamfjwtv3=stubbed_token; path=/;max-age=900; HttpOnly - vamftimeoutv1=1567617431; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointment_400.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointment_400.yml index 2b0b5741825..87806454712 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointment_400.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointment_400.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiZ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GFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjM2MDU3Mzg2LCJkb2IiOiIxOTUzMDQwMSIsImxvYSI6Mn0.Yc0dunUjtpp08j83NBxDLTjJWKLxtvjneNykdKHlwdxyBE2OuYdTVZQmBZuqK4bMIabNAc6OiMD7u3Hsk1Lo0J1T_L2NYxoFA4hRMU1-KuY49rwENvgVoGF_ywzDiYFy-DGvYPwxO2G30BsPz1QJJ9PSpb1FsReqAbmcEncBXetRzhQG8skSg5Ica7z21khCse-60uojiilQh3Qzov-1lttH3UboOfwPCOjlzmTZpdKg7z6g5eahD4fsv0vD-od2srPHM2eYJVEQe8YptNbicqj3I1KnNDHAEr3FxPMvShFzZ8Bw9CDXMm8IA2iyFCnYc3G82aY9RkZk-LCJjwR6Zg + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointment_vpg_400.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointment_vpg_400.yml index 74f516bd38a..f1de2a8563e 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointment_vpg_400.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointment_vpg_400.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjE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Ac6OiMD7u3Hsk1Lo0J1T_L2NYxoFA4hRMU1-KuY49rwENvgVoGF_ywzDiYFy-DGvYPwxO2G30BsPz1QJJ9PSpb1FsReqAbmcEncBXetRzhQG8skSg5Ica7z21khCse-60uojiilQh3Qzov-1lttH3UboOfwPCOjlzmTZpdKg7z6g5eahD4fsv0vD-od2srPHM2eYJVEQe8YptNbicqj3I1KnNDHAEr3FxPMvShFzZ8Bw9CDXMm8IA2iyFCnYc3G82aY9RkZk-LCJjwR6Zg + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointments_200.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointments_200.yml index 5ebf14b45b6..8b3d3adca05 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointments_200.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointments_200.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImdlbmRlciI6IkZFTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYyIiwidmFtZi5hdXRoLnJlc291cmNlcyI6WyJeLiooXC8pP3BhdGllbnRbc10_XC8oSUNOXC8pPzEwMTI4NDYwNDNWNTc2MzQxKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_OTgzXC9wYXRpZW50W3NdP1wvNzIxNjY4NVwvYXBwb2ludG1lbnRzKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_NjY4XC9wYXRpZW50W3NdP1wvMTYxNzM3XC9hcHBvaW50bWV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llAqDq3cK20puPG_hEsmlun2lhUUX8J00-n_JyKHww5_Ml69IrOfo7V_06TCCLjbw58LIqBXo7aHeWV3KVn7xCnovs-Ns7ITnHAIZmv2aqZnZ5ytuDppoqOHywrGY1BAE7GqsEcSXFdjXy_jWiICUeHHk-8gIjn3NmLWZhXd8_1jYwwViqx7pvDmUYxkRoh2p_GfDNL-3yEhyvO1evEyd4_4zl03ji6tgPFFOfFynaENg + - stubbed_token X-Request-Id: - '' Accept-Encoding: @@ -109,9 +109,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c8917e48942c0b5ff239a16ca2ba227e0313acacd04bf1cd635dec6ab39afded157215f42f9631650935028a6b883370daa6e523; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.QshsCpJt018VDLmaehzv4q_YT3PYSNNnS17ol7yBxzjoRZBmloU7WzkDcWi5jgME3KHD-IQCziwmdGHK95EDWe0foLqztzm4PxW1ROgBcPANCJ_8UF1nyeXCW6ODP8f3s1ujBHL8nsjwGTtqiAX5-SUZHqtNrwo1oJn4GUK1uBToXRkaDoBgeUZx3arC0r9lyO6TMQLvTSjFcBlAgFfnw2LKwN_4xrFVP6J1pXGNBBQ5aiAYizsSwl84wxTXRiE9ZVq-9ROJ25WbNUtm5BQ40GMU89NLsFqKQ42N_H2FEgn5Z2r7cTiKi-CxQ9YA5Y2K-1dTFr8mrdUCzji79814fw.BxjRRG0Hjj1mcvXdMwectg.G54DHaFpoAqtgKPfMKFpv0YWklWtb060sB9FMvyEq5s217B62gnWvfZqPhIVhuKJjGwUcjRxcs2AwBe0cjJWm0J8AwSp3QI2k62QneqBEu3HE4okh2DB9xtj4VGa7OP4-WRSFk1-QR1gm2mOJ-CKHeLVm7EHSpZld0SwL0n9dF2rJOZ7MKyLG0ZNae3bHSvL8y8ddXMKZwCK9P4341XpM5kUW6aNZn6Ai_CD5MimeBZCVqyeTtBpIxQVyAU730p0vu0EeBklOCKQYYMF-o5llTxH2BjWVY-ysAWJMGh8S08GtYBO0YLqTn3cTup56jdtY3oEQdRuQ8hWuBVsXM1hung95xEXVqRgbPzlTu0MTeujy3QKigg88-4qlKv8sp40PrnjuSOE9Uz9S1w44OVCOWm_BIxXpNjgOXMjcQWQ8GSGfz9nzJ9eWemNBZmYyA-D8Qb1aYrxIlqbYSgyubue_84woKD_mYU-RXxLjzdJ8uaCxB3PJ-J-zzFzkGodAxYeRM6gAz7sAdVxcufRZ4fwd-19fKdUMq7Ek37fkwlhZ2FwhAEqgCt-gz1-AAdJCuGsOAIFajV6FYrarlZ-6t2aYmwf51GlEwHpcg8RUokciq_UlBtBVHvnDuG_4Qdp23sg23oSMrjef7EEoGf4x2qbACpxTp723CCZgK_zkNbVZnjtk8kt2UNJuRaHAE_VvQeuzGM0ntHFJ08gPxIM211srw.izDAlpOwj7LtvOlU_9_TqXc4NMt2SR70KEbpRnR6ov0; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1639595617; SameSite=Lax; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointments_vpg_200.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointments_vpg_200.yml index c1ac66fe612..d531233f5b8 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointments_vpg_200.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/cancel_appointments_vpg_200.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHki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sInNpdGVJZCI6Ijk4MyJ9LHsicGF0aWVudElkIjoiMTYxNzM3Iiwic2l0ZUlkIjoiNjY4In0seyJwYXRpZW50SWQiOiI1NTIxNjEwNDQiLCJzaXRlSWQiOiI5ODQifV0sImZpcnN0TmFtZSI6IkphY3F1ZWxpbmUiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjM5NTk0MTEzLCJkb2IiOiIxOTYyMDIwNyIsImxvYSI6Mn0.Aw8u9NWLFQU2n2ZCEykRJcz3SDP4Tkm700yYu-qIcRvs2MrNjl3FgXxoxCKzJcakVRWnjOCy1T29ow3yi-NcVgkTQtioq6qUiDGJuLwFDllAqDq3cK20puPG_hEsmlun2lhUUX8J00-n_JyKHww5_Ml69IrOfo7V_06TCCLjbw58LIqBXo7aHeWV3KVn7xCnovs-Ns7ITnHAIZmv2aqZnZ5ytuDppoqOHywrGY1BAE7GqsEcSXFdjXy_jWiICUeHHk-8gIjn3NmLWZhXd8_1jYwwViqx7pvDmUYxkRoh2p_GfDNL-3yEhyvO1evEyd4_4zl03ji6tgPFFOfFynaENg + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200.yml index 4564c746537..ef5af27b524 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImdlbmRlciI6IkZFTUFMRSIsImlzcyI6Im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ic2l0ZUlkIjoiNjY4In0seyJwYXRpZW50SWQiOiI1NTIxNjEwNDQiLCJzaXRlSWQiOiI5ODQifV0sImZpcnN0TmFtZSI6IkphY3F1ZWxpbmUiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjM5NDM3OTI2LCJkb2IiOiIxOTYyMDIwNyIsImxvYSI6Mn0.rrz0bmrUqXf9NZZtShsP0Ub5ZRiI2LUqgqncs-M9rtBTUyDyW8qUBO7MhYvmJEhA40S66eOh0-JZyDJYKUVg4Hl-1ZRiVc5uX-0I1MhxoQ0DYR886bH373Eybuh3AU30gyohkBun0M3NQV2C3bxs-f0_wkAuyNIR-Rxm6nysei5ZmnQvzJChHg1YKtQKNUUUIVOPDCro_q6pTw_QQA7ZdIVxmT4f18xHODxs9aUXnHOFJPzUK32VbPQVtVYRQWK_SFisG42-Rhxg3O_rDiUeFSxfV-Uhjo2RBh9W0utGuMW9qDbRx1AqQrIsbBM7YeaNhno-BBsfQyeX3--GlXq1YA + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JACQUELINE_M_BOOKED.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JACQUELINE_M_BOOKED.yml index 85bb75be4e1..6ebb189a229 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JACQUELINE_M_BOOKED.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JACQUELINE_M_BOOKED.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImdlbmRlciI6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WVudElkIjoiMTYxNzM3Iiwic2l0ZUlkIjoiNjY4In0seyJwYXRpZW50SWQiOiI1NTIxNjEwNDQiLCJzaXRlSWQiOiI5ODQifV0sImZpcnN0TmFtZSI6IkphY3F1ZWxpbmUiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjQxOTI1ODEwLCJkb2IiOiIxOTYyMDIwNyIsImxvYSI6Mn0.weE8oULPIp-yiOLQJkFy1dBE2Z4eV29c50AcUl9Ln2TQFhUe49_eGexEPKTONEqtqf77o4sIwfkzKpkSSPoLH3GcCH2meOpxKg293IBDgx4d93DfRRmWYHg9Z77g1GW5ojUvPhdO6Zec2RQbTKgGiUwrZV7rXaVsse8bdj4V2oNO76EKla_FKruAvAQGfGjTRL4AQ35bgmxkFu9YU5ukTHNAG9q3A_29Cl6PJwyixZfy6Q3jbXbV8fY2OLpvvzxJL6-1smf5LkyxTs22xxiE1iBJXFKvhAsDa-0Pm0v1ZUQMtj6TuHngJ-CFsb6GYN7zOJgTXP_L-IQBQn_I2mM27A + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JACQUELINE_M_PROPOSED_12082022_backup.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JACQUELINE_M_PROPOSED_12082022_backup.yml index 6bf9065b33a..9c298b16444 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JACQUELINE_M_PROPOSED_12082022_backup.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JACQUELINE_M_PROPOSED_12082022_backup.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://internal-dsva-vagov-staging-fwdproxy-1821450725.us-gov-west-1.elb.amazonaws.com:4463/users/v2/session?processRules=true body: encoding: US-ASCII - string: eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJzdWIiOiIxMDEyODQ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RgDr2vDBfLYjZbULsPQUGTYBa68hOWDxkK4zTMdNpIwQ6YX0Zvsc_lhXWmc8-OpPgpRnuo + string: stubbed_token headers: Accept: - text/plain @@ -54,7 +54,7 @@ http_interactions: - max-age=63072000; includeSubDomains; preload body: encoding: UTF-8 - string: eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImdlbmRlciI6IkZFTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYyIiwidmFtZi5hdXRoLnJlc291cmNlcyI6WyJeLiooXC8pP3BhdGllbnRbc10_XC8oSUNOXC8pPzEwMTI4NDYwNDNWNTc2MzQxKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_OTgzXC9wYXRpZW50W3NdP1wvNzIxNjY4NVwvYXBwb2ludG1lbnRzKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_NjY4XC9wYXRpZW50W3NdP1wvMTYxNzM3XC9hcHBvaW50bWVudHMoXC8uKik_JCIsIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNDRcL2FwcG9pbnRtZW50cyhcLy4qKT8kIl0sInNzbiI6Ijc5NjA2MTk3NiIsInNzdCI6MTY3MDUyMzkxNCwicGF0aWVudCI6eyJmaXJzdE5hbWUiOiJKYWNxdWVsaW5lIiwibGFzdE5hbWUiOiJNb3JnYW4iLCJnZW5kZXIiOiJGRU1BTEUiLCJpY24iOiIxMDEyODQ2MDQzVjU3NjM0MSIsImRvYiI6IjE5NjItMDItMDciLCJkYXRlT2ZCaXJ0aCI6IjE5NjItMDItMDciLCJzc24iOiI3OTYwNjE5NzYifSwidmFtZi5hdXRoLnJvbGVzIjpbInZldGVyYW4iXSwicmlnaHRPZkFjY2Vzc0FjY2VwdGVkIjp0cnVlLCJleHAiOjE2NzA1MjQ4MTQsImp0aSI6Ijk1YTg5MzM3LWQ2ZTAtNGZmZC04YTJlLTk3M2EzZTA5MWJhYSIsImlkVHlwZSI6IklDTiIsImRhdGVPZkJpcnRoIjoiMTk2MjAyMDciLCJ2ZXJzaW9uIjoyLjgsImVkaXBpZCI6IjEwMTM1OTk3MzAiLCJ2aXN0YUlkcyI6W3sicGF0aWVudElkIjoiNzIxNjY4NSIsInNpdGVJZCI6Ijk4MyJ9LHsicGF0aWVudElkIjoiMTYxNzM3Iiwic2l0ZUlkIjoiNjY4In0seyJwYXRpZW50SWQiOiI1NTIxNjEwNDQiLCJzaXRlSWQiOiI5ODQifV0sImZpcnN0TmFtZSI6IkphY3F1ZWxpbmUiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjcwNTIzNzM0LCJkb2IiOiIxOTYyMDIwNyIsImxvYSI6Mn0.ifrfvIIb09wbYan5jD86y3ND6ranl_ShENJSakOtJI-c2iXhUVXYbaEg4tIJCCuz5GLhkqP_1KQsfyPWNJneIOwZvsvCoBjqL_Pdh5rZ_QVlGNLjB-Gk0wkAZDT2N6JUByi_WhqxVI5F3-R-teZEPA7xtjzb14tQyRa1jamEY3QVaNeBJgOduHd8xqmZGCIsXzRAMu7ln9uFlcVchuQaOpv1rsXVyxI9-Ekb_L99RpKOev5OJD-h4Amm2xBul9yVcvhEgeVAnPpZqlcwi7lpk95BbvTza7EtTCDPrxlqDLlRjQOa1dgLA3p29VL7gkwzSgEwiFI489EHrxFuq33TEQ + string: stubbed_token recorded_at: Thu, 08 Dec 2022 18:25:14 GMT - request: method: get @@ -72,7 +72,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0Tm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zaW9uIjoyLjgsImVkaXBpZCI6IjEwMTM1OTk3MzAiLCJ2aXN0YUlkcyI6W3sicGF0aWVudElkIjoiNzIxNjY4NSIsInNpdGVJZCI6Ijk4MyJ9LHsicGF0aWVudElkIjoiMTYxNzM3Iiwic2l0ZUlkIjoiNjY4In0seyJwYXRpZW50SWQiOiI1NTIxNjEwNDQiLCJzaXRlSWQiOiI5ODQifV0sImZpcnN0TmFtZSI6IkphY3F1ZWxpbmUiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjcwNTIzNzM0LCJkb2IiOiIxOTYyMDIwNyIsImxvYSI6Mn0.ifrfvIIb09wbYan5jD86y3ND6ranl_ShENJSakOtJI-c2iXhUVXYbaEg4tIJCCuz5GLhkqP_1KQsfyPWNJneIOwZvsvCoBjqL_Pdh5rZ_QVlGNLjB-Gk0wkAZDT2N6JUByi_WhqxVI5F3-R-teZEPA7xtjzb14tQyRa1jamEY3QVaNeBJgOduHd8xqmZGCIsXzRAMu7ln9uFlcVchuQaOpv1rsXVyxI9-Ekb_L99RpKOev5OJD-h4Amm2xBul9yVcvhEgeVAnPpZqlcwi7lpk95BbvTza7EtTCDPrxlqDLlRjQOa1dgLA3p29VL7gkwzSgEwiFI489EHrxFuq33TEQ + - stubbed_token X-Request-Id: - dbb27bf0-2925-45ed-bb1a-633fab268fab Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JUDY_BOOKED.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JUDY_BOOKED.yml index f3536918af7..0a83d10d2ea 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JUDY_BOOKED.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_JUDY_BOOKED.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d819e642df58e454ed9fd6489a263aaa54ab199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9ndmsMAvYon3d9Q2IpCYjtE-fmbB8Uy8mLHExXh_AQMmn8NDrjo3QobLMk9KJp_zynzp6iIwG9Bbmj1aHRF2O10G-etcdHWApfDTDp2oantYxDmyz-9luM45bv3Hj5QXa_O9VWsu3paQAegWTwaBOXTZYKJaJ3cVPjorK8QkCEikFLfcPTZ_cWVFkVyd1IzZgP5wL5SRnFvKg.WQDQGb6baah-gqk0mq3RawL88K0BPxUrpo2FzkqYFBs; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1642187322; SameSite=Lax; path=/ body: @@ -111,9 +111,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c8917e480b76fe5ee9c8a6d000a3acef12e6d2159f81a4bc24de2dba9623b6984c23b8080d83513eca92a128217e122ce8ad6a8b; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.Q5h1tYtSDxLecx-yVqkJn6UQyTZ-588oJDDJnro8Df2HstPkFZBmXeQbZLGTh8KcMeEAjXOOojfDAfKkOPECmyDLDgK4KS4q32910QJGXsg0eQ7QsH7jdFdI7Nixvug-OGrRDRxzwU7UhQSLLuf1YSl_2IIeiPS7MJQt_8wHJVBEAD9Ehcv3qewovXtPZvMj03jU4KtzxRsZgpOUBD03Nj7pJiiz4gchlrhBf0jQ9Y9YosmYq2LQkzmjYlEEi5gOzMsO7jJqMWO6v4ffp3G6-kBeWtf5rwGmmxpAfibY5i-QaFs-hZnrNBgF_E811E_AOQOhV8qIAInYPt6bgVk3sw.ugV9i4neLXw6D0K0zqO52w.tmROwBKQqFbaFN9GVAYTOLCFDo1K-SASrncMrNENDYKph84qlYj2BGwQ8VTqj-AAnpn5fpmmQi9PPo4NvyBOAprIcOTRLl_fFLkrUUsHG6YQkecTXAkzhGAVIsiILtVWFRWUBTIg9aYdwmK8vqvVl4AQAJ9xSMSGubT9xm0qQ9JQvN-OSqUBFNWveziZ2VmvxxR24lqQYBV7GrZsrRYFq80_mUsRm5EHsXmVAPMEROtPHiTOKVdFLGvRIL4idLGk-DL5rWqP3rMpJ0PzFm7_vKNtg_E-xml_0pSKBT2bK4dBT1IYjBuFImMZG6nu4E13xaV6sAV1JhBqiq_VR2q-5_oE4zmImLI-Kp9fVdKfLtl_dkfP6jIwF5f29IXfsjtTwbBVRcvtGC_6ESDq6Elb71RWXdpgxiOnkDbsHbASuEWIbaor5gCTBcb-V3SUG8bvB-rzR_fEGk-EVVBs9GJvNtHxIouSYUw4FCaiv4kgPIzvZWRKvKjhiGUogrXApYhU5LN3eeA8TraA8mFk1QHWPask3QHYq9SnwfTTxkTSMC0QHG-HbzGHR-3xA50S6EWVkVykMs9NSLOHT2-Z9L7k6JfJFRVw0fScfcLkOtKNJ91WeaHfTOsoc3g4Si03CVaItwoqamTOSWLVG_DFw8KbsWYfs-k-5dNPKSCaVjeHcZeBRIStNEFSETg4aBb6ARr9vc08_Wp-PExxh_Rkj_H8dA.roK7EDb65JJXqOU8bo6vypHsLdgwZGrVRQ36FRw-n-M; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1642187493; SameSite=Lax; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_cc_proposed.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_cc_proposed.yml index 65198595db4..974ef58c1d9 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_cc_proposed.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointment_200_cc_proposed.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1v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kaXBpZCI6IjEwMTM1OTk3MzAiLCJ2aXN0YUlkcyI6W3sicGF0aWVudElkIjoiNzIxNjY4NSIsInNpdGVJZCI6Ijk4MyJ9LHsicGF0aWVudElkIjoiMTYxNzM3Iiwic2l0ZUlkIjoiNjY4In0seyJwYXRpZW50SWQiOiI1NTIxNjEwNDQiLCJzaXRlSWQiOiI5ODQifV0sImZpcnN0TmFtZSI6IkphY3F1ZWxpbmUiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjQxOTI1NzUyLCJkb2IiOiIxOTYyMDIwNyIsImxvYSI6Mn0.v4IAErwssYUbF16VFHGVmley4GftE671TzZFXMBlYPrXUw5y02u-5ZJRMZMxdvlr9lamdWgMyHq0yupRnb6mhqAk2cPp-hTnVBEuGsV5O12zp2Dntgll0Kbwg6_fz78R1goqNQTQ0Y4j3dcuQRTsv7WbKsf8gT0egVq9gawMHexVUr-3z-LzEKLqidhTWHwpKQFagNFYzkeOvTPCFLJqeTMf-ACblIUtOJGDmxwjs2_L5ZWaUjdDAOsIUPUCJp8AnIIInyIAAp5f8Eo0PD0lQg2_ktuCf2uUdEnpT2V7n1CwkNu7Kcc_e4ThQBi4-BDZD2z03yrTpcOslJgNHBQk0w + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200.yml index a3a1198eafc..d316550973f 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXR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SWQiOiI5ODMifV0sImZpcnN0TmFtZSI6Ikp1ZHkiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjM2MDU1NjIxLCJkb2IiOiIxOTUzMDQwMSIsImxvYSI6Mn0.uw7RPiSMhJungUJ5t4fhBCFGEBlagRy6mt0z-0FSn1LetODaEDDY-NEA3Mvu_mWjYKRVW-6eYDtnBRAHSD0CgpT0yleSuzY27bN3fRbkg-FjpqL06EO93TVXnGSXwAiXNJMSkOnhCmRH1b74XCl0kow3ptCMV-AMTYqHGj3aGwkRIyjtqqEePLdBVndQTff0-Vd-o8jy-eebwoFspEA1By_GykURfGFUjkp6zxDplFG_HovtlOOSm18AHlR8itfDBI_hUR8dQOLmiYhQh43GCLLUYh3qfPiPLWJAHdYG3AWYE27ud5yngCmBBp09CDNL3_N-UeqzaLCDBj3-pgB9Sw + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_12082022.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_12082022.yml index 666e2ea1da9..292d15eac39 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_12082022.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_12082022.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://internal-dsva-vagov-staging-fwdproxy-1821450725.us-gov-west-1.elb.amazonaws.com:4463/users/v2/session?processRules=true body: encoding: US-ASCII - string: eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJzdWIiOiIxMDEyODQ2MDQzVjU3NjM0MSIsImlkVHlwZSI6IklDTiIsImlzcyI6Imdvdi52YS52YW9zIiwiZmlyc3ROYW1lIjoiSmFjcXVlbGluZSIsImxhc3ROYW1lIjoiTW9yZ2FuIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEuaWFtLnNzb2UudjEiLCJqdGkiOiJjNTUxNDA1NS0wNWUyLTQ1YmQtYTY5NS00MzUzMzNhZTFlMjYiLCJuYmYiOjE2NzA1MjM0ODcsImV4cCI6MTY3MDUyNDQ0Nywic3N0IjoxNjcwNTIzNTM3LCJ2ZXJzaW9uIjoyLjEsImdlbmRlciI6IkZFTUFMRSIsImRvYiI6IjE5NjIwMjA3IiwiZGF0ZU9mQmlydGgiOiIxOTYyMDIwNyIsImVkaXBpZCI6IjEwMTM1OTk3MzAiLCJzc24iOiI3OTYwNjE5NzYifQ.KWUBQPSolcb16wx4CMsTzZTz2L6g2IJTtSeKNHnvEg8twLvj-j1zkCUu8b1ZjvNs2VvmmUQPAMZ9Y5HJ4GO6C3iO-FZvLbHjj7TCKzKSV_SCY175Uu8Y_NpCKHTa8VylVEDBf32fytfEGD-MGw1dS2gYqDLcvr14MIzIHbI1DjzYTbQI0XF_vjYVXc7E9WYT1GCK6hbnvHCbfwcnf1MTEQh1bmx190Ay3_V12UnQPPcDxyVIhnGse779sv_h2KNajyq1-pspjDjNJvwhanwBhaUDZqftRYUTY8SqL1zMaMNweSNaqYSqQOxDtLlRhym4ZGedPzYjsc_-9msfNfOnOZUC6cMNABemsC7ZxgbDT5rs4kTrc872-ThMgrYf7-oQRkQmaIVSAFUK1-Exl3W0VowYS9E1O-VFqMjDNFdkSeQyavWIHz-xyMjxujiQmBA16Utd4B6dT58ccH78FcBqmYA9DfQum6WBe5wVO-p1uh4cPr8NPrLZtGiSb_ugSyrhhY6xNh1bYhKMELy0DYeAsErjbQ-sM8QPZzRlk9sLi2SciPnV5Wp_Nwhvh9pzr-YlxcI_EQldgITgvouLJCwLJAaAeZrHPuaYRMn-2nzxYJrJLzx8LhNHELNBvGN-l2ofwflxr-MgZjZ4fp5lQkIDIgRBqxJKZUQdrwQvbCCb-YA + string: stubbed_token headers: Accept: - text/plain @@ -54,7 +54,7 @@ http_interactions: - max-age=63072000; includeSubDomains; preload body: encoding: UTF-8 - string: eyJhbGciOiJSUzU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sImRhdGVPZkJpcnRoIjoiMTk2MjAyMDciLCJ2ZXJzaW9uIjoyLjgsImVkaXBpZCI6IjEwMTM1OTk3MzAiLCJ2aXN0YUlkcyI6W3sicGF0aWVudElkIjoiNzIxNjY4NSIsInNpdGVJZCI6Ijk4MyJ9LHsicGF0aWVudElkIjoiMTYxNzM3Iiwic2l0ZUlkIjoiNjY4In0seyJwYXRpZW50SWQiOiI1NTIxNjEwNDQiLCJzaXRlSWQiOiI5ODQifV0sImZpcnN0TmFtZSI6IkphY3F1ZWxpbmUiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjcwNTIzMzY3LCJkb2IiOiIxOTYyMDIwNyIsImxvYSI6Mn0.rDNB9cCldVdlnOgDmWT23kf3NxABwuG3Op40VyY_nEzDJGgK_OND_wm6o6OW1jK-efDH9DbnweEQTlLIM9xlCQLHvBTcVXKaWHjQM-69DhMTEew7m4LcbZjo3zanhsaBs6jD8u0RwpOozgNUJ9HUjtWZC0bqj6fH4HzRZOwe6BklXu_QLAfuSPUlYtGPHZd9LW887ykZHyQEPHWaogmdcjNXGInri8P-z-5Ruj3KBE1GQrfMMC-7QCKspMOAU-x6wP_tBbL9D1ux02L8-Zz8juJLhes6kF9FnE9if6TFdfbLJvdnUSrobpwRz5VsEwIdvqhHL2IiemrO3StkFFaLiQ + string: stubbed_token recorded_at: Thu, 08 Dec 2022 18:19:07 GMT - request: method: get @@ -72,7 +72,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImdlbmRlciI6IkZFTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYyIiwidm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1NTIxNjEwNDQiLCJzaXRlSWQiOiI5ODQifV0sImZpcnN0TmFtZSI6IkphY3F1ZWxpbmUiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjcwNTIzMzY3LCJkb2IiOiIxOTYyMDIwNyIsImxvYSI6Mn0.rDNB9cCldVdlnOgDmWT23kf3NxABwuG3Op40VyY_nEzDJGgK_OND_wm6o6OW1jK-efDH9DbnweEQTlLIM9xlCQLHvBTcVXKaWHjQM-69DhMTEew7m4LcbZjo3zanhsaBs6jD8u0RwpOozgNUJ9HUjtWZC0bqj6fH4HzRZOwe6BklXu_QLAfuSPUlYtGPHZd9LW887ykZHyQEPHWaogmdcjNXGInri8P-z-5Ruj3KBE1GQrfMMC-7QCKspMOAU-x6wP_tBbL9D1ux02L8-Zz8juJLhes6kF9FnE9if6TFdfbLJvdnUSrobpwRz5VsEwIdvqhHL2IiemrO3StkFFaLiQ + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_cc_proposed.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_cc_proposed.yml index e2c9d2dad17..9f535dd485e 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_cc_proposed.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_cc_proposed.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVz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YSI6Mn0.uw7RPiSMhJungUJ5t4fhBCFGEBlagRy6mt0z-0FSn1LetODaEDDY-NEA3Mvu_mWjYKRVW-6eYDtnBRAHSD0CgpT0yleSuzY27bN3fRbkg-FjpqL06EO93TVXnGSXwAiXNJMSkOnhCmRH1b74XCl0kow3ptCMV-AMTYqHGj3aGwkRIyjtqqEePLdBVndQTff0-Vd-o8jy-eebwoFspEA1By_GykURfGFUjkp6zxDplFG_HovtlOOSm18AHlR8itfDBI_hUR8dQOLmiYhQh43GCLLUYh3qfPiPLWJAHdYG3AWYE27ud5yngCmBBp09CDNL3_N-UeqzaLCDBj3-pgB9Sw + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_with_mobile_facility_service_500.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_with_mobile_facility_service_500.yml index dec11101838..c8702665451 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_with_mobile_facility_service_500.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_200_with_mobile_facility_service_500.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0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9wfZrH8Nu-kdYXnL3E5z3F-TCOlQ3dFcvEub7n_JCib_sGIi9E1m7e2VCHXuMGQlPijuHms2m1DuGlmNLoTQu6Pnr2FfAEQ5Qq1PajX9X2k9wfNMLiXGXIaRyzkL2_eWzQGnszDlB1ze3DFuWfLeLZRNEjtP7GnnyO3lwSe93vzdae_jl0NqCtyvS0ku6saOjrb6qShA + - stubbed_token X-Request-Id: - '' Accept-Encoding: @@ -101,9 +101,9 @@ http_interactions: Etag: - '"5fa5087d-3d6"' Set-Cookie: - - TS016f4012=01c8917e48e63286b7f10c28b2377be94dc8e3abca4b09a4105fcf7db6ff2be68f7a5b816a03f40b8abb39c051cb9ffea872cbb175; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.BCHgAvtMSivXONJX23QY7k2bRmzgnXgIjJsI3VbH99Kxw3LAA-9QQTwZVsvwBfK2cd2Q29RyoOIaTlkvdt9ycXsY0Wyc0LU4CckWEvZNIW76oGwTSSoQRiWxsbgm3UikU77iJFhvfosIX8Vo5l9UQSzLup61Xf23aELbZqI-RVntrfew51miLh52rz5NXuRfy654CCdbS_3QKhT7dG1s_ifmdRaXbEhsgDbHSBX10db_hgK8mqkrV0Y957r5fVxLV36DZXlM02kPxzKHfAJ8HAaUezCRcHl9Q7A7b-mj09JwKbcwFDZxeQA1vH08d_0BZ_59lyzym67Jr99DrCV3bg.x3enidMbgKhjgNMw7lizGQ.YcRMrrjsXyJXGTKOgbhz0q9mX9PftWl9RECngUivM9S7I82U9mOylfEXE22OJ2aNUV5h6iKgCjAySMdiZHrLquuAB_Qq60sZm9chXoDz0pH7F8L853Vcgu27sL8J7Ho0FPlmr25SY9Pg9CsJ4skDe45gJlSdvmxGIutxvCpkhh1wUGuocOaRbtoDWC3LEbEmS9ozugNYPY5gYAJUnrCVWWg44nsvP6t_Flg6tnCDMTtOa4oB6vBXxyLjznoolCVW6XnPpfwWWlIyoMdNbRDozO9FUpoV0f9OiBYR2_tcTyiZWcIdUp8L8HKAsG9qCocTQpG_CcFq-vkTH_WVvkLKvlTctFKyQgITXxSWCp7V6UOW4-FIZjlujACyOoz3hHcxokT4Qsx3u-S-qyPVSqCSLNlihFykaNZa6HzizG0nHeTi88qvD224o-MJenihXFTmCmycTnzTKyf-eizt2m9aeJLauHXEhM1gzhrop9ro3KV7rzQLI3s2Mf2uPSxjXOy-DDPC1Dur-dy-40q7pMFy447J2Jnu3X04eeTGz44KRrlx9MJ7362z2j36l-5ILtuMrOvVkYxRNI0VaLhAUYKxCAZnwklD82M5d_Qh9ha6Cli4N8wJ2EQujaviC4FwSN4ULJUvO_SpuhvSTK9LJHeXDwx_xpVeU0qPTZvho7hqaUmAtk5uTf4e-2haccgVI6YQ7dEC13XIrK4sXcAertO8Tg.jY-TmqOGP8pKAksGmOvp--mdID1SKPe8IpUUAWYJA3g; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1619637737; SameSite=Lax; path=/ body: @@ -126,7 +126,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3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WBmxdTeXEHQFStv1Sf9vVWy2U3MLbV2LqGdU8hWjeQlJk6heJXdWCk0PGOPJo1PQzfTV_XZnsJsSxs8hL9npbAFrW3SAYpLM4Yjw33R0ruWBg68AyS0boq19fsNe8GUtrtBTYYtQau5Xq6Q4S8g0_zMVha9_hH7ZCnlkZ3UzPbgkH2VEh9xc2H0nYS9BXd4SZ0yZb8PDow0eb33CQIQ + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_400.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_400.yml index 060669fd372..76e699d88bf 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_400.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_400.yml @@ -37,9 +37,9 @@ http_interactions: Etag: - '"601db677-1493"' Set-Cookie: - - TS016f4012=01c8917e487bf0add1e4de119f610ae56f30636277f1de32d5b030e6811393e43364c0624fe1eb5b884d6ca62c10e482e4d7477441; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.Cu9L-tNbV5fCqpGN-0mm0CxkYZ2ctt3OFCs3SEYLCF-AZ6PzfmlSQsc8nWIRTCr0_9RE3R059CLYMAYOYTxlDaLtgIre4laHmw9ELO8Bg6oKXMExwogfvR3n7_HVZFod0VOcs4Ma0rbFNX79xgp1kVd5th8-mGpcuAAAH60AjL8wG2Ueoio8Pz4GGJl4BpdIRbRSmtNF7qWy0bSV98uUsicsigtJxZsvOzrTwoYdtOKeMAKWh1ojp3bKQ6HxIMFN9YtYWKSKxf8qUof-nqrIRJKGBs7e7qgLQrqRK-S8wsechRm7KRh2CBI_IOe_k1qJm5l_jRUX61ySoPPVQKyX9Q.5mSkp63nZoBzpsnSw8P4mQ.RNmkr2hoQLrYS0Vcp-3ezhxDF-zIdZlre04GptQ0-7VCxS47U1Wfk9LU84ZRzpgjBBKeY5swXtL5a4Lkb-4yBnucOt43XkclisQXjnUS88ekOPwP8FOIkHGBRreIyi-RPJHEEkSrouc5zOhD6QTlpJXeRBNFhU1cEsBSqomuGmdw1XiNuOq8HE-Hy6UjPzD2fiSHWzkLzjSwwGAlzJzvLzy2u0KQJ5RXRBX5zFuDl9zbFE-hFWYCQPrp4nfDfu0ic99k1roetokSkElMrZTIs9uAUXkEULQxVBmVv5zRbZRFhaXU084joO6B7DAkrqREx3d-7mF2Cks4kTNosiyHr-uekIPBleHOuvpkT_MvoaYixTEoxd7xYgBG0u3zqJEr-WW8FvL5xhh8RkeNBsn6wF34bWiKPYMnHmljUy4PwQoVpBt5qXl0mz247KcNfHWn3WGToCAca-SsL0_xmnn4SIJ7IJSmlzDhteHZjywJF45lRMmPUVaVfPCn1UfLyA3wUbQCBmuBJhqift7SrSPPc4hlG54BNM3i8rS2ZpNx7pIna38FLQTl5PPkPVjwsAsacIBIArxTngzSoCouGl0mI_-7lr9vbOqFA4J9Wsmjb3PYphnePqFyUwsJ9IvhjT6_O-6U_fJulOQ2H1-z05woyyfrsKYvLEy2ean3AKyZa8pc1iaV2M__Bi1xKeQdk7HlR4qxWhrX3mmlo4lzOh_nOA.7DpGeEluhJn7jrkra5-68pwTN6oq172JD4Yc9OZLdsc; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1621896618; SameSite=Lax; path=/ body: @@ -53,4 +53,4 @@ http_interactions: "meta" : { } } recorded_at: Mon, 24 May 2021 22:35:19 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_401.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_401.yml index 326233bf35a..b51d2ea8ee8 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_401.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_401.yml @@ -37,9 +37,9 @@ http_interactions: Etag: - '"601db677-1493"' Set-Cookie: - - TS016f4012=01c8917e487bf0add1e4de119f610ae56f30636277f1de32d5b030e6811393e43364c0624fe1eb5b884d6ca62c10e482e4d7477441; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.Cu9L-tNbV5fCqpGN-0mm0CxkYZ2ctt3OFCs3SEYLCF-AZ6PzfmlSQsc8nWIRTCr0_9RE3R059CLYMAYOYTxlDaLtgIre4laHmw9ELO8Bg6oKXMExwogfvR3n7_HVZFod0VOcs4Ma0rbFNX79xgp1kVd5th8-mGpcuAAAH60AjL8wG2Ueoio8Pz4GGJl4BpdIRbRSmtNF7qWy0bSV98uUsicsigtJxZsvOzrTwoYdtOKeMAKWh1ojp3bKQ6HxIMFN9YtYWKSKxf8qUof-nqrIRJKGBs7e7qgLQrqRK-S8wsechRm7KRh2CBI_IOe_k1qJm5l_jRUX61ySoPPVQKyX9Q.5mSkp63nZoBzpsnSw8P4mQ.RNmkr2hoQLrYS0Vcp-3ezhxDF-zIdZlre04GptQ0-7VCxS47U1Wfk9LU84ZRzpgjBBKeY5swXtL5a4Lkb-4yBnucOt43XkclisQXjnUS88ekOPwP8FOIkHGBRreIyi-RPJHEEkSrouc5zOhD6QTlpJXeRBNFhU1cEsBSqomuGmdw1XiNuOq8HE-Hy6UjPzD2fiSHWzkLzjSwwGAlzJzvLzy2u0KQJ5RXRBX5zFuDl9zbFE-hFWYCQPrp4nfDfu0ic99k1roetokSkElMrZTIs9uAUXkEULQxVBmVv5zRbZRFhaXU084joO6B7DAkrqREx3d-7mF2Cks4kTNosiyHr-uekIPBleHOuvpkT_MvoaYixTEoxd7xYgBG0u3zqJEr-WW8FvL5xhh8RkeNBsn6wF34bWiKPYMnHmljUy4PwQoVpBt5qXl0mz247KcNfHWn3WGToCAca-SsL0_xmnn4SIJ7IJSmlzDhteHZjywJF45lRMmPUVaVfPCn1UfLyA3wUbQCBmuBJhqift7SrSPPc4hlG54BNM3i8rS2ZpNx7pIna38FLQTl5PPkPVjwsAsacIBIArxTngzSoCouGl0mI_-7lr9vbOqFA4J9Wsmjb3PYphnePqFyUwsJ9IvhjT6_O-6U_fJulOQ2H1-z05woyyfrsKYvLEy2ean3AKyZa8pc1iaV2M__Bi1xKeQdk7HlR4qxWhrX3mmlo4lzOh_nOA.7DpGeEluhJn7jrkra5-68pwTN6oq172JD4Yc9OZLdsc; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1621896618; SameSite=Lax; path=/ body: @@ -112,4 +112,4 @@ http_interactions: \ \n \n \n \n \ \n\n\n\n" recorded_at: Mon, 24 May 2021 22:35:19 GMT -recorded_with: VCR 6.0.0 \ No newline at end of file +recorded_with: VCR 6.0.0 diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_500.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_500.yml index e8d29f799c9..efad560861b 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_500.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_500.yml @@ -36,9 +36,9 @@ http_interactions: Etag: - '"5fa5087d-3d6"' Set-Cookie: - - TS016f4012=01c8917e48e63286b7f10c28b2377be94dc8e3abca4b09a4105fcf7db6ff2be68f7a5b816a03f40b8abb39c051cb9ffea872cbb175; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.BCHgAvtMSivXONJX23QY7k2bRmzgnXgIjJsI3VbH99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+ - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1619637737; SameSite=Lax; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_multi_status_200.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_multi_status_200.yml index 65a33786ad9..d5e09e94595 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_multi_status_200.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/get_appointments_multi_status_200.yml @@ -163,7 +163,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sInNzbiI6Ijc5NjA2MTk3NiIsInNzdCI6MTYyODUzMTMzOCwicGF0aWVudCI6eyJmaXJzdE5hbWUiOiJKdWR5IiwibGFzdE5hbWUiOiJNb3JyaXNvbiIsImdlbmRlciI6IkZFTUFMRSIsImljbiI6IjEwMTI4NDUzMzFWMTUzMDQzIiwiZG9iIjoiMTk1My0wNC0wMSIsImRhdGVPZkJpcnRoIjoiMTk1My0wNC0wMSIsInNzbiI6Ijc5NjA2MTk3NiJ9LCJ2YW1mLmF1dGgucm9sZXMiOlsidmV0ZXJhbiJdLCJyaWdodE9mQWNjZXNzQWNjZXB0ZWQiOnRydWUsImV4cCI6MTYyODUzMjIzOCwianRpIjoiMDFkOWZmNGItYjg4Ny00ODFlLTlhNjQtOGY1OWRlNDI1MjI4IiwiaWRUeXBlIjoiSUNOIiwiZGF0ZU9mQmlydGgiOiIxOTUzMDQwMSIsInZlcnNpb24iOjIuNSwiZWRpcGlkIjoiMTI1OTg5Nzk3OCIsInZpc3RhSWRzIjpbeyJwYXRpZW50SWQiOiI1NTIxNjEwNTAiLCJzaXRlSWQiOiI5ODQifSx7InBhdGllbnRJZCI6IjcyMTY2OTEiLCJzaXRlSWQiOiI5ODMifV0sImZpcnN0TmFtZSI6Ikp1ZHkiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjI4NTMxMTU4LCJkb2IiOiIxOTUzMDQwMSIsImxvYSI6Mn0.GKidQabckZtnD1mlhvjiaflm1K_2kea5sk05ywz_I5b7LyWXuiFsjgUycxSZ_JzodiJDei8MuJCbaPAXsN6FBYmn-mPGCPoMD2BwjVm8hh_jSRZW838jxW5T9Oh5B77EI1pWBmxdTeXEHQFStv1Sf9vVWy2U3MLbV2LqGdU8hWjeQlJk6heJXdWCk0PGOPJo1PQzfTV_XZnsJsSxs8hL9npbAFrW3SAYpLM4Yjw33R0ruWBg68AyS0boq19fsNe8GUtrtBTYYtQau5Xq6Q4S8g0_zMVha9_hH7ZCnlkZ3UzPbgkH2VEh9xc2H0nYS9BXd4SZ0yZb8PDow0eb33CQIQ + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_400.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_400.yml index 8bbc11d75d7..5d4b4e38b44 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_400.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_400.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sInNzbiI6Ijc5NjA2MTk3NiIsInNzdCI6MTYyMjc1NTAxNCwicGF0aWVudCI6eyJmaXJzdE5hbWUiOiJKdWR5IiwibGFzdE5hbWUiOiJNb3JyaXNvbiIsImdlbmRlciI6IkZFTUFMRSIsImljbiI6IjEwMTI4NDUzMzFWMTUzMDQzIiwiZG9iIjoiMTk1My0wNC0wMSIsImRhdGVPZkJpcnRoIjoiMTk1My0wNC0wMSIsInNzbiI6Ijc5NjA2MTk3NiJ9LCJ2YW1mLmF1dGgucm9sZXMiOlsidmV0ZXJhbiJdLCJyaWdodE9mQWNjZXNzQWNjZXB0ZWQiOnRydWUsImV4cCI6MTYyMjc1NTkxNCwianRpIjoiYjkzOGI5YTQtMDAwMC00MzRiLWI1MDgtNjAzOWQxMjVjZDRjIiwiaWRUeXBlIjoiSUNOIiwiZGF0ZU9mQmlydGgiOiIxOTUzMDQwMSIsInZlcnNpb24iOjIuNSwiZWRpcGlkIjoiMTI1OTg5Nzk3OCIsInZpc3RhSWRzIjpbeyJwYXRpZW50SWQiOiI1NTIxNjEwNTAiLCJzaXRlSWQiOiI5ODQifSx7InBhdGllbnRJZCI6IjcyMTY2OTEiLCJzaXRlSWQiOiI5ODMifV0sImZpcnN0TmFtZSI6Ikp1ZHkiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjIyNzU0ODM0LCJkb2IiOiIxOTUzMDQwMSIsImxvYSI6Mn0.xSPU-3nDiisLD0sFtoYIreyaRfOmPUF_GvqRHqj-T9Sxy0bU6JFiU7YBFeAQv0TFpLg6_-oqBbxw4y6fFvyDrkTEHz5o9FHYfxCJKk1Bf-FPp99b6rEIP0PHTh-ewPVpiVfXxAbHUc12Bxjfw0q1-LhBI8qWVsdIapQ-aEaM5UsHLM9DGU2CsUfd_ifOwMfZT6j_HMkZySHe5cUOtOuYfxk4dX2sR7PrMshvOBj3xeAbkrKCOvio-bwvvWwjHS6csR21Mcuaqlwdixzw7UUgcWn1UpmjDxYNwT6gS8G5nAk8Gjwkn0OcH_z0bL212DSIQTd-GmgQs9ORSubgWGETxQ + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_500.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_500.yml index cba3d72e477..29861d04e54 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_500.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_500.yml @@ -39,9 +39,9 @@ http_interactions: Etag: - '"5fa5087d-3d6"' Set-Cookie: - - TS016f4012=01c8917e48eb67a5f88a5fab53e5c4de1235dc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nmzAInkVPFZDQko32mOOKxW55rP2LYerNflGi567_GSD6ROoNdbjhjxR_0cXZ_QJZ-dDL_-mO33yysCV4D6Gc1C3DNM7OYpydthJlpjlDAkml5sWHRFJuB7pEfyx_7OrVXxks98vye9mQ1k8oK_8cIAkHgtkI-bkNTyN25hULiPOFJ6sk0C2Q3T_R1DSwC1V0N4ePiUBgpkNJkdb-Vur504Og.fPYhCKC7sCKOoF7yr3QMR1aS4CfeRpuB6QWWCVzs5Vk; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1620670472; SameSite=Lax; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200.yml index aa78ef009ae..87b444379ca 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://veteran.apps.va.gov/users/v2/session?processRules=true body: encoding: US-ASCII - string: eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJzdWIiOiIxMDEyODQ2MDQzVjU3NjM0MSIsImlkVHlwZSI6IklDTiIsImlzcyI6Imdvdi52YS52YW9zIiwiZmlyc3ROYW1lIjoiSmFjcXVlbGluZSIsImxhc3ROYW1lIjoiTW9yZ2FuIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEuaWFtLnNzb2UudjEiLCJqdGkiOiIzNzNiYjk2OS05NmRjLTQ4NWEtOGQ0YS1iNDVkMjBhNzkyZjIiLCJuYmYiOjE2NDU1NDgxOTQsImV4cCI6MTY0NTU0OTE1NCwic3N0IjoxNjQ1NTQ4MjQ0LCJ2ZXJzaW9uIjoyLjEsImdlbmRlciI6IkZFTUFMRSIsImRvYiI6IjE5NjIwMjA3IiwiZGF0ZU9mQmlydGgiOiIxOTYyMDIwNyIsImVkaXBpZCI6IjEwMTM1OTk3MzAiLCJzc24iOiI3OTYwNjE5NzYifQ.mSy4e9Ia36E91hByufyceCDu7igm3_80YP61nHfBcc3gbz9Jg5tSsmRIQG992u6n1D2cKxY7XUCcam23ZaP6_x2yyDDrxyyS9k6uAvhPY8BsJHlNRsLrA15errvF748fXJGAIXk37iEbrfWMc0nvS8sVcdKBgc7w73T0qcpoP0qL0c3wLoV9SMAWnliun8N1gF4co3Cn9kXk6K3eyGGO-e3lw6y4mcgjOzNKP2hxiiaJjljfgU8JrocCJZQKdlgO3zblfbgLYli6tZ97YMLs2J5-Ez0QcRDlNPTf8KYelflxw2F6f972vO58F35NuHAQ4_y5dcOoCOwdmfw5t_xsPSsUcPnPZqRrEE5LDQ865B-hetXL6_evUGokfeWpHdMWqzi5EWpPQ87vUk2hDh-9J3C50hDh6JUa5bnS3Ym7q0Y0dcrwlz0mmziQq_R8hZ-wCG6pzerjq3hIZw1wbv9uQ-RG3XaazhKs130AOxJ6JdblqiuwKxx93ZA8FB4JSo_IsKwapiPsL6HthrKBYUOoDSwuQCci2ddtY6XkA5NST2odSkhPqjNie1wkQVcXWzgb9nUqUhAQvosdc2okAoGuXUfjOHFJ08uzl44cjqeXKbCvxIJMpJ8kxG8G-TFQymP7r0ju6ScnTKqf5MxqxCItht8MHfcLQ_JNZSFDxLkFmQo + string: stubbed_token headers: Accept: - text/plain @@ -54,7 +54,7 @@ http_interactions: - max-age=63072000; includeSubDomains; preload body: encoding: UTF-8 - string: eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImdlbmRlciI6IkZFTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYyIiwidmFtZi5hdXR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EwNDQiLCJzaXRlSWQiOiI5ODQifV0sImZpcnN0TmFtZSI6IkphY3F1ZWxpbmUiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjQ1NTQ4MDc1LCJkb2IiOiIxOTYyMDIwNyIsImxvYSI6Mn0.Kp5MQKl6wkQHdcEeBmtpVIz1vzIR89TDdDvFXffuH7MJwX3jrvNpqahTNLEqSEDdA0W3bZ46w7hgrTr8VLihidGaL8gwU1MeUQPmVb4jd481V4IxUh7pmLheeiQSRFWg08_Hyku6FRc528pmaP8zMn8p6MzAfPBdBmCXAnMMvcmv51-v0eQUhLemwMcQp1upe5h6-1Zf41a8m8t5FZK3SZbrcvln6Om_jAVGw6-xUni3DrchhRTk9_CkRjXWb_UmaMwHqy6XC8mL2V2U3Dle_e0iRnnRfctzu29du3EiSlkBMg8hRziPYMgKV0e6r9wnhECI0NcB5C7K-D-8McTblg + string: stubbed_token recorded_at: Tue, 22 Feb 2022 16:44:15 GMT - request: method: post @@ -72,7 +72,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImdlbmRlciI6IkZFTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYyIiwidmFtZi5hdXRoLnJlc291cmNlcyI6WyJeLiooXC8pP3BhdGllbnRbc10_XC8oSUNOXC8pPzEwMTI4NDYwNDNWNTc2MzQxKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_OTgzXC9wYXRpZW50W3NdP1wvNzIxNjY4NVwvYXBwb2ludG1lbnRzKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZ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NpqahTNLEqSEDdA0W3bZ46w7hgrTr8VLihidGaL8gwU1MeUQPmVb4jd481V4IxUh7pmLheeiQSRFWg08_Hyku6FRc528pmaP8zMn8p6MzAfPBdBmCXAnMMvcmv51-v0eQUhLemwMcQp1upe5h6-1Zf41a8m8t5FZK3SZbrcvln6Om_jAVGw6-xUni3DrchhRTk9_CkRjXWb_UmaMwHqy6XC8mL2V2U3Dle_e0iRnnRfctzu29du3EiSlkBMg8hRziPYMgKV0e6r9wnhECI0NcB5C7K-D-8McTblg + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2222022.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2222022.yml index e6ccddb16c6..5c3bc6ce2b6 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2222022.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2222022.yml @@ -17,7 +17,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImdlbmRlciI6IkZFTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYyIiwidmFtZi5hdXRoLnJlc291cmNlcyI6WyJeLiooXC8pP3BhdGllbnRbc10_XC8oSUNOXC8pPzEwMTI4NDYwNDNWNTc2MzQxKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_OTgzXC9wYXRpZW50W3NdP1wvNzIxNjY4NVwvYXBwb2ludG1lbnRzKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_NjY4XC9wYXR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amTgHVgZ_uS0foYJKb4OXSZOEu1Pguly_sb3FxtYqvvMX4wTQQDPaZc43XqqgEG6RE_8lzreTI0iIDO1ZVfMDrUYu4uc02ZBXFPIeOsZbBZ-p3EQCG9n5Ebp02BggQqvcq0lfVDCmLlJtPt1ouFuTngGsjyMW6n_9lUvpO3sPC3M-N4F4MJ2doI43jIzSDHcb5l9br7Q4p56_h8aULnOovWAx8T7jf1ysSxLDRoXFZJHCxmqIzHZgajmKabUwZBDz96QBHdMQPasOQ + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2252022.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2252022.yml index 57dec657e11..605a33f4d38 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2252022.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2252022.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImdlbmRlciI6IkZFTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYyIiwidmFtZi5hdXRoLnJlc291cmNlcyI6WyJeLiooXC8pP3BhdGllbnRbc10_XC8oSUNOXC8pPzEwMTI4NDYwNDNWNTc2MzQxKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_OTgzXC9wYXRpZW50W3NdP1wvNzIxNjY4NVwvYXBwb2ludG1lbnRzKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_NjY4XC9wYXRpZW50W3NdP1wvMTYxN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iteIq3kQ2pEV0MHkBlZOUm7MynaAa-19s97Pc5UWiIGHyY9bRAkIPue5qzM9ZtP6ma7gO7tdShB0VWI36L0s4Z6Vo6NjSsvqqEbbvT6cpGI1O1P1Vgp4QfddFsiBOp1J5weT1Jqqs8nxtoPYIPNNyWYVc6h5NNP0iC0u0hKMvWFQC6tOG2wLlZrk7yNlzf6jLSfvyvWryj1JrpKrgQKPX1K9LuoCrIrcWWDHCctIqzt5uJdbEAWQYmAouw9CeinbLDGg + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2282022.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2282022.yml index 97a52550bd9..27cf7c25c0c 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2282022.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_2282022.yml @@ -17,7 +17,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImdlbmRlciI6IkZFTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYyIiwidmFtZi5hdXRoLnJlc291cmNlcyI6WyJeLiooXC8pP3BhdGllbnRbc10_XC8oSUNOXC8pPzEwMTI4NDYwNDNWNTc2MzQxKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_OTgzXC9wYXRpZW50W3NdP1wvNzIxNjY4NVwvYXBwb2ludG1lbnRzKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_NjY4XC9wYXRpZW50W3NdP1wvMTYxNzM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Ni_drq_5QqsHr_IOIkycIpvPokUZ7Rit1D-ncOm-7dflkoTxP0VD1bghAHflvDq096vaZhK0rQEEg56iomBlE5G6NRuEHAz5TbRj4HVThmYA-G4DdrYTLvvrnDngWGC4FyIebgk5_JjyWdtrQKBmc3W2r56Tbl8EGSf-BDknbCZFUrXZvgB89jfoFuziqUiCOJE140H2Ld-MlKtqrvARM6KXY7hmHBic8L5_QoUhkCL5Bz99y_OjUDTor4Y5J3vg + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_back.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_back.yml index f3efa159705..3dc20394f2a 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_back.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_back.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxV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QGheE7cl23RJVGLCZwcb7-0bLmXfKqTP1EVuDLzyL6wwEFOO1hNPOzoDsiaPpt86Vl-RM8wyQ + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_with_provider.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_with_provider.yml index 06a13dfd88b..4b6ec08b03e 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_with_provider.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_cc_200_with_provider.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcmdhbiIsInN1YiI6IjEwMTI4NDYwNDNWNTc2MzQxIiwiYXV0aGVudGljYXRpb25BdXRob3JpdHkiOiJnb3YudmEudmFvcyIsImdlbmRlciI6IkZFTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYyIiwidmFtZi5hdXRoLnJlc291cmNlcyI6WyJeLiooXC8pP3BhdGllbnRbc10_XC8oSUNOXC8pPzEwMTI4NDYwNDNWNTc2MzQxKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_OTgzXC9wYXRpZW50W3NdP1wvNzIxNjY4NVwvYXBwb2ludG1lbnRzKFwvLiopPyQiLCJeLiooXC8pP3NpdGVbc10_XC8oZGZuLSk_NjY4XC9wYXRpZW50W3NdP1wvMTYxNzM3XC9hcHBvaW50bWVudHMoXC8uKik_JCIsIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNDRcL2FwcG9pbnRtZW50cyhcLy4qKT8kIl0sInNzbiI6Ijc5NjA2MTk3NiIsInNzdCI6MTY0NTU2NjM0MiwicG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p56_h8aULnOovWAx8T7jf1ysSxLDRoXFZJHCxmqIzHZgajmKabUwZBDz96QBHdMQPasOQ + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_va_booked_200_JM_should_fail.yml b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_va_booked_200_JM_should_fail.yml index 7ec14bf9298..e9ad37b76ab 100644 --- a/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_va_booked_200_JM_should_fail.yml +++ b/spec/support/vcr_cassettes/vaos/v2/appointments/post_appointments_va_booked_200_JM_should_fail.yml @@ -51,9 +51,9 @@ http_interactions: Access-Control-Max-Age: - '3600' Set-Cookie: - - TS016f4012=01c16e2d8106c63143da22b72c764b391b2595f437d244aa5dd15863c5119187eef6ccb9624ec7971f3eb7182198bf12ddbd5f1fc9; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.VdetPkzYbSAQFjz4igMEpezMQrclBTDc4ocY8dUmxVDJzBmGrOMJxYI-wsOBm82k3Hr_m-_uUkw_XQmj5y_qDyIM40AcKgV0yM3If8J3LyWIDDc258aNc7xXlAxNNTJvOLlG3t7C7R7x18khIpqurAfVzQJrhqdOyyQ-wPvyxsaDcw7SjZxrw_MXgSzMZj2QEG1hGvMx-iovPCnIjlCbZtHN8NptK3ovucd7UqIoDM1wyYtL6GTKoBhUoJW9QBy4E3ZiLK26zPWneaGjb7pScLSdeF8VrDU2Qa-ma_M3pldwwDmlc9_01nVaSz-6JfYQLW-VcIoNo50Y3CWFz9LPFA.lciugBCXJGrvWe6pjgLZ9w.h0UNwvMKC8qNTZvh91Cks02ZnfszRoVrAJLnttDJVg1YhVmBB-6CkVSyXyottkp60Hni77pv0lU72JrwKcLqoMAxLduxgCZSWJCUy6Al9XiVTHk8PYYREulqtSo4CxCSI3xzSoQNMOOYKdANbMNnkmqD-7J4OGbyL1jIpSlouqasnkhfuBoDMBGFv4sTGQxUwd5roGiNMvTSxT3KzpW0MJf-U6j7vZjbTg1-u0fBXbR0L-hoSCnq3N2YQGqw4y09Smg-fAdfaYHyA51-8UYEvLW-amNM6xPa_gArJVkL5RhxswTwzzG1rdi_-hSqeBDkxJi2wsj00AWySKH-1-p5QofWlwBzJs8bxqR_fuxIzaiv1WI2i4miycMTOwdzuTR21nfSfvRdnYTDHq65PyqfraaNQGs0Vtnm0JE3_ATwJeBoB37_KCFg-YGqbf8UHWNoqSHlSzBUV9yhCGJ5zm6xXdGezrwzShh0ylI3dxFEFUp3KwgLMSUc8Jzqfv8bS4JAjhXUlvzruXDQnXsZVctztm2onlsrCGFIkisYPZEP3JdUMB7l_fSsQ9f7NDgqXiN4Tv_BKtsGlmuUkuqjPPaO8LKdS725tXH87QOvTtCkgcceDCX-YBzHznKvN2sa2njldq6TisQZQ3Cz8Terj0ru4ROkhdZem6R0m16XfsVByAOWc4dQuoa-RvVrvsRu_zBmqp_pAPAwPFoYDmIiI5OuCA.xHcfhsdudSMY0UK2of1pxJJwa5ZkkSh_z7WNF0DVCdQ; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1642185538; SameSite=Lax; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facilities_200_with_children.yml b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facilities_200_with_children.yml index f599350f46b..c9eb4ba2106 100644 --- a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facilities_200_with_children.yml +++ b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facilities_200_with_children.yml @@ -37,9 +37,9 @@ http_interactions: Etag: - '"601db677-1493"' Set-Cookie: - - TS016f4012=01c8917e48f82448aabad123124d27561ecea14fc6b7c5eef42a0f00d507b037e6542b7d32397d4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0j1bCT-ilBosktbg622mpuo3TWNaUwSdLVvivYsXisZ9wNiGzbJi0EobFoN4iHhX2wHzcfIke-5ntxdal8_YSZTyX_Ae5JAoP52nYN60enygaxDs6Qvg4AWBnweCWe0QgWgdEUlOatj3dd5pFtJsLbP8_HFQjJTtSI17FjL-QEaC6bVqyT-VuR6hQw.SveNG2a77UDkzS524pd6jj038e4MjNidSEfRVOGDwqk; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1621618493; SameSite=Lax; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facility_200.yml b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facility_200.yml index 74db1459fec..1c8da32db26 100644 --- a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facility_200.yml +++ b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facility_200.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEy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trtBTYYtQau5Xq6Q4S8g0_zMVha9_hH7ZCnlkZ3UzPbgkH2VEh9xc2H0nYS9BXd4SZ0yZb8PDow0eb33CQIQ + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facility_400.yml b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facility_400.yml index aa498206aa7..2ea8036e2c4 100644 --- a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facility_400.yml +++ b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facility_400.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJ2YW1mLmF1dGgucmVzb3VyY2VzIjpbIl4uKihcLyk_c2l0ZVtzXT9cLyhkZm4tKT85ODRcL3BhdGllbnRbc10_XC81NTIxNjEwNTBcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9zaXRlW3NdP1wvKGRmbi0pPzk4M1wvcGF0aWVudFtzXT9cLzcyMTY2OTFcL2FwcG9pbnRtZW50cyhcLy4qKT8kIiwiXi4qKFwvKT9wYXRpZW50W3NdP1wvKElDTlwvKT8xMDEyODQ1MzMxVjE1MzA0MyhcLy4qKT8kIl0sInNzbiI6Ijc5NjA2MTk3NiIsInNzdCI6MTYyMTYxODYyMywicGF0aWVudCI6eyJmaXJzdE5hbWUiOiJKdWR5IiwibGFzdE5hbWUiOiJNb3JyaXNvbiIsImdlbmRlciI6IkZFTUFMRSI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ml b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facility_500.yml index df54ecd206a..b6e8a442125 100644 --- a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facility_500.yml +++ b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_facility_500.yml @@ -37,9 +37,9 @@ http_interactions: Etag: - '"5fa5087d-3d6"' Set-Cookie: - - TS016f4012=01c8917e48e63286b7f10c28b2377be94dc8e3abca4b09a4105fcf7db6ff2be68f7a5b816a03f40b8abb39c051cb9ffea872cbb175; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.BCHgAvtMSivXONJX23QY7k2bRmzgnXgIjJsI3VbH99Kxw3LAA-9QQTwZVsvwBfK2cd2Q29RyoOIaTlkvdt9ycXsY0Wyc0LU4CckWEvZNIW76oGwTSSoQRiWxsbgm3UikU77iJFhvfosIX8Vo5l9UQSzLup61Xf23aELbZqI-RVntrfew51miLh52rz5NXuRfy654CCdbS_3QKhT7dG1s_ifmdRaXbEhsgDbHSBX10db_hgK8mqkrV0Y957r5fVxLV36DZXlM02kPxzKHfAJ8HAaUezCRcHl9Q7A7b-mj09JwKbcwFDZxeQA1vH08d_0BZ_59lyzym67Jr99DrCV3bg.x3enidMbgKhjgNMw7lizGQ.YcRMrrjsXyJXGTKOgbhz0q9mX9PftWl9RECngUivM9S7I82U9mOylfEXE22OJ2aNUV5h6iKgCjAySMdiZHrLquuAB_Qq60sZm9chXoDz0pH7F8L853Vcgu27sL8J7Ho0FPlmr25SY9Pg9CsJ4skDe45gJlSdvmxGIutxvCpkhh1wUGuocOaRbtoDWC3LEbEmS9ozugNYPY5gYAJUnrCVWWg44nsvP6t_Flg6tnCDMTtOa4oB6vBXxyLjznoolCVW6XnPpfwWWlIyoMdNbRDozO9FUpoV0f9OiBYR2_tcTyiZWcIdUp8L8HKAsG9qCocTQpG_CcFq-vkTH_WVvkLKvlTctFKyQgITXxSWCp7V6UOW4-FIZjlujACyOoz3hHcxokT4Qsx3u-S-qyPVSqCSLNlihFykaNZa6HzizG0nHeTi88qvD224o-MJenihXFTmCmycTnzTKyf-eizt2m9aeJLauHXEhM1gzhrop9ro3KV7rzQLI3s2Mf2uPSxjXOy-DDPC1Dur-dy-40q7pMFy447J2Jnu3X04eeTGz44KRrlx9MJ7362z2j36l-5ILtuMrOvVkYxRNI0VaLhAUYKxCAZnwklD82M5d_Qh9ha6Cli4N8wJ2EQujaviC4FwSN4ULJUvO_SpuhvSTK9LJHeXDwx_xpVeU0qPTZvho7hqaUmAtk5uTf4e-2haccgVI6YQ7dEC13XIrK4sXcAertO8Tg.jY-TmqOGP8pKAksGmOvp--mdID1SKPe8IpUUAWYJA3g; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1619637737; SameSite=Lax; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_multi_facilities_with_children_schedulable_false_200.yml b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_multi_facilities_with_children_schedulable_false_200.yml index 187434d771f..417137aacf3 100644 --- a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_multi_facilities_with_children_schedulable_false_200.yml +++ b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_multi_facilities_with_children_schedulable_false_200.yml @@ -51,7 +51,7 @@ http_interactions: X-Envoy-Upstream-Service-Time: - '8' Set-Cookie: - - TS016f4012=01c16e2d81474406e85283946cff1852cafff617d91202ec7c664a87432ee87eff124abedd2252a9b32c7e41a03639a572ecfc7787; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - stubbed_cookie path=/; SameSite=Lax; HttpOnly diff --git a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_scheduling_configurations_500.yml b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_scheduling_configurations_500.yml index e736424ff6a..c7b441794b5 100644 --- a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_scheduling_configurations_500.yml +++ b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_scheduling_configurations_500.yml @@ -37,9 +37,9 @@ http_interactions: Etag: - '"5fa5087d-3d6"' Set-Cookie: - - TS016f4012=01c8917e48e63286b7f10c28b2377be94dc8e3abca4b09a4105fcf7db6ff2be68f7a5b816a03f40b8abb39c051cb9ffea872cbb175; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.BCHgAvtMSivXONJX23QY7k2bRmzgnXgIjJsI3VbH99Kxw3LAA-9QQTwZVsvwBfK2cd2Q29RyoOIaTlkvdt9ycXsY0Wyc0LU4CckWEvZNIW76oGwTSSoQRiWxsbgm3UikU77iJFhvfosIX8Vo5l9UQSzLup61Xf23aELbZqI-RVntrfew51miLh52rz5NXuRfy654CCdbS_3QKhT7dG1s_ifmdRaXbEhsgDbHSBX10db_hgK8mqkrV0Y957r5fVxLV36DZXlM02kPxzKHfAJ8HAaUezCRcHl9Q7A7b-mj09JwKbcwFDZxeQA1vH08d_0BZ_59lyzym67Jr99DrCV3bg.x3enidMbgKhjgNMw7lizGQ.YcRMrrjsXyJXGTKOgbhz0q9mX9PftWl9RECngUivM9S7I82U9mOylfEXE22OJ2aNUV5h6iKgCjAySMdiZHrLquuAB_Qq60sZm9chXoDz0pH7F8L853Vcgu27sL8J7Ho0FPlmr25SY9Pg9CsJ4skDe45gJlSdvmxGIutxvCpkhh1wUGuocOaRbtoDWC3LEbEmS9ozugNYPY5gYAJUnrCVWWg44nsvP6t_Flg6tnCDMTtOa4oB6vBXxyLjznoolCVW6XnPpfwWWlIyoMdNbRDozO9FUpoV0f9OiBYR2_tcTyiZWcIdUp8L8HKAsG9qCocTQpG_CcFq-vkTH_WVvkLKvlTctFKyQgITXxSWCp7V6UOW4-FIZjlujACyOoz3hHcxokT4Qsx3u-S-qyPVSqCSLNlihFykaNZa6HzizG0nHeTi88qvD224o-MJenihXFTmCmycTnzTKyf-eizt2m9aeJLauHXEhM1gzhrop9ro3KV7rzQLI3s2Mf2uPSxjXOy-DDPC1Dur-dy-40q7pMFy447J2Jnu3X04eeTGz44KRrlx9MJ7362z2j36l-5ILtuMrOvVkYxRNI0VaLhAUYKxCAZnwklD82M5d_Qh9ha6Cli4N8wJ2EQujaviC4FwSN4ULJUvO_SpuhvSTK9LJHeXDwx_xpVeU0qPTZvho7hqaUmAtk5uTf4e-2haccgVI6YQ7dEC13XIrK4sXcAertO8Tg.jY-TmqOGP8pKAksGmOvp--mdID1SKPe8IpUUAWYJA3g; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1619637737; SameSite=Lax; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_scheduling_configurations_cc_200.yml b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_scheduling_configurations_cc_200.yml index 273098d4f4c..9d803b5d515 100644 --- a/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_scheduling_configurations_cc_200.yml +++ b/spec/support/vcr_cassettes/vaos/v2/mobile_facility_service/get_scheduling_configurations_cc_200.yml @@ -16,7 +16,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDMiLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiZ2VuZGVyIjoiRkVNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2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kb2IiOiIxOTUzMDQwMSIsImxvYSI6Mn0.pmjQ8VQD1BWBnJHnJAWgS-3pkoY77NhrDwzavDzhNrBEwN1haAiQOEU4ouYwSkrPptyqqRGrf5VoZTKBn6Y_PAw0BPvtSR2_y1V66GmuI0xEkEKNC7SNlm7qyHmZy2Odw4S6KdEzwpSXsIktQ2MFR2Iax50Kv87QzlicKrPrialC-41e2nHsaZHgxSSOEU_lfROEiziWfeyd9_S4k8JxYGSSQseS2_bqCg7UQQbKsfCB418orN0G30uj6zSFdu8JSatQURQwYl_iWilpSviLiF7nWWvZhYQTlQZ71eJZkzOzswxy_k5igWRjEYmPMsQ71t0_hKNbH3BBJxp01xQx1Q + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/vaos/v2/mobile_ppms_service/get_provider_200_12082022.yml b/spec/support/vcr_cassettes/vaos/v2/mobile_ppms_service/get_provider_200_12082022.yml index 69fe52a9acd..8c41227cafc 100644 --- a/spec/support/vcr_cassettes/vaos/v2/mobile_ppms_service/get_provider_200_12082022.yml +++ b/spec/support/vcr_cassettes/vaos/v2/mobile_ppms_service/get_provider_200_12082022.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://internal-dsva-vagov-staging-fwdproxy-1821450725.us-gov-west-1.elb.amazonaws.com:4463/users/v2/session?processRules=true body: encoding: US-ASCII - string: eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJzdWIiOiIxMDEyODQ1MzMxVjE1MzA0MyIsImlkVHlwZSI6IklDTiIsImlzcyI6Imdvdi52YS52YW9zIiwiZmlyc3ROYW1lIjoiSnVkeSIsImxhc3ROYW1lIjoiTW9ycmlzb24iLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS5pYW0uc3NvZS52MSIsImp0aSI6IjNmNDljMjQyLWZhZTMtNDBkYS05ZWM0LWJkYWZmMDdjYmUxOCIsIm5iZiI6MTY3MDUyNDkzMCwiZXhwIjoxNjcwNTI1ODkwLCJzc3QiOjE2NzA1MjQ5ODAsInZlcnNpb24iOjIuMSwiZ2VuZGVyIjoiRkVNQUxFIiwiZG9iIjoiMTk1MzA0MDEiLCJkYXRlT2ZCaXJ0aCI6IjE5NTMwNDAxIiwiZWRpcGlkIjoiMTI1OTg5Nzk3OCIsInNzbiI6Ijc5NjA2MTk3NiJ9.BCVFr3XgLGONyX9gTj_Vxfdp5CX9eSCIzwH_z_ShX4c6UpRW7-T51efo0vN8bAsRRKQPPnLh4s0PtdFwl3FTwT5gSgoVX0nATp3sCwV8Y9YbCc9_PnoMy0hovurGjiEGE5eRJJ72F-s0OjHEQN0f-bAstjpn3OFz8O78RaROqPVmhsq6E5ozNN_YzevMo_hTEAB1kpgIVrRZiVpY5ZQTz70ssG3sDtgOPTJpPHybNHHxfOzFUXweoixnB5wM0LPfdpsJX82-aL3-GEPzdXnvsDcMoTTWCjMlQ0InL5aswO3ycOR6gHiOCDprLskh0hNl45hFEcqbrjJBoXxE9wqTEE8guICaagRviNOQeYK7t4n7bZNz47CA8sR3J67WovXk6JAmshiEEVk0mpHVBx9keZlOYgiG3ekMKWYweWrFOsGZQuv-v1H9nxd038Gy4D99aOZCR_q1FkoLxat8bC0d-MhlbsAZ83z3lpE2JQ5dA2Kv8vhqDcfJXiHgg6e5YBd0HOUgEKOue74KzTRgKFxVZnURp1bEo5LrWavaI5r25Aja7MPVjYLwlDZZWoyoEnngWwVpd5VhmI1Eis9DEuDZB0FTDQbgTi352HdmqtVFWDRMF7064TqBJNPwJ_4rKtDCUibfYGDKScOq6yBSghq88LStMCFlSlpES4N1g-QGOwM + string: stubbed_token headers: Accept: - text/plain @@ -54,6 +54,6 @@ http_interactions: - max-age=63072000; includeSubDomains; preload body: encoding: UTF-8 - string: eyJhbGciOiJSUzUxMiJ9.eyJhdXRoZW50aWNhdGVkIjp0cnVlLCJsYXN0TmFtZSI6Ik1vcnJpc29uIiwic3ViIjoiMTAxMjg0NTMzMVYxNTMwNDM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LCJzaXRlSWQiOiI5ODMifV0sImZpcnN0TmFtZSI6Ikp1ZHkiLCJzdGFmZkRpc2NsYWltZXJBY2NlcHRlZCI6dHJ1ZSwibmJmIjoxNjcwNTI0ODExLCJkb2IiOiIxOTUzMDQwMSIsImxvYSI6Mn0.WNkbBq8sfUMdB_UzKjlAJj242Sxh7RuFhwcQM5s1a3BB9LDt17sXEFNtZReXfyUf8PFSqpy9U4uNjqUy27DIyR2hSPs_B-47WHqyOJGssu3zVnQ0XXCjmxUTfKo2S8ujUZoJTIPqtJ8IIbpddUwnSyPlvflqi1PVUj8Pr4-E2Cv2RG3vscJU65q2ihOIoYcM-5kdK2b_L45TUAosNTq9fggxrHiwT94CtkFCviTT4lbvKBvpu1Qq3r0Tr5wVf8d7HV1a6aiJP95k6nM5-yYsp_tKky_6C2paj5DGBue60lYGwnKChCrKg1mmb9TUls2jXCTQyHfli-jbFV75GXa90g + string: stubbed_token recorded_at: Thu, 08 Dec 2022 18:43:11 GMT recorded_with: VCR 6.1.0 diff --git a/spec/support/vcr_cassettes/vaos/v2/patients/get_patient_appointment_metadata_500_vaos.yml b/spec/support/vcr_cassettes/vaos/v2/patients/get_patient_appointment_metadata_500_vaos.yml index 080e15bd964..2a988be225a 100644 --- a/spec/support/vcr_cassettes/vaos/v2/patients/get_patient_appointment_metadata_500_vaos.yml +++ b/spec/support/vcr_cassettes/vaos/v2/patients/get_patient_appointment_metadata_500_vaos.yml @@ -37,9 +37,9 @@ http_interactions: Etag: - '"5fa5087d-3d6"' Set-Cookie: - - TS016f4012=01c8917e48a6ff5d6388745eba38598b953d4407daed4ccd11489fd27f706ab9121de9a03381e2bd807e1b3a5b8dfaf1336e3ec2f1; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.Z0CRvAbt_2adWSz9Z6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P5j1OpFSOqOdemos5-R931QYOK0tzmU; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1619807759; SameSite=Lax; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/patients/get_patient_appointment_metadata_500_vpg.yml b/spec/support/vcr_cassettes/vaos/v2/patients/get_patient_appointment_metadata_500_vpg.yml index d4b3fe3de49..421343d262b 100644 --- a/spec/support/vcr_cassettes/vaos/v2/patients/get_patient_appointment_metadata_500_vpg.yml +++ b/spec/support/vcr_cassettes/vaos/v2/patients/get_patient_appointment_metadata_500_vpg.yml @@ -37,9 +37,9 @@ http_interactions: Etag: - '"5fa5087d-3d6"' Set-Cookie: - - TS016f4012=01c8917e48a6ff5d6388745eba38598b953d4407daed4ccd11489fd27f706ab9121de9a03381e2bd807e1b3a5b8dfaf1336e3ec2f1; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamfjwtv3=eyJ6aXAiOiJERUYiLCJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.Z0CRvAbt_2adWSz9Z6HzoJ5JMIhL0iZfyU6O-cqpKqICLl8h6SBirspZdfTUakLilQnj9MKnzw6WIymIWes98Qs28SNjs9HeECoxZ_h9oNWvb0fExtS5anjDQXHi3-lplcMxHbSBvc_vIsRwkChLEsxZn1dXzVCSTJj02ryXRwupjWAYuSCJ5QkoiT41RbnO8z_1ig6VQnieDdqgOq_FAnea5k7TWSq24aaaaUx2mMX6ld6ydNSNCvPi8zcdoJFcV84yp2_3xvTMY7okKe95GBS8mshFJIIiF-svEXfgFcP2Yg2JM-MAATdoPygBc6-Luyo1mzfePnjocmnbkINQlA.TDeHVCdAf0nuazbHgqtnNw.HRrp6qHwa7TGArRyby3WIwmif6ti9ierz76UjiqXSv5h93OmJ-Ha8xXFFSJVgsEfSs_3RZDbuv5KfpNMHKf27NEA0TSxA3B7KxYknGRZP3IFxWKOb2ImooRqRHHI9MuTkhswX2pa4_4yPc8bDhkHauJaHDtV5WSZ8CBNuUP6LT7CM3bsnv11jltcClUM7u-QUp-t-tYkS5wvnq1f1O2CtmqOAg_TGVkHNpeZru5aUuLEP0zzbaeg-jXQFfuZLFQhGMZOFwZtP2H1iXTjKxHR5gJNqXdCAaujcwcvLiYStNU1u3AkU73Xq8YLSXERg-4-h0cy7o6ROkdc-tqzNCDChDTpu9RYJ44cpNy3lmTwXK6duhuQPGBGn0M4k3Eoj1g_WC3wX3VhYh6weYceNDPYYofngVqMAhpJFpxF3gVcFzw9I-cSnKldTfmeQoo3hRuVbYJmgqsK6_23wu70H0ES2PMCvcg2zvuxCapWp2SY70O_HbUyy0LALrmaQoVnf2nHLLItHD7wjc_YhYBOnmKQaYifh34lyt1mlYzYLW1riT9U0pZ2YzhbNtsJLrV5KdAzpNVCj8TcMNAlePaJD1_YpMKQl9eNda79r_f76jUy-Avr8GcrV80MKz3HGLeTndUoEs6pkRDZ-qDqVe9G8g2zR4vQdy0OyVC4Hb2_YJNmCcL24zFy84Iflw9v0TvJZ6IBu32nuIjhupoK58xMxxIMPw.RQdBeAPwAyVwP5j1OpFSOqOdemos5-R931QYOK0tzmU; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1619807759; SameSite=Lax; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/systems/get_facilities_500.yml b/spec/support/vcr_cassettes/vaos/v2/systems/get_facilities_500.yml index 2b1a9c7bc38..e634b0b72bb 100644 --- a/spec/support/vcr_cassettes/vaos/v2/systems/get_facilities_500.yml +++ b/spec/support/vcr_cassettes/vaos/v2/systems/get_facilities_500.yml @@ -37,9 +37,9 @@ http_interactions: Etag: - '"601db677-1493"' Set-Cookie: - - TS016f4012=01c16e2d8199ee68e087f4a95a004599723b278bd760f211fca0f1b8f2f112e95018ef539c7364d13affd895018ff1716c060db429; + - TS016f4012=stubbed_cookie; Max-Age=900; Path=/ - - vamf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UWJ3LyoyRqlZDoQK--gSICBXUFdqefxdHVq3uzptwAeQC1ec7nAtMFzKrWY-xiFzeNWz-XsI3kTYQTx2gZcxtu2gumiNQTnlQkch6YtE1FTP5E2LoB8bQ.OEgm_3GWT2T_xAvZyHKXfp-Qx-3UwOjgK-TcoR0ZNsI; + - vamfjwtv3=stubbed_token; path=/; SameSite=Lax; HttpOnly - vamftimeoutv1=1621896131; SameSite=Lax; path=/ body: diff --git a/spec/support/vcr_cassettes/vaos/v2/systems/get_facility_clinics_200.yml b/spec/support/vcr_cassettes/vaos/v2/systems/get_facility_clinics_200.yml index 2788c3c9e0f..b7200a72ef8 100644 --- a/spec/support/vcr_cassettes/vaos/v2/systems/get_facility_clinics_200.yml +++ b/spec/support/vcr_cassettes/vaos/v2/systems/get_facility_clinics_200.yml @@ -88,7 +88,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6Ikthc3N1bGtlIiwic3ViIjoiMTAwMDEyMzQ1NlYxMjM0NTYiLCJhdXRoZW50aWNhdGVkIjp0cnVlLCJhdXRoZW50aWNhdGlvbkF1dGhvcml0eSI6Imdvdi52YS52YW9zIiwiaWRUeXBlIjoiSUNOIiwiZ2VuZGVyIjoiTUFMRSIsImlzcyI6Imdvdi52YS52YW1mLnVzZXJzZXJ2aWNlLnYyIiwiZGF0ZU9mQmlydGgiOiIyMDA2MDExNyIsInZlcnNpb24iOjIuNiwiZWRpcGlkIjoiNjI4OTA5NTQ3NyIsInNzbiI6IjMyMDc5OTczMCIsImZpcnN0TmFtZSI6IlRvbWFzIiwibmJmIjoxNjMzNzE4MjE3LCJzc3QiOjE2MzM3MTgzOTYsInBhdGllbnQiOnsiZmlyc3ROYW1lIjoiVG9tYXMiLCJsYXN0TmFtZSI6Ikthc3N1bGtlIiwiZ2VuZGVyIjoiTUFMRSIsImljbiI6IjEwMDAxMjM0NTZWMTIzNDU2IiwiZG9iIjoiMjAwNi0wMS0xNyIsImRhdGVPZkJpcnRoIjoiMjAwNi0wMS0xNyIsInNzbiI6IjMyMDc5OTczMCJ9LCJkb2IiOiIyMDA2MDExNyIsInZhbWYuYXV0aC5yb2xlcyI6WyJ2ZXRlcmFuIl0sImV4cCI6MTYzMzcxOTI5NywianRpIjoiODQyODZjNzEtY2Q0OC00YzRiLTkyOTktMTczNGMyNGYwYzE2IiwibG9hIjoyfQ.nxRkIHXSesYu83GA3RQ24GKyul-KN6jch0SodfVHtoC5Bc9vfstKrinVg15GO_FBXoFZ6IzFGBl4c9iIFU2yQT4WXdPzESpOWlIfUGIMXbvcBnA0yN115Ai9P3yYEAPRxmPahPwMeUrNFc58-Em39BVk1erriO0oK5yNKQ2hTBKN2RCg3Cwi7uFOuUYX34-TWX0SA3s82mqRwzMjQVkCdgRA5jjdDFBGRpsLUTTn_ixHis_UV513f3gz9jRGDVIPZrWk45RnJnrefZqoYptFO7sdbJ5qIo30kvWASw1re1V94ckPPehG2C-Q6GL7Ox7GQVmQEoDdlq3HEy9eRctOvQ + - stubbed_token X-Request-Id: - '' Accept-Encoding: @@ -146,7 +146,7 @@ http_interactions: Referer: - https://review-instance.va.gov X-Vamf-Jwt: - - eyJhbGciOiJSUzUxMiJ9.eyJsYXN0TmFtZSI6IlJ1bm9sZnNzb24iLCJzdWIiOiIxMDAwMTIzNDU2VjEyMzQ1NiIsImF1dGhlbnRpY2F0ZWQiOnRydWUsImF1dGhlbnRpY2F0aW9uQXV0aG9yaXR5IjoiZ292LnZhLnZhb3MiLCJpZFR5cGUiOiJJQ04iLCJnZW5kZXIiOiJNQUxFIiwiaXNzIjoiZ292LnZhLnZhbWYudXNlcnNlcnZpY2UudjIiLCJkYXRlT2ZCaXJ0aCI6IjE5OTEwNTIxIiwidmVyc2lvbiI6Mi42LCJlZGlwaWQiOiI5ODAwNDY2NDI4Iiwic3NuIjoiNjA5ODYyNDU1IiwiZmlyc3ROYW1lIjoiTWFydGgiLCJuYmYiOjE2MzM3MTg0MDMsInNzdCI6MTYzMzcxODU4MiwicGF0aWVudCI6eyJmaXJzdE5hbWUiOiJNYXJ0aCIsImxhc3ROYW1lIjoiUnVub2xmc3NvbiIsImdlbmRlciI6Ik1BTEUiLCJpY24iOiIxMDAwMTIzNDU2VjEyMzQ1NiIsImRvYiI6IjE5OTEtMDUtMjEiLCJkYXRlT2ZCaXJ0aCI6IjE5OTEtMDUtMjEiLCJzc24iOiI2MDk4NjI0NTUifSwiZG9iIjoiMTk5MTA1MjEiLCJ2YW1mLmF1dGgucm9sZXMiOlsidmV0ZXJhbiJdLCJleHAiOjE2MzM3MTk0ODMsImp0aSI6ImJlMzI5YWI2LTk4NmMtNDJiMi04MTQ0LTE3NDg3NTVhYTJjYiIsImxvYSI6Mn0.dk9teFlVFhZeU-uNIQBJ-9kXEmhJaM56lZxaee46sFY1gvGCuzRS6eNbpoZMuXnr-Cbp6Ds9Fepj9bnJUt_O0p7l65Be7NnsnEvXgURu7vC0Fw_57q4isr_7DBpVNaHLzdKnzru9Z03op0BlJ_FVDTk5J8tSh9XE2xRHGMdxULGgU5cvo1qDXIuV9TiKntM2rYWdxDKLVjCCA55ybHkNuQ5yH6xukBc_8cIqiF3yELWVjxwCzF8FuQ4wlFuAHrdgfsSbEoWELVsshHBnfLX4Is44afJJw7jalfxb-iI-Hpn_dcUmwbk4W0tRtp5yLNk1Rr6KG8w6mcp7k-cZzxFg-w + - stubbed_token X-Request-Id: - '' Accept-Encoding: diff --git a/spec/support/vcr_cassettes/veteran_readiness_employment/add_claimant_info.yml b/spec/support/vcr_cassettes/veteran_readiness_employment/add_claimant_info.yml index 26504c5d60b..90e4f9739d6 100644 --- a/spec/support/vcr_cassettes/veteran_readiness_employment/add_claimant_info.yml +++ b/spec/support/vcr_cassettes/veteran_readiness_employment/add_claimant_info.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService?WSDL + uri: /PersonWebServiceBean/PersonWebService?WSDL body: encoding: US-ASCII string: '' @@ -700,7 +700,7 @@ http_interactions: recorded_at: Tue, 03 Nov 2020 14:27:51 GMT - request: method: post - uri: https://internal-dsva-vagov-dev-fwdproxy-1893365470.us-gov-west-1.elb.amazonaws.com:4447/PersonWebServiceBean/PersonWebService + uri: /PersonWebServiceBean/PersonWebService body: encoding: UTF-8 string: |-