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

ASF GitHub Bot commented on METRON-1339:
----------------------------------------

Github user cestella commented on the issue:

    https://github.com/apache/metron/pull/856
  
    Any chance we can add a `VALIDATE(str, type)` function to the stellar 
management functions where str is the json blob string for the config and the 
type is the type of config?  Generally the goal is to disallow invalid stellar 
to get pushed to zookeeper via `zk_load_utils.sh`, so I suspect a function 
would be more useful in the situation where you're constructing a config in the 
REPL via management functions and want to validate it before pushing it.



> Stellar Shell: Should have a way to validate deployed functions
> ---------------------------------------------------------------
>
>                 Key: METRON-1339
>                 URL: https://issues.apache.org/jira/browse/METRON-1339
>             Project: Metron
>          Issue Type: New Feature
>            Reporter: Otto Fowler
>            Assignee: Otto Fowler
>
> It is possible that the Stellar Language is changed during a release, meaning 
> stellar expressions that are in zookeeper are now invalid, and will not run.
> Currently users cannot verify this without just letting them fail and hunting 
> the errors down.
> The Stellar Shell should expose a '%' function that will verify that all 
> stellar functions compile and are syntactically correct.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to