atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Wallis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-2598) Add POST method to fetch bulk entities with AtlasEntitiesWithExtInfo
Date Tue, 24 Apr 2018 14:06:02 GMT

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

Graham Wallis commented on ATLAS-2598:
--------------------------------------

Perhaps the best implementation would be to POST the collection of guids (effectively creating
a query) and return a URI where the result of the query can retrieved using a subsequent
GET. This seems to be preferred. 

The query/result would need to be cleaned up sometime later if it has not been the subject
of a GET request - that would require some more thought.

> Add POST method to fetch bulk entities with AtlasEntitiesWithExtInfo
> --------------------------------------------------------------------
>
>                 Key: ATLAS-2598
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2598
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.0.0-alpha
>            Reporter: Nixon Rodrigues
>            Priority: Major
>             Fix For: 1.0.0
>
>
> To fetch bulk entities,  guids need to be passed as query params, there can be a limit
to the length of URL in GET method. 
> {noformat}
> http://localhost:21000/api/atlas/v2/entity/bulk?guid=d08a64f7-a2d4-4c88-aa67-6a98b5a52793&guid=a0910f28-6d63-4729-bd44-04c7e34edba5&guid=1b7b9749-d3ff-487c-bfd1-4e1ad6c3be90
> {noformat}
> POST method would be much suited for this .



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message