You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Apoorv Naik (JIRA)" <ji...@apache.org> on 2018/07/19 19:30:00 UTC

[jira] [Resolved] (ATLAS-2337) [DSL] Use template substitution in the GremlinClauses

     [ https://issues.apache.org/jira/browse/ATLAS-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apoorv Naik resolved ATLAS-2337.
--------------------------------
    Resolution: Later

> [DSL] Use template substitution in the GremlinClauses
> -----------------------------------------------------
>
>                 Key: ATLAS-2337
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2337
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Apoorv Naik
>            Assignee: Apoorv Naik
>            Priority: Major
>
> GremlinClause captures the bits and pieces of the query which are essentially String.format() templates.
> 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
(v7.6.3#76005)