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 10:48:00 UTC
[jira] [Resolved] (ATLAS-4237) [Atlas: Audits] When user defined
attributes are updated, all the attributes are appearing in the update
audit
[ https://issues.apache.org/jira/browse/ATLAS-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mandar Ambawane resolved ATLAS-4237.
------------------------------------
Resolution: Resolved
> [Atlas: Audits] When user defined attributes are updated, all the attributes are appearing in the update audit
> --------------------------------------------------------------------------------------------------------------
>
> Key: ATLAS-4237
> URL: https://issues.apache.org/jira/browse/ATLAS-4237
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Reporter: Dharshana M Krishnamoorthy
> Priority: Major
>
> Add a few user-defined attributes to an entity
> Now add 1 more attribute
> Expectation is that only the newly added attribute should appear, but all the attributes are present in the update audit
> Here is an example of n-1 and nth audit update
> {code:java}
> {
> "entityId": "aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232",
> "timestamp": 1617372357199,
> "user": "hrt_qa",
> "action": "CUSTOM_ATTRIBUTE_UPDATE",
> "details": "Updated custom attribute: {\"typeName\":\"entity_type_rvlum\",\"guid\":\"aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232\",\"isIncomplete\":false,\"provenanceType\":0,\"version\":0,\"customAttributes\":{\"jej\":\"wwww\",\"efef\":\"fefsef\",\"ggg\":\"huhu\"},\"proxy\":false}",
> "eventKey": "aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232:1617372357199:0:1617372357214",
> "entity": null,
> "type": null
> },
> {
> "entityId": "aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232",
> "timestamp": 1617372250220,
> "user": "hrt_qa",
> "action": "CUSTOM_ATTRIBUTE_UPDATE",
> "details": "Updated custom attribute: {\"typeName\":\"entity_type_rvlum\",\"guid\":\"aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232\",\"isIncomplete\":false,\"provenanceType\":0,\"version\":0,\"customAttributes\":{\"jej\":\"wwww\",\"efef\":\"fefsef\"},\"proxy\":false}",
> "eventKey": "aa9134fa-96f0-4b8e-80b7-d8d8c4fb0232:1617372250220:0:1617372250250",
> "entity": null,
> "type": null
> }{code}
> n-1 custom attribute :
> "customAttributes\":\{\"jej\":\"wwww\",\"efef\":\"fefsef\"}
> n th custom attribute :
> "customAttributes\":\{\"jej\":\"wwww\",\"efef\":\"fefsef\",\"ggg\":\"huhu\"}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)