atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhan Neethiraj (JIRA)" <>
Subject [jira] [Created] (ATLAS-2304) Relationship search API fails with use of TP3 (Janus graph)
Date Fri, 08 Dec 2017 07:07:00 GMT
Madhan Neethiraj created ATLAS-2304:

             Summary: Relationship search API fails with use of TP3 (Janus graph)
                 Key: ATLAS-2304
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 1.0.0
            Reporter: Madhan Neethiraj
            Assignee: Madhan Neethiraj

Relationship search REST API (api/atlas/v2/search/relationship) fails due to use of Gremlin
expressions that are not recognized in TinkerPop3.

TinkerPop2 query:
g.V('__guid', guid).both(relation).has('__state',, states).order{it.a.getProperty(sortAttributeName)
<=> it.b.getProperty(sortAttributeName)} [startIdx..<endIdx].toList()

TinkerPop3 query:
g.V().has('__guid', guid).both(relation).has('__state', within(states)).order().by(sortAttributeName,
incr).range(startIdx, endIdx).toList()

This message was sent by Atlassian JIRA

View raw message