You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2018/05/01 20:08:00 UTC
[jira] [Updated] (ATLAS-2627) Glossary service methods should be a
single Graph transaction
[ https://issues.apache.org/jira/browse/ATLAS-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated ATLAS-2627:
------------------------------------
Affects Version/s: 1.0.0
Fix Version/s: 1.0.0
> Glossary service methods should be a single Graph transaction
> -------------------------------------------------------------
>
> Key: ATLAS-2627
> URL: https://issues.apache.org/jira/browse/ATLAS-2627
> Project: Atlas
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Apoorv Naik
> Assignee: Apoorv Naik
> Priority: Major
> Fix For: 1.0.0
>
>
> In this bulk term creation , out of 3 terms in the array, 2nd term is invalid association ( glossary with the term2 already exists)
> {code:java}
> /api/atlas/v2/glossary/terms
> [
> {"displayName":"term1","shortDescription":"","longDescription":"","anchor":{"glossaryGuid":"3eb89159-c019-44ad-9d76-29dda0721a37","displayText":"orgn"}},
> {"displayName":"term2","shortDescription":"","longDescription":"","anchor":{"glossaryGuid":"fa08157a-562e-4e61-b77f-b287f520ef4e","displayText":"org"}},
> {"displayName":"term3","shortDescription":"","longDescription":"","anchor":{"glossaryGuid":"fa08157a-562e-4e61-b77f-b287f520ef4e","displayText":"org"}}
> ]
> {code}
> The response is 409. The request creates term1 , but fails at term2 and term3 is not created due to request failed at term2.
> Expected is :
> 1. Either the complete transaction should fail.
> 2. Or term1 and term3 should be created with proper exception message for term2.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)