Venkatesh Seetharam created FALCON-662:
------------------------------------------

             Summary: 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
    Affects Versions: 0.6
            Reporter: Venkatesh Seetharam
            Assignee: Balu Vellanki


{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)

Reply via email to