Class GovernanceActionEngineResource
- java.lang.Object
-
- org.odpi.openmetadata.engineservices.governanceaction.server.spring.GovernanceActionEngineResource
-
@RestController @RequestMapping("/servers/{serverName}/open-metadata/engine-services/governance-action/users/{userId}") public class GovernanceActionEngineResource extends ObjectGovernanceActionEngineResource provides the server-side catcher for REST calls using Spring that target a specific governance action engine hosted in a engine host server. The engine host server routes these requests to the named governance action engine.
-
-
Constructor Summary
Constructors Constructor Description GovernanceActionEngineResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProviderReportResponsevalidateConnector(String serverName, String userId, String connectorProviderClassName)Validate the connector and return its connector type.
-
-
-
Method Detail
-
validateConnector
@GetMapping(path="/validate-connector/{connectorProviderClassName}") public ProviderReportResponse validateConnector(@PathVariable String serverName, @PathVariable String userId, @PathVariable String connectorProviderClassName)Validate the connector and return its connector type. The integration service does not need to be running in the integration daemon in order for this call to be successful. It only needs to be registered with the integration daemon.- Parameters:
serverName- integration daemon server nameuserId- calling userconnectorProviderClassName- name of a specific connector or null for all connectors- Returns:
- connector type or InvalidParameterException the connector provider class name is not a valid connector fo this service UserNotAuthorizedException user not authorized to issue this request PropertyServerException there was a problem detected by the integration service
-
-