Skip to content

Commit

Permalink
Updates and improcvements based on Paul's review
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmarino committed May 17, 2023
1 parent 4cb9b0b commit 2a19850
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import org.eclipse.tractusx.edc.dataplane.proxy.consumer.api.asset.model.AssetRequest;

/**
*
* Defines the API for receiving asset requests on a consumer.
*/
@OpenAPIDefinition
@Tag(name = "Data Plane Proxy API")
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
org.eclipse.tractusx.edc.dataplane.proxy.consumer.api.DataPlaneProxyConsumerApiExtension
#
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
#
# Contributors:
# Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation

org.eclipse.tractusx.edc.dataplane.proxy.consumer.api.DataPlaneProxyConsumerApiExtension
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
public class ResponseHelper {

/**
* Creates a response with a message encoded for the given media type. Currently, <code>APPLICATION_JSON</code> and <code>TEXT_PLAIN</code> are supported.
* Creates a response with a message encoded for the given media type. Currently, {@code APPLICATION_JSON} and {@code TEXT_PLAIN} are supported.
*/
public static Response createMessageResponse(Response.Status status, String message, @Nullable MediaType mediaType) {
if (mediaType != null && APPLICATION_JSON.equals(mediaType.toString())) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
#
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
#
# Contributors:
# Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation

org.eclipse.tractusx.edc.dataplane.proxy.provider.api.DataPlaneProxyProviderApiExtension
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
#
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
#
# Contributors:
# Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation

org.eclipse.tractusx.edc.dataplane.proxy.provider.core.ProxyProviderCoreExtension
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
import static java.util.Objects.requireNonNull;

/**
* A configuration that exposes a proxied endpoint via an alias. Each configuration is associated with an extensible <code>authorizationType</code> such as
* {@link #TOKEN_AUTHORIZATION} (the default) and {@link #NO_AUTHORIZATION}. The <code>proxiedPath</code> will be prepended to a request sub-path to create an absolute endpoint
* A configuration that exposes a proxied endpoint via an alias. Each configuration is associated with an extensible {@code authorizationType} such as
* {@link #TOKEN_AUTHORIZATION} (the default) and {@link #NO_AUTHORIZATION}. The {@code proxiedPath} will be prepended to a request sub-path to create an absolute endpoint
* URL where data is fetched from.
*/
public class GatewayConfiguration {
Expand Down

0 comments on commit 2a19850

Please sign in to comment.