Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisLainez committed Apr 26, 2024
1 parent da52885 commit d8b2f1b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -237,15 +235,14 @@ protected <T> 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(
Expand All @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d8b2f1b

Please sign in to comment.