diff --git a/kraken-java-sdk/kraken-java-sdk-sync/src/main/java/com/consoleconnect/kraken/operator/sync/service/push/PushAPIActivityLogScheduler.java b/kraken-java-sdk/kraken-java-sdk-sync/src/main/java/com/consoleconnect/kraken/operator/sync/service/push/PushAPIActivityLogScheduler.java index 5cd373e6..c070e80c 100644 --- a/kraken-java-sdk/kraken-java-sdk-sync/src/main/java/com/consoleconnect/kraken/operator/sync/service/push/PushAPIActivityLogScheduler.java +++ b/kraken-java-sdk/kraken-java-sdk-sync/src/main/java/com/consoleconnect/kraken/operator/sync/service/push/PushAPIActivityLogScheduler.java @@ -45,7 +45,6 @@ import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Service; import org.springframework.web.reactive.function.client.WebClient; -import org.springframework.web.util.UriBuilder; @Service @Slf4j @@ -149,8 +148,11 @@ private List pushLogsInBatches( } private HttpResponse sendLogsToExternalSystem(ClientEvent payload) { - return blockCurl( - HttpMethod.POST, UriBuilder::build, payload, new ParameterizedTypeReference<>() {}); + return curl( + HttpMethod.POST, + getAppProperty().getMgmtPlane().getMgmtPushEventEndpoint(), + payload, + new ParameterizedTypeReference<>() {}); } private List getComposedHttpRequests(Stream logs) {