atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zineng Yuan (JIRA)" <>
Subject [jira] [Commented] (ATLAS-1318) Atlas Type System does not have DELETE API
Date Mon, 12 Dec 2016 16:46:59 GMT


Zineng Yuan commented on ATLAS-1318:

Thank you for comments.  The above deletion logic looks good to me and the same logic can
apply to hierarchical type as well. 

Two thoughts:
1)  Since the deletion now is a cascading behavior and it might impact many levels and types,
to play safe in case that a user mistakenly delete all T_Ref types,  I would like to put some
constraints on the server side. The purpose is to prevent a user making unexpected mistakes.
 This rest API fails if any T_Ref with entities exist and it forces the user to manually delete
all T_Ref entities before moving on.  The error msg must be informative and mentioned all
T_Ref types with entities.   Although it requires a user to engage, it validates a user's

Also, since the requirement and implementation are largely clear,  could you assign this ticket
to the community?  I am also willing to take the responsibility if needed.

> Atlas Type System does not have DELETE API
> ------------------------------------------
>                 Key: ATLAS-1318
>                 URL:
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>            Reporter: Zineng Yuan
> I am trying to extend Atlas Type System by adding custom data type. However, when I found
a type name was misspecified and needed to be recreated, I can't find a Restful Delete API.
> Question is does Atlas expose a Delete API for custom data types/attributes? Without
this delete API, it's difficult to rely on Atlas as a meta store to extend custom data.  
> Please do suggest how to recreate a data type in this case. Thank you! 

This message was sent by Atlassian JIRA

View raw message