HDDS-392. Incomplete description about auditMap#key in AuditLogging Framework.

Contributed by  Dinesh Chitlangia.
This commit is contained in:
Anu Engineer 2018-08-31 22:24:30 -07:00
parent 76bae4ccb1
commit 19abaacdad
1 changed files with 4 additions and 2 deletions

View File

@ -50,8 +50,10 @@ package org.apache.hadoop.ozone.audit;
* The implementing class must override toAuditMap() to return an * The implementing class must override toAuditMap() to return an
* instance of Map<Key, Value> where both Key and Value are String. * instance of Map<Key, Value> where both Key and Value are String.
* *
* Key: must not contain any spaces. If the key is multi word then use * Key: must contain printable US ASCII characters
* camel case. * May not contain a space, =, ], or "
* If the key is multi word then use camel case.
*
* Value: if it is a collection/array, then it must be converted to a comma * Value: if it is a collection/array, then it must be converted to a comma
* delimited string * delimited string
* *