Interface AssetConsumerLoggingInterface
public interface AssetConsumerLoggingInterface
AssetConsumerLoggingInterface supports the ability to add log messages to the local server's audit log about an asset.
-
Method Summary
-
Method Details
-
addLogMessageToAsset
void addLogMessageToAsset(String userId, String assetGUID, String connectorInstanceId, String connectionName, String connectorType, String contextId, String message) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException Creates an Audit log record about the asset. This log record is stored in the local server's Audit Log.- Parameters:
userId- userId of user making request.assetGUID- unique id for the asset.connectorInstanceId- (optional) id of connector in use (if any).connectionName- (optional) name of the connection (extracted from the connector).connectorType- (optional) type of connector in use (if any).contextId- (optional) function name, or processId of the activity that the caller is performing.message- log record content.- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- one of the parameters is null or invalid.org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- There is a problem adding the asset properties to the property server.org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-