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

ASF GitHub Bot commented on NIFI-5261:
--------------------------------------

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

    https://github.com/apache/nifi/pull/2758#discussion_r192820713
  
    --- Diff: 
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/GetMongo.java
 ---
    @@ -60,23 +59,6 @@
     @InputRequirement(Requirement.INPUT_ALLOWED)
     @CapabilityDescription("Creates FlowFiles from documents in MongoDB")
     public class GetMongo extends AbstractMongoProcessor {
    -    public static final Validator DOCUMENT_VALIDATOR = (subject, value, 
context) -> {
    --- End diff --
    
    @MikeThomsen I have replaced this one as well as `AGG_VALIDATOR` with the 
new `JSON_VALIDATOR`. I have ensured that the tests run fine. Also run a sample 
flow on a live MongoDB instance. Everything worked fine. Let me know, if you 
find anything odd.


> Create a JSON validator
> -----------------------
>
>                 Key: NIFI-5261
>                 URL: https://issues.apache.org/jira/browse/NIFI-5261
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework, Extensions
>            Reporter: Sivaprasanna Sethuraman
>            Assignee: Sivaprasanna Sethuraman
>            Priority: Minor
>
> Create a StandardValidator that validates PropertyDescriptors that take a 
> JSON input.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to