Class SLF4JAuditLogStoreConnector
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.Connector
org.odpi.openmetadata.frameworks.connectors.ConnectorBase
org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStoreConnectorBase
org.odpi.openmetadata.adapters.repositoryservices.auditlogstore.slf4j.SLF4JAuditLogStoreConnector
- All Implemented Interfaces:
org.odpi.openmetadata.frameworks.connectors.SecureConnectorExtension,org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension,org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStore
public class SLF4JAuditLogStoreConnector
extends org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStoreConnectorBase
SLF4JAuditLogStoreConnector provides a connector implementation for a sls4j audit log destination.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor used by the connector provider. -
Method Summary
Modifier and TypeMethodDescriptionstoreLogRecord(org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogRecord logRecord) Store the audit log record in the audit log store.Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStoreConnectorBase
getAuditLogRecord, getAuditLogRecordsByComponent, getAuditLogRecordsBySeverity, getAuditLogRecordsByTimeStamp, getDestinationName, getSupportedSeverities, initialize, storeLogRecordMethods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
disconnect, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initializeConnectedAssetProperties, initializeEmbeddedConnectors, initializeSecretsStoreConnector, isActive, start, toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp
-
Constructor Details
-
SLF4JAuditLogStoreConnector
public SLF4JAuditLogStoreConnector()Default constructor used by the connector provider.
-
-
Method Details
-
storeLogRecord
public String storeLogRecord(org.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogRecord logRecord) throws org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException Store the audit log record in the audit log store.- Specified by:
storeLogRecordin interfaceorg.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStore- Specified by:
storeLogRecordin classorg.odpi.openmetadata.repositoryservices.connectors.stores.auditlogstore.OMRSAuditLogStoreConnectorBase- Parameters:
logRecord- log record to store- Returns:
- unique identifier assigned to the log record
- Throws:
org.odpi.openmetadata.repositoryservices.ffdc.exception.InvalidParameterException- indicates that the logRecord parameter is invalid.
-