falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-661) Add list types API
Date Fri, 05 Sep 2014 20:49:28 GMT

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

Venkatesh Seetharam commented on FALCON-661:
--------------------------------------------

* Why name in the list 
{code}
            resource = service.path(op.path)
                    .path(dimensionType).path(dimensionName).path("list");
{code}

* GraphUtils should not have this:
{code}
    public static FalconService getService(String serviceName) {
        return (Services.get().isRegistered(serviceName)) ? Services.get().getService(serviceName)
: null;
    }
{code}

* Pls dont convert imports unnecessarily - * will fail checkstyle

*     @Path("/{type}/{name}/list")
Does not make sense


> Add list types API
> ------------------
>
>                 Key: FALCON-661
>                 URL: https://issues.apache.org/jira/browse/FALCON-661
>             Project: Falcon
>          Issue Type: Sub-task
>          Components: webapp
>    Affects Versions: 0.6
>            Reporter: Venkatesh Seetharam
>            Assignee: Balu Vellanki
>              Labels: lineage
>         Attachments: Falcon-Jira-661-v1.patch, Falcon-Jira-661-v2.patch, Falcon-Jira-661.patch
>
>
> {noformat}
> GET http://host/graphs/lineage/$type/list?$optional_cluster_name=foo
> $type as in org.apache.falcon.metadata.RelationshipType
> except instance vertex types
> Examples:
> List all feed entities
> GET http://host/graphs/lineage/feed/list
> List all feed entities for a given cluster
> GET http://host/graphs/lineage/feed/list?cluster_name=foo_cluster
> GET http://host/graphs/lineage/cluster/list
> GET http://host/graphs/lineage/process/list
> GET http://host/graphs/lineage/users/list
> GET http://host/graphs/lineage/colo/list
> GET http://host/graphs/lineage/tags/list
> GET http://host/graphs/lineage/groups/list
> GET http://host/graphs/lineage/pipelines/list
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message