public ExternalStorageLocation getExternalStorageLocation(
            String path, String operation, String type) {
        try {
            ExternalPayloadStorage.Operation payloadOperation =
                    ExternalPayloadStorage.Operation.valueOf(StringUtils.upperCase(operation));
            ExternalPayloadStorage.PayloadType payloadType =
                    ExternalPayloadStorage.PayloadType.valueOf(StringUtils.upperCase(type));
            return externalPayloadStorage.getLocation(payloadOperation, payloadType, path);
        } catch (Exception e) {
            String errorMsg =
                    String.format(
                            "Invalid input - Operation: %s, PayloadType: %s", operation, type);
            LOGGER.error(errorMsg);
            throw new IllegalArgumentException(errorMsg);
        }
    }
Get external uri for the payload

@param path the path for which the external storage location is to be populated
@param operation the type of {@link Operation} to be performed
@param type the {@link PayloadType} at the external uri
@return the external uri at which the payload is stored/to be stored
core/src/main/java/com/netflix/conductor/service/ExecutionService.java