Skip to content

Instantly share code, notes, and snippets.

@pvillard31
Created October 21, 2022 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvillard31/3521c9204dde80b2575a3d65c591c05f to your computer and use it in GitHub Desktop.
Save pvillard31/3521c9204dde80b2575a3d65c591c05f to your computer and use it in GitHub Desktop.
NiFi flow to be executed as a function for resizing images with an HTTP trigger
{"flowContents":{"identifier":"5c277775-7108-338e-8fde-78c8863a62fc","instanceIdentifier":"fdc668c2-0182-1000-62e2-28dd424f41d2","name":"ImageResizeFunction","comments":"","position":{"x":560.0,"y":88.0},"processGroups":[{"identifier":"9ac7f940-5a58-3aff-b5c0-c6431737a210","instanceIdentifier":"c352162d-37d7-1087-17c5-8a26eaafdb42","name":"AZURE","comments":"","position":{"x":784.0,"y":560.0},"processGroups":[],"remoteProcessGroups":[],"processors":[{"identifier":"ae298fa6-4043-3412-be7c-d2d3f1d9d049","instanceIdentifier":"c3521631-37d7-1087-250e-ce6fc61f3142","name":"UpdateAttribute","comments":"","position":{"x":648.0,"y":144.0},"type":"org.apache.nifi.processors.attributes.UpdateAttribute","bundle":{"group":"org.apache.nifi","artifact":"nifi-update-attribute-nar","version":"1.18.0"},"properties":{"Delete Attributes Expression":null,"Store State":"Do not store state","canonical-value-lookup-cache-size":"100","resizeWidth":"${azure.http.header.resize-width:isEmpty():ifElse(#{defaultWidth},${azure.http.header.resize-width})}","Stateful Variables Initial Value":null,"resizeHeight":"${azure.http.header.resize-height:isEmpty():ifElse(#{defaultHeight},${azure.http.header.resize-height})}","mime.type":"image/jpeg"},"propertyDescriptors":{"Delete Attributes Expression":{"name":"Delete Attributes Expression","displayName":"Delete Attributes Expression","identifiesControllerService":false,"sensitive":false},"Store State":{"name":"Store State","displayName":"Store State","identifiesControllerService":false,"sensitive":false},"canonical-value-lookup-cache-size":{"name":"canonical-value-lookup-cache-size","displayName":"Cache Value Lookup Cache Size","identifiesControllerService":false,"sensitive":false},"resizeWidth":{"name":"resizeWidth","displayName":"resizeWidth","identifiesControllerService":false,"sensitive":false},"Stateful Variables Initial Value":{"name":"Stateful Variables Initial Value","displayName":"Stateful Variables Initial Value","identifiesControllerService":false,"sensitive":false},"resizeHeight":{"name":"resizeHeight","displayName":"resizeHeight","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":[],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"9ac7f940-5a58-3aff-b5c0-c6431737a210"},{"identifier":"df44eb6b-2667-37d3-93fb-3be4cdf8abc9","instanceIdentifier":"c3521630-37d7-1087-cd32-6852f0194e50","name":"ResizeImage","comments":"","position":{"x":648.0,"y":328.0},"type":"org.apache.nifi.processors.image.ResizeImage","bundle":{"group":"org.apache.nifi","artifact":"nifi-media-nar","version":"1.18.0"},"properties":{"Scaling Algorithm":"Default","Image Width (in pixels)":"${resizeWidth}","keep-ratio":"true","Image Height (in pixels)":"${resizeHeight}"},"propertyDescriptors":{"Scaling Algorithm":{"name":"Scaling Algorithm","displayName":"Scaling Algorithm","identifiesControllerService":false,"sensitive":false},"Image Width (in pixels)":{"name":"Image Width (in pixels)","displayName":"Image Width (in pixels)","identifiesControllerService":false,"sensitive":false},"keep-ratio":{"name":"keep-ratio","displayName":"Maintain aspect ratio","identifiesControllerService":false,"sensitive":false},"Image Height (in pixels)":{"name":"Image Height (in pixels)","displayName":"Image Height (in pixels)","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":["failure"],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"9ac7f940-5a58-3aff-b5c0-c6431737a210"}],"inputPorts":[{"identifier":"ab038a99-2306-390f-a676-8b1e6ff728c2","instanceIdentifier":"c352162e-37d7-1087-4039-16bb2287e29f","name":"payload","position":{"x":704.0,"y":48.0},"type":"INPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"INPUT_PORT","groupIdentifier":"9ac7f940-5a58-3aff-b5c0-c6431737a210"}],"outputPorts":[{"identifier":"6127b21b-026a-3ea5-84fa-0e80df979e5e","instanceIdentifier":"c352162f-37d7-1087-0c66-56ec7ed8c74b","name":"success","position":{"x":704.0,"y":528.0},"type":"OUTPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"OUTPUT_PORT","groupIdentifier":"9ac7f940-5a58-3aff-b5c0-c6431737a210"}],"connections":[{"identifier":"29508984-f032-30ec-bbae-c59420e5efc3","instanceIdentifier":"c3521634-37d7-1087-80df-059027efed69","name":"","source":{"id":"ab038a99-2306-390f-a676-8b1e6ff728c2","type":"INPUT_PORT","groupId":"9ac7f940-5a58-3aff-b5c0-c6431737a210","name":"payload","instanceIdentifier":"c352162e-37d7-1087-4039-16bb2287e29f"},"destination":{"id":"ae298fa6-4043-3412-be7c-d2d3f1d9d049","type":"PROCESSOR","groupId":"9ac7f940-5a58-3aff-b5c0-c6431737a210","name":"UpdateAttribute","comments":"","instanceIdentifier":"c3521631-37d7-1087-250e-ce6fc61f3142"},"labelIndex":1,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"9ac7f940-5a58-3aff-b5c0-c6431737a210"},{"identifier":"0e7e047c-24f1-3f60-9a87-15e46d50a8a9","instanceIdentifier":"c3521633-37d7-1087-51d9-fe6b52372bf9","name":"","source":{"id":"df44eb6b-2667-37d3-93fb-3be4cdf8abc9","type":"PROCESSOR","groupId":"9ac7f940-5a58-3aff-b5c0-c6431737a210","name":"ResizeImage","comments":"","instanceIdentifier":"c3521630-37d7-1087-cd32-6852f0194e50"},"destination":{"id":"6127b21b-026a-3ea5-84fa-0e80df979e5e","type":"OUTPUT_PORT","groupId":"9ac7f940-5a58-3aff-b5c0-c6431737a210","name":"success","instanceIdentifier":"c352162f-37d7-1087-0c66-56ec7ed8c74b"},"labelIndex":1,"zIndex":0,"selectedRelationships":["success"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"9ac7f940-5a58-3aff-b5c0-c6431737a210"},{"identifier":"aabb8881-c72c-3264-a247-e98b5120c70e","instanceIdentifier":"c3521632-37d7-1087-4db3-6fd932549ff5","name":"","source":{"id":"ae298fa6-4043-3412-be7c-d2d3f1d9d049","type":"PROCESSOR","groupId":"9ac7f940-5a58-3aff-b5c0-c6431737a210","name":"UpdateAttribute","comments":"","instanceIdentifier":"c3521631-37d7-1087-250e-ce6fc61f3142"},"destination":{"id":"df44eb6b-2667-37d3-93fb-3be4cdf8abc9","type":"PROCESSOR","groupId":"9ac7f940-5a58-3aff-b5c0-c6431737a210","name":"ResizeImage","comments":"","instanceIdentifier":"c3521630-37d7-1087-cd32-6852f0194e50"},"labelIndex":1,"zIndex":0,"selectedRelationships":["success"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"9ac7f940-5a58-3aff-b5c0-c6431737a210"}],"labels":[],"funnels":[],"controllerServices":[],"variables":{},"parameterContextName":"ImageResizeFunctionPC","defaultFlowFileExpiration":"0 sec","defaultBackPressureObjectThreshold":10000,"defaultBackPressureDataSizeThreshold":"1 GB","flowFileOutboundPolicy":"STREAM_WHEN_AVAILABLE","flowFileConcurrency":"UNBOUNDED","componentType":"PROCESS_GROUP","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"b9e1bad7-ee3c-3016-a267-508477df75b7","instanceIdentifier":"18ce5fac-0183-1000-e0b9-7208c29275b4","name":"AWS","comments":"","position":{"x":384.0,"y":560.0},"processGroups":[{"identifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c","instanceIdentifier":"4f523f0e-495f-33a6-2021-38b64ebc69cd","name":"Extract Data From Trigger Payload","comments":"","position":{"x":608.0,"y":160.0},"processGroups":[],"remoteProcessGroups":[],"processors":[{"identifier":"c10af788-d363-3f44-b1b8-64a86fc7f8a1","instanceIdentifier":"02ac5ca3-0183-1000-9a4f-6931404811e3","name":"Extract headers","comments":"","position":{"x":496.0,"y":-256.0},"type":"org.apache.nifi.processors.standard.EvaluateJsonPath","bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.18.0"},"properties":{"Destination":"flowfile-attribute","resizeWidth":"$.headers.resize-width","Return Type":"auto-detect","Null Value Representation":"empty string","resizeHeight":"$.headers.resize-height","Path Not Found Behavior":"ignore"},"propertyDescriptors":{"Destination":{"name":"Destination","displayName":"Destination","identifiesControllerService":false,"sensitive":false},"resizeWidth":{"name":"resizeWidth","displayName":"resizeWidth","identifiesControllerService":false,"sensitive":false},"Return Type":{"name":"Return Type","displayName":"Return Type","identifiesControllerService":false,"sensitive":false},"Null Value Representation":{"name":"Null Value Representation","displayName":"Null Value Representation","identifiesControllerService":false,"sensitive":false},"resizeHeight":{"name":"resizeHeight","displayName":"resizeHeight","identifiesControllerService":false,"sensitive":false},"Path Not Found Behavior":{"name":"Path Not Found Behavior","displayName":"Path Not Found Behavior","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":["failure"],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"},{"identifier":"dbdf019a-b60d-3ead-a32a-b1fcbe6452a2","instanceIdentifier":"ecc7120a-5cde-3a75-bf21-a32ecafc02e9","name":"Base64 Decode Content","comments":"","position":{"x":496.0,"y":152.0},"type":"org.apache.nifi.processors.standard.Base64EncodeContent","bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.18.0"},"properties":{"Mode":"Decode"},"propertyDescriptors":{"Mode":{"name":"Mode","displayName":"Mode","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":["failure"],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"},{"identifier":"0fc972a2-8cfa-3f3c-b783-b3f77e4be1f5","instanceIdentifier":"02ae44c5-0183-1000-7fd1-0ed2726ead91","name":"UpdateAttribute","comments":"","position":{"x":496.0,"y":-120.0},"type":"org.apache.nifi.processors.attributes.UpdateAttribute","bundle":{"group":"org.apache.nifi","artifact":"nifi-update-attribute-nar","version":"1.18.0"},"properties":{"Delete Attributes Expression":null,"Store State":"Do not store state","canonical-value-lookup-cache-size":"100","resizeWidth":"${resizeWidth:isEmpty():ifElse(#{defaultWidth},${resizeWidth})}","Stateful Variables Initial Value":null,"resizeHeight":"${resizeHeight:isEmpty():ifElse(#{defaultHeight},${resizeHeight})}"},"propertyDescriptors":{"Delete Attributes Expression":{"name":"Delete Attributes Expression","displayName":"Delete Attributes Expression","identifiesControllerService":false,"sensitive":false},"Store State":{"name":"Store State","displayName":"Store State","identifiesControllerService":false,"sensitive":false},"canonical-value-lookup-cache-size":{"name":"canonical-value-lookup-cache-size","displayName":"Cache Value Lookup Cache Size","identifiesControllerService":false,"sensitive":false},"resizeWidth":{"name":"resizeWidth","displayName":"resizeWidth","identifiesControllerService":false,"sensitive":false},"Stateful Variables Initial Value":{"name":"Stateful Variables Initial Value","displayName":"Stateful Variables Initial Value","identifiesControllerService":false,"sensitive":false},"resizeHeight":{"name":"resizeHeight","displayName":"resizeHeight","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":[],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"},{"identifier":"77e954cd-8df8-3e0c-a10d-2451eed973d6","instanceIdentifier":"8838f2ea-5ad1-3fcb-00a2-8d96a58cd175","name":"Extract body","comments":"","position":{"x":496.0,"y":16.0},"type":"org.apache.nifi.processors.standard.EvaluateJsonPath","bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.18.0"},"properties":{"Destination":"flowfile-content","Return Type":"auto-detect","Null Value Representation":"empty string","body":"$.body","Path Not Found Behavior":"ignore"},"propertyDescriptors":{"Destination":{"name":"Destination","displayName":"Destination","identifiesControllerService":false,"sensitive":false},"Return Type":{"name":"Return Type","displayName":"Return Type","identifiesControllerService":false,"sensitive":false},"Null Value Representation":{"name":"Null Value Representation","displayName":"Null Value Representation","identifiesControllerService":false,"sensitive":false},"body":{"name":"body","displayName":"body","identifiesControllerService":false,"sensitive":false},"Path Not Found Behavior":{"name":"Path Not Found Behavior","displayName":"Path Not Found Behavior","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":["failure","unmatched"],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"}],"inputPorts":[{"identifier":"754015f2-edc4-384b-9c45-2c2c419591c9","instanceIdentifier":"95a1d40f-4dc1-3b79-792f-5e1ca5acd106","name":"payload","position":{"x":552.0,"y":-352.0},"type":"INPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"INPUT_PORT","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"}],"outputPorts":[{"identifier":"820f828b-de4b-3977-84f2-c9f820e4c0ef","instanceIdentifier":"377f9b51-f7ee-3fe5-09b8-8d8fb2aeeadc","name":"image","position":{"x":1184.0,"y":192.0},"type":"OUTPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"OUTPUT_PORT","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"}],"connections":[{"identifier":"4fa4eef1-0777-369c-9e88-68bc467d740b","instanceIdentifier":"974d8928-37e2-3a10-e1a9-0e8b9d8326ac","name":"","source":{"id":"754015f2-edc4-384b-9c45-2c2c419591c9","type":"INPUT_PORT","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"payload","instanceIdentifier":"95a1d40f-4dc1-3b79-792f-5e1ca5acd106"},"destination":{"id":"c10af788-d363-3f44-b1b8-64a86fc7f8a1","type":"PROCESSOR","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"Extract headers","comments":"","instanceIdentifier":"02ac5ca3-0183-1000-9a4f-6931404811e3"},"labelIndex":0,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"},{"identifier":"1213fa57-5129-3062-adad-7258fe426c89","instanceIdentifier":"cd832eac-5ee0-3b0b-f1a4-6b476d08bf9b","name":"","source":{"id":"dbdf019a-b60d-3ead-a32a-b1fcbe6452a2","type":"PROCESSOR","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"Base64 Decode Content","comments":"","instanceIdentifier":"ecc7120a-5cde-3a75-bf21-a32ecafc02e9"},"destination":{"id":"820f828b-de4b-3977-84f2-c9f820e4c0ef","type":"OUTPUT_PORT","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"image","instanceIdentifier":"377f9b51-f7ee-3fe5-09b8-8d8fb2aeeadc"},"labelIndex":1,"zIndex":0,"selectedRelationships":["success"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"},{"identifier":"9fe3184b-255a-3b5e-95cc-480f36a76fef","instanceIdentifier":"02accc1e-0183-1000-92fe-2f6281a524e0","name":"","source":{"id":"c10af788-d363-3f44-b1b8-64a86fc7f8a1","type":"PROCESSOR","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"Extract headers","comments":"","instanceIdentifier":"02ac5ca3-0183-1000-9a4f-6931404811e3"},"destination":{"id":"0fc972a2-8cfa-3f3c-b783-b3f77e4be1f5","type":"PROCESSOR","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"UpdateAttribute","comments":"","instanceIdentifier":"02ae44c5-0183-1000-7fd1-0ed2726ead91"},"labelIndex":0,"zIndex":0,"selectedRelationships":["unmatched"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":984.0,"y":-112.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"},{"identifier":"78cee4b6-7fea-3bf7-af91-ff62313022ad","instanceIdentifier":"02aeb686-0183-1000-da44-52715891f5b5","name":"","source":{"id":"0fc972a2-8cfa-3f3c-b783-b3f77e4be1f5","type":"PROCESSOR","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"UpdateAttribute","comments":"","instanceIdentifier":"02ae44c5-0183-1000-7fd1-0ed2726ead91"},"destination":{"id":"77e954cd-8df8-3e0c-a10d-2451eed973d6","type":"PROCESSOR","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"Extract body","comments":"","instanceIdentifier":"8838f2ea-5ad1-3fcb-00a2-8d96a58cd175"},"labelIndex":0,"zIndex":0,"selectedRelationships":["success"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":352.0,"y":16.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"},{"identifier":"b39682df-d742-300b-9aa2-529a99f79e63","instanceIdentifier":"02ac7d37-0183-1000-d81a-5bf56f701276","name":"","source":{"id":"c10af788-d363-3f44-b1b8-64a86fc7f8a1","type":"PROCESSOR","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"Extract headers","comments":"","instanceIdentifier":"02ac5ca3-0183-1000-9a4f-6931404811e3"},"destination":{"id":"0fc972a2-8cfa-3f3c-b783-b3f77e4be1f5","type":"PROCESSOR","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"UpdateAttribute","comments":"","instanceIdentifier":"02ae44c5-0183-1000-7fd1-0ed2726ead91"},"labelIndex":0,"zIndex":0,"selectedRelationships":["matched"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":360.0,"y":-112.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"},{"identifier":"3ac0f90f-7c26-32bb-80ca-77a5493fee40","instanceIdentifier":"c3027525-54a2-3082-5398-fd1660646f8e","name":"","source":{"id":"77e954cd-8df8-3e0c-a10d-2451eed973d6","type":"PROCESSOR","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"Extract body","comments":"","instanceIdentifier":"8838f2ea-5ad1-3fcb-00a2-8d96a58cd175"},"destination":{"id":"dbdf019a-b60d-3ead-a32a-b1fcbe6452a2","type":"PROCESSOR","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"Base64 Decode Content","comments":"","instanceIdentifier":"ecc7120a-5cde-3a75-bf21-a32ecafc02e9"},"labelIndex":0,"zIndex":0,"selectedRelationships":["matched"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":368.0,"y":168.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"72b8b325-3174-3e53-9f9c-aa28546eb57c"}],"labels":[],"funnels":[],"controllerServices":[],"variables":{},"parameterContextName":"ImageResizeFunctionPC","defaultFlowFileExpiration":"0 sec","defaultBackPressureObjectThreshold":10000,"defaultBackPressureDataSizeThreshold":"1 GB","flowFileOutboundPolicy":"STREAM_WHEN_AVAILABLE","flowFileConcurrency":"UNBOUNDED","componentType":"PROCESS_GROUP","groupIdentifier":"b9e1bad7-ee3c-3016-a267-508477df75b7"},{"identifier":"566484ae-360b-3d64-b74a-0d2ca414b4d0","instanceIdentifier":"fdc739bf-0182-1000-2681-ccfbef7be546","name":"Prepare response payload","comments":"","position":{"x":608.0,"y":480.0},"processGroups":[],"remoteProcessGroups":[],"processors":[{"identifier":"7de903e8-df1e-3922-9de4-043c5a6b503a","instanceIdentifier":"fdc7eb16-0182-1000-8e8a-e2c87ccf51aa","name":"Base64EncodeContent","comments":"","position":{"x":672.0,"y":176.0},"type":"org.apache.nifi.processors.standard.Base64EncodeContent","bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.18.0"},"properties":{"Mode":"Encode"},"propertyDescriptors":{"Mode":{"name":"Mode","displayName":"Mode","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":["failure"],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"566484ae-360b-3d64-b74a-0d2ca414b4d0"},{"identifier":"f487e1f2-a6ba-3e6c-9a55-796c7e372200","instanceIdentifier":"fdc8f05d-0182-1000-b550-b98101e4e090","name":"ReplaceText","comments":"","position":{"x":672.0,"y":376.0},"type":"org.apache.nifi.processors.standard.ReplaceText","bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.18.0"},"properties":{"Regular Expression":"(?s)(^.*$)","Replacement Value":"{\n\t\"statusCode\": 200,\n\t\"headers\": { \"Content-Type\": \"image/png\" },\n\t\"isBase64Encoded\": true,\n\t\"body\": \"$1\"\n}","Evaluation Mode":"Entire text","Line-by-Line Evaluation Mode":"All","Character Set":"UTF-8","Maximum Buffer Size":"10 MB","Replacement Strategy":"Regex Replace"},"propertyDescriptors":{"Regular Expression":{"name":"Regular Expression","displayName":"Search Value","identifiesControllerService":false,"sensitive":false},"Replacement Value":{"name":"Replacement Value","displayName":"Replacement Value","identifiesControllerService":false,"sensitive":false},"Evaluation Mode":{"name":"Evaluation Mode","displayName":"Evaluation Mode","identifiesControllerService":false,"sensitive":false},"Line-by-Line Evaluation Mode":{"name":"Line-by-Line Evaluation Mode","displayName":"Line-by-Line Evaluation Mode","identifiesControllerService":false,"sensitive":false},"Character Set":{"name":"Character Set","displayName":"Character Set","identifiesControllerService":false,"sensitive":false},"Maximum Buffer Size":{"name":"Maximum Buffer Size","displayName":"Maximum Buffer Size","identifiesControllerService":false,"sensitive":false},"Replacement Strategy":{"name":"Replacement Strategy","displayName":"Replacement Strategy","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":["failure"],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"566484ae-360b-3d64-b74a-0d2ca414b4d0"}],"inputPorts":[{"identifier":"45509ee2-eef0-3c2b-a42c-0690ae68a2e7","instanceIdentifier":"fdc7650f-0182-1000-6e77-77daf48581e3","name":"resizedImage","position":{"x":424.0,"y":56.0},"type":"INPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"INPUT_PORT","groupIdentifier":"566484ae-360b-3d64-b74a-0d2ca414b4d0"}],"outputPorts":[{"identifier":"77583bbb-b388-37ef-9743-1b8fe4c5aaa9","instanceIdentifier":"fdcb93fc-0182-1000-f4a6-4e646bb546cf","name":"response","position":{"x":472.0,"y":624.0},"type":"OUTPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"OUTPUT_PORT","groupIdentifier":"566484ae-360b-3d64-b74a-0d2ca414b4d0"}],"connections":[{"identifier":"b8420efa-2ad6-3f2b-beab-71e2c259fd43","instanceIdentifier":"fdc90ad3-0182-1000-a631-cd3a0cc8e59a","name":"","source":{"id":"7de903e8-df1e-3922-9de4-043c5a6b503a","type":"PROCESSOR","groupId":"566484ae-360b-3d64-b74a-0d2ca414b4d0","name":"Base64EncodeContent","comments":"","instanceIdentifier":"fdc7eb16-0182-1000-8e8a-e2c87ccf51aa"},"destination":{"id":"f487e1f2-a6ba-3e6c-9a55-796c7e372200","type":"PROCESSOR","groupId":"566484ae-360b-3d64-b74a-0d2ca414b4d0","name":"ReplaceText","comments":"","instanceIdentifier":"fdc8f05d-0182-1000-b550-b98101e4e090"},"labelIndex":1,"zIndex":0,"selectedRelationships":["success"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"566484ae-360b-3d64-b74a-0d2ca414b4d0"},{"identifier":"5db8d3fb-f65f-3c34-bf99-5b4b329ab6a6","instanceIdentifier":"fdcba757-0182-1000-0910-e98a7a8aea6b","name":"","source":{"id":"f487e1f2-a6ba-3e6c-9a55-796c7e372200","type":"PROCESSOR","groupId":"566484ae-360b-3d64-b74a-0d2ca414b4d0","name":"ReplaceText","comments":"","instanceIdentifier":"fdc8f05d-0182-1000-b550-b98101e4e090"},"destination":{"id":"77583bbb-b388-37ef-9743-1b8fe4c5aaa9","type":"OUTPUT_PORT","groupId":"566484ae-360b-3d64-b74a-0d2ca414b4d0","name":"response","instanceIdentifier":"fdcb93fc-0182-1000-f4a6-4e646bb546cf"},"labelIndex":1,"zIndex":0,"selectedRelationships":["success"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"566484ae-360b-3d64-b74a-0d2ca414b4d0"},{"identifier":"eeba37b7-ac51-3774-88f0-56466826b790","instanceIdentifier":"fdc7f660-0182-1000-6a11-845b7e4ebf4e","name":"","source":{"id":"45509ee2-eef0-3c2b-a42c-0690ae68a2e7","type":"INPUT_PORT","groupId":"566484ae-360b-3d64-b74a-0d2ca414b4d0","name":"resizedImage","instanceIdentifier":"fdc7650f-0182-1000-6e77-77daf48581e3"},"destination":{"id":"7de903e8-df1e-3922-9de4-043c5a6b503a","type":"PROCESSOR","groupId":"566484ae-360b-3d64-b74a-0d2ca414b4d0","name":"Base64EncodeContent","comments":"","instanceIdentifier":"fdc7eb16-0182-1000-8e8a-e2c87ccf51aa"},"labelIndex":1,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"566484ae-360b-3d64-b74a-0d2ca414b4d0"}],"labels":[],"funnels":[],"controllerServices":[],"variables":{},"defaultFlowFileExpiration":"0 sec","defaultBackPressureObjectThreshold":10000,"defaultBackPressureDataSizeThreshold":"1 GB","flowFileOutboundPolicy":"STREAM_WHEN_AVAILABLE","flowFileConcurrency":"UNBOUNDED","componentType":"PROCESS_GROUP","groupIdentifier":"b9e1bad7-ee3c-3016-a267-508477df75b7"}],"remoteProcessGroups":[],"processors":[{"identifier":"d7bd4d49-cc8e-3a00-b4bf-5412ab309dd7","instanceIdentifier":"fdc6868d-0182-1000-9ea6-880509307b2a","name":"ResizeImage","comments":"","position":{"x":624.0,"y":344.0},"type":"org.apache.nifi.processors.image.ResizeImage","bundle":{"group":"org.apache.nifi","artifact":"nifi-media-nar","version":"1.18.0"},"properties":{"Scaling Algorithm":"Default","Image Width (in pixels)":"${resizeWidth}","keep-ratio":"true","Image Height (in pixels)":"${resizeHeight}"},"propertyDescriptors":{"Scaling Algorithm":{"name":"Scaling Algorithm","displayName":"Scaling Algorithm","identifiesControllerService":false,"sensitive":false},"Image Width (in pixels)":{"name":"Image Width (in pixels)","displayName":"Image Width (in pixels)","identifiesControllerService":false,"sensitive":false},"keep-ratio":{"name":"keep-ratio","displayName":"Maintain aspect ratio","identifiesControllerService":false,"sensitive":false},"Image Height (in pixels)":{"name":"Image Height (in pixels)","displayName":"Image Height (in pixels)","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":["failure"],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"b9e1bad7-ee3c-3016-a267-508477df75b7"}],"inputPorts":[{"identifier":"753d5c24-9670-3502-ab45-83713b8496ae","instanceIdentifier":"18cee215-0183-1000-37e4-29ab4f288685","name":"payload","position":{"x":680.0,"y":24.0},"type":"INPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"INPUT_PORT","groupIdentifier":"b9e1bad7-ee3c-3016-a267-508477df75b7"}],"outputPorts":[{"identifier":"af202219-3845-3834-84b7-7cc3eba20f79","instanceIdentifier":"18cf1d63-0183-1000-5fba-07cd4e9b08cd","name":"success","position":{"x":680.0,"y":744.0},"type":"OUTPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"OUTPUT_PORT","groupIdentifier":"b9e1bad7-ee3c-3016-a267-508477df75b7"}],"connections":[{"identifier":"f299caed-114e-30bd-9565-e41261a34af1","instanceIdentifier":"fdc69975-0182-1000-920a-e35dc9ffa10c","name":"","source":{"id":"820f828b-de4b-3977-84f2-c9f820e4c0ef","type":"OUTPUT_PORT","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"image","instanceIdentifier":"377f9b51-f7ee-3fe5-09b8-8d8fb2aeeadc"},"destination":{"id":"d7bd4d49-cc8e-3a00-b4bf-5412ab309dd7","type":"PROCESSOR","groupId":"b9e1bad7-ee3c-3016-a267-508477df75b7","name":"ResizeImage","comments":"","instanceIdentifier":"fdc6868d-0182-1000-9ea6-880509307b2a"},"labelIndex":0,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":1136.0,"y":328.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"b9e1bad7-ee3c-3016-a267-508477df75b7"},{"identifier":"2598d0cc-5a7c-3eab-ac53-53407c0ce41c","instanceIdentifier":"c352161f-37d7-1087-60fc-19b650d60000","name":"","source":{"id":"753d5c24-9670-3502-ab45-83713b8496ae","type":"INPUT_PORT","groupId":"b9e1bad7-ee3c-3016-a267-508477df75b7","name":"payload","instanceIdentifier":"18cee215-0183-1000-37e4-29ab4f288685"},"destination":{"id":"754015f2-edc4-384b-9c45-2c2c419591c9","type":"INPUT_PORT","groupId":"72b8b325-3174-3e53-9f9c-aa28546eb57c","name":"payload","instanceIdentifier":"95a1d40f-4dc1-3b79-792f-5e1ca5acd106"},"labelIndex":1,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"b9e1bad7-ee3c-3016-a267-508477df75b7"},{"identifier":"2d79a4b4-efcc-3285-9406-4f7143f2e44d","instanceIdentifier":"fdc7905e-0182-1000-393a-d11b35e09511","name":"","source":{"id":"d7bd4d49-cc8e-3a00-b4bf-5412ab309dd7","type":"PROCESSOR","groupId":"b9e1bad7-ee3c-3016-a267-508477df75b7","name":"ResizeImage","comments":"","instanceIdentifier":"fdc6868d-0182-1000-9ea6-880509307b2a"},"destination":{"id":"45509ee2-eef0-3c2b-a42c-0690ae68a2e7","type":"INPUT_PORT","groupId":"566484ae-360b-3d64-b74a-0d2ca414b4d0","name":"resizedImage","instanceIdentifier":"fdc7650f-0182-1000-6e77-77daf48581e3"},"labelIndex":0,"zIndex":0,"selectedRelationships":["success"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":1144.0,"y":456.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"b9e1bad7-ee3c-3016-a267-508477df75b7"},{"identifier":"acacc583-a159-3403-b791-73b7819494d5","instanceIdentifier":"c3521620-37d7-1087-dd6e-e8905e7ded01","name":"","source":{"id":"77583bbb-b388-37ef-9743-1b8fe4c5aaa9","type":"OUTPUT_PORT","groupId":"566484ae-360b-3d64-b74a-0d2ca414b4d0","name":"response","instanceIdentifier":"fdcb93fc-0182-1000-f4a6-4e646bb546cf"},"destination":{"id":"af202219-3845-3834-84b7-7cc3eba20f79","type":"OUTPUT_PORT","groupId":"b9e1bad7-ee3c-3016-a267-508477df75b7","name":"success","instanceIdentifier":"18cf1d63-0183-1000-5fba-07cd4e9b08cd"},"labelIndex":1,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"b9e1bad7-ee3c-3016-a267-508477df75b7"}],"labels":[],"funnels":[],"controllerServices":[],"variables":{},"parameterContextName":"ImageResizeFunctionPC","defaultFlowFileExpiration":"0 sec","defaultBackPressureObjectThreshold":10000,"defaultBackPressureDataSizeThreshold":"1 GB","flowFileOutboundPolicy":"STREAM_WHEN_AVAILABLE","flowFileConcurrency":"UNBOUNDED","componentType":"PROCESS_GROUP","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"68085849-eecc-3fdf-ac9e-d80b5ed73a56","instanceIdentifier":"c3521602-37d4-1087-4ecd-f1f99e757f86","name":"GCP","comments":"","position":{"x":1184.0,"y":560.0},"processGroups":[],"remoteProcessGroups":[],"processors":[{"identifier":"026850c5-e201-3614-b4a4-1ae2588f94c4","instanceIdentifier":"c3521602-37d7-1087-246f-2a42570d61e3","name":"ResizeImage","comments":"","position":{"x":648.0,"y":328.0},"type":"org.apache.nifi.processors.image.ResizeImage","bundle":{"group":"org.apache.nifi","artifact":"nifi-media-nar","version":"1.18.0"},"properties":{"Scaling Algorithm":"Default","Image Width (in pixels)":"${resizeWidth}","keep-ratio":"true","Image Height (in pixels)":"${resizeHeight}"},"propertyDescriptors":{"Scaling Algorithm":{"name":"Scaling Algorithm","displayName":"Scaling Algorithm","identifiesControllerService":false,"sensitive":false},"Image Width (in pixels)":{"name":"Image Width (in pixels)","displayName":"Image Width (in pixels)","identifiesControllerService":false,"sensitive":false},"keep-ratio":{"name":"keep-ratio","displayName":"Maintain aspect ratio","identifiesControllerService":false,"sensitive":false},"Image Height (in pixels)":{"name":"Image Height (in pixels)","displayName":"Image Height (in pixels)","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":["failure"],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"68085849-eecc-3fdf-ac9e-d80b5ed73a56"},{"identifier":"6c1558c8-9a50-315b-b40f-c64526828aa6","instanceIdentifier":"c3521622-37d7-1087-c358-93fc74acaae9","name":"UpdateAttribute","comments":"","position":{"x":648.0,"y":144.0},"type":"org.apache.nifi.processors.attributes.UpdateAttribute","bundle":{"group":"org.apache.nifi","artifact":"nifi-update-attribute-nar","version":"1.18.0"},"properties":{"Delete Attributes Expression":null,"Store State":"Do not store state","canonical-value-lookup-cache-size":"100","resizeWidth":"${gcp.http.header.resize-width:isEmpty():ifElse(#{defaultWidth},${gcp.http.header.resize-width})}","Stateful Variables Initial Value":null,"resizeHeight":"${gcp.http.header.resize-height:isEmpty():ifElse(#{defaultHeight},${gcp.http.header.resize-height})}"},"propertyDescriptors":{"Delete Attributes Expression":{"name":"Delete Attributes Expression","displayName":"Delete Attributes Expression","identifiesControllerService":false,"sensitive":false},"Store State":{"name":"Store State","displayName":"Store State","identifiesControllerService":false,"sensitive":false},"canonical-value-lookup-cache-size":{"name":"canonical-value-lookup-cache-size","displayName":"Cache Value Lookup Cache Size","identifiesControllerService":false,"sensitive":false},"resizeWidth":{"name":"resizeWidth","displayName":"resizeWidth","identifiesControllerService":false,"sensitive":false},"Stateful Variables Initial Value":{"name":"Stateful Variables Initial Value","displayName":"Stateful Variables Initial Value","identifiesControllerService":false,"sensitive":false},"resizeHeight":{"name":"resizeHeight","displayName":"resizeHeight","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":[],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"68085849-eecc-3fdf-ac9e-d80b5ed73a56"}],"inputPorts":[{"identifier":"065a5af0-fe20-3224-b194-4ace6004c77f","instanceIdentifier":"c3521602-37d5-1087-51c6-71ef1efef8f4","name":"payload","position":{"x":704.0,"y":48.0},"type":"INPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"INPUT_PORT","groupIdentifier":"68085849-eecc-3fdf-ac9e-d80b5ed73a56"}],"outputPorts":[{"identifier":"d283ff22-6676-3803-a63b-6804ed6647a8","instanceIdentifier":"c3521602-37d6-1087-87dd-0683dc70afba","name":"success","position":{"x":704.0,"y":528.0},"type":"OUTPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"OUTPUT_PORT","groupIdentifier":"68085849-eecc-3fdf-ac9e-d80b5ed73a56"}],"connections":[{"identifier":"75792e84-d249-306f-b4f0-9e4c321610dd","instanceIdentifier":"c3521629-37d7-1087-1a1c-8c14890b9b65","name":"","source":{"id":"065a5af0-fe20-3224-b194-4ace6004c77f","type":"INPUT_PORT","groupId":"68085849-eecc-3fdf-ac9e-d80b5ed73a56","name":"payload","instanceIdentifier":"c3521602-37d5-1087-51c6-71ef1efef8f4"},"destination":{"id":"6c1558c8-9a50-315b-b40f-c64526828aa6","type":"PROCESSOR","groupId":"68085849-eecc-3fdf-ac9e-d80b5ed73a56","name":"UpdateAttribute","comments":"","instanceIdentifier":"c3521622-37d7-1087-c358-93fc74acaae9"},"labelIndex":1,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"68085849-eecc-3fdf-ac9e-d80b5ed73a56"},{"identifier":"36ddc8e4-3007-3060-a876-b99967e4ddba","instanceIdentifier":"c352162a-37d7-1087-531f-91f02a67c674","name":"","source":{"id":"6c1558c8-9a50-315b-b40f-c64526828aa6","type":"PROCESSOR","groupId":"68085849-eecc-3fdf-ac9e-d80b5ed73a56","name":"UpdateAttribute","comments":"","instanceIdentifier":"c3521622-37d7-1087-c358-93fc74acaae9"},"destination":{"id":"026850c5-e201-3614-b4a4-1ae2588f94c4","type":"PROCESSOR","groupId":"68085849-eecc-3fdf-ac9e-d80b5ed73a56","name":"ResizeImage","comments":"","instanceIdentifier":"c3521602-37d7-1087-246f-2a42570d61e3"},"labelIndex":1,"zIndex":0,"selectedRelationships":["success"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"68085849-eecc-3fdf-ac9e-d80b5ed73a56"},{"identifier":"50c9f37f-6564-3192-bb7c-ac4665bda960","instanceIdentifier":"c352162b-37d7-1087-5f14-25dcf4434811","name":"","source":{"id":"026850c5-e201-3614-b4a4-1ae2588f94c4","type":"PROCESSOR","groupId":"68085849-eecc-3fdf-ac9e-d80b5ed73a56","name":"ResizeImage","comments":"","instanceIdentifier":"c3521602-37d7-1087-246f-2a42570d61e3"},"destination":{"id":"d283ff22-6676-3803-a63b-6804ed6647a8","type":"OUTPUT_PORT","groupId":"68085849-eecc-3fdf-ac9e-d80b5ed73a56","name":"success","instanceIdentifier":"c3521602-37d6-1087-87dd-0683dc70afba"},"labelIndex":1,"zIndex":0,"selectedRelationships":["success"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"68085849-eecc-3fdf-ac9e-d80b5ed73a56"}],"labels":[],"funnels":[],"controllerServices":[],"variables":{},"parameterContextName":"ImageResizeFunctionPC","defaultFlowFileExpiration":"0 sec","defaultBackPressureObjectThreshold":10000,"defaultBackPressureDataSizeThreshold":"1 GB","flowFileOutboundPolicy":"STREAM_WHEN_AVAILABLE","flowFileConcurrency":"UNBOUNDED","componentType":"PROCESS_GROUP","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"}],"remoteProcessGroups":[],"processors":[{"identifier":"c2b877c5-5856-38dd-9fa0-4bbd9c0ba289","instanceIdentifier":"8596ea59-acc7-3561-4580-ce460b56eea5","name":"Log Attributes and Content","comments":"","position":{"x":984.0,"y":0.0},"type":"org.apache.nifi.processors.standard.LogAttribute","bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.18.0"},"properties":{"Log prefix":null,"character-set":"UTF-8","Log FlowFile Properties":"true","Log Level":"info","attributes-to-ignore-regex":null,"Attributes to Ignore":null,"Attributes to Log":null,"attributes-to-log-regex":".*","Output Format":"Line per Attribute","Log Payload":"true"},"propertyDescriptors":{"Log prefix":{"name":"Log prefix","displayName":"Log prefix","identifiesControllerService":false,"sensitive":false},"character-set":{"name":"character-set","displayName":"Character Set","identifiesControllerService":false,"sensitive":false},"Log FlowFile Properties":{"name":"Log FlowFile Properties","displayName":"Log FlowFile Properties","identifiesControllerService":false,"sensitive":false},"Log Level":{"name":"Log Level","displayName":"Log Level","identifiesControllerService":false,"sensitive":false},"attributes-to-ignore-regex":{"name":"attributes-to-ignore-regex","displayName":"Attributes to Ignore by Regular Expression","identifiesControllerService":false,"sensitive":false},"Attributes to Ignore":{"name":"Attributes to Ignore","displayName":"Attributes to Ignore","identifiesControllerService":false,"sensitive":false},"Attributes to Log":{"name":"Attributes to Log","displayName":"Attributes to Log","identifiesControllerService":false,"sensitive":false},"attributes-to-log-regex":{"name":"attributes-to-log-regex","displayName":"Attributes to Log by Regular Expression","identifiesControllerService":false,"sensitive":false},"Output Format":{"name":"Output Format","displayName":"Output Format","identifiesControllerService":false,"sensitive":false},"Log Payload":{"name":"Log Payload","displayName":"Log Payload","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":[],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"8f48eb50-f9d9-37c7-ba74-0de799cf62a8","instanceIdentifier":"2602c352-5087-37cf-d565-9b9e4c4025c0","name":"Log payload?","comments":"","position":{"x":624.0,"y":0.0},"type":"org.apache.nifi.processors.standard.RouteOnAttribute","bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.18.0"},"properties":{"Routing Strategy":"Route to Property name","logPayload":"${#{logPayload}:equals(\"true\")}"},"propertyDescriptors":{"Routing Strategy":{"name":"Routing Strategy","displayName":"Routing Strategy","identifiesControllerService":false,"sensitive":false},"logPayload":{"name":"logPayload","displayName":"logPayload","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":[],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"67e52e13-289f-36a7-ad10-9dab85fcb862","instanceIdentifier":"508737cf-c352-1602-46a9-aada7b2148d9","name":"Cloud provider?","comments":"","position":{"x":800.0,"y":304.0},"type":"org.apache.nifi.processors.standard.RouteOnAttribute","bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.18.0"},"properties":{"AZURE":"${cloud.provider:equals(\"AZURE\")}","Routing Strategy":"Route to Property name","GCP":"${cloud.provider:equals(\"GCP\")}","AWS":"${cloud.provider:equals(\"AWS\")}"},"propertyDescriptors":{"AZURE":{"name":"AZURE","displayName":"AZURE","identifiesControllerService":false,"sensitive":false},"Routing Strategy":{"name":"Routing Strategy","displayName":"Routing Strategy","identifiesControllerService":false,"sensitive":false},"GCP":{"name":"GCP","displayName":"GCP","identifiesControllerService":false,"sensitive":false},"AWS":{"name":"AWS","displayName":"AWS","identifiesControllerService":false,"sensitive":false}},"style":{},"schedulingPeriod":"0 sec","schedulingStrategy":"TIMER_DRIVEN","executionNode":"ALL","penaltyDuration":"30 sec","yieldDuration":"1 sec","bulletinLevel":"WARN","runDurationMillis":0,"concurrentlySchedulableTaskCount":1,"autoTerminatedRelationships":["unmatched"],"scheduledState":"ENABLED","retryCount":10,"retriedRelationships":[],"backoffMechanism":"PENALIZE_FLOWFILE","maxBackoffPeriod":"10 mins","componentType":"PROCESSOR","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"}],"inputPorts":[{"identifier":"a1ecd0ef-c761-3709-96d4-cf6600d406d7","instanceIdentifier":"503dd534-d665-3703-cc6f-95e39d497e86","name":"triggerPayload","position":{"x":392.0,"y":-232.0},"type":"INPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"INPUT_PORT","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"}],"outputPorts":[{"identifier":"42719326-a437-35ea-b069-e71fa6ccb10e","instanceIdentifier":"fdcbd659-0182-1000-d3e5-026e92330049","name":"success","position":{"x":856.0,"y":912.0},"type":"OUTPUT_PORT","concurrentlySchedulableTaskCount":1,"scheduledState":"ENABLED","allowRemoteAccess":false,"componentType":"OUTPUT_PORT","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"}],"connections":[{"identifier":"81292199-1840-377f-88ab-d39f28f6bb28","instanceIdentifier":"c3521635-37d7-1087-1d80-e602a5a86e48","name":"","source":{"id":"67e52e13-289f-36a7-ad10-9dab85fcb862","type":"PROCESSOR","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Cloud provider?","comments":"","instanceIdentifier":"508737cf-c352-1602-46a9-aada7b2148d9"},"destination":{"id":"ab038a99-2306-390f-a676-8b1e6ff728c2","type":"INPUT_PORT","groupId":"9ac7f940-5a58-3aff-b5c0-c6431737a210","name":"payload","instanceIdentifier":"c352162e-37d7-1087-4039-16bb2287e29f"},"labelIndex":1,"zIndex":0,"selectedRelationships":["AZURE"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"c57cb40d-6b78-34ea-b510-27f4359ef9f6","instanceIdentifier":"508737d1-c352-1602-0e65-802e01.18.0e","name":"","source":{"id":"67205f74-cb43-31af-b602-ac855d760af8","type":"FUNNEL","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Funnel","comments":"","instanceIdentifier":"18d0012c-0183-1000-56da-145794843749"},"destination":{"id":"67e52e13-289f-36a7-ad10-9dab85fcb862","type":"PROCESSOR","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Cloud provider?","comments":"","instanceIdentifier":"508737cf-c352-1602-46a9-aada7b2148d9"},"labelIndex":1,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"55718f03-4006-3f7d-84ed-b04a622f91da","instanceIdentifier":"05772ab4-d7a1-3325-6959-0f7cdd01d881","name":"","source":{"id":"a1ecd0ef-c761-3709-96d4-cf6600d406d7","type":"INPUT_PORT","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"triggerPayload","instanceIdentifier":"503dd534-d665-3703-cc6f-95e39d497e86"},"destination":{"id":"8f48eb50-f9d9-37c7-ba74-0de799cf62a8","type":"PROCESSOR","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Log payload?","comments":"","instanceIdentifier":"2602c352-5087-37cf-d565-9b9e4c4025c0"},"labelIndex":0,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"d2742d37-ca02-3fd2-ada6-7643b85566c5","instanceIdentifier":"280b134d-d75e-3643-5286-f0aabe38982d","name":"Log payload","source":{"id":"8f48eb50-f9d9-37c7-ba74-0de799cf62a8","type":"PROCESSOR","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Log payload?","comments":"","instanceIdentifier":"2602c352-5087-37cf-d565-9b9e4c4025c0"},"destination":{"id":"c2b877c5-5856-38dd-9fa0-4bbd9c0ba289","type":"PROCESSOR","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Log Attributes and Content","comments":"","instanceIdentifier":"8596ea59-acc7-3561-4580-ce460b56eea5"},"labelIndex":0,"zIndex":0,"selectedRelationships":["logPayload"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":1016.0,"y":-40.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"1e686fa0-0ffb-3126-9b0e-d6d859e746e4","instanceIdentifier":"c352161d-37d7-1087-9559-1bb399b23916","name":"","source":{"id":"d283ff22-6676-3803-a63b-6804ed6647a8","type":"OUTPUT_PORT","groupId":"68085849-eecc-3fdf-ac9e-d80b5ed73a56","name":"success","instanceIdentifier":"c3521602-37d6-1087-87dd-0683dc70afba"},"destination":{"id":"42719326-a437-35ea-b069-e71fa6ccb10e","type":"OUTPUT_PORT","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"success","instanceIdentifier":"fdcbd659-0182-1000-d3e5-026e92330049"},"labelIndex":0,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":1376.0,"y":784.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"fd9cb036-8ba9-3bf8-a7b8-b22c0fca8dc4","instanceIdentifier":"508737d2-c352-1602-beab-6363dee90b96","name":"","source":{"id":"67e52e13-289f-36a7-ad10-9dab85fcb862","type":"PROCESSOR","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Cloud provider?","comments":"","instanceIdentifier":"508737cf-c352-1602-46a9-aada7b2148d9"},"destination":{"id":"753d5c24-9670-3502-ab45-83713b8496ae","type":"INPUT_PORT","groupId":"b9e1bad7-ee3c-3016-a267-508477df75b7","name":"payload","instanceIdentifier":"18cee215-0183-1000-37e4-29ab4f288685"},"labelIndex":0,"zIndex":0,"selectedRelationships":["AWS"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":576.0,"y":504.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"42f7fd9e-c3e5-37f8-80d9-be237e02c10e","instanceIdentifier":"18cfacb2-0183-1000-eb24-07cf3df8297f","name":"","source":{"id":"af202219-3845-3834-84b7-7cc3eba20f79","type":"OUTPUT_PORT","groupId":"b9e1bad7-ee3c-3016-a267-508477df75b7","name":"success","instanceIdentifier":"18cf1d63-0183-1000-5fba-07cd4e9b08cd"},"destination":{"id":"42719326-a437-35ea-b069-e71fa6ccb10e","type":"OUTPUT_PORT","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"success","instanceIdentifier":"fdcbd659-0182-1000-d3e5-026e92330049"},"labelIndex":0,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":576.0,"y":784.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"ae6f9962-2806-39d7-96d6-0ede2375bf9f","instanceIdentifier":"8cf7f450-b521-3b71-6abb-468d74f66987","name":"","source":{"id":"c2b877c5-5856-38dd-9fa0-4bbd9c0ba289","type":"PROCESSOR","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Log Attributes and Content","comments":"","instanceIdentifier":"8596ea59-acc7-3561-4580-ce460b56eea5"},"destination":{"id":"67205f74-cb43-31af-b602-ac855d760af8","type":"FUNNEL","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Funnel","comments":"","instanceIdentifier":"18d0012c-0183-1000-56da-145794843749"},"labelIndex":0,"zIndex":0,"selectedRelationships":["success"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":1160.0,"y":168.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"39567466-205c-38f2-8107-3422f95dc30a","instanceIdentifier":"c3521636-37d7-1087-dd67-73ae77dd36a1","name":"","source":{"id":"6127b21b-026a-3ea5-84fa-0e80df979e5e","type":"OUTPUT_PORT","groupId":"9ac7f940-5a58-3aff-b5c0-c6431737a210","name":"success","instanceIdentifier":"c352162f-37d7-1087-0c66-56ec7ed8c74b"},"destination":{"id":"42719326-a437-35ea-b069-e71fa6ccb10e","type":"OUTPUT_PORT","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"success","instanceIdentifier":"fdcbd659-0182-1000-d3e5-026e92330049"},"labelIndex":1,"zIndex":0,"selectedRelationships":[""],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"12f8db68-1f69-3e4e-8df3-e25dbfee3c72","instanceIdentifier":"a00c5ece-ee50-3835-6044-b6286741b251","name":"Do not log payload","source":{"id":"8f48eb50-f9d9-37c7-ba74-0de799cf62a8","type":"PROCESSOR","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Log payload?","comments":"","instanceIdentifier":"2602c352-5087-37cf-d565-9b9e4c4025c0"},"destination":{"id":"67205f74-cb43-31af-b602-ac855d760af8","type":"FUNNEL","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Funnel","comments":"","instanceIdentifier":"18d0012c-0183-1000-56da-145794843749"},"labelIndex":0,"zIndex":0,"selectedRelationships":["unmatched"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":800.0,"y":168.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"},{"identifier":"1352c46b-0b1f-310e-8a9f-558cc6478ba0","instanceIdentifier":"c352161b-37d7-1087-8514-21c8a456f81f","name":"","source":{"id":"67e52e13-289f-36a7-ad10-9dab85fcb862","type":"PROCESSOR","groupId":"5c277775-7108-338e-8fde-78c8863a62fc","name":"Cloud provider?","comments":"","instanceIdentifier":"508737cf-c352-1602-46a9-aada7b2148d9"},"destination":{"id":"065a5af0-fe20-3224-b194-4ace6004c77f","type":"INPUT_PORT","groupId":"68085849-eecc-3fdf-ac9e-d80b5ed73a56","name":"payload","instanceIdentifier":"c3521602-37d5-1087-51c6-71ef1efef8f4"},"labelIndex":0,"zIndex":0,"selectedRelationships":["GCP"],"backPressureObjectThreshold":10000,"backPressureDataSizeThreshold":"1 GB","flowFileExpiration":"0 sec","prioritizers":[],"bends":[{"x":1376.0,"y":504.0}],"loadBalanceStrategy":"DO_NOT_LOAD_BALANCE","partitioningAttribute":"","loadBalanceCompression":"DO_NOT_COMPRESS","componentType":"CONNECTION","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"}],"labels":[],"funnels":[{"identifier":"67205f74-cb43-31af-b602-ac855d760af8","instanceIdentifier":"18d0012c-0183-1000-56da-145794843749","position":{"x":952.0,"y":208.0},"componentType":"FUNNEL","groupIdentifier":"5c277775-7108-338e-8fde-78c8863a62fc"}],"controllerServices":[],"variables":{},"parameterContextName":"ImageResizeFunctionPC","defaultFlowFileExpiration":"0 sec","defaultBackPressureObjectThreshold":10000,"defaultBackPressureDataSizeThreshold":"1 GB","flowFileOutboundPolicy":"STREAM_WHEN_AVAILABLE","flowFileConcurrency":"UNBOUNDED","componentType":"PROCESS_GROUP"},"externalControllerServices":{},"parameterContexts":{"ImageResizeFunctionPC":{"name":"ImageResizeFunctionPC","parameters":[{"name":"defaultHeight","description":"","sensitive":false,"value":"150"},{"name":"logPayload","description":"","sensitive":false,"value":"true"},{"name":"defaultWidth","description":"","sensitive":false,"value":"150"}],"inheritedParameterContexts":[],"componentType":"PARAMETER_CONTEXT"}},"flowEncodingVersion":"1.0"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment