You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Casey Stella (JIRA)" <ji...@apache.org> on 2016/09/27 15:03:20 UTC

[jira] [Updated] (METRON-396) Make Stellar function resolution happen via an annotation and classpath search

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

Casey Stella updated METRON-396:
--------------------------------
    Fix Version/s: 0.2.1BETA

> Make Stellar function resolution happen via an annotation and classpath search
> ------------------------------------------------------------------------------
>
>                 Key: METRON-396
>                 URL: https://issues.apache.org/jira/browse/METRON-396
>             Project: Metron
>          Issue Type: Improvement
>            Reporter: Casey Stella
>            Assignee: Casey Stella
>              Labels: stellar
>             Fix For: 0.2.1BETA
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> At the moment, the only way to add a stellar function is to implement StellarFunction and add the instance to the StellarFunctions enum.  This is deficient in a few ways:
> * It requires you to modify Metron code to add a stellar capability
> * It requires you to make metron-common depend on your project
> * There is no way to enforce documentation of the function
> Instead, we should create an annotation which will define the name, namespace, description, parameters and returns.



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