You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Mandar Ambawane (Jira)" <ji...@apache.org> on 2021/07/04 11:03:00 UTC
[jira] [Resolved] (ATLAS-4235) [Atlas: Audits] When business
metadata attribute or user defined attribute of an entity is updated,
action is appearing as "Entity updated" in v1 api response
[ https://issues.apache.org/jira/browse/ATLAS-4235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mandar Ambawane resolved ATLAS-4235.
------------------------------------
Resolution: Resolved
> [Atlas: Audits] When business metadata attribute or user defined attribute of an entity is updated, action is appearing as "Entity updated" in v1 api response
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: ATLAS-4235
> URL: https://issues.apache.org/jira/browse/ATLAS-4235
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Reporter: Dharshana M Krishnamoorthy
> Assignee: Mandar Ambawane
> Priority: Major
>
> Case 1:
> When business metadata attribute of an entity is updated, action is appearing as "Entity updated" in v1 api response
> {code:java}
> {u'action': u'ENTITY_UPDATE',
> u'details': u'Updated business attributes: {"typeName":"eibqk_bm","attributes":{"attrib_1":"111kezor","attrib_2":"222kezor"}}',
> u'entityId': u'29068c0c-8573-4cf2-bddc-ddefd4d38281',
> u'eventKey': u'29068c0c-8573-4cf2-bddc-ddefd4d38281:1617296650400:0:1617296650414',
> u'timestamp': 1617296650400,
> u'user': u'hrt_qa'} {code}
> As seen in the response, the *details* displays the right data "*Updated business attributes*" but *action* displays "*ENTITY_UPDATE*"
> Case 2:
> When user-defined attribute of an entity is updated, action is appearing as "Entity updated" in v1 api response
> {code:java}
> {u'action': u'ENTITY_UPDATE',
> u'details': u'Updated custom attribute: {"typeName":"entity_type_jmgur","guid":"a5770082-21b5-48ad-9540-0b2b7073359d","isIncomplete":false,"provenanceType":0,"version":0,"customAttributes":{"obtsv":"test value 2","mjfid":"test value 3","qlomc":"test value 1"},"proxy":false}',
> u'entityId': u'a5770082-21b5-48ad-9540-0b2b7073359d',
> u'eventKey': u'a5770082-21b5-48ad-9540-0b2b7073359d:1617297493442:0:1617297493450',
> u'timestamp': 1617297493442,
> u'user': u'hrt_qa'} {code}
> As seen in the response, the *details* displays the right data "*Updated custom attribute*" but *action* displays "*ENTITY_UPDATE*"
> *Minor:*
> Also it will be better if
> *"Updated custom attribute"* is updated as **
> *"**Updated custom attributes"* **
> Please not the 's' at the end to keep it consistent
--
This message was sent by Atlassian Jira
(v8.3.4#803005)