[
https://issues.apache.org/jira/browse/ATLAS-4233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404457#comment-17404457
]
ASF subversion and git services commented on ATLAS-4233:
--------------------------------------------------------
Commit 625bfd2064b36597eee795b51ed03b1d39190107 in atlas's branch
refs/remotes/origin/master from Shraddha Chauhan
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=625bfd2 ]
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 <[email protected]>
> [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
> Fix For: 3.0.0
>
> 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)