From d139b285640c01a7bfd9f7b5e99b2ce37f8ec913 Mon Sep 17 00:00:00 2001 From: Mike Thomsen Date: Wed, 11 Jul 2018 12:12:57 -0400 Subject: [PATCH] NIFI-5409 Added additional documentation for DeleteMongo. Signed-off-by: Matthew Burgess This closes #2879 --- .../additionalDetails.html | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/resources/docs/org.apache.nifi.processors.mongodb.DeleteMongo/additionalDetails.html diff --git a/nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/resources/docs/org.apache.nifi.processors.mongodb.DeleteMongo/additionalDetails.html b/nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/resources/docs/org.apache.nifi.processors.mongodb.DeleteMongo/additionalDetails.html new file mode 100644 index 0000000000..caa3282464 --- /dev/null +++ b/nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/resources/docs/org.apache.nifi.processors.mongodb.DeleteMongo/additionalDetails.html @@ -0,0 +1,41 @@ + + + + + + DeleteMongo + + + + + +

Description:

+

+ This processor deletes from Mongo using a user-provided query that is provided in the body of a flowfile. It must + be a valid JSON document. The user has the option of deleting a single document or all documents that match the + criteria. That behavior can be configured using the related configuration property. In addition, the processor + can be configured to regard a failure to delete any documents as an error event, which would send the flowfile + with the query to the failure relationship. +

+

Example Query

+
+{
+    "username": "john.smith",
+    "recipient": "jane.doe"
+}
+
+ + \ No newline at end of file