[
https://issues.apache.org/jira/browse/ATLAS-4048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashutosh Mestry updated ATLAS-4048:
-----------------------------------
Summary: Import Service: Entity Creation: Updates to Business Metadata
(was: Entity Creation: Updates to Business Metadata)
> Import Service: Entity Creation: Updates to Business Metadata
> -------------------------------------------------------------
>
> Key: ATLAS-4048
> URL: https://issues.apache.org/jira/browse/ATLAS-4048
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 2.1.0
> Reporter: Umesh Padashetty
> Assignee: Ashutosh Mestry
> Priority: Major
> Attachments: ATLAS-4048-Entity-Update-Businessmetada-changes.patch
>
>
> *Background*
> Business Metadata attributes provide a simple way to augment attributes to
> existing entity types.
> Updating Business Metadata for existing entities via REST APIs did not happen
> as the changes were not tracked when considering entity for update.
> *Steps to Duplicate*
> Setup:
> * Create Business Metadata and add 3 attributes.
> * Create an exported ZIP file.
> Steps to duplicate:
> # Via REST API, create an entity with 3 Business Metadata attributes.
> # From the web UI, load the entity where attributes have been added.
> # Delete 1 attribute.
> # Use entity update REST API to update the entity from step 1.
> Expected results: Entity will have all 3 attributes.
> Actual result: Entity will contain only 2 attributes that were present in
> step 2.
> *Root Cause*
> During entity creation flow, the Business Metadata attributes are not
> considered when detecting if entity has changes.
> Solution: Add a step to detect changes to Business Metadata attributes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)