| { |
| "rootGroup": { |
| "name": "MiNiFi Flow", |
| "processors": [ |
| { |
| "name": "Fetch S3 object from test_bucket", |
| "identifier": "6ccd8be9-4aa3-4b86-ae10-0a68668f1c25", |
| "type": "org.apache.nifi.minifi.aws.processors.FetchS3Object", |
| "schedulingStrategy": "EVENT_DRIVEN", |
| "properties": { |
| "AWS Credentials Provider service": "AWSCredentialsService", |
| "Bucket": "test_bucket", |
| "Communications Timeout": "30 sec" |
| }, |
| "autoTerminatedRelationships": [ |
| "failure" |
| ] |
| }, |
| { |
| "name": "List test_bucket S3 bucket", |
| "identifier": "6f2c20f5-e990-4d9f-bfd6-f7471e3df469", |
| "type": "org.apache.nifi.minifi.aws.processors.ListS3", |
| "schedulingStrategy": "TIMER_DRIVEN", |
| "schedulingPeriod": "10000 ms", |
| "properties": { |
| "AWS Credentials Provider service": "AWSCredentialsService", |
| "Bucket": "test_bucket", |
| "Communications Timeout": "30 sec" |
| }, |
| "autoTerminatedRelationships": [] |
| }, |
| { |
| "name": "Log S3 object attributes", |
| "identifier": "73fd7f54-7639-4f27-b20b-889708f493cb", |
| "type": "org.apache.nifi.minifi.processors.LogAttribute", |
| "schedulingStrategy": "EVENT_DRIVEN", |
| "properties": { |
| "FlowFiles To Log": "0" |
| }, |
| "autoTerminatedRelationships": [ |
| "success" |
| ] |
| } |
| ], |
| "connections": [ |
| { |
| "name": "FetchS3Object/success/LogAttribute", |
| "identifier": "2c13ddd6-543e-4e37-a295-e4cb8fe85fa5", |
| "source": { |
| "id": "6ccd8be9-4aa3-4b86-ae10-0a68668f1c25" |
| }, |
| "destination": { |
| "id": "73fd7f54-7639-4f27-b20b-889708f493cb" |
| }, |
| "selectedRelationships": [ |
| "success" |
| ] |
| }, |
| { |
| "name": "ListS3/success/FetchS3Object", |
| "identifier": "7895c12e-9657-4baa-a8ec-6b8cb11f32cd", |
| "source": { |
| "id": "6f2c20f5-e990-4d9f-bfd6-f7471e3df469" |
| }, |
| "destination": { |
| "id": "6ccd8be9-4aa3-4b86-ae10-0a68668f1c25" |
| }, |
| "selectedRelationships": [ |
| "success" |
| ] |
| } |
| ], |
| "remoteProcessGroups": [], |
| "controllerServices": [ |
| { |
| "name": "AWSCredentialsService", |
| "identifier": "2094d776-2006-4d02-9bb9-28eac9d0fc95", |
| "type": "org.apache.nifi.minifi.aws.controllers.AWSCredentialsService", |
| "properties": { |
| "Use Default Credentials": "true" |
| } |
| } |
| ] |
| } |
| } |