You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Ajay Yadava (JIRA)" <ji...@apache.org> on 2015/05/11 15:42:59 UTC

[jira] [Comment Edited] (FALCON-1209) Hide low level REST APIs for graph db from users

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

Ajay Yadava edited comment on FALCON-1209 at 5/11/15 1:42 PM:
--------------------------------------------------------------

To provide some more clarification on this JIRA, I am aware that this API was exposed for enabling Rexster, the biggest advantage of which is to expose Graph over REST api. I thought since Falcon already exposes useful REST API it is not of much value. Users would want to query in terms of entities / instances  rather than in terms of vertices/ edges.

This also adds complexity in terms of exposing the API through Prism, vertex with id 1 may be different in different graph dbs. This rules out any meaningful traversals being done through Prism.

Another thought behind this was that exposing this API to users ties us to a graph db. 

However on second thoughts, I think it might be useful for some people to do traversals or ad hoc scripts/queries in a language independent fashion. Might be useful for debugging/ad hoc cases for administrators on individual servers (though in reality I have never seen anyone trying to do so). Thoughts?


was (Author: ajayyadava):
To provide some more clarification on this JIRA, I am aware that this API was exposed for enabling Rexster, the biggest advantage of which is to expose Graph over REST api. I thought since Falcon already exposes useful REST API it is not of much value. Users would want to query in terms of entities / instances  rather than in terms of vertices/ edges.

Another thought behind this was that exposing this API to users ties us to a graph db.

However on second thoughts, I think it might be useful for some people to do traversals or ad hoc scripts/queries in a language independent fashion. Might be useful for debugging/ad hoc cases for administrators. Thoughts?

> Hide low level REST APIs for graph db from users
> ------------------------------------------------
>
>                 Key: FALCON-1209
>                 URL: https://issues.apache.org/jira/browse/FALCON-1209
>             Project: Falcon
>          Issue Type: Improvement
>            Reporter: Ajay Yadava
>              Labels: backward-incompatible
>             Fix For: 0.7
>
>
> Falcon Currently exposes several low level rest api for graph db to users e.g. you can query for a particular vertex id. Since ids are numerical, it doesn't make sense to expose these API to users. 
> These API are useful for building more meaningful features for users / administrators but they are themselves not useful for users. Having these low level API adds more verbosity to the API without providing any useful features for the external users.  
> I intend to remove exposure of these API as REST endpoints but keep the code.



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