Class ConsoleAuditLogStoreConnector
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.console.ConsoleAuditLogStoreConnector
- All Implemented Interfaces:
SecureConnectorExtension
,OMRSAuditLogStore
ConsoleAuditLogStoreConnector provides a connector implementation for a console (stdout) audit log.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
ConnectorBase.ProtectedConnection
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
connectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, secretsStoreConnectorMap
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor used by the connector provider. -
Method Summary
Modifier and TypeMethodDescriptionstoreLogRecord
(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, getJSONLogRecord, getSupportedSeverities, initialize, isSupportedSeverity, storeLogRecord, validateLogRecord
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.ConnectorBase
disconnect, disconnectConnectors, equals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initializeConnectedAssetProperties, initializeSecretsStoreConnector, isActive, start, toString
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.Connector
clearStatisticProperty, clearStatisticTimestamp, getConnectorStatistics, getStatisticCounter, getStatisticProperty, getStatisticTimestamp, incrementStatisticCounter, initializeStatisticCounter, setStatisticProperty, setStatisticTimestamp
-
Constructor Details
-
ConsoleAuditLogStoreConnector
public ConsoleAuditLogStoreConnector()Default constructor used by the connector provider.
-
-
Method Details
-
storeLogRecord
Store the audit log record in the audit log store.- Specified by:
storeLogRecord
in interfaceOMRSAuditLogStore
- Specified by:
storeLogRecord
in classOMRSAuditLogStoreConnectorBase
- Parameters:
logRecord
- log record to store- Returns:
- unique identifier assigned to the log record
- Throws:
InvalidParameterException
- indicates that the logRecord parameter is invalid.
-