diff --git a/modules/claims_api/app/clients/claims_api/bgs_client/definitions.rb b/modules/claims_api/app/clients/claims_api/bgs_client/definitions.rb index 848377388f1..7b66b2dd35b 100644 --- a/modules/claims_api/app/clients/claims_api/bgs_client/definitions.rb +++ b/modules/claims_api/app/clients/claims_api/bgs_client/definitions.rb @@ -123,7 +123,7 @@ module IntentToFileWebService ## # OrgWebServiceBean # - module OrgWebServiceBean + module OrgWebService DEFINITION = Bean.new( path: 'OrgWebServiceBean', @@ -134,23 +134,6 @@ module OrgWebServiceBean ) end - module OrgWebService - DEFINITION = - Service.new( - bean: OrgWebServiceBean::DEFINITION, - path: 'OrgWebService' - ) - - module FindOrgBySSN - DEFINITION = - Action.new( - service: OrgWebService::DEFINITION, - name: 'findPoaHistoryByPtcpntId', - key: 'PoaHistory' - ) - end - end - ## # PersonWebServiceBean # diff --git a/modules/claims_api/spec/lib/claims_api/find_definition_spec.rb b/modules/claims_api/spec/lib/claims_api/find_definition_spec.rb index 6373e6f137d..b47b4e87eba 100644 --- a/modules/claims_api/spec/lib/claims_api/find_definition_spec.rb +++ b/modules/claims_api/spec/lib/claims_api/find_definition_spec.rb @@ -16,21 +16,6 @@ Flipper.enable(:lighthouse_claims_api_hardcode_wsdl) end - context 'OrgWebServiceBean' do - let(:endpoint) { 'OrgWebServiceBean/OrgWebService' } - let(:action) { 'findPoaHistoryByPtcpntId' } - let(:key) { 'PoaHistory' } - - it 'response with the correct attributes for OrgWebServiceBean' do - result = subject.for_action(endpoint, action) - parsed_result = JSON.parse(result.to_json) - - expect(parsed_result['service']['bean']['path']).to eq 'OrgWebServiceBean' - expect(parsed_result['service']['path']).to eq 'OrgWebService' - expect(parsed_result['service']['bean']['namespaces']['target']).to eq 'http://org.services.vetsnet.vba.va.gov/' - end - end - # This one doesn't have `Bean` at the end context 'TrackedItemService' do let(:endpoint) { 'TrackedItemService/TrackedItemService' } @@ -166,18 +151,6 @@ Flipper.enable(:lighthouse_claims_api_hardcode_wsdl) end - context 'OrgWebService' do - let(:endpoint) { 'OrgWebServiceBean/OrgWebService' } - - it 'response with the correct namespace' do - result = subject.for_service(endpoint) - parsed_result = JSON.parse(result.to_json) - expect(parsed_result['bean']['path']).to eq 'OrgWebServiceBean' - expect(parsed_result['path']).to eq 'OrgWebService' - expect(parsed_result['bean']['namespaces']['target']).to eq 'http://org.services.vetsnet.vba.va.gov/' - end - end - context 'TrackedItemService' do let(:endpoint) { 'TrackedItemService/TrackedItemService' }