metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cestella <...@git.apache.org>
Subject [GitHub] incubator-metron pull request #138: METRON-189: Add the ability to do global...
Date Wed, 01 Jun 2016 23:39:09 GMT
Github user cestella commented on a diff in the pull request:

    https://github.com/apache/incubator-metron/pull/138#discussion_r65462256
  
    --- Diff: metron-platform/metron-parsers/src/main/java/org/apache/metron/parsers/bolt/ParserBolt.java
---
    @@ -165,8 +174,17 @@ public void execute(Tuple tuple) {
         }
       }
     
    +  private boolean isGloballyValid(JSONObject input, List<FieldValidator> validators)
{
    +    boolean ret = true;
    +    for(FieldValidator validator : validators) {
    +      ret &= validator.isValid(input, getConfigurations().getGlobalConfig());
    --- End diff --
    
    Yep, agreed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message