atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apoorv Naik (JIRA)" <>
Subject [jira] [Created] (ATLAS-2337) [DSL] Use template substitution in the GremlinClauses
Date Fri, 05 Jan 2018 05:50:00 GMT
Apoorv Naik created ATLAS-2337:

             Summary: [DSL] Use template substitution in the GremlinClauses
                 Key: ATLAS-2337
             Project: Atlas
          Issue Type: Bug
            Reporter: Apoorv Naik
            Assignee: Apoorv Naik

GremlinClause captures the bits and pieces of the query which are essentially String.format()

Suggestion: Replace the queries with apache velocity like templates for better understanding
and clarity, the query template would be self-explanatory

eg. has('%s', %s(%s)) -> has('${attrName}', ${comparisonOp}(${attrVal}))

This change will use apache commons text library for template variable substitution

This message was sent by Atlassian JIRA

View raw message