diff --git a/client/src/main/java/com/netflix/conductor/client/http/ClientBase.java b/client/src/main/java/com/netflix/conductor/client/http/ClientBase.java index 13cd21309..7f545dd1c 100644 --- a/client/src/main/java/com/netflix/conductor/client/http/ClientBase.java +++ b/client/src/main/java/com/netflix/conductor/client/http/ClientBase.java @@ -46,9 +46,7 @@ import jakarta.ws.rs.client.Invocation; import jakarta.ws.rs.core.GenericType; -/** - * Abstract client for the REST server - */ +/** Abstract client for the REST server */ public abstract class ClientBase { private static final Logger LOGGER = LoggerFactory.getLogger(ClientBase.class); @@ -237,15 +235,14 @@ protected T getForEntity( return null; } - /** * Uses the {@link PayloadStorage} for storing large payloads. Gets the uri for storing the * payload from the server and then uploads to this location * - * @param payloadType the {@link - * com.netflix.conductor.common.utils.ExternalPayloadStorage.PayloadType} to be uploaded + * @param payloadType the {@link + * com.netflix.conductor.common.utils.ExternalPayloadStorage.PayloadType} to be uploaded * @param payloadBytes the byte array containing the payload - * @param payloadSize the size of the payload + * @param payloadSize the size of the payload * @return the path where the payload is stored in external storage */ protected String uploadToExternalPayloadStorage( @@ -268,8 +265,8 @@ protected String uploadToExternalPayloadStorage( * the uri of the payload fom the server and then downloads from this location. * * @param payloadType the {@link - * com.netflix.conductor.common.utils.ExternalPayloadStorage.PayloadType} to be downloaded - * @param path the relative of the payload in external storage + * com.netflix.conductor.common.utils.ExternalPayloadStorage.PayloadType} to be downloaded + * @param path the relative of the payload in external storage * @return the payload object that is stored in external storage */ @SuppressWarnings("unchecked") diff --git a/client/src/main/java/com/netflix/conductor/client/http/ClientRequestHandler.java b/client/src/main/java/com/netflix/conductor/client/http/ClientRequestHandler.java index b4e2d3341..c72179d30 100644 --- a/client/src/main/java/com/netflix/conductor/client/http/ClientRequestHandler.java +++ b/client/src/main/java/com/netflix/conductor/client/http/ClientRequestHandler.java @@ -14,7 +14,6 @@ import java.net.URI; -import jakarta.ws.rs.core.GenericType; import org.glassfish.jersey.client.ClientConfig; import org.glassfish.jersey.client.ClientResponse; @@ -29,6 +28,7 @@ import jakarta.ws.rs.client.ClientBuilder; import jakarta.ws.rs.client.ClientRequestFilter; import jakarta.ws.rs.client.Invocation; +import jakarta.ws.rs.core.GenericType; import jakarta.ws.rs.core.MediaType; public class ClientRequestHandler { diff --git a/client/src/test/groovy/com/netflix/conductor/client/http/EventClientSpec.groovy b/client/src/test/groovy/com/netflix/conductor/client/http/EventClientSpec.groovy index f957fd58f..caf4c8315 100644 --- a/client/src/test/groovy/com/netflix/conductor/client/http/EventClientSpec.groovy +++ b/client/src/test/groovy/com/netflix/conductor/client/http/EventClientSpec.groovy @@ -12,13 +12,13 @@ */ package com.netflix.conductor.client.http -import jakarta.ws.rs.core.GenericType import org.glassfish.jersey.client.ClientResponse import com.netflix.conductor.common.metadata.events.EventHandler import jakarta.ws.rs.client.Entity import jakarta.ws.rs.client.Invocation +import jakarta.ws.rs.core.GenericType import spock.lang.Subject import spock.lang.Unroll