Skip to content

Commit

Permalink
fix: add control context config to test runtimes (#197)
Browse files Browse the repository at this point in the history
* fix: add control context config to test runtimes

* DEPENDENCIES
  • Loading branch information
paullatzelsperger authored May 15, 2024
1 parent 3e6886f commit dc9c448
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ maven/mavencentral/com.azure/azure-core/1.46.0, MIT AND Apache-2.0, approved, #1
maven/mavencentral/com.azure/azure-core/1.48.0, MIT AND Apache-2.0, approved, #14409
maven/mavencentral/com.azure/azure-identity/1.11.2, MIT AND Apache-2.0, approved, #13237
maven/mavencentral/com.azure/azure-json/1.1.0, MIT AND Apache-2.0, approved, #10547
maven/mavencentral/com.azure/azure-messaging-eventgrid/4.22.1, , restricted, clearlydefined
maven/mavencentral/com.azure/azure-messaging-eventgrid/4.22.1, MIT, approved, clearlydefined
maven/mavencentral/com.azure/azure-security-keyvault-keys/4.7.2, MIT, approved, #10872
maven/mavencentral/com.azure/azure-security-keyvault-secrets/4.7.2, MIT, approved, #10868
maven/mavencentral/com.azure/azure-security-keyvault-secrets/4.7.3, MIT, approved, #10868
Expand Down Expand Up @@ -105,9 +105,9 @@ maven/mavencentral/com.nimbusds/lang-tag/1.7, Apache-2.0, approved, clearlydefin
maven/mavencentral/com.nimbusds/nimbus-jose-jwt/9.25, Apache-2.0, approved, clearlydefined
maven/mavencentral/com.nimbusds/nimbus-jose-jwt/9.30.2, Apache-2.0, approved, clearlydefined
maven/mavencentral/com.nimbusds/nimbus-jose-jwt/9.32, Apache-2.0, approved, #10561
maven/mavencentral/com.nimbusds/nimbus-jose-jwt/9.37.3, Apache-2.0, approved, #11701
maven/mavencentral/com.nimbusds/nimbus-jose-jwt/9.38, Apache-2.0, approved, clearlydefined
maven/mavencentral/com.nimbusds/oauth2-oidc-sdk/10.7.1, Apache-2.0, approved, clearlydefined
maven/mavencentral/com.puppycrawl.tools/checkstyle/10.16.0, , restricted, clearlydefined
maven/mavencentral/com.puppycrawl.tools/checkstyle/10.16.0, LGPL-2.1-or-later AND (Apache-2.0 AND LGPL-2.1-or-later) AND Apache-2.0, approved, #14689
maven/mavencentral/com.squareup.okhttp3/okhttp-dnsoverhttps/4.12.0, Apache-2.0, approved, #11159
maven/mavencentral/com.squareup.okhttp3/okhttp/4.12.0, Apache-2.0, approved, #11156
maven/mavencentral/com.squareup.okhttp3/okhttp/4.9.3, Apache-2.0 AND MPL-2.0, approved, #3225
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
package org.eclipse.edc.test.system.blob;


import java.net.URI;

import static org.eclipse.edc.util.io.Ports.getFreePort;

public interface ConsumerConstants {
Expand All @@ -29,4 +31,6 @@ public interface ConsumerConstants {
int PROTOCOL_PORT = getFreePort();
String PROTOCOL_PATH = "/protocol";
String PROTOCOL_URL = "http://localhost:" + PROTOCOL_PORT + PROTOCOL_PATH;
URI CONTROL_URL = URI.create("http://localhost:" + getFreePort() + "/control");

}
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ public class BlobTransferIntegrationTest extends AbstractAzureBlobTest {
Map.entry("web.http.management.path", ConsumerConstants.MANAGEMENT_PATH),
Map.entry("web.http.protocol.port", valueOf(ConsumerConstants.PROTOCOL_PORT)),
Map.entry("web.http.protocol.path", ConsumerConstants.PROTOCOL_PATH),
Map.entry("web.http.control.port", valueOf(ConsumerConstants.CONTROL_URL.getPort())),
Map.entry("web.http.control.path", ConsumerConstants.CONTROL_URL.getPath()),
Map.entry(PARTICIPANT_ID, ConsumerConstants.PARTICIPANT_ID),
Map.entry("edc.dsp.callback.address", ConsumerConstants.PROTOCOL_URL),
Map.entry("edc.jsonld.http.enabled", Boolean.TRUE.toString())
Expand Down

0 comments on commit dc9c448

Please sign in to comment.