Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API-42927-veteran-rep-service-standardization #19872

Merged
merged 26 commits into from
Jan 16, 2025

Conversation

stiehlrod
Copy link
Contributor

@stiehlrod stiehlrod commented Dec 12, 2024

Summary

  • Removes extra methods from definitions file.

Related issue(s)

Testing done

  • post '/:veteranId/power-of-attorney-request', to: 'request#create'
  • search for wsdl in logs
  • test in rails c
if Settings.bgs.ssl_verify_mode == 'none'
OpenSSL::SSL::VERIFY_NONE
else
OpenSSL::SSL::VERIFY_PEER
end
ClaimsApi::LocalBGS.new(external_uid:'a', external_key:'b').fetch_namespace(Faraday::Connection.new(ssl: { verify_mode: @ssl_verify_mode }), 'VDC/VeteranRepresentativeService')

Response

Rails -- ClaimsApi :: local_bgs :: event: connection_wsdl_get :: endpoint: VDC/VeteranRepresentativeService :: duration: 0.598 :: Location: /Users/jennicastiehl/Oddball_Github/vets-api/modules/claims_api/lib/bgs_service/local_bgs.rb:223
=> "http://gov.va.vba.benefits.vdc/services"

What areas of the site does it impact?

modified: modules/claims_api/app/clients/claims_api/bgs_client/definitions.rb

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • Events are being sent to the appropriate logging solution
  • Documentation has been updated (link to documentation)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
  • Feature/bug has a monitor built into Datadog (if applicable)
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected
  • I added a screenshot of the developed feature

@stiehlrod stiehlrod self-assigned this Dec 12, 2024
@stiehlrod stiehlrod requested a review from a team as a code owner December 12, 2024 20:58
@va-vfs-bot va-vfs-bot temporarily deployed to API-42927-veteran-rep-service-standardization/main/main December 12, 2024 21:59 Inactive
@stiehlrod stiehlrod marked this pull request as draft December 13, 2024 18:46
… Skips test until further refactor efforts can be made.
@va-vfs-bot va-vfs-bot temporarily deployed to API-42927-veteran-rep-service-standardization/main/main December 13, 2024 19:46 Inactive
Copy link

github-actions bot commented Dec 17, 2024

1 Warning
⚠️ This PR changes 255 LoC (not counting whitespace/newlines).

In order to ensure each PR receives the proper attention it deserves, we recommend not exceeding
200. Expect some delays getting reviews.

File Summary

Files

  • modules/claims_api/lib/bgs_service/veteran_representative_service.rb (+34/-9)

  • modules/claims_api/lib/bgs_service/veteran_representative_service/create_veteran_representative_request.rb (+0/-17)

  • modules/claims_api/lib/bgs_service/veteran_representative_service/read_all_veteran_representatives.rb (+0/-28)

  • modules/claims_api/spec/lib/claims_api/bgs/veteran_representative_service/create_veteran_representative_request_spec.rb (+6/-18)

  • modules/claims_api/spec/lib/claims_api/bgs/veteran_representative_service/read_all_veteran_representatives_spec.rb (+51/-88)

  • modules/claims_api/spec/lib/claims_api/bgs/veteran_representative_service/veteran_representative_service_spec.rb (+3/-1)

    Note: We exclude files matching the following when considering PR size:

    *.csv, *.json, *.tsv, *.txt, *.md, Gemfile.lock, app/swagger, modules/mobile/docs, spec/fixtures/, spec/support/vcr_cassettes/, modules/mobile/spec/support/vcr_cassettes/, db/seeds, modules/vaos/app/docs, modules/meb_api/app/docs, modules/appeals_api/app/swagger/, *.bru, *.pdf
    

Big PRs are difficult to review, often become stale, and cause delays.

Generated by 🚫 Danger

@stiehlrod stiehlrod marked this pull request as ready for review December 17, 2024 17:28
@stiehlrod stiehlrod requested a review from a team December 17, 2024 17:29
@stiehlrod
Copy link
Contributor Author

@FonzMP Due to the large amounts of change, I am opting to create a new PR in order to re-work the tests that we discussed.

@va-vfs-bot va-vfs-bot temporarily deployed to API-42927-veteran-rep-service-standardization/main/main December 17, 2024 17:31 Inactive
@stiehlrod stiehlrod marked this pull request as draft December 19, 2024 21:33
@va-vfs-bot va-vfs-bot temporarily deployed to API-42927-veteran-rep-service-standardization/main/main January 6, 2025 20:17 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to API-42927-veteran-rep-service-standardization/main/main January 6, 2025 20:35 Inactive
…ts-api into API-42927-veteran-rep-service-standardization

merges master
…b.com:department-of-veterans-affairs/vets-api into API-42927-veteran-rep-service-standardization

merges remote
@va-vfs-bot va-vfs-bot temporarily deployed to API-42927-veteran-rep-service-standardization/main/main January 8, 2025 20:58 Inactive
@stiehlrod stiehlrod marked this pull request as ready for review January 9, 2025 18:01
@va-vfs-bot va-vfs-bot temporarily deployed to API-42927-veteran-rep-service-standardization/main/main January 9, 2025 18:31 Inactive
@@ -61,7 +47,7 @@
'city' => 'Bridgeport',
'claimantPtcpntId' => '182358',
'claimantRelationship' => nil,
'formTypeCode' => '21-22',
'formTypeCode' => '21-22 ',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this space intentional?

@stiehlrod stiehlrod merged commit 9c1763e into master Jan 16, 2025
22 checks passed
@stiehlrod stiehlrod deleted the API-42927-veteran-rep-service-standardization branch January 16, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants