Class LineageIntegratorRESTServices
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.rest.LineageIntegratorRESTServices
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
ConstructorsConstructorDescriptionThe constructor registers this service with the integration daemon. -
Method Summary
Modifier and TypeMethodDescriptionvoidpublishOpenLineageEvent(String serverName, String userId, String event) Pass an open lineage event to the integration service.org.odpi.openmetadata.commonservices.ffdc.rest.ConnectorReportResponsevalidateConnector(String serverName, String userId, String connectorProviderClassName) Validate the connector and return its connector type.
-
Constructor Details
-
LineageIntegratorRESTServices
public LineageIntegratorRESTServices()The constructor registers this service with the integration daemon. It is called with the spring module is picked up by the component scan and instantiated.
-
-
Method Details
-
validateConnector
public org.odpi.openmetadata.commonservices.ffdc.rest.ConnectorReportResponse 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
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.
-