Class InfrastructureIntegratorResource
java.lang.Object
org.odpi.openmetadata.integrationservices.infrastructure.server.spring.InfrastructureIntegratorResource
@RestController
@RequestMapping("/servers/{serverName}/open-metadata/integration-services/infrastructure-integrator/users/{userId}")
public class InfrastructureIntegratorResource
extends Object
InfrastructureIntegratorResource provides the server-side catcher for REST calls using Spring.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvalidateConnector
(String serverName, String userId, String connectorProviderClassName) Validate the connector and return its connector type.
-
Constructor Details
-
InfrastructureIntegratorResource
public InfrastructureIntegratorResource()
-
-
Method Details
-
validateConnector
@GetMapping(path="/validate-connector/{connectorProviderClassName}") public ConnectorReportResponse 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
-