[
https://issues.apache.org/jira/browse/MINIFICPP-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250592#comment-16250592
]
ASF GitHub Bot commented on MINIFICPP-269:
------------------------------------------
Github user phrocker commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/157#discussion_r150709695
--- Diff: CMakeLists.txt ---
@@ -155,6 +156,12 @@ if (ENABLE_USB_CAMERA)
createExtension(USB-CAMERA-EXTENSIONS "USB CAMERA EXTENSIONS" "This
enables USB camera support" "extensions/usb-camera"
"${TEST_DIR}/usb-camera-tests" "TRUE" "thirdparty/libuvc-0.0.6")
endif()
+## Bustache/template extensions
+option(DISABLE_BUSTACHE "Disables Bustache (ApplyTemplate) support." OFF)
+if (NOT DISABLE_BUSTACHE)
--- End diff --
Let's make this ENABLE_BUSTACHE
> Implement ApplyTemplate processor
> ---------------------------------
>
> Key: MINIFICPP-269
> URL: https://issues.apache.org/jira/browse/MINIFICPP-269
> Project: NiFi MiNiFi C++
> Issue Type: New Feature
> Reporter: Caleb Johnson
> Priority: Minor
> Labels: mustache, processor, template, templates
>
> The ApplyTemplate processor is fairly straightforward: it reads a
> [mustache|https://mustache.github.io/] template from a provided path on disk
> and maps flowfile attributes to template values.
> Dynamic properties (MINIFI-171) would go a long way towards making these
> templates more flexible by using the union of input flowfile attributes and
> (possibly evaluated?) properties as the value map.
> Due to its dependency on [bustache|https://github.com/jamboree/bustache] and
> boost, it has been made into an optional extension, much like the libarchive
> processors have.
> It may also be desirable to load the template from the input flowfile's
> contents instead of a configurable path.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)