Class AuditLogDestinationCatalogTargetProcessor
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTargetProperties
org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTarget
org.odpi.openmetadata.frameworks.integration.properties.RequestedCatalogTarget
org.odpi.openmetadata.frameworks.integration.connectors.CatalogTargetProcessorBase
org.odpi.openmetadata.adapters.connectors.integration.kafkaaudit.AuditLogDestinationCatalogTargetProcessor
Distributes audit log events from one or more embedded topic connectors to one or more embedded audit log destinations.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.integration.connectors.CatalogTargetProcessorBase
auditLog, connectorName, propertyHelper
-
Constructor Summary
ConstructorDescriptionAuditLogDestinationCatalogTargetProcessor
(CatalogTarget template, Connector connectorToTarget, String connectorName, AuditLog auditLog) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
refresh()
Requests that the connector does a comparison of the metadata in the third party technology and open metadata repositories.void
storeLogRecord
(OMRSAuditLogRecord logRecord) Store the audit log record in the audit log store.Methods inherited from class org.odpi.openmetadata.frameworks.integration.connectors.CatalogTargetProcessorBase
getDateConfigurationProperty, getStringConfigurationProperty
Methods inherited from class org.odpi.openmetadata.frameworks.integration.properties.RequestedCatalogTarget
equals, getCatalogTargetConnector, hashCode, setCatalogTargetConnector, toString
Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTarget
getCatalogTargetElement, getRelationshipGUID, getRelationshipVersions, setCatalogTargetElement, setRelationshipGUID, setRelationshipVersions
Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.CatalogTargetProperties
getCatalogTargetName, getConfigurationProperties, getConnectionName, getDeleteMethod, getMetadataSourceQualifiedName, getPermittedSynchronization, getTemplateProperties, setCatalogTargetName, setConfigurationProperties, setConnectionName, setDeleteMethod, setMetadataSourceQualifiedName, setPermittedSynchronization, setTemplateProperties
-
Constructor Details
-
AuditLogDestinationCatalogTargetProcessor
public AuditLogDestinationCatalogTargetProcessor(CatalogTarget template, Connector connectorToTarget, String connectorName, AuditLog auditLog) Copy/clone constructor- Parameters:
template
- object to copyconnectorToTarget
- connector to access the target resourceconnectorName
- name of this integration connectorauditLog
- logging destination
-
-
Method Details
-
storeLogRecord
Store the audit log record in the audit log store.- Parameters:
logRecord
- log record to store
-
refresh
public void 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.- Specified by:
refresh
in classCatalogTargetProcessorBase
-