Class OriginSeekerGovernanceActionConnector

All Implemented Interfaces:
AuditLoggingComponent, SecureConnectorExtension, VirtualConnectorExtension, GovernanceActionService

public class OriginSeekerGovernanceActionConnector extends GeneralGovernanceActionService
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.