fgerlits commented on code in PR #1334:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1334#discussion_r885773328
##########
extensions/http-curl/processors/InvokeHTTP.cpp:
##########
@@ -121,57 +121,36 @@ core::Property
InvokeHTTP::InvalidHTTPHeaderFieldHandlingStrategy(
->withAllowableValues<std::string>(InvalidHTTPHeaderFieldHandlingOption::values())
->build());
-const char* InvokeHTTP::STATUS_CODE = "invokehttp.status.code";
-const char* InvokeHTTP::STATUS_MESSAGE = "invokehttp.status.message";
-const char* InvokeHTTP::RESPONSE_BODY = "invokehttp.response.body";
-const char* InvokeHTTP::REQUEST_URL = "invokehttp.request.url";
-const char* InvokeHTTP::TRANSACTION_ID = "invokehttp.tx.id";
-const char* InvokeHTTP::REMOTE_DN = "invokehttp.remote.dn";
-const char* InvokeHTTP::EXCEPTION_CLASS = "invokehttp.java.exception.class";
-const char* InvokeHTTP::EXCEPTION_MESSAGE =
"invokehttp.java.exception.message";
-core::Relationship InvokeHTTP::Success("success", "The original FlowFile will
be routed upon success (2xx status codes). "
+const core::Relationship InvokeHTTP::Success("success", "The original FlowFile
will be routed upon success (2xx status codes). "
"It will have new attributes detailing
the success of the request.");
-core::Relationship InvokeHTTP::RelResponse("response", "A Response FlowFile
will be routed upon success (2xx status codes). "
+const core::Relationship InvokeHTTP::RelResponse("response", "A Response
FlowFile will be routed upon success (2xx status codes). "
"If the 'Always Output Response'
property is true then the response will be sent "
"to this relationship regardless of
the status code received.");
-core::Relationship InvokeHTTP::RelRetry("retry", "The original FlowFile will
be routed on any status code that can be retried "
+const core::Relationship InvokeHTTP::RelRetry("retry", "The original FlowFile
will be routed on any status code that can be retried "
"(5xx status codes). It will have new
attributes detailing the request.");
-core::Relationship InvokeHTTP::RelNoRetry("no retry", "The original FlowFile
will be routed on any status code that should NOT "
+const core::Relationship InvokeHTTP::RelNoRetry("no retry", "The original
FlowFile will be routed on any status code that should NOT "
"be retried (1xx, 3xx, 4xx status
codes). It will have new attributes detailing the request.");
-core::Relationship InvokeHTTP::RelFailure("failure", "The original FlowFile
will be routed on any type of connection failure, "
+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 char* InvokeHTTP::STATUS_CODE = "invokehttp.status.code";
+const char* InvokeHTTP::STATUS_MESSAGE = "invokehttp.status.message";
+const char* InvokeHTTP::RESPONSE_BODY = "invokehttp.response.body";
+const char* InvokeHTTP::REQUEST_URL = "invokehttp.request.url";
+const char* InvokeHTTP::TRANSACTION_ID = "invokehttp.tx.id";
+const char* InvokeHTTP::REMOTE_DN = "invokehttp.remote.dn";
+const char* InvokeHTTP::EXCEPTION_CLASS = "invokehttp.java.exception.class";
+const char* InvokeHTTP::EXCEPTION_MESSAGE =
"invokehttp.java.exception.message";
+
Review Comment:
done in a1236cb6b71c1533829b978fc8b309fa5fd40d3c
--
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]