You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2018/07/23 12:53:39 UTC
nifi git commit: NIFI-5409 Added additional documentation for
DeleteMongo.
Repository: nifi
Updated Branches:
refs/heads/master 46ce7aaa3 -> d139b2856
NIFI-5409 Added additional documentation for DeleteMongo.
Signed-off-by: Matthew Burgess <ma...@apache.org>
This closes #2879
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/d139b285
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/d139b285
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/d139b285
Branch: refs/heads/master
Commit: d139b285640c01a7bfd9f7b5e99b2ce37f8ec913
Parents: 46ce7aa
Author: Mike Thomsen <mi...@gmail.com>
Authored: Wed Jul 11 12:12:57 2018 -0400
Committer: Matthew Burgess <ma...@apache.org>
Committed: Mon Jul 23 08:52:57 2018 -0400
----------------------------------------------------------------------
.../additionalDetails.html | 41 ++++++++++++++++++++
1 file changed, 41 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi/blob/d139b285/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 0000000..caa3282
--- /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 @@
+<!DOCTYPE html>
+<html lang="en">
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+ http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<head>
+ <meta charset="utf-8" />
+ <title>DeleteMongo</title>
+ <link rel="stylesheet" href="../../../../../css/component-usage.css" type="text/css" />
+</head>
+
+<body>
+<!-- Processor Documentation ================================================== -->
+<h2>Description:</h2>
+<p>
+ 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.
+</p>
+<h3>Example Query</h3>
+<pre>
+{
+ "username": "john.smith",
+ "recipient": "jane.doe"
+}
+</pre>
+</body>
+</html>
\ No newline at end of file