Repository: nifi-minifi-cpp Updated Branches: refs/heads/master cfbf51637 -> c55a9330c
MINIFICPP-432 Added docs for ApplyTemplate This closes #311. Signed-off-by: Marc Parisi <phroc...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/c55a9330 Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/c55a9330 Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/c55a9330 Branch: refs/heads/master Commit: c55a9330c78757858fdf7c6b5b9af36f4e6f28f1 Parents: cfbf516 Author: Andrew I. Christianson <a...@andyic.org> Authored: Tue Apr 24 14:55:55 2018 -0400 Committer: Marc Parisi <phroc...@apache.org> Committed: Mon May 7 16:20:22 2018 -0400 ---------------------------------------------------------------------- PROCESSORS.md | 25 +++++++++++++++++++++++++ README.md | 1 + 2 files changed, 26 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/c55a9330/PROCESSORS.md ---------------------------------------------------------------------- diff --git a/PROCESSORS.md b/PROCESSORS.md index e6213ef..e57c16e 100644 --- a/PROCESSORS.md +++ b/PROCESSORS.md @@ -18,6 +18,7 @@ ## Table of Contents - [AppendHostInfo](#appendhostinfo) +- [ApplyTemplate](#applytemplate) - [CompressContent](#compresscontent) - [ConsumeMQTT](#consumemqtt) - [ExecuteProcess](#executeprocess) @@ -71,6 +72,30 @@ default values, and whether a property supports the NiFi Expression Language. | - | - | | success | All FlowFiles are routed to this relationship. | +## ApplyTemplate + +### Description + +Applies the mustache template specified by the "Template" property and writes +the output to the flow file content. FlowFile attributes are used as template +parameters. + +### Properties + +In the list below, the names of required properties appear in bold. Any other +properties (not in bold) are considered optional. The table also indicates any +default values, and whether a property supports the NiFi Expression Language. + +| Name | Default Value | Allowable Values | Description | +| - | - | - | - | +| **Template** | | | Path to the input mustache template file | + +### Relationships + +| Name | Description | +| - | - | +| success | All FlowFiles are routed to this relationship. | + ## ExecuteProcess ### Description http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/c55a9330/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 91c41c6..3f85f82 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ A subset of the Apache NiFi [Expression Language](EXPRESSIONS.md) is supported. MiNiFi - C++ supports the following processors: * [AppendHostInfo](PROCESSORS.md#appendhostinfo) +* [ApplyTemplate](PROCESSORS.md#applytemplate) * [CompressContent](PROCESSORS.md#compresscontent) * [ConsumeMQTT](PROCESSORS.md#consumeMQTT) * [ExecuteProcess](PROCESSORS.md#executeprocess)