You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Dharshana M Krishnamoorthy (Jira)" <ji...@apache.org> on 2021/03/19 06:55:00 UTC

[jira] [Created] (ATLAS-4216) [Atlas: Audits] When an entity is imported with classification, multiple audits are created

Dharshana M Krishnamoorthy created ATLAS-4216:
-------------------------------------------------

             Summary: [Atlas: Audits] When an entity is imported with classification, multiple audits are created
                 Key: ATLAS-4216
                 URL: https://issues.apache.org/jira/browse/ATLAS-4216
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
            Reporter: Dharshana M Krishnamoorthy
         Attachments: Screenshot 2021-03-19 at 12.08.41 PM.png, Screenshot 2021-03-19 at 12.10.34 PM.png, Screenshot 2021-03-19 at 12.10.45 PM.png

Scenario:

In Cluster1:
{code:java}
Create a tag
Create an entity and associate the tag to an entity
Export the entity {code}
*In Cluster2:*
{code:java}
Import the exported entity {code}
In Cluster1:

 
{code:java}
Update the classification by adding an attrib
Update the attrib value in entity
Update the entity 
Export the entity{code}
*In Cluster2:*
{code:java}
Import the entity {code}
In Cluster1:
{code:java}
Delete the entity
Export the entity{code}
*In Cluster2:*
{code:java}
Import the entity {code}
Observation:

*Multiple* audits are created for an import operation

!Screenshot 2021-03-19 at 12.08.41 PM.png|width=1485,height=105!

This is observed when the imported entity is updated or deleted as well

Update:

!Screenshot 2021-03-19 at 12.10.34 PM.png|width=1598,height=151!

Delete:

!Screenshot 2021-03-19 at 12.10.45 PM.png|width=1375,height=161!

For every operation information related to classification are appearing as a new update.

And the update comes as deleted and added classification instead of classification updated

1) For am imported entity, if the entity is updated should it display the classification related information in a new audit

2) If at all a new audit is still ok should we display it as tag deleted and tag added instead of tag updated.

IMHO, the tag information should be a part of the imported entity update information itself

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)