nifi flow reverse proxy https://blog.davidvassallo.me/?p=3388
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<template encoding-version="1.2"> | |
<description></description> | |
<groupId>f83b243e-016a-1000-7ae4-d55879bd67a8</groupId> | |
<name>Beats (encrypted)</name> | |
<snippet> | |
<connections> | |
<id>5d08bc84-630a-3e17-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
<backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
<destination> | |
<groupId>75fd9e98-7cb4-3d53-0000-000000000000</groupId> | |
<id>302da3a3-3800-3b60-0000-000000000000</id> | |
<type>PROCESSOR</type> | |
</destination> | |
<flowFileExpiration>0 sec</flowFileExpiration> | |
<labelIndex>1</labelIndex> | |
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> | |
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> | |
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> | |
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> | |
<name></name> | |
<selectedRelationships>success</selectedRelationships> | |
<source> | |
<groupId>75fd9e98-7cb4-3d53-0000-000000000000</groupId> | |
<id>400270ce-1c0f-35fc-0000-000000000000</id> | |
<type>PROCESSOR</type> | |
</source> | |
<zIndex>0</zIndex> | |
</connections> | |
<connections> | |
<id>a9b94199-ed77-31d8-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
<backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
<destination> | |
<groupId>75fd9e98-7cb4-3d53-0000-000000000000</groupId> | |
<id>dee745b7-d53a-3eef-0000-000000000000</id> | |
<type>PROCESSOR</type> | |
</destination> | |
<flowFileExpiration>0 sec</flowFileExpiration> | |
<labelIndex>1</labelIndex> | |
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> | |
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> | |
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> | |
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> | |
<name></name> | |
<selectedRelationships>failure</selectedRelationships> | |
<source> | |
<groupId>75fd9e98-7cb4-3d53-0000-000000000000</groupId> | |
<id>a43f541d-9b6c-3fde-0000-000000000000</id> | |
<type>PROCESSOR</type> | |
</source> | |
<zIndex>0</zIndex> | |
</connections> | |
<connections> | |
<id>ea4af378-cedf-30e5-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<backPressureDataSizeThreshold>1 GB</backPressureDataSizeThreshold> | |
<backPressureObjectThreshold>10000</backPressureObjectThreshold> | |
<destination> | |
<groupId>75fd9e98-7cb4-3d53-0000-000000000000</groupId> | |
<id>a43f541d-9b6c-3fde-0000-000000000000</id> | |
<type>PROCESSOR</type> | |
</destination> | |
<flowFileExpiration>0 sec</flowFileExpiration> | |
<labelIndex>1</labelIndex> | |
<loadBalanceCompression>DO_NOT_COMPRESS</loadBalanceCompression> | |
<loadBalancePartitionAttribute></loadBalancePartitionAttribute> | |
<loadBalanceStatus>LOAD_BALANCE_NOT_CONFIGURED</loadBalanceStatus> | |
<loadBalanceStrategy>DO_NOT_LOAD_BALANCE</loadBalanceStrategy> | |
<name></name> | |
<selectedRelationships>Response</selectedRelationships> | |
<source> | |
<groupId>75fd9e98-7cb4-3d53-0000-000000000000</groupId> | |
<id>302da3a3-3800-3b60-0000-000000000000</id> | |
<type>PROCESSOR</type> | |
</source> | |
<zIndex>0</zIndex> | |
</connections> | |
<controllerServices> | |
<id>0991b860-e659-3002-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<bundle> | |
<artifact>nifi-http-context-map-nar</artifact> | |
<group>org.apache.nifi</group> | |
<version>1.9.2</version> | |
</bundle> | |
<descriptors> | |
<entry> | |
<key>Maximum Outstanding Requests</key> | |
<value> | |
<name>Maximum Outstanding Requests</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Request Expiration</key> | |
<value> | |
<name>Request Expiration</name> | |
</value> | |
</entry> | |
</descriptors> | |
<name>StandardHttpContextMap</name> | |
<persistsState>false</persistsState> | |
<properties> | |
<entry> | |
<key>Maximum Outstanding Requests</key> | |
</entry> | |
<entry> | |
<key>Request Expiration</key> | |
</entry> | |
</properties> | |
<state>ENABLED</state> | |
<type>org.apache.nifi.http.StandardHttpContextMap</type> | |
</controllerServices> | |
<controllerServices> | |
<id>7c01dde1-5bd5-333b-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<bundle> | |
<artifact>nifi-ssl-context-service-nar</artifact> | |
<group>org.apache.nifi</group> | |
<version>1.9.2</version> | |
</bundle> | |
<comments></comments> | |
<descriptors> | |
<entry> | |
<key>Keystore Filename</key> | |
<value> | |
<name>Keystore Filename</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Keystore Password</key> | |
<value> | |
<name>Keystore Password</name> | |
</value> | |
</entry> | |
<entry> | |
<key>key-password</key> | |
<value> | |
<name>key-password</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Keystore Type</key> | |
<value> | |
<name>Keystore Type</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Truststore Filename</key> | |
<value> | |
<name>Truststore Filename</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Truststore Password</key> | |
<value> | |
<name>Truststore Password</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Truststore Type</key> | |
<value> | |
<name>Truststore Type</name> | |
</value> | |
</entry> | |
<entry> | |
<key>SSL Protocol</key> | |
<value> | |
<name>SSL Protocol</name> | |
</value> | |
</entry> | |
</descriptors> | |
<name>StandardRestrictedSSLContextService</name> | |
<persistsState>false</persistsState> | |
<properties> | |
<entry> | |
<key>Keystore Filename</key> | |
<value>/tmp/cybersift_ca.jks</value> | |
</entry> | |
<entry> | |
<key>Keystore Password</key> | |
</entry> | |
<entry> | |
<key>key-password</key> | |
</entry> | |
<entry> | |
<key>Keystore Type</key> | |
<value>JKS</value> | |
</entry> | |
<entry> | |
<key>Truststore Filename</key> | |
<value>/tmp/truststore.ts</value> | |
</entry> | |
<entry> | |
<key>Truststore Password</key> | |
</entry> | |
<entry> | |
<key>Truststore Type</key> | |
<value>JKS</value> | |
</entry> | |
<entry> | |
<key>SSL Protocol</key> | |
</entry> | |
</properties> | |
<state>ENABLED</state> | |
<type>org.apache.nifi.ssl.StandardRestrictedSSLContextService</type> | |
</controllerServices> | |
<labels> | |
<id>0e0f53ec-b3a2-3a92-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<position> | |
<x>692.0</x> | |
<y>292.0</y> | |
</position> | |
<height>192.0</height> | |
<label>Forward response back to client</label> | |
<style> | |
<entry> | |
<key>font-size</key> | |
<value>12px</value> | |
</entry> | |
</style> | |
<width>474.0</width> | |
</labels> | |
<labels> | |
<id>0faf62d1-1d87-3695-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<position> | |
<x>680.0</x> | |
<y>592.9999694824219</y> | |
</position> | |
<height>192.0</height> | |
<label>Log failed requests</label> | |
<style> | |
<entry> | |
<key>font-size</key> | |
<value>12px</value> | |
</entry> | |
</style> | |
<width>474.0</width> | |
</labels> | |
<labels> | |
<id>1b2bb4be-16aa-3526-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<position> | |
<x>0.0</x> | |
<y>0.0</y> | |
</position> | |
<height>192.0</height> | |
<label>Receive incoming API request (encrypted) and decrypt before forwarding</label> | |
<style> | |
<entry> | |
<key>font-size</key> | |
<value>12px</value> | |
</entry> | |
</style> | |
<width>474.0</width> | |
</labels> | |
<labels> | |
<id>bc25ef95-10e0-30ea-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<position> | |
<x>701.0</x> | |
<y>5.0</y> | |
</position> | |
<height>192.0</height> | |
<label>Forward decrypted API request to local HTTP Server</label> | |
<style> | |
<entry> | |
<key>font-size</key> | |
<value>12px</value> | |
</entry> | |
</style> | |
<width>474.0</width> | |
</labels> | |
<processors> | |
<id>302da3a3-3800-3b60-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<position> | |
<x>739.0</x> | |
<y>39.99999237060547</y> | |
</position> | |
<bundle> | |
<artifact>nifi-standard-nar</artifact> | |
<group>org.apache.nifi</group> | |
<version>1.9.2</version> | |
</bundle> | |
<config> | |
<bulletinLevel>WARN</bulletinLevel> | |
<comments></comments> | |
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> | |
<descriptors> | |
<entry> | |
<key>HTTP Method</key> | |
<value> | |
<name>HTTP Method</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Remote URL</key> | |
<value> | |
<name>Remote URL</name> | |
</value> | |
</entry> | |
<entry> | |
<key>SSL Context Service</key> | |
<value> | |
<identifiesControllerService>org.apache.nifi.ssl.SSLContextService</identifiesControllerService> | |
<name>SSL Context Service</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Connection Timeout</key> | |
<value> | |
<name>Connection Timeout</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Read Timeout</key> | |
<value> | |
<name>Read Timeout</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Include Date Header</key> | |
<value> | |
<name>Include Date Header</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Follow Redirects</key> | |
<value> | |
<name>Follow Redirects</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Attributes to Send</key> | |
<value> | |
<name>Attributes to Send</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Basic Authentication Username</key> | |
<value> | |
<name>Basic Authentication Username</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Basic Authentication Password</key> | |
<value> | |
<name>Basic Authentication Password</name> | |
</value> | |
</entry> | |
<entry> | |
<key>proxy-configuration-service</key> | |
<value> | |
<identifiesControllerService>org.apache.nifi.proxy.ProxyConfigurationService</identifiesControllerService> | |
<name>proxy-configuration-service</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Proxy Host</key> | |
<value> | |
<name>Proxy Host</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Proxy Port</key> | |
<value> | |
<name>Proxy Port</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Proxy Type</key> | |
<value> | |
<name>Proxy Type</name> | |
</value> | |
</entry> | |
<entry> | |
<key>invokehttp-proxy-user</key> | |
<value> | |
<name>invokehttp-proxy-user</name> | |
</value> | |
</entry> | |
<entry> | |
<key>invokehttp-proxy-password</key> | |
<value> | |
<name>invokehttp-proxy-password</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Put Response Body In Attribute</key> | |
<value> | |
<name>Put Response Body In Attribute</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Max Length To Put In Attribute</key> | |
<value> | |
<name>Max Length To Put In Attribute</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Digest Authentication</key> | |
<value> | |
<name>Digest Authentication</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Always Output Response</key> | |
<value> | |
<name>Always Output Response</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Trusted Hostname</key> | |
<value> | |
<name>Trusted Hostname</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Add Response Headers to Request</key> | |
<value> | |
<name>Add Response Headers to Request</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Content-Type</key> | |
<value> | |
<name>Content-Type</name> | |
</value> | |
</entry> | |
<entry> | |
<key>send-message-body</key> | |
<value> | |
<name>send-message-body</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Use Chunked Encoding</key> | |
<value> | |
<name>Use Chunked Encoding</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Penalize on "No Retry"</key> | |
<value> | |
<name>Penalize on "No Retry"</name> | |
</value> | |
</entry> | |
<entry> | |
<key>use-etag</key> | |
<value> | |
<name>use-etag</name> | |
</value> | |
</entry> | |
<entry> | |
<key>etag-max-cache-size</key> | |
<value> | |
<name>etag-max-cache-size</name> | |
</value> | |
</entry> | |
</descriptors> | |
<executionNode>ALL</executionNode> | |
<lossTolerant>false</lossTolerant> | |
<penaltyDuration>30 sec</penaltyDuration> | |
<properties> | |
<entry> | |
<key>HTTP Method</key> | |
<value>${http.method}</value> | |
</entry> | |
<entry> | |
<key>Remote URL</key> | |
<value>http://localhost:8080${http.request.uri}</value> | |
</entry> | |
<entry> | |
<key>SSL Context Service</key> | |
</entry> | |
<entry> | |
<key>Connection Timeout</key> | |
<value>5 secs</value> | |
</entry> | |
<entry> | |
<key>Read Timeout</key> | |
<value>15 secs</value> | |
</entry> | |
<entry> | |
<key>Include Date Header</key> | |
<value>True</value> | |
</entry> | |
<entry> | |
<key>Follow Redirects</key> | |
<value>True</value> | |
</entry> | |
<entry> | |
<key>Attributes to Send</key> | |
</entry> | |
<entry> | |
<key>Basic Authentication Username</key> | |
</entry> | |
<entry> | |
<key>Basic Authentication Password</key> | |
</entry> | |
<entry> | |
<key>proxy-configuration-service</key> | |
</entry> | |
<entry> | |
<key>Proxy Host</key> | |
</entry> | |
<entry> | |
<key>Proxy Port</key> | |
</entry> | |
<entry> | |
<key>Proxy Type</key> | |
<value>http</value> | |
</entry> | |
<entry> | |
<key>invokehttp-proxy-user</key> | |
</entry> | |
<entry> | |
<key>invokehttp-proxy-password</key> | |
</entry> | |
<entry> | |
<key>Put Response Body In Attribute</key> | |
</entry> | |
<entry> | |
<key>Max Length To Put In Attribute</key> | |
<value>256</value> | |
</entry> | |
<entry> | |
<key>Digest Authentication</key> | |
<value>false</value> | |
</entry> | |
<entry> | |
<key>Always Output Response</key> | |
<value>false</value> | |
</entry> | |
<entry> | |
<key>Trusted Hostname</key> | |
</entry> | |
<entry> | |
<key>Add Response Headers to Request</key> | |
<value>false</value> | |
</entry> | |
<entry> | |
<key>Content-Type</key> | |
<value>${mime.type}</value> | |
</entry> | |
<entry> | |
<key>send-message-body</key> | |
<value>true</value> | |
</entry> | |
<entry> | |
<key>Use Chunked Encoding</key> | |
<value>false</value> | |
</entry> | |
<entry> | |
<key>Penalize on "No Retry"</key> | |
<value>false</value> | |
</entry> | |
<entry> | |
<key>use-etag</key> | |
<value>false</value> | |
</entry> | |
<entry> | |
<key>etag-max-cache-size</key> | |
<value>10MB</value> | |
</entry> | |
</properties> | |
<runDurationMillis>0</runDurationMillis> | |
<schedulingPeriod>0 sec</schedulingPeriod> | |
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> | |
<yieldDuration>1 sec</yieldDuration> | |
</config> | |
<executionNodeRestricted>false</executionNodeRestricted> | |
<name>InvokeHTTP</name> | |
<relationships> | |
<autoTerminate>true</autoTerminate> | |
<name>Failure</name> | |
</relationships> | |
<relationships> | |
<autoTerminate>true</autoTerminate> | |
<name>No Retry</name> | |
</relationships> | |
<relationships> | |
<autoTerminate>true</autoTerminate> | |
<name>Original</name> | |
</relationships> | |
<relationships> | |
<autoTerminate>false</autoTerminate> | |
<name>Response</name> | |
</relationships> | |
<relationships> | |
<autoTerminate>true</autoTerminate> | |
<name>Retry</name> | |
</relationships> | |
<state>STOPPED</state> | |
<style/> | |
<type>org.apache.nifi.processors.standard.InvokeHTTP</type> | |
</processors> | |
<processors> | |
<id>400270ce-1c0f-35fc-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<position> | |
<x>68.58849896713718</x> | |
<y>36.51901214204429</y> | |
</position> | |
<bundle> | |
<artifact>nifi-standard-nar</artifact> | |
<group>org.apache.nifi</group> | |
<version>1.9.2</version> | |
</bundle> | |
<config> | |
<bulletinLevel>WARN</bulletinLevel> | |
<comments></comments> | |
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> | |
<descriptors> | |
<entry> | |
<key>Listening Port</key> | |
<value> | |
<name>Listening Port</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Hostname</key> | |
<value> | |
<name>Hostname</name> | |
</value> | |
</entry> | |
<entry> | |
<key>SSL Context Service</key> | |
<value> | |
<identifiesControllerService>org.apache.nifi.ssl.RestrictedSSLContextService</identifiesControllerService> | |
<name>SSL Context Service</name> | |
</value> | |
</entry> | |
<entry> | |
<key>HTTP Context Map</key> | |
<value> | |
<identifiesControllerService>org.apache.nifi.http.HttpContextMap</identifiesControllerService> | |
<name>HTTP Context Map</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Allowed Paths</key> | |
<value> | |
<name>Allowed Paths</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Default URL Character Set</key> | |
<value> | |
<name>Default URL Character Set</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Allow GET</key> | |
<value> | |
<name>Allow GET</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Allow POST</key> | |
<value> | |
<name>Allow POST</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Allow PUT</key> | |
<value> | |
<name>Allow PUT</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Allow DELETE</key> | |
<value> | |
<name>Allow DELETE</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Allow HEAD</key> | |
<value> | |
<name>Allow HEAD</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Allow OPTIONS</key> | |
<value> | |
<name>Allow OPTIONS</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Additional HTTP Methods</key> | |
<value> | |
<name>Additional HTTP Methods</name> | |
</value> | |
</entry> | |
<entry> | |
<key>Client Authentication</key> | |
<value> | |
<name>Client Authentication</name> | |
</value> | |
</entry> | |
<entry> | |
<key>container-queue-size</key> | |
<value> | |
<name>container-queue-size</name> | |
</value> | |
</entry> | |
<entry> | |
<key>multipart-request-max-size</key> | |
<value> | |
<name>multipart-request-max-size</name> | |
</value> | |
</entry> | |
<entry> | |
<key>multipart-read-buffer-size</key> | |
<value> | |
<name>multipart-read-buffer-size</name> | |
</value> | |
</entry> | |
</descriptors> | |
<executionNode>ALL</executionNode> | |
<lossTolerant>false</lossTolerant> | |
<penaltyDuration>30 sec</penaltyDuration> | |
<properties> | |
<entry> | |
<key>Listening Port</key> | |
<value>7800</value> | |
</entry> | |
<entry> | |
<key>Hostname</key> | |
</entry> | |
<entry> | |
<key>SSL Context Service</key> | |
<value>7c01dde1-5bd5-333b-0000-000000000000</value> | |
</entry> | |
<entry> | |
<key>HTTP Context Map</key> | |
<value>0991b860-e659-3002-0000-000000000000</value> | |
</entry> | |
<entry> | |
<key>Allowed Paths</key> | |
</entry> | |
<entry> | |
<key>Default URL Character Set</key> | |
<value>UTF-8</value> | |
</entry> | |
<entry> | |
<key>Allow GET</key> | |
<value>true</value> | |
</entry> | |
<entry> | |
<key>Allow POST</key> | |
<value>true</value> | |
</entry> | |
<entry> | |
<key>Allow PUT</key> | |
<value>true</value> | |
</entry> | |
<entry> | |
<key>Allow DELETE</key> | |
<value>true</value> | |
</entry> | |
<entry> | |
<key>Allow HEAD</key> | |
<value>false</value> | |
</entry> | |
<entry> | |
<key>Allow OPTIONS</key> | |
<value>false</value> | |
</entry> | |
<entry> | |
<key>Additional HTTP Methods</key> | |
</entry> | |
<entry> | |
<key>Client Authentication</key> | |
<value>No Authentication</value> | |
</entry> | |
<entry> | |
<key>container-queue-size</key> | |
<value>50</value> | |
</entry> | |
<entry> | |
<key>multipart-request-max-size</key> | |
<value>1 MB</value> | |
</entry> | |
<entry> | |
<key>multipart-read-buffer-size</key> | |
<value>512 KB</value> | |
</entry> | |
</properties> | |
<runDurationMillis>0</runDurationMillis> | |
<schedulingPeriod>0 sec</schedulingPeriod> | |
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> | |
<yieldDuration>1 sec</yieldDuration> | |
</config> | |
<executionNodeRestricted>false</executionNodeRestricted> | |
<name>HandleHttpRequest</name> | |
<relationships> | |
<autoTerminate>false</autoTerminate> | |
<name>success</name> | |
</relationships> | |
<state>STOPPED</state> | |
<style/> | |
<type>org.apache.nifi.processors.standard.HandleHttpRequest</type> | |
</processors> | |
<processors> | |
<id>a43f541d-9b6c-3fde-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<position> | |
<x>739.0</x> | |
<y>327.0</y> | |
</position> | |
<bundle> | |
<artifact>nifi-standard-nar</artifact> | |
<group>org.apache.nifi</group> | |
<version>1.9.2</version> | |
</bundle> | |
<config> | |
<bulletinLevel>WARN</bulletinLevel> | |
<comments></comments> | |
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount> | |
<descriptors> | |
<entry> | |
<key>HTTP Status Code</key> | |
<value> | |
<name>HTTP Status Code</name> | |
</value> | |
</entry> | |
<entry> | |
<key>HTTP Context Map</key> | |
<value> | |
<identifiesControllerService>org.apache.nifi.http.HttpContextMap</identifiesControllerService> | |
<name>HTTP Context Map</name> | |
</value> | |
</entry> | |
</descriptors> | |
<executionNode>ALL</executionNode> | |
<lossTolerant>false</lossTolerant> | |
<penaltyDuration>30 sec</penaltyDuration> | |
<properties> | |
<entry> | |
<key>HTTP Status Code</key> | |
<value>200</value> | |
</entry> | |
<entry> | |
<key>HTTP Context Map</key> | |
<value>0991b860-e659-3002-0000-000000000000</value> | |
</entry> | |
</properties> | |
<runDurationMillis>0</runDurationMillis> | |
<schedulingPeriod>0 sec</schedulingPeriod> | |
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy> | |
<yieldDuration>1 sec</yieldDuration> | |
</config> | |
<executionNodeRestricted>false</executionNodeRestricted> | |
<name>HandleHttpResponse</name> | |
<relationships> | |
<autoTerminate>false</autoTerminate> | |
<name>failure</name> | |
</relationships> | |
<relationships> | |
<autoTerminate>true</autoTerminate> | |
<name>success</name> | |
</relationships> | |
<state>STOPPED</state> | |
<style/> | |
<type>org.apache.nifi.processors.standard.HandleHttpResponse</type> | |
</processors> | |
<processors> | |
<id>dee745b7-d53a-3eef-0000-000000000000</id> | |
<parentGroupId>75fd9e98-7cb4-3d53-0000-000000000000</parentGroupId> | |
<position> | |
<x>730.0</x> | |
<y>616.0</y> | |
</position> | |
<bundle> | |
<artifact>nifi-standard-nar</artifact> | |
<group>org.apache.nifi</group> | |
<version>1.9.2</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>false</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> | |
</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>LogAttribute</name> | |
<relationships> | |
<autoTerminate>true</autoTerminate> | |
<name>success</name> | |
</relationships> | |
<state>STOPPED</state> | |
<style/> | |
<type>org.apache.nifi.processors.standard.LogAttribute</type> | |
</processors> | |
</snippet> | |
<timestamp>05/27/2019 15:50:58 EEST</timestamp> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment