Created
September 4, 2018 01:56
-
-
Save alopresto/93ed6907037dce8bf855c9cb4354ea9d to your computer and use it in GitHub Desktop.
Apache NiFi template that exercises the HashContent, CryptographicHashContent, HashAttribute, and CryptographicHashAttribute processors against static and dynamic input.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
| <template encoding-version="1.2"> | |
| <description>This flow exercises the HashContent, CryptographicHashContent, HashAttribute, and CryptographicHashAttribute processors against static and dynamic input. </description> | |
| <groupId>a185a5af-0165-1000-95c8-c262426efb7c</groupId> | |
| <name>Hash Component Test Flow</name> | |
| <snippet> | |
| <connections> | |
| <id>0541e6d6-1707-3f80-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>f9631988-9bed-331a-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>failure</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>c79de334-19bf-363f-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>0a0f826f-10ba-3804-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>c79de334-19bf-363f-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>70a6344d-b15f-3206-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>30f07de8-e919-3cff-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>c79de334-19bf-363f-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>87841a34-481c-3999-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>347f6b3d-0091-3e32-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>f9631988-9bed-331a-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>failure</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>04239687-8582-3ac1-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>504edc29-3279-3800-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>c54b5f61-fcb6-3d55-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>87841a34-481c-3999-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>5234c185-e3d6-3e9a-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>f9631988-9bed-331a-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>failure</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>c54b5f61-fcb6-3d55-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>54987cc0-4fca-3886-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>23e4562e-811c-39cd-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>c54b5f61-fcb6-3d55-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>6576234c-5799-3f21-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>21e25b9f-c04c-3599-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>87841a34-481c-3999-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>74a6ffb3-bee0-37fe-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>23e4562e-811c-39cd-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>21e25b9f-c04c-3599-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>7b314d10-dd1e-3329-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>04239687-8582-3ac1-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>87841a34-481c-3999-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>7fe0f649-b26f-3b46-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>f9631988-9bed-331a-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>failure</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>21e25b9f-c04c-3599-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>a2edecc6-e4d5-3e0c-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>23e4562e-811c-39cd-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>c79de334-19bf-363f-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>c8ced15f-53dc-3912-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>c54b5f61-fcb6-3d55-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>70a6344d-b15f-3206-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>db3a2186-f567-393b-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>04239687-8582-3ac1-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>70a6344d-b15f-3206-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>dba83c73-4961-3d6e-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>21e25b9f-c04c-3599-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>70a6344d-b15f-3206-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <connections> | |
| <id>ee7d9cab-d544-37a6-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
| <backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
| <destination> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>23e4562e-811c-39cd-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </destination> | |
| <flowFileExpiration>0 sec</flowFileExpiration> | |
| <labelIndex>1</labelIndex> | |
| <name></name> | |
| <selectedRelationships>success</selectedRelationships> | |
| <source> | |
| <groupId>d96ffce1-d803-3e10-0000-000000000000</groupId> | |
| <id>04239687-8582-3ac1-0000-000000000000</id> | |
| <type>PROCESSOR</type> | |
| </source> | |
| <zIndex>0</zIndex> | |
| </connections> | |
| <processors> | |
| <id>04239687-8582-3ac1-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <position> | |
| <x>738.0</x> | |
| <y>257.5</y> | |
| </position> | |
| <bundle> | |
| <artifact>nifi-standard-nar</artifact> | |
| <group>org.apache.nifi</group> | |
| <version>1.8.0-SNAPSHOT</version> | |
| </bundle> | |
| <config> | |
| <bulletinLevel>WARN</bulletinLevel> | |
| <comments></comments> | |
| <concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> | |
| <descriptors> | |
| <entry> | |
| <key>character_set</key> | |
| <value> | |
| <name>character_set</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>fail_when_empty</key> | |
| <value> | |
| <name>fail_when_empty</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>hash_algorithm</key> | |
| <value> | |
| <name>hash_algorithm</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>missing_attr_policy</key> | |
| <value> | |
| <name>missing_attr_policy</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>dynamic_sha256</key> | |
| <value> | |
| <name>dynamic_sha256</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>generator_type_sha256</key> | |
| <value> | |
| <name>generator_type_sha256</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>static_sha256</key> | |
| <value> | |
| <name>static_sha256</name> | |
| </value> | |
| </entry> | |
| </descriptors> | |
| <executionNode>ALL</executionNode> | |
| <lossTolerant>false</lossTolerant> | |
| <penaltyDuration>30 sec</penaltyDuration> | |
| <properties> | |
| <entry> | |
| <key>character_set</key> | |
| <value>UTF-8</value> | |
| </entry> | |
| <entry> | |
| <key>fail_when_empty</key> | |
| <value>true</value> | |
| </entry> | |
| <entry> | |
| <key>hash_algorithm</key> | |
| <value>SHA-256</value> | |
| </entry> | |
| <entry> | |
| <key>missing_attr_policy</key> | |
| <value>ALLOW</value> | |
| </entry> | |
| <entry> | |
| <key>dynamic_sha256</key> | |
| <value>dynamic</value> | |
| </entry> | |
| <entry> | |
| <key>generator_type_sha256</key> | |
| <value>generator_type</value> | |
| </entry> | |
| <entry> | |
| <key>static_sha256</key> | |
| <value>static</value> | |
| </entry> | |
| </properties> | |
| <runDurationMillis>0</runDurationMillis> | |
| <schedulingPeriod>0 sec</schedulingPeriod> | |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> | |
| <yieldDuration>1 sec</yieldDuration> | |
| </config> | |
| <executionNodeRestricted>false</executionNodeRestricted> | |
| <name>CryptographicHashAttribute (New)</name> | |
| <relationships> | |
| <autoTerminate>false</autoTerminate> | |
| <name>failure</name> | |
| </relationships> | |
| <relationships> | |
| <autoTerminate>false</autoTerminate> | |
| <name>success</name> | |
| </relationships> | |
| <state>STOPPED</state> | |
| <style/> | |
| <type>org.apache.nifi.processors.standard.CryptographicHashAttribute</type> | |
| </processors> | |
| <processors> | |
| <id>21e25b9f-c04c-3599-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <position> | |
| <x>1098.0</x> | |
| <y>257.5</y> | |
| </position> | |
| <bundle> | |
| <artifact>nifi-standard-nar</artifact> | |
| <group>org.apache.nifi</group> | |
| <version>1.8.0-SNAPSHOT</version> | |
| </bundle> | |
| <config> | |
| <bulletinLevel>WARN</bulletinLevel> | |
| <comments></comments> | |
| <concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> | |
| <descriptors> | |
| <entry> | |
| <key>Hash Value Attribute Key</key> | |
| <value> | |
| <name>Hash Value Attribute Key</name> | |
| </value> | |
| </entry> | |
| </descriptors> | |
| <executionNode>ALL</executionNode> | |
| <lossTolerant>false</lossTolerant> | |
| <penaltyDuration>30 sec</penaltyDuration> | |
| <properties> | |
| <entry> | |
| <key>Hash Value Attribute Key</key> | |
| <value>hash_attribute_legacy</value> | |
| </entry> | |
| </properties> | |
| <runDurationMillis>0</runDurationMillis> | |
| <schedulingPeriod>0 sec</schedulingPeriod> | |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> | |
| <yieldDuration>1 sec</yieldDuration> | |
| </config> | |
| <executionNodeRestricted>false</executionNodeRestricted> | |
| <name>HashAttribute (Legacy)</name> | |
| <relationships> | |
| <autoTerminate>false</autoTerminate> | |
| <name>failure</name> | |
| </relationships> | |
| <relationships> | |
| <autoTerminate>false</autoTerminate> | |
| <name>success</name> | |
| </relationships> | |
| <state>STOPPED</state> | |
| <style/> | |
| <type>org.apache.nifi.processors.standard.HashAttribute</type> | |
| </processors> | |
| <processors> | |
| <id>23e4562e-811c-39cd-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <position> | |
| <x>199.0</x> | |
| <y>569.5</y> | |
| </position> | |
| <bundle> | |
| <artifact>nifi-standard-nar</artifact> | |
| <group>org.apache.nifi</group> | |
| <version>1.8.0-SNAPSHOT</version> | |
| </bundle> | |
| <config> | |
| <bulletinLevel>WARN</bulletinLevel> | |
| <comments></comments> | |
| <concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> | |
| <descriptors> | |
| <entry> | |
| <key>Log Level</key> | |
| <value> | |
| <name>Log Level</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Log Payload</key> | |
| <value> | |
| <name>Log Payload</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Attributes to Log</key> | |
| <value> | |
| <name>Attributes to Log</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>attributes-to-log-regex</key> | |
| <value> | |
| <name>attributes-to-log-regex</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Attributes to Ignore</key> | |
| <value> | |
| <name>Attributes to Ignore</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>attributes-to-ignore-regex</key> | |
| <value> | |
| <name>attributes-to-ignore-regex</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Log prefix</key> | |
| <value> | |
| <name>Log prefix</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>character-set</key> | |
| <value> | |
| <name>character-set</name> | |
| </value> | |
| </entry> | |
| </descriptors> | |
| <executionNode>ALL</executionNode> | |
| <lossTolerant>false</lossTolerant> | |
| <penaltyDuration>30 sec</penaltyDuration> | |
| <properties> | |
| <entry> | |
| <key>Log Level</key> | |
| <value>info</value> | |
| </entry> | |
| <entry> | |
| <key>Log Payload</key> | |
| <value>true</value> | |
| </entry> | |
| <entry> | |
| <key>Attributes to Log</key> | |
| </entry> | |
| <entry> | |
| <key>attributes-to-log-regex</key> | |
| <value>.*</value> | |
| </entry> | |
| <entry> | |
| <key>Attributes to Ignore</key> | |
| </entry> | |
| <entry> | |
| <key>attributes-to-ignore-regex</key> | |
| </entry> | |
| <entry> | |
| <key>Log prefix</key> | |
| <value>[SUCCESS] </value> | |
| </entry> | |
| <entry> | |
| <key>character-set</key> | |
| <value>UTF-8</value> | |
| </entry> | |
| </properties> | |
| <runDurationMillis>0</runDurationMillis> | |
| <schedulingPeriod>0 sec</schedulingPeriod> | |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> | |
| <yieldDuration>1 sec</yieldDuration> | |
| </config> | |
| <executionNodeRestricted>false</executionNodeRestricted> | |
| <name>Log Success</name> | |
| <relationships> | |
| <autoTerminate>true</autoTerminate> | |
| <name>success</name> | |
| </relationships> | |
| <state>STOPPED</state> | |
| <style/> | |
| <type>org.apache.nifi.processors.standard.LogAttribute</type> | |
| </processors> | |
| <processors> | |
| <id>70a6344d-b15f-3206-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <position> | |
| <x>176.0</x> | |
| <y>0.0</y> | |
| </position> | |
| <bundle> | |
| <artifact>nifi-standard-nar</artifact> | |
| <group>org.apache.nifi</group> | |
| <version>1.8.0-SNAPSHOT</version> | |
| </bundle> | |
| <config> | |
| <bulletinLevel>WARN</bulletinLevel> | |
| <comments></comments> | |
| <concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> | |
| <descriptors> | |
| <entry> | |
| <key>File Size</key> | |
| <value> | |
| <name>File Size</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Batch Size</key> | |
| <value> | |
| <name>Batch Size</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Data Format</key> | |
| <value> | |
| <name>Data Format</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Unique FlowFiles</key> | |
| <value> | |
| <name>Unique FlowFiles</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>generate-ff-custom-text</key> | |
| <value> | |
| <name>generate-ff-custom-text</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>character-set</key> | |
| <value> | |
| <name>character-set</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>generator_type</key> | |
| <value> | |
| <name>generator_type</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>static</key> | |
| <value> | |
| <name>static</name> | |
| </value> | |
| </entry> | |
| </descriptors> | |
| <executionNode>ALL</executionNode> | |
| <lossTolerant>false</lossTolerant> | |
| <penaltyDuration>30 sec</penaltyDuration> | |
| <properties> | |
| <entry> | |
| <key>File Size</key> | |
| <value>0B</value> | |
| </entry> | |
| <entry> | |
| <key>Batch Size</key> | |
| <value>1</value> | |
| </entry> | |
| <entry> | |
| <key>Data Format</key> | |
| <value>Text</value> | |
| </entry> | |
| <entry> | |
| <key>Unique FlowFiles</key> | |
| <value>false</value> | |
| </entry> | |
| <entry> | |
| <key>generate-ff-custom-text</key> | |
| <value>This is static content. </value> | |
| </entry> | |
| <entry> | |
| <key>character-set</key> | |
| <value>UTF-8</value> | |
| </entry> | |
| <entry> | |
| <key>generator_type</key> | |
| <value>static</value> | |
| </entry> | |
| <entry> | |
| <key>static</key> | |
| <value>This is a static attribute value. </value> | |
| </entry> | |
| </properties> | |
| <runDurationMillis>0</runDurationMillis> | |
| <schedulingPeriod>1 sec</schedulingPeriod> | |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> | |
| <yieldDuration>1 sec</yieldDuration> | |
| </config> | |
| <executionNodeRestricted>false</executionNodeRestricted> | |
| <name>Generate Static Content</name> | |
| <relationships> | |
| <autoTerminate>false</autoTerminate> | |
| <name>success</name> | |
| </relationships> | |
| <state>STOPPED</state> | |
| <style/> | |
| <type>org.apache.nifi.processors.standard.GenerateFlowFile</type> | |
| </processors> | |
| <processors> | |
| <id>87841a34-481c-3999-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <position> | |
| <x>897.0</x> | |
| <y>0.0</y> | |
| </position> | |
| <bundle> | |
| <artifact>nifi-standard-nar</artifact> | |
| <group>org.apache.nifi</group> | |
| <version>1.8.0-SNAPSHOT</version> | |
| </bundle> | |
| <config> | |
| <bulletinLevel>WARN</bulletinLevel> | |
| <comments></comments> | |
| <concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> | |
| <descriptors> | |
| <entry> | |
| <key>File Size</key> | |
| <value> | |
| <name>File Size</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Batch Size</key> | |
| <value> | |
| <name>Batch Size</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Data Format</key> | |
| <value> | |
| <name>Data Format</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Unique FlowFiles</key> | |
| <value> | |
| <name>Unique FlowFiles</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>generate-ff-custom-text</key> | |
| <value> | |
| <name>generate-ff-custom-text</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>character-set</key> | |
| <value> | |
| <name>character-set</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>dynamic</key> | |
| <value> | |
| <name>dynamic</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>generator_type</key> | |
| <value> | |
| <name>generator_type</name> | |
| </value> | |
| </entry> | |
| </descriptors> | |
| <executionNode>ALL</executionNode> | |
| <lossTolerant>false</lossTolerant> | |
| <penaltyDuration>30 sec</penaltyDuration> | |
| <properties> | |
| <entry> | |
| <key>File Size</key> | |
| <value>0B</value> | |
| </entry> | |
| <entry> | |
| <key>Batch Size</key> | |
| <value>1</value> | |
| </entry> | |
| <entry> | |
| <key>Data Format</key> | |
| <value>Text</value> | |
| </entry> | |
| <entry> | |
| <key>Unique FlowFiles</key> | |
| <value>false</value> | |
| </entry> | |
| <entry> | |
| <key>generate-ff-custom-text</key> | |
| <value>This is dynamic content at ${now():format('YYYY-MM-dd HH:mm:ss.SSS Z')}. </value> | |
| </entry> | |
| <entry> | |
| <key>character-set</key> | |
| <value>UTF-8</value> | |
| </entry> | |
| <entry> | |
| <key>dynamic</key> | |
| <value>This is a dynamic attribute value at ${now():format('YYYY-MM-dd HH:mm:ss.SSS Z')}. </value> | |
| </entry> | |
| <entry> | |
| <key>generator_type</key> | |
| <value>dynamic</value> | |
| </entry> | |
| </properties> | |
| <runDurationMillis>0</runDurationMillis> | |
| <schedulingPeriod>1 sec</schedulingPeriod> | |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> | |
| <yieldDuration>1 sec</yieldDuration> | |
| </config> | |
| <executionNodeRestricted>false</executionNodeRestricted> | |
| <name>Generate Dynamic Content</name> | |
| <relationships> | |
| <autoTerminate>false</autoTerminate> | |
| <name>success</name> | |
| </relationships> | |
| <state>STOPPED</state> | |
| <style/> | |
| <type>org.apache.nifi.processors.standard.GenerateFlowFile</type> | |
| </processors> | |
| <processors> | |
| <id>c54b5f61-fcb6-3d55-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <position> | |
| <x>0.0</x> | |
| <y>257.5</y> | |
| </position> | |
| <bundle> | |
| <artifact>nifi-standard-nar</artifact> | |
| <group>org.apache.nifi</group> | |
| <version>1.8.0-SNAPSHOT</version> | |
| </bundle> | |
| <config> | |
| <bulletinLevel>WARN</bulletinLevel> | |
| <comments></comments> | |
| <concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> | |
| <descriptors> | |
| <entry> | |
| <key>fail_when_empty</key> | |
| <value> | |
| <name>fail_when_empty</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>hash_algorithm</key> | |
| <value> | |
| <name>hash_algorithm</name> | |
| </value> | |
| </entry> | |
| </descriptors> | |
| <executionNode>ALL</executionNode> | |
| <lossTolerant>false</lossTolerant> | |
| <penaltyDuration>30 sec</penaltyDuration> | |
| <properties> | |
| <entry> | |
| <key>fail_when_empty</key> | |
| <value>false</value> | |
| </entry> | |
| <entry> | |
| <key>hash_algorithm</key> | |
| <value>SHA-256</value> | |
| </entry> | |
| </properties> | |
| <runDurationMillis>0</runDurationMillis> | |
| <schedulingPeriod>0 sec</schedulingPeriod> | |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> | |
| <yieldDuration>1 sec</yieldDuration> | |
| </config> | |
| <executionNodeRestricted>false</executionNodeRestricted> | |
| <name>CryptographicHashContent (New)</name> | |
| <relationships> | |
| <autoTerminate>false</autoTerminate> | |
| <name>failure</name> | |
| </relationships> | |
| <relationships> | |
| <autoTerminate>false</autoTerminate> | |
| <name>success</name> | |
| </relationships> | |
| <state>STOPPED</state> | |
| <style/> | |
| <type>org.apache.nifi.processors.standard.CryptographicHashContent</type> | |
| </processors> | |
| <processors> | |
| <id>c79de334-19bf-363f-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <position> | |
| <x>368.0</x> | |
| <y>257.5</y> | |
| </position> | |
| <bundle> | |
| <artifact>nifi-standard-nar</artifact> | |
| <group>org.apache.nifi</group> | |
| <version>1.8.0-SNAPSHOT</version> | |
| </bundle> | |
| <config> | |
| <bulletinLevel>WARN</bulletinLevel> | |
| <comments></comments> | |
| <concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> | |
| <descriptors> | |
| <entry> | |
| <key>Hash Attribute Name</key> | |
| <value> | |
| <name>Hash Attribute Name</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Hash Algorithm</key> | |
| <value> | |
| <name>Hash Algorithm</name> | |
| </value> | |
| </entry> | |
| </descriptors> | |
| <executionNode>ALL</executionNode> | |
| <lossTolerant>false</lossTolerant> | |
| <penaltyDuration>30 sec</penaltyDuration> | |
| <properties> | |
| <entry> | |
| <key>Hash Attribute Name</key> | |
| <value>hash.value</value> | |
| </entry> | |
| <entry> | |
| <key>Hash Algorithm</key> | |
| <value>SHA-256</value> | |
| </entry> | |
| </properties> | |
| <runDurationMillis>0</runDurationMillis> | |
| <schedulingPeriod>0 sec</schedulingPeriod> | |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> | |
| <yieldDuration>1 sec</yieldDuration> | |
| </config> | |
| <executionNodeRestricted>false</executionNodeRestricted> | |
| <name>HashContent (Legacy)</name> | |
| <relationships> | |
| <autoTerminate>false</autoTerminate> | |
| <name>failure</name> | |
| </relationships> | |
| <relationships> | |
| <autoTerminate>false</autoTerminate> | |
| <name>success</name> | |
| </relationships> | |
| <state>STOPPED</state> | |
| <style/> | |
| <type>org.apache.nifi.processors.standard.HashContent</type> | |
| </processors> | |
| <processors> | |
| <id>f9631988-9bed-331a-0000-000000000000</id> | |
| <parentGroupId>d96ffce1-d803-3e10-0000-000000000000</parentGroupId> | |
| <position> | |
| <x>886.0</x> | |
| <y>569.5</y> | |
| </position> | |
| <bundle> | |
| <artifact>nifi-standard-nar</artifact> | |
| <group>org.apache.nifi</group> | |
| <version>1.8.0-SNAPSHOT</version> | |
| </bundle> | |
| <config> | |
| <bulletinLevel>WARN</bulletinLevel> | |
| <comments></comments> | |
| <concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> | |
| <descriptors> | |
| <entry> | |
| <key>Log Level</key> | |
| <value> | |
| <name>Log Level</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Log Payload</key> | |
| <value> | |
| <name>Log Payload</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Attributes to Log</key> | |
| <value> | |
| <name>Attributes to Log</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>attributes-to-log-regex</key> | |
| <value> | |
| <name>attributes-to-log-regex</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Attributes to Ignore</key> | |
| <value> | |
| <name>Attributes to Ignore</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>attributes-to-ignore-regex</key> | |
| <value> | |
| <name>attributes-to-ignore-regex</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>Log prefix</key> | |
| <value> | |
| <name>Log prefix</name> | |
| </value> | |
| </entry> | |
| <entry> | |
| <key>character-set</key> | |
| <value> | |
| <name>character-set</name> | |
| </value> | |
| </entry> | |
| </descriptors> | |
| <executionNode>ALL</executionNode> | |
| <lossTolerant>false</lossTolerant> | |
| <penaltyDuration>30 sec</penaltyDuration> | |
| <properties> | |
| <entry> | |
| <key>Log Level</key> | |
| <value>info</value> | |
| </entry> | |
| <entry> | |
| <key>Log Payload</key> | |
| <value>true</value> | |
| </entry> | |
| <entry> | |
| <key>Attributes to Log</key> | |
| </entry> | |
| <entry> | |
| <key>attributes-to-log-regex</key> | |
| <value>.*</value> | |
| </entry> | |
| <entry> | |
| <key>Attributes to Ignore</key> | |
| </entry> | |
| <entry> | |
| <key>attributes-to-ignore-regex</key> | |
| </entry> | |
| <entry> | |
| <key>Log prefix</key> | |
| <value>[FAILURE] </value> | |
| </entry> | |
| <entry> | |
| <key>character-set</key> | |
| <value>UTF-8</value> | |
| </entry> | |
| </properties> | |
| <runDurationMillis>0</runDurationMillis> | |
| <schedulingPeriod>0 sec</schedulingPeriod> | |
| <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> | |
| <yieldDuration>1 sec</yieldDuration> | |
| </config> | |
| <executionNodeRestricted>false</executionNodeRestricted> | |
| <name>Log Failure</name> | |
| <relationships> | |
| <autoTerminate>true</autoTerminate> | |
| <name>success</name> | |
| </relationships> | |
| <state>STOPPED</state> | |
| <style/> | |
| <type>org.apache.nifi.processors.standard.LogAttribute</type> | |
| </processors> | |
| </snippet> | |
| <timestamp>09/03/2018 15:43:34 PDT</timestamp> | |
| </template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment