adamdebreceni commented on code in PR #1492:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1492#discussion_r1129475052
##########
extensions/http-curl/processors/InvokeHTTP.cpp:
##########
@@ -149,6 +149,13 @@ const core::Relationship InvokeHTTP::RelFailure("failure",
"The original FlowFile will be routed on any type of connection failure, "
"timeout or general exception. It will have new attributes detailing the
request.");
+
+const core::OutputAttribute InvokeHTTP::StatusCode{"invokehttp.status.code", {
Success, RelResponse, RelRetry, RelNoRetry }, "The status code that is
returned"};
Review Comment:
we could also work in the other direction in a subsequent PR and use these
instead of constant strings
--
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]