Package ca.cdr.api.fhirgw.svc
Interface IOperationOrchestrator
- All Superinterfaces:
IBaseOrchestrator<GatewayOperationRouteJson>
The implementer of this interface will provide the logics required to delegate and orchestrate the result of
the execution of an operation on a target server.
-
Method Summary
Modifier and TypeMethodDescriptioninvoke
(OperationRequest theOperationRequest, ServletRequestDetails theRequestDetails) Called by a system provider to invoke a FHIR operation which returns a single resource.invokeBundleReturning
(OperationRequest theOperationRequest, ServletRequestDetails theRequestDetails) Called by a system provider to invoke a FHIR operation which returns a page of results.invokeGraphql
(OperationRequest theOperationRequest, ServletRequestDetails theRequestDetails, String theGraphQLQuery) Called by a system provider to invoke a graphql operationinvokeOperationResponseReturning
(OperationRequest theOperationRequest, ServletRequestDetails theRequestDetails) Called by a system provider to invoke a FHIR operation on a surrogate server.Methods inherited from interface ca.cdr.api.fhirgw.svc.IBaseOrchestrator
addRoute, setTargets
-
Method Details
-
invoke
Called by a system provider to invoke a FHIR operation which returns a single resource.- Parameters:
theOperationRequest
-theRequestDetails
-- Returns:
- usually a Parameters resource
-
invokeBundleReturning
IBundleProvider invokeBundleReturning(OperationRequest theOperationRequest, ServletRequestDetails theRequestDetails) Called by a system provider to invoke a FHIR operation which returns a page of results.- Parameters:
theOperationRequest
-theRequestDetails
-- Returns:
-
invokeGraphql
String invokeGraphql(OperationRequest theOperationRequest, ServletRequestDetails theRequestDetails, String theGraphQLQuery) Called by a system provider to invoke a graphql operation- Parameters:
theOperationRequest
-theRequestDetails
-theGraphQLQuery
-- Returns:
-
invokeOperationResponseReturning
List<OperationResponse> invokeOperationResponseReturning(OperationRequest theOperationRequest, ServletRequestDetails theRequestDetails) Called by a system provider to invoke a FHIR operation on a surrogate server. The returned OperationResponse's can be used to extract/transform target responses as per the implementer's choosing.- Parameters:
theOperationRequest
-theRequestDetails
-- Returns:
- a list of OperationResponse's
-