nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [nifi] guvencenanguvenal commented on a change in pull request #4183: NIFI-7176 - InvokeHTTP - timeout supported expression language
Date Sun, 05 Apr 2020 20:42:49 GMT
guvencenanguvenal commented on a change in pull request #4183: NIFI-7176 - InvokeHTTP - timeout
supported expression language
URL: https://github.com/apache/nifi/pull/4183#discussion_r403754446
 
 

 ##########
 File path: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/InvokeHTTP.java
 ##########
 @@ -120,20 +115,20 @@
 @CapabilityDescription("An HTTP client processor which can interact with a configurable HTTP
Endpoint. The destination URL and HTTP Method are configurable."
     + " FlowFile attributes are converted to HTTP headers and the FlowFile contents are included
as the body of the request (if the HTTP Method is PUT, POST or PATCH).")
 @WritesAttributes({
-    @WritesAttribute(attribute = "invokehttp.status.code", description = "The status code
that is returned"),
-    @WritesAttribute(attribute = "invokehttp.status.message", description = "The status message
that is returned"),
-    @WritesAttribute(attribute = "invokehttp.response.body", description = "In the instance
where the status code received is not a success (2xx) "
-        + "then the response body will be put to the 'invokehttp.response.body' attribute
of the request FlowFile."),
-    @WritesAttribute(attribute = "invokehttp.request.url", description = "The request URL"),
-    @WritesAttribute(attribute = "invokehttp.tx.id", description = "The transaction ID that
is returned after reading the response"),
-    @WritesAttribute(attribute = "invokehttp.remote.dn", description = "The DN of the remote
server"),
-    @WritesAttribute(attribute = "invokehttp.java.exception.class", description = "The Java
exception class raised when the processor fails"),
-    @WritesAttribute(attribute = "invokehttp.java.exception.message", description = "The
Java exception message raised when the processor fails"),
-    @WritesAttribute(attribute = "user-defined", description = "If the 'Put Response Body
In Attribute' property is set then whatever it is set to "
-        + "will become the attribute key and the value would be the body of the HTTP response.")})
+        @WritesAttribute(attribute = "invokehttp.status.code", description = "The status
code that is returned"),
+        @WritesAttribute(attribute = "invokehttp.status.message", description = "The status
message that is returned"),
+        @WritesAttribute(attribute = "invokehttp.response.body", description = "In the instance
where the status code received is not a success (2xx) "
+                + "then the response body will be put to the 'invokehttp.response.body' attribute
of the request FlowFile."),
+        @WritesAttribute(attribute = "invokehttp.request.url", description = "The request
URL"),
+        @WritesAttribute(attribute = "invokehttp.tx.id", description = "The transaction ID
that is returned after reading the response"),
+        @WritesAttribute(attribute = "invokehttp.remote.dn", description = "The DN of the
remote server"),
+        @WritesAttribute(attribute = "invokehttp.java.exception.class", description = "The
Java exception class raised when the processor fails"),
+        @WritesAttribute(attribute = "invokehttp.java.exception.message", description = "The
Java exception message raised when the processor fails"),
+        @WritesAttribute(attribute = "user-defined", description = "If the 'Put Response
Body In Attribute' property is set then whatever it is set to "
+                + "will become the attribute key and the value would be the body of the HTTP
response.")})
 
 Review comment:
   Yes, IDE did this :) (IntelliJ CE 2019.3)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message