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

    https://github.com/apache/nifi/pull/2560#discussion_r175286235
  
    --- Diff: 
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/PutMongo.java
 ---
    @@ -86,19 +91,27 @@
             .name("Update Query Key")
             .description("Key name used to build the update query criteria; 
this property is valid only when using update mode, "
                     + "otherwise it is ignored")
    -        .required(true)
    -        .addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
    +        .required(false)
    +        .addValidator(Validator.VALID)
             .defaultValue("_id")
             .build();
    +    static final PropertyDescriptor UPDATE_QUERY = new 
PropertyDescriptor.Builder()
    +        .name("putmongo-update-query")
    --- End diff --
    
    Done.


---

Reply via email to