[ 
https://issues.apache.org/jira/browse/ATLAS-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980391#comment-14980391
 ] 

Tom Beerbower commented on ATLAS-232:
-------------------------------------

[~shwethags],

It looks like the methods were moved back to the EntityResource class from 
EntitiesResource class but the Path annotation in EntityResource prior to 
ATLAS-58 was... {code}@Path("entities"){code}
and is now ... {code}@Path("entity"){code}

So, the API to create entities that was in 0.5 ... {code}POST 
http://c6401.ambari.apache.org:21000/api/atlas/entities{code}
is now ... {code}POST 
http://c6401.ambari.apache.org:21000/api/atlas/entity{code}

Same is true for all of the entity resource APIs.

To be compatible with the APIs in 0.5 shouldn't we revert the change to the 
Path annotation introduced in ATLAS-58?


> Fix the API incompatibility introduced in ATLAS-58
> --------------------------------------------------
>
>                 Key: ATLAS-232
>                 URL: https://issues.apache.org/jira/browse/ATLAS-232
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Shwetha G S
>            Assignee: Shwetha G S
>             Fix For: 0.6-incubating, trunk
>
>         Attachments: ATLAS-232.patch
>
>
> 1. Entity create should handle with single entity json or jsonarray
> 2. Move the APIs from entities/entity



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to