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
ConstructorDescriptionThe constructor registers this service with the integration daemon. -
Method Summary
Modifier and TypeMethodDescriptionvoid
publishOpenLineageEvent
(String serverName, String userId, String event) Pass an open lineage event to the integration service.validateConnector
(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 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.
-