[ https://issues.apache.org/jira/browse/ATLAS-4233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17400349#comment-17400349 ]
ASF subversion and git services commented on ATLAS-4233: -------------------------------------------------------- Commit 36ce8f09760db7a8d7170b2ceafc7ee4e97f1478 in atlas's branch refs/heads/branch-2.0 from Shraddha Chauhan [ https://gitbox.apache.org/repos/asf?p=atlas.git;h=36ce8f0 ] ATLAS-4233: Audits: When a term is added or removed, v1 api displays action as null instead of TERM_ADD or TERM_DELETE Signed-off-by: Nikhil Bonte <nbo...@apache.org> (cherry picked from commit 625bfd2064b36597eee795b51ed03b1d39190107) > [Atlas: Audits] When a term is added or removed, v1 api displays action as > null instead of TERM_ADD or TERM_DELETE > ------------------------------------------------------------------------------------------------------------------ > > Key: ATLAS-4233 > URL: https://issues.apache.org/jira/browse/ATLAS-4233 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Reporter: Dharshana M Krishnamoorthy > Priority: Major > Attachments: Screenshot 2021-04-01 at 7.58.12 PM.png, Screenshot > 2021-04-01 at 8.04.11 PM.png > > > *Scenario:* > * Add a term to an entity. > * Remove the term from the entity > Audits will be generated. Here the action should appear as *TERM_ADD or > TERM_DELETE* > But the value is null instead. Please check the reference below > {code:java} > { > "entityId": "d83d7d10-c137-4a16-8018-70692cd555b2", > "timestamp": 1617286735612, > "user": "hrt_qa", > "action": null, > "details": "Added term: > {\"guid\":\"700bafef-ac2b-489b-a54b-0dc5741e2a6f\",\"qualifiedName\":\"hdcpg_term@hdcpg_glossary\",\"name\":\"hdcpg_term\"}", > "eventKey": > "d83d7d10-c137-4a16-8018-70692cd555b2:1617286735612:0:1617286735676" > } {code} > *v1: https://<cluster>:31443/api/atlas/entities/<guid>/audit* > *TERM_ADD* > !Screenshot 2021-04-01 at 7.58.12 PM.png|width=584,height=179! > *TERM_DELETE* > !Screenshot 2021-04-01 at 8.04.11 PM.png|width=581,height=174! > -- This message was sent by Atlassian Jira (v8.3.4#803005)