Class OriginSeekerGovernanceActionConnector
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.Connector
-
- org.odpi.openmetadata.frameworks.connectors.ConnectorBase
-
- org.odpi.openmetadata.frameworks.governanceaction.GovernanceActionService
-
- org.odpi.openmetadata.frameworks.governanceaction.RemediationGovernanceActionService
-
- org.odpi.openmetadata.adapters.connectors.governanceactions.remediation.OriginSeekerGovernanceActionConnector
-
- All Implemented Interfaces:
AuditLoggingComponent,VirtualConnectorExtension
public class OriginSeekerGovernanceActionConnector extends 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
ConnectorBase.ProtectedConnection
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.governanceaction.RemediationGovernanceActionService
governanceContext
-
Fields inherited from class org.odpi.openmetadata.frameworks.governanceaction.GovernanceActionService
auditLog, embeddedConnectors, governanceServiceName
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties
-
-
Constructor Summary
Constructors Constructor Description OriginSeekerGovernanceActionConnector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart()Indicates that the governance action service is completely configured and can begin processing.-
Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.RemediationGovernanceActionService
disconnect, setGovernanceContext
-
Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.GovernanceActionService
getConnectorComponentDescription, handleUnexpectedException, initializeEmbeddedConnectors, setAuditLog, setGovernanceServiceName, validateContext
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, isActive, toString
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp
-
-
-
-
Method Detail
-
start
public void start() throws 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 classRemediationGovernanceActionService- Throws:
ConnectorCheckedException- there is a problem within the governance action service.
-
-