pspiller opened a new pull request, #7532:
URL: https://github.com/apache/nifi/pull/7532

   # Summary
   
   [NIFI-7505](https://issues.apache.org/jira/browse/NIFI-7505) - Add a 
record-based processor that executes an HTTP request for each record in a 
flowfile. Many of the options are similar to the InvokeHTTP processor's, but 
adapted for record-based operation.
   
   Request attributes like the URL, headers and request body can vary per 
record, using RecordPath queries to extract data from each input record. The 
response body and various metadata (headers, status code, etc) can be written 
to each record.
   
   The processor can be configured to route the entire input flowfile to a 
failure relationship if an error is encountered, or failing records can be 
split off into a separate flowfile. HTTP requests can be retried a configurable 
number of times.
   
   The response body can optionally be parsed using a record reader service. As 
well as allowed the parsed body to be included in the output record, in this 
mode the response body can also be used to determine whether the request is 
treated as having succeed or failed. This can be useful for APIs that always 
return a 200 status code, with error information in the response body.
   
   This PR isn't complete yet (it still needs tests), but I've created it in 
case anybody has any feedback on the approach I'm taking.
   
   # Tracking
   
   Please complete the following tracking steps prior to pull request creation.
   
   ### Issue Tracking
   
   - [ ] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue 
created
   
   ### Pull Request Tracking
   
   - [ ] Pull Request title starts with Apache NiFi Jira issue number, such as 
`NIFI-00000`
   - [ ] Pull Request commit message starts with Apache NiFi Jira issue number, 
as such `NIFI-00000`
   
   ### Pull Request Formatting
   
   - [ ] Pull Request based on current revision of the `main` branch
   - [ ] Pull Request refers to a feature branch with one commit containing 
changes
   
   # Verification
   
   Please indicate the verification steps performed prior to pull request 
creation.
   
   ### Build
   
   - [ ] Build completed using `mvn clean install -P contrib-check`
     - [ ] JDK 17
   
   ### Licensing
   
   - [ ] New dependencies are compatible with the [Apache License 
2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License 
Policy](https://www.apache.org/legal/resolved.html)
   - [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` 
files
   
   ### Documentation
   
   - [ ] Documentation formatting appears as expected in rendered files
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to