From dev-return-22755-archive-asf-public=cust-asf.ponee.io@atlas.apache.org Tue Apr 24 16:06:09 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9CEC718067A for ; Tue, 24 Apr 2018 16:06:08 +0200 (CEST) Received: (qmail 68281 invoked by uid 500); 24 Apr 2018 14:06:07 -0000 Mailing-List: contact dev-help@atlas.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.apache.org Delivered-To: mailing list dev@atlas.apache.org Received: (qmail 68266 invoked by uid 99); 24 Apr 2018 14:06:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2018 14:06:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 48C78180256 for ; Tue, 24 Apr 2018 14:06:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id JmbARSHhImaQ for ; Tue, 24 Apr 2018 14:06:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5A33760D3C for ; Tue, 24 Apr 2018 14:06:04 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5054DE1215 for ; Tue, 24 Apr 2018 14:06:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 16578241D0 for ; Tue, 24 Apr 2018 14:06:02 +0000 (UTC) Date: Tue, 24 Apr 2018 14:06:02 +0000 (UTC) From: "Graham Wallis (JIRA)" To: dev@atlas.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ATLAS-2598) Add POST method to fetch bulk entities with AtlasEntitiesWithExtInfo MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ATLAS-2598?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1644= 9916#comment-16449916 ]=20 Graham Wallis commented on ATLAS-2598: -------------------------------------- Perhaps the best implementation would be to=C2=A0POST the collection of gui= ds (effectively creating a query) and return=C2=A0a URI where the result of= the query can retrieved using a subsequent GET. This seems to be preferred= .=C2=A0 The query/result would need to be cleaned up sometime later if it has not b= een 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,=C2=A0=C2=A0guids=C2=A0need to be passed as query = params, there can be a limit to the length of URL in GET method.=C2=A0 > {noformat} > http://localhost:21000/api/atlas/v2/entity/bulk?guid=3Dd08a64f7-a2d4-4c88= -aa67-6a98b5a52793&guid=3Da0910f28-6d63-4729-bd44-04c7e34edba5&guid=3D1b7b9= 749-d3ff-487c-bfd1-4e1ad6c3be90 > {noformat} > POST method would be much suited for this . -- This message was sent by Atlassian JIRA (v7.6.3#76005)