oscerd commented on a change in pull request #4643:
URL: https://github.com/apache/camel/pull/4643#discussion_r527664916



##########
File path: 
components/camel-graphql/src/main/java/org/apache/camel/component/graphql/GraphqlEndpoint.java
##########
@@ -187,6 +193,18 @@ public String getQuery() {
         return query;
     }
 
+    /**
+     * The JWT Authorization type. Default is Bearer.
+     * @param jwtAuthorizationType

Review comment:
       Please remove param annotation.

##########
File path: 
components/camel-graphql/src/main/java/org/apache/camel/component/graphql/GraphqlEndpoint.java
##########
@@ -110,8 +112,12 @@ private CloseableHttpClient createHttpClient() {
             httpClientBuilder.setProxy(new HttpHost(hostname, port));
         }
         if (accessToken != null) {
+            String authType = "Bearer";
+            if(this.jwtAuthorizationType != null) {

Review comment:
       If you run a full build, this should be formatted to respect the camel 
code style standards.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to