Github user cestella commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/468#discussion_r103561250
  
    --- Diff: 
metron-platform/metron-common/src/main/java/org/apache/metron/common/dsl/functions/resolver/ClasspathFunctionResolver.java
 ---
    @@ -65,24 +72,48 @@
      *
      */
     public class ClasspathFunctionResolver extends BaseFunctionResolver {
    -
    -  /**
    -   * The key for a global property that defines one or more regular 
expressions
    -   * that specify what should be included when searching for Stellar 
functions.
    -   */
    -  public static final String STELLAR_SEARCH_INCLUDES_KEY = 
"stellar.function.resolver.includes";
    -
    -  /**
    +  public enum Config {
    +    STELLAR_VFS_PATHS("stellar.function.paths", ""),
    +    /**
    +     * The key for a global property that defines one or more regular 
expressions
    +     * that specify what should be included when searching for Stellar 
functions.
    +     */
    +    STELLAR_SEARCH_INCLUDES_KEY("stellar.function.resolver.includes", ""),
    --- End diff --
    
    I decided to leave it in.  Some organizations may way to whitelist the 
stellar functions that they use in production to just those from 
`org.apache.metron` and `com.my.org` for instance.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to