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

    governanceContext

    Fields inherited from class org.odpi.openmetadata.frameworks.governanceaction.GovernanceActionServiceConnector

    auditLog, embeddedConnectors, governanceServiceName

    Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase

    connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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.GovernanceActionServiceConnector

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OriginSeekerGovernanceActionConnector

      public OriginSeekerGovernanceActionConnector()
  • Method Details

    • start

      public void start() throws org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException
      Indicates 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:
      start in class org.odpi.openmetadata.frameworks.governanceaction.RemediationGovernanceActionService
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException - there is a problem within the governance action service.