mirror of https://github.com/apache/nifi.git
NIFI-1388 Corrected the property descriptor for the GetMongo query property
Signed-off-by: Aldrin Piri <aldrin@apache.org>
This commit is contained in:
parent
0db2dc9fc3
commit
d42f1d4add
|
@ -71,7 +71,7 @@ public class GetMongo extends AbstractMongoProcessor {
|
||||||
|
|
||||||
static final PropertyDescriptor QUERY = new PropertyDescriptor.Builder()
|
static final PropertyDescriptor QUERY = new PropertyDescriptor.Builder()
|
||||||
.name("Query")
|
.name("Query")
|
||||||
.description("The selection criteria; must be a valid BSON document; if omitted the entire collection will be queried")
|
.description("The selection criteria; must be a valid MongoDB Extended JSON format; if omitted the entire collection will be queried")
|
||||||
.required(false)
|
.required(false)
|
||||||
.addValidator(DOCUMENT_VALIDATOR)
|
.addValidator(DOCUMENT_VALIDATOR)
|
||||||
.build();
|
.build();
|
||||||
|
|
Loading…
Reference in New Issue