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-42308-bgs-service-standardization #19971

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
203 changes: 62 additions & 141 deletions modules/claims_api/app/clients/claims_api/bgs_client/definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,18 @@ module ClaimantServiceBean
)
end

module ClaimantService
DEFINITION =
Service.new(
bean: ClaimantServiceBean::DEFINITION,
path: 'ClaimantService'
)
end

##
# ContentionServiceBean
#
module ContentionService
module ContentionServiceBean
DEFINITION =
Bean.new(
path: 'ContentionService',
Expand All @@ -75,6 +83,14 @@ module ContentionService
)
end

module ContentionService
DEFINITION =
Service.new(
bean: ContentionServiceBean::DEFINITION,
path: 'ContentionService'
)
end

# CorporateUpdateServiceBean
#
module CorporateUpdateServiceBean
Expand All @@ -94,15 +110,6 @@ module CorporateUpdateWebService
bean: CorporateUpdateServiceBean::DEFINITION,
path: 'CorporateUpdateWebService'
)

module UpdatePoaAccess
DEFINITION =
Action.new(
service: CorporateUpdateWebService::DEFINITION,
name: 'updatePoaAccess',
key: 'return'
)
end
end

##
Expand Down Expand Up @@ -130,7 +137,7 @@ module EBenefitsBenefitClaimStatusWebService
##
# IntentToFileWebServiceBean
#
module IntentToFileWebService
module IntentToFileWebServiceBean
DEFINITION =
Bean.new(
path: 'IntentToFileWebServiceBean',
Expand All @@ -141,10 +148,18 @@ module IntentToFileWebService
)
end

module IntentToFileWebService
DEFINITION =
Service.new(
bean: IntentToFileWebServiceBean::DEFINITION,
path: 'IntentToFileWebService'
)
end

##
# OrgWebServiceBean
#
module OrgWebService
module OrgWebServiceBean
DEFINITION =
Bean.new(
path: 'OrgWebServiceBean',
Expand All @@ -155,10 +170,18 @@ module OrgWebService
)
end

module OrgWebService
DEFINITION =
Service.new(
bean: OrgWebServiceBean::DEFINITION,
path: 'OrgWebService'
)
end

##
# PersonWebServiceBean
#
module PersonWebService
module PersonWebServiceBean
DEFINITION =
Bean.new(
path: 'PersonWebServiceBean',
Expand All @@ -169,10 +192,18 @@ module PersonWebService
)
end

module PersonWebService
DEFINITION =
Service.new(
bean: PersonWebServiceBean::DEFINITION,
path: 'PersonWebService'
)
end

##
# StandardDataService
#
module StandardDataService
module StandardDataServiceBean
DEFINITION =
Bean.new(
path: 'StandardDataService',
Expand All @@ -183,10 +214,18 @@ module StandardDataService
)
end

module StandardDataService
DEFINITION =
Service.new(
bean: StandardDataServiceBean::DEFINITION,
path: 'StandardDataService'
)
end

##
# StandardDataWebServiceBean
#
module StandardDataWebService
module StandardDataWebServiceBean
DEFINITION =
Bean.new(
path: 'StandardDataWebServiceBean',
Expand All @@ -197,6 +236,14 @@ module StandardDataWebService
)
end

module StandardDataWebService
DEFINITION =
Service.new(
bean: StandardDataWebServiceBean::DEFINITION,
path: 'StandardDataWebService'
)
end

##
# TrackedItemService
#
Expand All @@ -218,15 +265,6 @@ module TrackedItemService
bean: TrackedItemServiceBean::DEFINITION,
path: 'TrackedItemService'
)

module FindTrackedItems
DEFINITION =
Action.new(
service: TrackedItemService::DEFINITION,
name: 'findTrackedItems',
key: 'BenefitClaim'
)
end
end

##
Expand All @@ -249,42 +287,6 @@ module ManageRepresentativeService
bean: Vdc::DEFINITION,
path: 'ManageRepresentativeService'
)

module ReadPoaRequest
DEFINITION =
Action.new(
service: ManageRepresentativeService::DEFINITION,
name: 'readPOARequest',
key: 'POARequestRespondReturnVO'
)
end

module ReadPoaRequestByParticipantId
DEFINITION =
Action.new(
service: ManageRepresentativeService::DEFINITION,
name: 'readPOARequestByPtcpntId',
key: 'POARequestRespondReturnVO'
)
end

module UpdatePoaRequest
DEFINITION =
Action.new(
service: ManageRepresentativeService::DEFINITION,
name: 'updatePOARequest',
key: 'POARequestUpdate'
)
end

module UpdatePoaRelationship
DEFINITION =
Action.new(
service: ManageRepresentativeService::DEFINITION,
name: 'updatePOARelationship',
key: 'POARelationshipReturnVO'
)
end
end

module VeteranRepresentativeService
Expand All @@ -293,24 +295,6 @@ module VeteranRepresentativeService
bean: Vdc::DEFINITION,
path: 'VeteranRepresentativeService'
)

module ReadAllVeteranRepresentatives
DEFINITION =
Action.new(
service: VeteranRepresentativeService::DEFINITION,
name: 'readAllVeteranRepresentatives',
key: 'VeteranRepresentativeReturnList'
)
end

module CreateVeteranRepresentative
DEFINITION =
Action.new(
service: VeteranRepresentativeService::DEFINITION,
name: 'createVeteranRepresentative',
key: 'VeteranRepresentativeReturn'
)
end
end

##
Expand Down Expand Up @@ -354,15 +338,6 @@ module VnpAtchmsService
bean: VnpAtchmsWebServiceBean::DEFINITION,
path: 'VnpAtchmsService'
)

module VnpAtchmsCreate
DEFINITION =
Action.new(
service: VnpAtchmsService::DEFINITION,
name: 'vnpAtchmsCreate',
key: 'return'
)
end
end

##
Expand All @@ -385,15 +360,6 @@ module VnpPersonService
bean: VnpPersonWebServiceBean::DEFINITION,
path: 'VnpPersonService'
)

module FindPoaByParticipantId
DEFINITION =
Action.new(
service: VnpPersonService::DEFINITION,
name: 'vnpPersonCreate',
key: 'return'
)
end
end

##
Expand All @@ -416,15 +382,6 @@ module VnpProcFormService
bean: VnpProcFormWebServiceBean::DEFINITION,
path: 'VnpProcFormService'
)

module VnpProcFormCreate
DEFINITION =
Action.new(
service: VnpProcFormService::DEFINITION,
name: 'vnpProcFormCreate',
key: 'return'
)
end
end

##
Expand All @@ -447,15 +404,6 @@ module VnpProcServiceV2
bean: VnpProcWebServiceBeanV2::DEFINITION,
path: 'VnpProcServiceV2'
)

module VnpProcCreate
DEFINITION =
Action.new(
service: VnpProcServiceV2::DEFINITION,
name: 'vnpProcCreate',
key: 'return'
)
end
end

##
Expand All @@ -478,15 +426,6 @@ module VnpPtcpntAddrsService
bean: VnpPtcpntAddrsWebServiceBean::DEFINITION,
path: 'VnpPtcpntAddrsService'
)

module VnpPtcpntAddrsCreate
DEFINITION =
Action.new(
service: VnpPtcpntAddrsService::DEFINITION,
name: 'vnpPtcpntAddrsCreate',
key: 'return'
)
end
end

##
Expand All @@ -509,15 +448,6 @@ module VnpPtcpntPhoneService
bean: VnpPtcpntPhoneWebServiceBean::DEFINITION,
path: 'VnpPtcpntPhoneService'
)

module FindPersonBySSN
DEFINITION =
Action.new(
service: VnpPtcpntPhoneService::DEFINITION,
name: 'vnpPtcpntPhoneCreate',
key: 'return'
)
end
end

##
Expand All @@ -540,15 +470,6 @@ module VnpPtcpntService
bean: VnpPtcpntWebServiceBean::DEFINITION,
path: 'VnpPtcpntService'
)

module VnpPtcpntCreate
DEFINITION =
Action.new(
service: VnpPtcpntService::DEFINITION,
name: 'vnpPtcpntCreate',
key: 'return'
)
end
end
end
end
Expand Down
Loading
Loading