-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Api 42322 extract org web service bean from local bgs #19796
Merged
mchristiansonVA
merged 30 commits into
master
from
API-42322-Extract-OrgWebServiceBean-from-localBGS
Jan 8, 2025
Merged
Changes from 11 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
4c221bd
Add OrgWebService
mchristiansonVA 5a52488
Merge remote-tracking branch 'origin/master' into API-42322-Extract-O…
mchristiansonVA ff34c4b
Merge remote-tracking branch 'origin/master' into API-42322-Extract-O…
mchristiansonVA e4e22c2
Merge remote-tracking branch 'origin/master' into API-42322-Extract-O…
mchristiansonVA f1aa665
Initial commit, WIP
mchristiansonVA fe35be6
Add requires to resolve NameError
mchristiansonVA 56ac76a
Remove byebug
mchristiansonVA a479352
Merge remote-tracking branch 'origin/master' into API-42322-Extract-O…
mchristiansonVA fe4dcb4
Update definitions and related spec
mchristiansonVA 229218f
Remove find_by_ssn
mchristiansonVA 66f4345
Rubocop adjustment
mchristiansonVA dd784a9
Remove commented code
mchristiansonVA 13ba2af
Merge w/ master, resolve conflicts
mchristiansonVA 97c5f8a
Revert change to ClaimantService method
mchristiansonVA 3a1e4fb
Merge remote-tracking branch 'origin/master' into API-42322-Extract-O…
mchristiansonVA 915a8d7
Merge branch 'master' into API-42322-Extract-OrgWebServiceBean-from-l…
mchristiansonVA b4ed3c4
Add back local_bgs_service for Claimant call
mchristiansonVA f8672ab
Merge remote-tracking branch 'origin/master' into API-42322-Extract-O…
mchristiansonVA 36f0d7d
Merge w/ master
mchristiansonVA fa663a7
Reverts definitions file changes to skip WSDL calls
mchristiansonVA 4735c99
Merge branch 'master' into API-42322-Extract-OrgWebServiceBean-from-l…
mchristiansonVA a478138
Merge remote-tracking branch 'origin/master' into API-42322-Extract-O…
mchristiansonVA bedb3bb
Use method instead of hardcoded text
mchristiansonVA 509dd31
Merge branch 'master' into API-42322-Extract-OrgWebServiceBean-from-l…
mchristiansonVA 3245b08
Merge branch 'master' into API-42322-Extract-OrgWebServiceBean-from-l…
mchristiansonVA 3206358
Merge branch 'master' into API-42322-Extract-OrgWebServiceBean-from-l…
mchristiansonVA ffa2ba5
Merge branch 'master' into API-42322-Extract-OrgWebServiceBean-from-l…
mchristiansonVA b2c0130
Merge w/ master, resolve conflicts
mchristiansonVA f231368
Fix test for org web service
mchristiansonVA 9914ee0
Merge branch 'master' into API-42322-Extract-OrgWebServiceBean-from-l…
mchristiansonVA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# frozen_string_literal: true | ||
|
||
module ClaimsApi | ||
class OrgWebService < ClaimsApi::LocalBGS | ||
def bean_name | ||
'OrgWebServiceBean/OrgWebService' | ||
end | ||
|
||
def find_poa_history_by_ptcpnt_id(id) | ||
body = Nokogiri::XML::DocumentFragment.parse <<~EOXML | ||
<ptcpntId /> | ||
EOXML | ||
|
||
{ ptcpntId: id }.each do |k, v| | ||
body.xpath("./*[local-name()='#{k}']")[0].content = v | ||
end | ||
|
||
make_request(endpoint: 'OrgWebServiceBean/OrgWebService', action: 'findPoaHistoryByPtcpntId', body:, | ||
key: 'PoaHistory') | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can use bean_name here for the endpoint so it's changeable in one place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be a nice fix but not critical to functionality.