From cbc9cd69bec3d0cfa0e13f23228e7975aea67838 Mon Sep 17 00:00:00 2001 From: Dominik Riemer Date: Wed, 13 Sep 2023 08:46:20 +0200 Subject: [PATCH] Use current user token for guess schema request --- .../connect/management/management/GuessManagement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streampipes-connect-management/src/main/java/org/apache/streampipes/connect/management/management/GuessManagement.java b/streampipes-connect-management/src/main/java/org/apache/streampipes/connect/management/management/GuessManagement.java index ba99844883..a8cae5b72b 100644 --- a/streampipes-connect-management/src/main/java/org/apache/streampipes/connect/management/management/GuessManagement.java +++ b/streampipes-connect-management/src/main/java/org/apache/streampipes/connect/management/management/GuessManagement.java @@ -57,7 +57,7 @@ public GuessSchema guessSchema(AdapterDescription adapterDescription) var description = objectMapper.writeValueAsString(adapterDescription); logger.info("Guess schema at: " + workerUrl); Response requestResponse = ExtensionServiceExecutions - .extServicePostRequest(workerUrl, null, description) + .extServicePostRequest(workerUrl, description) .execute(); var httpResponse = requestResponse.returnResponse();