tenthe commented on code in PR #1918:
URL: https://github.com/apache/streampipes/pull/1918#discussion_r1323972944


##########
streampipes-connect-management/src/main/java/org/apache/streampipes/connect/management/management/GuessManagement.java:
##########
@@ -57,10 +56,8 @@ public GuessSchema guessSchema(AdapterDescription 
adapterDescription)
     var objectMapper = JacksonSerializer.getObjectMapper();
     var description = objectMapper.writeValueAsString(adapterDescription);
     logger.info("Guess schema at: " + workerUrl);
-    Response requestResponse = Request.Post(workerUrl)
-        .bodyString(description, ContentType.APPLICATION_JSON)
-        .connectTimeout(1000)
-        .socketTimeout(100000)
+    Response requestResponse = ExtensionServiceExecutions
+        .extServicePostRequest(workerUrl, null, description)

Review Comment:
   Is it possible that this `null` value causes an exception? Because in the 
`AuthTokenUtils.getAuthToken` the `ResourceId` is checked for null and then 
throws an exception



-- 
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