| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the \"License\"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an \"AS IS\" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| MiNiFi Config Version: 3 |
| Flow Controller: |
| name: InvokeHttpMiNiFiTemplateTest2 |
| comment: '' |
| Core Properties: |
| flow controller graceful shutdown period: 10 sec |
| flow service write delay interval: 500 ms |
| administrative yield duration: 30 sec |
| bored yield duration: 10 millis |
| max concurrent threads: 1 |
| FlowFile Repository: |
| partitions: 256 |
| checkpoint interval: 2 mins |
| always sync: false |
| Swap: |
| threshold: 20000 |
| in period: 5 sec |
| in threads: 1 |
| out period: 5 sec |
| out threads: 4 |
| Content Repository: |
| content claim max appendable size: 10 MB |
| content claim max flow files: 100 |
| always sync: false |
| Provenance Repository: |
| provenance rollover time: 1 min |
| Component Status Repository: |
| buffer size: 1440 |
| snapshot frequency: 1 min |
| Security Properties: |
| keystore: '' |
| keystore type: '' |
| keystore password: '' |
| key password: '' |
| truststore: '' |
| truststore type: '' |
| truststore password: '' |
| ssl protocol: '' |
| Sensitive Props: |
| key: |
| algorithm: PBEWITHMD5AND256BITAES-CBC-OPENSSL |
| provider: BC |
| Processors: |
| - id: 0a73c5e4-7216-4cdf-9008-ace353478d55 |
| name: LogAttribute |
| class: org.apache.nifi.processors.standard.LogAttribute |
| max concurrent tasks: 1 |
| scheduling strategy: TIMER_DRIVEN |
| scheduling period: 0 sec |
| penalization period: 30 sec |
| yield period: 1 sec |
| run duration nanos: 0 |
| auto-terminated relationships list: |
| - success |
| Properties: |
| Attributes to Ignore: |
| Attributes to Log: |
| Log Level: info |
| Log Payload: 'false' |
| Log prefix: |
| - id: 0bda7282-7a4f-4d39-83e5-ea86aa63f1dc |
| name: LogAttribute2 |
| class: org.apache.nifi.processors.standard.LogAttribute |
| max concurrent tasks: 1 |
| scheduling strategy: TIMER_DRIVEN |
| scheduling period: 0 sec |
| penalization period: 30 sec |
| yield period: 1 sec |
| run duration nanos: 0 |
| auto-terminated relationships list: |
| - success |
| Properties: |
| Attributes to Ignore: |
| Attributes to Log: |
| Log Level: info |
| Log Payload: 'false' |
| Log prefix: |
| - id: dcff217a-a25c-424f-b9f1-d82c55bfa61b |
| name: Route On Status Code |
| class: org.apache.nifi.processors.standard.RouteOnAttribute |
| max concurrent tasks: 1 |
| scheduling strategy: TIMER_DRIVEN |
| scheduling period: 0 sec |
| penalization period: 30 sec |
| yield period: 1 sec |
| run duration nanos: 0 |
| auto-terminated relationships list: [] |
| Properties: |
| '200': ${invokehttp.status.code:equals(200)} |
| Routing Strategy: Route to Property name |
| - id: 66649998-3b08-4b41-9f07-a51d999743f6 |
| name: Search Google |
| class: org.apache.nifi.processors.standard.InvokeHTTP |
| max concurrent tasks: 1 |
| scheduling strategy: TIMER_DRIVEN |
| scheduling period: 0 sec |
| penalization period: 30 sec |
| yield period: 1 sec |
| run duration nanos: 0 |
| auto-terminated relationships list: [] |
| Properties: |
| Add Response Headers to Request: 'false' |
| Always Output Response: 'false' |
| Attributes to Send: |
| Basic Authentication Password: |
| Basic Authentication Username: |
| Connection Timeout: 5 secs |
| Content-Type: ${mime.type} |
| Digest Authentication: 'false' |
| Follow Redirects: 'True' |
| HTTP Method: GET |
| Include Date Header: 'True' |
| Max Length To Put In Attribute: '256' |
| Penalize on "No Retry": 'false' |
| Proxy Host: |
| Proxy Port: |
| Put Response Body In Attribute: |
| Read Timeout: 15 secs |
| Remote URL: http://www.google.com/search?q=${q}&rct=j |
| SSL Context Service: |
| Trusted Hostname: |
| Use Chunked Encoding: 'false' |
| invokehttp-proxy-password: |
| invokehttp-proxy-user: |
| send-message-body: 'true' |
| - id: fcb378d7-6438-41d3-8485-7da85e870ca4 |
| name: Source |
| class: org.apache.nifi.processors.standard.GenerateFlowFile |
| max concurrent tasks: 1 |
| scheduling strategy: TIMER_DRIVEN |
| scheduling period: 30 sec |
| penalization period: 30 sec |
| yield period: 1 sec |
| run duration nanos: 0 |
| auto-terminated relationships list: [] |
| Properties: |
| Batch Size: '1' |
| Data Format: Binary |
| File Size: 10 b |
| Unique FlowFiles: 'false' |
| - id: 6638cd15-0aaf-4bba-a18a-722cf85038b6 |
| name: q=nifi |
| class: org.apache.nifi.processors.attributes.UpdateAttribute |
| max concurrent tasks: 1 |
| scheduling strategy: TIMER_DRIVEN |
| scheduling period: 0 sec |
| penalization period: 30 sec |
| yield period: 1 sec |
| run duration nanos: 0 |
| auto-terminated relationships list: [] |
| Properties: |
| Delete Attributes Expression: |
| q: nifi |
| Controller Services: [] |
| Process Groups: [] |
| Input Ports: [] |
| Output Ports: [] |
| Funnels: [] |
| Connections: |
| - id: 3039718a-bb40-4811-9b74-ecbe926daae8 |
| name: Route On Status Code/200/LogAttribute |
| source id: dcff217a-a25c-424f-b9f1-d82c55bfa61b |
| source relationship names: |
| - '200' |
| destination id: 0a73c5e4-7216-4cdf-9008-ace353478d55 |
| max work queue size: 0 |
| max work queue data size: 0 MB |
| flowfile expiration: 0 sec |
| queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer |
| - id: 4a7bdaf1-eba0-4317-92f2-93cef6240c28 |
| name: Route On Status Code/200/da15f83d-0158-1000-7f8d-eb4d2652f870 |
| source id: dcff217a-a25c-424f-b9f1-d82c55bfa61b |
| source relationship names: |
| - '200' |
| destination id: da15f83d-0158-1000-7f8d-eb4d2652f870 |
| max work queue size: 10000 |
| max work queue data size: 1 GB |
| flowfile expiration: 0 sec |
| queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer |
| - id: 9f948a25-afb4-4598-9a01-cfb7e3aa5920 |
| name: Route On Status Code/unmatched/LogAttribute2 |
| source id: dcff217a-a25c-424f-b9f1-d82c55bfa61b |
| source relationship names: |
| - unmatched |
| destination id: 0bda7282-7a4f-4d39-83e5-ea86aa63f1dc |
| max work queue size: 10000 |
| max work queue data size: 1 GB |
| flowfile expiration: 0 sec |
| queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer |
| - id: 7299c143-46f6-4a94-aa24-ec47db16f73e |
| name: Route On Status Code/unmatched/da15f83d-0158-1000-7f8d-eb4d2652f870 |
| source id: dcff217a-a25c-424f-b9f1-d82c55bfa61b |
| source relationship names: |
| - unmatched |
| destination id: da15f83d-0158-1000-7f8d-eb4d2652f870 |
| max work queue size: 10000 |
| max work queue data size: 1 GB |
| flowfile expiration: 0 sec |
| queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer |
| - id: 451b153a-8a4e-4bed-99ab-5159e499bcf1 |
| name: Search Google/Failure/Route On Status Code |
| source id: 66649998-3b08-4b41-9f07-a51d999743f6 |
| source relationship names: |
| - Failure |
| destination id: dcff217a-a25c-424f-b9f1-d82c55bfa61b |
| max work queue size: 10000 |
| max work queue data size: 1 GB |
| flowfile expiration: 0 sec |
| queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer |
| - id: ddbc1711-8cda-4418-b6ee-895763ef1a97 |
| name: Search Google/No Retry/Route On Status Code |
| source id: 66649998-3b08-4b41-9f07-a51d999743f6 |
| source relationship names: |
| - No Retry |
| destination id: dcff217a-a25c-424f-b9f1-d82c55bfa61b |
| max work queue size: 10000 |
| max work queue data size: 1 GB |
| flowfile expiration: 0 sec |
| queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer |
| - id: b97044aa-3401-49df-86ab-bc440cd8f6c8 |
| name: Search Google/Original/Route On Status Code |
| source id: 66649998-3b08-4b41-9f07-a51d999743f6 |
| source relationship names: |
| - Original |
| destination id: dcff217a-a25c-424f-b9f1-d82c55bfa61b |
| max work queue size: 10000 |
| max work queue data size: 1 GB |
| flowfile expiration: 0 sec |
| queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer |
| - id: c6a06d31-51fb-488f-bcde-495102f8c93f |
| name: Search Google/Response/Route On Status Code |
| source id: 66649998-3b08-4b41-9f07-a51d999743f6 |
| source relationship names: |
| - Response |
| destination id: dcff217a-a25c-424f-b9f1-d82c55bfa61b |
| max work queue size: 10000 |
| max work queue data size: 1 GB |
| flowfile expiration: 0 sec |
| queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer |
| - id: 3172a4b6-c35b-4d2f-a7c1-68eb16cc1b37 |
| name: Search Google/Retry/Route On Status Code |
| source id: 66649998-3b08-4b41-9f07-a51d999743f6 |
| source relationship names: |
| - Retry |
| destination id: dcff217a-a25c-424f-b9f1-d82c55bfa61b |
| max work queue size: 10000 |
| max work queue data size: 1 GB |
| flowfile expiration: 0 sec |
| queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer |
| - id: 2ef71cd8-eb24-4653-8526-34ab84e79328 |
| name: Source/success/q=nifi |
| source id: fcb378d7-6438-41d3-8485-7da85e870ca4 |
| source relationship names: |
| - success |
| destination id: 6638cd15-0aaf-4bba-a18a-722cf85038b6 |
| max work queue size: 0 |
| max work queue data size: 0 MB |
| flowfile expiration: 0 sec |
| queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer |
| - id: ee5ee5bf-a552-43cf-9514-c14d40350bff |
| name: q=nifi/success/Search Google |
| source id: 6638cd15-0aaf-4bba-a18a-722cf85038b6 |
| source relationship names: |
| - success |
| destination id: 66649998-3b08-4b41-9f07-a51d999743f6 |
| max work queue size: 0 |
| max work queue data size: 0 MB |
| flowfile expiration: 0 sec |
| queue prioritizer class: org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer |
| Remote Process Groups: |
| - id: 5b0a5c18-a02e-4a85-8080-0187ee679763 |
| name: '' |
| url: http://nifi.minifi2:8080/nifi |
| comment: '' |
| timeout: 30 sec |
| yield period: 10 sec |
| transport protocol: HTTP |
| proxy host: squidnp.minifi |
| proxy port: 3128 |
| proxy user: '' |
| proxy password: '' |
| Input Ports: |
| - id: da15f83d-0158-1000-7f8d-eb4d2652f870 |
| name: response |
| comment: '' |
| max concurrent tasks: 1 |
| use compression: false |