Class LineageIntegratorRESTServices
- java.lang.Object
-
- org.odpi.openmetadata.integrationservices.lineage.rest.LineageIntegratorRESTServices
-
public class LineageIntegratorRESTServices extends Object
LineageIntegratorRESTServices provides the ability to validate that a connector will run successfully in this integration service. It is a convenience method for configuration tools.
-
-
Constructor Summary
Constructors Constructor Description LineageIntegratorRESTServices()The constructor registers this service with the integration daemon.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoidResponsepublishOpenLineageEvent(String serverName, String userId, String event)Pass an open lineage event to the integration service.ConnectorTypeResponsevalidateConnector(String serverName, String userId, String connectorProviderClassName)Validate the connector and return its connector type.
-
-
-
Method Detail
-
validateConnector
public ConnectorTypeResponse validateConnector(String serverName, String userId, String connectorProviderClassName)
Validate the connector and return its connector type.- 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 for this service; UserNotAuthorizedException user not authorized to issue this request or PropertyServerException there was a problem detected by the integration service
-
publishOpenLineageEvent
public VoidResponse publishOpenLineageEvent(String serverName, String userId, String event)
Pass an open lineage event to the integration service. It will pass it on to the integration connectors that have registered a listener for open lineage events.- Parameters:
serverName- integration daemon server nameuserId- calling userevent- open lineage event to publish.- Returns:
- void or InvalidParameterException one of the parameters is null or invalid; UserNotAuthorizedException the caller is not authorized to call the service or PropertyServerException there is a problem processing the request
-
-