Class OriginSeekerGovernanceActionConnector
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.governanceaction.GovernanceActionServiceConnector
org.odpi.openmetadata.frameworks.governanceaction.RemediationGovernanceActionService
org.odpi.openmetadata.adapters.connectors.governanceactions.remediation.OriginSeekerGovernanceActionConnector
- All Implemented Interfaces:
org.odpi.openmetadata.frameworks.auditlog.AuditLoggingComponent,org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension,org.odpi.openmetadata.frameworks.governanceaction.GovernanceActionService
public class OriginSeekerGovernanceActionConnector
extends org.odpi.openmetadata.frameworks.governanceaction.RemediationGovernanceActionService
OriginSeekerGovernanceActionConnector uses the lineage mapping relationships to determine the origin of the asset that is passed
as an action target. It follows each lineage path, collecting the AssetOrigin classifications. If there is only one, it is
added to the action target asset and the output guard is set to origin-assigned. If there are multiple origin's identified they are
added to the detectedOrigins request parameter and the output guard is multiple-origins-detected.
If no AssetOrigin classifications are found, the output guard is no-origins-detected.
Note: This implementation currently only follows LineageMapping links between assets, it needs extending to support lineage mapping
between ports and schema attributes.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.frameworks.connectors.ConnectorBase.ProtectedConnection -
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.governanceaction.RemediationGovernanceActionService
governanceContextFields inherited from class org.odpi.openmetadata.frameworks.governanceaction.GovernanceActionServiceConnector
auditLog, embeddedConnectors, governanceServiceNameFields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstart()Indicates that the governance action service is completely configured and can begin processing.Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.RemediationGovernanceActionService
disconnect, setGovernanceContextMethods inherited from class org.odpi.openmetadata.frameworks.governanceaction.GovernanceActionServiceConnector
getConnectorComponentDescription, handleUnexpectedException, initializeEmbeddedConnectors, setAuditLog, setGovernanceServiceName, validateContextMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, isActive, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp
-
Constructor Details
-
OriginSeekerGovernanceActionConnector
public OriginSeekerGovernanceActionConnector()
-
-
Method Details
-
start
public void start() throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedExceptionIndicates that the governance action service is completely configured and can begin processing. This is a standard method from the Open Connector Framework (OCF) so be sure to call super.start() at the start of your overriding version.- Overrides:
startin classorg.odpi.openmetadata.frameworks.governanceaction.RemediationGovernanceActionService- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException- there is a problem within the governance action service.
-