Class AtlasRelatedElementsIntegrationModule
java.lang.Object
org.odpi.openmetadata.adapters.connectors.apacheatlas.integration.modules.AtlasIntegrationModuleBase
org.odpi.openmetadata.adapters.connectors.apacheatlas.integration.modules.AtlasRelatedElementsIntegrationModule
AtlasRelatedElementsIntegrationModule synchronizes related entities and classifications attached to Apache Atlas originating entities within
the open metadata ecosystem. It is called after the registered integration modules have established the key assets into the open metadata ecosystem.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.adapters.connectors.apacheatlas.integration.modules.AtlasIntegrationModuleBase
atlasAssetProperties, atlasClient, atlasCreateTimePropertyName, atlasDataFileProperties, atlasDescriptionPropertyName, atlasDisplayNamePropertyName, atlasModifiedTimePropertyName, atlasNamePropertyName, atlasOwnerPropertyName, atlasPathPropertyName, atlasQualifiedNamePropertyName, atlasUserDescriptionPropertyName, auditLog, collaborationExchangeService, connectionProperties, connectorName, dataAssetExchangeService, egeriaGUIDPropertyName, egeriaOwnedPropertyName, egeriaOwnerPropertyName, egeriaOwnerTypeName, egeriaQualifiedNamePropertyName, egeriaTypeNamePropertyName, embeddedConnectors, moduleName, myContext, openMetadataAccess, openMetadataAssociatedElementPropertyName, openMetadataAssociatedGlossaryPropertyName, openMetadataCorrelationLinkTypeName, openMetadataCorrelationPropertyName, openMetadataCorrelationTypeName, openMetadataGlossaryCorrelationLinkTypeName, stewardshipExchangeService, targetRootURL
-
Constructor Summary
ConstructorDescriptionAtlasRelatedElementsIntegrationModule
(String connectorName, ConnectionProperties connectionProperties, AuditLog auditLog, CatalogIntegratorContext myContext, String targetRootURL, ApacheAtlasRESTConnector atlasClient, List<Connector> embeddedConnectors, String informalTagsMappingPolicy, String relatedClassificationPolicy, List<String> ignoreClassificationList, String relatedEntityPolicy, List<String> ignoreRelationshipList) Constructor for the module is supplied with the runtime context in order to operate. -
Method Summary
Modifier and TypeMethodDescriptionvoid
synchronizeRelatedElements
(Map<String, ValidValueElement> referenceClassifications) Handle additional related classifications and relationships/entities.Methods inherited from class org.odpi.openmetadata.adapters.connectors.apacheatlas.integration.modules.AtlasIntegrationModuleBase
addPropertyMapToAdditionalProperties, addRemainingPropertiesToAdditionalProperties, addStringArrayToAdditionalProperties, atlasUpdateRequired, createAtlasDataSetAsDataSetInEgeria, egeriaUpdateRequired, ensureAtlasExternalIdentifier, getAtlasBooleanProperty, getAtlasGUID, getAtlasPropertyMap, getAtlasStringArray, getAtlasStringProperty, getDataAssetProperties, getEgeriaDataFileProperties, getEgeriaDataSetProperties, getEgeriaGUID, getExternalIdentifier, getExternalIdentifier, getProcessProperties, getSchemaAttributeProperties, getValidAtlasGUIDs, isAtlasOwnedElement, isEgeriaOwned, isEgeriaOwned, isEgeriaOwned, removeEgeriaGUID, saveEgeriaGUIDInAtlas, setOwner, syncAtlasDataSetAsDataSet, syncAtlasDataSetsAsDataSets, updateAtlasDataSetAsDataSetInEgeria, updateExternalIdentifierAfterAtlasUpdate
-
Constructor Details
-
AtlasRelatedElementsIntegrationModule
public AtlasRelatedElementsIntegrationModule(String connectorName, ConnectionProperties connectionProperties, AuditLog auditLog, CatalogIntegratorContext myContext, String targetRootURL, ApacheAtlasRESTConnector atlasClient, List<Connector> embeddedConnectors, String informalTagsMappingPolicy, String relatedClassificationPolicy, List<String> ignoreClassificationList, String relatedEntityPolicy, List<String> ignoreRelationshipList) throws UserNotAuthorizedException Constructor for the module is supplied with the runtime context in order to operate.- Parameters:
connectorName
- name of the connector (for messages)connectionProperties
- connection properties used to start the connectorauditLog
- logging destinationmyContext
- integration contexttargetRootURL
- URL to connect to Apache AtlasatlasClient
- client to connect to Apache AtlasembeddedConnectors
- list of any embedded connectors (such as secrets connector and topic connectorinformalTagsMappingPolicy
- determines what type of mapping to perform for informal tagsrelatedClassificationPolicy
- determines how classifications should be processed. Can be "ALL", "SELECTED" or "NONE".ignoreClassificationList
- list of classifications to ignore if relatedClassificationPolicy==SELECTEDrelatedEntityPolicy
- determines how related entities should be processed. Can be "ALL", "SELECTED" or "NONE".ignoreRelationshipList
- ist of relationships to ignore if relatedEntityPolicy==SELECTED- Throws:
UserNotAuthorizedException
- security problem
-
-
Method Details
-
synchronizeRelatedElements
Handle additional related classifications and relationships/entities.- Parameters:
referenceClassifications
- details of the reference classification. This map is empty is the reference classification set is not defined.
-