Class ApacheAtlasIntegrationTargetProcessor
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.connectors.CatalogTargetProperties
org.odpi.openmetadata.frameworks.opengovernance.properties.CatalogTarget
org.odpi.openmetadata.frameworks.integration.properties.RequestedCatalogTarget
org.odpi.openmetadata.frameworks.integration.connectors.CatalogTargetProcessorBase
org.odpi.openmetadata.adapters.connectors.apacheatlas.integration.ApacheAtlasIntegrationTargetProcessor
- All Implemented Interfaces:
OpenMetadataEventListener
public class ApacheAtlasIntegrationTargetProcessor
extends CatalogTargetProcessorBase
implements OpenMetadataEventListener
ApacheAtlasIntegrationConnector exchanges glossary terms between Apache Atlas and the open metadata ecosystem.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final String[]static final StringThe type name for the relationship that links the correlation entity to its associated Apache Atlas glossary member.static final Stringstatic final String[]static final StringThe type name for the relationship that links the correlation entity to its associated Apache Atlas entity.static final StringThe type name for the entity that holds the correlation values for corresponding open metadata entity.static final Stringstatic final String[]static final Stringstatic final String[]Fields inherited from class org.odpi.openmetadata.frameworks.integration.connectors.CatalogTargetProcessorBase
auditLog, connectorName, metadataCollectionGUID, metadataCollectionName, propertyHelperFields inherited from class org.odpi.openmetadata.frameworks.integration.properties.RequestedCatalogTarget
connectorToTarget, integrationContextFields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
typeName -
Constructor Summary
ConstructorsConstructorDescriptionApacheAtlasIntegrationTargetProcessor(CatalogTarget catalogTarget, CatalogTargetContext catalogTargetContext, Connector connectorToTarget, String connectorName, AuditLog auditLog) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidShutdown Apache Atlas monitoringvoidProcess an event that was published by the Asset Manager OMAS.voidrefresh()Requests that the connector does a comparison of the metadata in the third party technology and open metadata repositories.voidstart()Indicates that the connector is completely configured and can begin processing.Methods inherited from class org.odpi.openmetadata.frameworks.integration.connectors.CatalogTargetProcessorBase
getArrayConfigurationProperty, getArrayConfigurationProperty, getArrayConfigurationProperty, getBooleanConfigurationProperty, getDateConfigurationProperty, getHostIdentifier, getIntConfigurationProperty, getLongConfigurationProperty, getPortNumber, getStringConfigurationProperty, getSuppliedPlaceholderProperties, setUpMetadataSource, setUpSoftwareCapability, throwBadBeanClass, throwMissingConnectionInfo, throwMissingPropertyValue, throwWrongTypeOfCatalogTarget, throwWrongTypeOfResourceConnectorMethods inherited from class org.odpi.openmetadata.frameworks.integration.properties.RequestedCatalogTarget
equals, getConnectorToTarget, getIntegrationContext, getNetworkAddress, hashCode, toStringMethods inherited from class org.odpi.openmetadata.frameworks.opengovernance.properties.CatalogTarget
getCatalogTargetElement, getRelationshipGUID, getRelationshipVersions, setCatalogTargetElement, setRelationshipGUID, setRelationshipVersionsMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.connectors.CatalogTargetProperties
getCatalogTargetName, getConfigurationProperties, getConnectionName, getDeleteMethod, getMetadataSourceQualifiedName, getPermittedSynchronization, getTemplates, setCatalogTargetName, setConfigurationProperties, setConnectionName, setDeleteMethod, setMetadataSourceQualifiedName, setPermittedSynchronization, setTemplatesMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Field Details
-
OPEN_METADATA_CORRELATION_TYPE_NAME
The type name for the entity that holds the correlation values for corresponding open metadata entity.- See Also:
-
OPEN_METADATA_CORRELATION_LINK_TYPE_NAME
The type name for the relationship that links the correlation entity to its associated Apache Atlas entity.- See Also:
-
GLOSSARY_CORRELATION_LINK_TYPE_NAME
The type name for the relationship that links the correlation entity to its associated Apache Atlas glossary member.- See Also:
-
openMetadataTypesPolicyValidValues
-
openMetadataTypesPolicyDefaultValue
- See Also:
-
informalTagsMappingValidValues
-
informalTagsMappingDefaultValue
- See Also:
-
classificationReferenceSetPolicyValidValues
-
classificationReferenceSetPolicyDefaultValue
- See Also:
-
-
Constructor Details
-
ApacheAtlasIntegrationTargetProcessor
public ApacheAtlasIntegrationTargetProcessor(CatalogTarget catalogTarget, CatalogTargetContext catalogTargetContext, Connector connectorToTarget, String connectorName, AuditLog auditLog) Constructor- Parameters:
catalogTarget- catalog target informationcatalogTargetContext- specialized context for this catalog targetconnectorToTarget- connector to access the target resourceconnectorName- name of this integration connectorauditLog- logging destination
-
-
Method Details
-
start
Indicates that the connector is completely configured and can begin processing. This call can be used to register with non-blocking services.- Overrides:
startin classCatalogTargetProcessorBase- Throws:
ConnectorCheckedException- the connector detected a problem.UserNotAuthorizedException- the connector was disconnected before/during start
-
refresh
Requests that the connector does a comparison of the metadata in the third party technology and open metadata repositories. Refresh is called when the integration connector first starts and then at intervals defined in the connector's configuration as well as any external REST API calls to explicitly refresh the connector.- Overrides:
refreshin classCatalogTargetProcessorBase- Throws:
ConnectorCheckedException- a problem with the connector. It is not able to refresh the metadata.
-
processEvent
Process an event that was published by the Asset Manager OMAS. This connector is only interested in glossaries, glossary categories and glossary terms. The listener is only registered if metadata is flowing from the open metadata ecosystem to Apache Atlas.- Specified by:
processEventin interfaceOpenMetadataEventListener- Parameters:
event- event object
-
disconnect
Shutdown Apache Atlas monitoring- Overrides:
disconnectin classCatalogTargetProcessorBase- Throws:
ConnectorCheckedException- something failed in the super class
-