Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D1AB1121D for ; Wed, 10 Sep 2014 20:40:58 +0000 (UTC) Received: (qmail 43596 invoked by uid 500); 10 Sep 2014 20:40:58 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 43555 invoked by uid 500); 10 Sep 2014 20:40:58 -0000 Mailing-List: contact dev-help@falcon.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.incubator.apache.org Delivered-To: mailing list dev@falcon.incubator.apache.org Received: (qmail 43544 invoked by uid 99); 10 Sep 2014 20:40:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 20:40:58 +0000 X-ASF-Spam-Status: No, hits=-2001.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 10 Sep 2014 20:40:36 +0000 Received: (qmail 42878 invoked by uid 99); 10 Sep 2014 20:40:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 20:40:34 +0000 Date: Wed, 10 Sep 2014 20:40:34 +0000 (UTC) From: "Balu Vellanki (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-662) Fetch relationships for a given type API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Balu Vellanki updated FALCON-662: --------------------------------- Attachment: Falcon-Jira-662-v1.patch Updated patch to apply cleanly after Falcon-Jira-661 patch. > Fetch relationships for a given type API > ---------------------------------------- > > Key: FALCON-662 > URL: https://issues.apache.org/jira/browse/FALCON-662 > Project: Falcon > Issue Type: Sub-task > Components: webapp > Affects Versions: 0.6 > Reporter: Venkatesh Seetharam > Assignee: Balu Vellanki > Labels: lineage > Attachments: Falcon-Jira-662-v0.patch, Falcon-Jira-662-v1.patch > > > {noformat} > GET http://host/graphs/lineage/$type/$name/relations? > PARAMS: > optional_cluster_name=$cluster > start=ISO9601 date > end=ISO9601 date > GET http://host/graphs/lineage/tags/secure-tag/relations?cluster=dc1&start=xxx&end=xxx > Examples: > Fetch all the entities that are tagged secure: > GET http://host/graphs/lineage/tags/secure-tag/relations > Fetch all the entities that are tagged secure for a given cluster: > GET http://host/graphs/lineage/tags/secure-tag/relations?cluster=dc1&start=xxx&end=xxx > NOTE: I think its safe to assume we only list entities and then drill down to instances. > Also the depth is 1 > These fetch the relationships for the given entity. > GET http://host/graphs/lineage/feed/clicks-feed/relations?cluster=dc1&start=xxx&end=xxx > GET http://host/graphs/lineage/process/list?cluster=dc1&start=xxx&end=xxx > GET http://host/graphs/lineage/groups/list?cluster=dc1 > GET http://host/graphs/lineage/pipelines/list?cluster=dc1 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)