You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Balu Vellanki (JIRA)" <ji...@apache.org> on 2014/09/09 06:57:28 UTC

[jira] [Commented] (FALCON-662) Fetch relationships for a given type API

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

Balu Vellanki commented on FALCON-662:
--------------------------------------

After discussing with [~svenkat], we decided that optional params cluster, start and end are not needed for this API. 
Renamed "graphs/lineage" to "metadata".

Patch attached. 

> 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
>              Labels: lineage
>         Attachments: Falcon-Jira-662-v0.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)