-
Notifications
You must be signed in to change notification settings - Fork 56
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
BGSClient rework for static action -> service -> bean
definitions
#16736
BGSClient rework for static action -> service -> bean
definitions
#16736
Conversation
Generated by 🚫 Danger |
a1297c7
to
1245b69
Compare
1245b69
to
d51cec4
Compare
d51cec4
to
fddb992
Compare
fddb992
to
cc2ff69
Compare
cc2ff69
to
bf0d3cb
Compare
bf0d3cb
to
dfce133
Compare
dfce133
to
b529bcd
Compare
008c027
to
22b88d4
Compare
22b88d4
to
7efeb15
Compare
action -> service -> bean
definition
06dbc52
to
0f8bb32
Compare
9ccf78b
to
e2c8f4c
Compare
ffd7078
to
dd7c60a
Compare
action -> service -> bean
definitionaction -> service -> bean
definitions
action -> service -> bean
definitionsaction -> service -> bean
definitions
…` definition - Consolidate XML builder helper into `BGSClient.perform_request` - Now the body can either be passed in as an argument or a block can be provided that leverages this helper (but not both) - (This is what initiated the snowball into reconsidering namespaces) - Hardcode data namespace alias (based on this [BGS-wide audit](https://github.com/department-of-veterans-affairs/bgs-catalog/blob/main/namespaces.xml) of beans with >1 namespace) since the alias is arbitrary - No longer fetching WSDL in order to extract namespaces - To enable this, service action is remodeled as `action -> service -> bean` in order to get the bean definition's static namespaces (if it truly is static) - Adapter function added to `LocalBGSRefactored` adapter to locate the right hardcoded definition (so all existing calls to `LocalBGS` would also stop fetching the WSDL if we migrate) - `BGSClient.healthcheck` now accepts a proper service definition due to the above remodel - Unrelated change to proxy `breakers_service` to make that transparent in the migration as well
dd7c60a
to
1e8bbea
Compare
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.
Changes
BGSClient.perform_request
search
anddecide
codesoap
)action -> service -> bean
in order to get the bean definition's static namespaces (still nee to determine it truly is static)LocalBGSRefactored
adapter to locate the right hardcoded definition (so all existing calls toLocalBGS
would also stop fetching the WSDL if we migrate)ClaimantWebService
andEBenefitsBnftClaimStatusWebService
already added in order to getlocal_bgs_refactored_spec
(which duplicateslocal_bgs_spec
) to pass, which was a decent test of the lookup functionBGSClient.healthcheck
now accepts a proper service definition due to the above remodelbreakers_service
to make that transparent in the migration as well