Skip to content

Commit a7f98c6

Browse files
authored
chore: Update bdrs version used for testing (#2214)
* chore: Update bdrs version used for testing Signed-off-by: Lars Geyer-Blaumeiser <lars.blaumeiser@cofinity-x.com> * test with old version Signed-off-by: Lars Geyer-Blaumeiser <lars.blaumeiser@cofinity-x.com> * test with 0.5.5 version Signed-off-by: Lars Geyer-Blaumeiser <lars.blaumeiser@cofinity-x.com> * Update to latest bdrs + config change Signed-off-by: Lars Geyer-Blaumeiser <lars.blaumeiser@cofinity-x.com> --------- Signed-off-by: Lars Geyer-Blaumeiser <lars.blaumeiser@cofinity-x.com>
1 parent d2cbf3b commit a7f98c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

edc-extensions/bdrs-client/src/test/java/org/eclipse/tractusx/edc/identity/mapper/BdrsClientImplComponentTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class BdrsClientImplComponentTest {
9797
private static final Network DOCKER_NETWORK = Network.newNetwork();
9898

9999
@Container
100-
private static final GenericContainer<?> BDRS_SERVER_CONTAINER = new GenericContainer<>("tractusx/bdrs-server-memory:0.5.4")
100+
private static final GenericContainer<?> BDRS_SERVER_CONTAINER = new GenericContainer<>("tractusx/bdrs-server-memory:0.5.7")
101101
.withEnv("EDC_HTTP_MANAGEMENT_AUTH_KEY", "password")
102102
.withEnv("WEB_HTTP_MANAGEMENT_PATH", "/api/management")
103103
.withEnv("WEB_HTTP_MANAGEMENT_PORT", "8081")

edc-tests/e2e/iatp-tests/src/test/java/org/eclipse/tractusx/edc/tests/transfer/extension/BdrsServerExtension.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class BdrsServerExtension implements BeforeAllCallback, AfterAllCallback
4141
private final LazySupplier<URI> directoryEndpoint = new LazySupplier<>(() -> URI.create("http://localhost:%d%s".formatted(getFreePort(), "/directory")));
4242
private final LazySupplier<URI> managementEndpoint = new LazySupplier<>(() -> URI.create("http://localhost:%d%s".formatted(getFreePort(), "/management")));
4343

44-
private final GenericContainer<?> bdrsServer = new GenericContainer<>("tractusx/bdrs-server-memory:0.5.4")
44+
private final GenericContainer<?> bdrsServer = new GenericContainer<>("tractusx/bdrs-server-memory:0.5.7")
4545
.withLogConsumer(o -> System.out.println("[BDRS] " + o.getUtf8StringWithoutLineEnding()))
4646
.withNetworkMode("host");
4747

@@ -59,7 +59,7 @@ public void beforeAll(ExtensionContext context) {
5959
entry("edc.iam.trusted-issuer.issuer.id", issuerDid),
6060
entry("web.http.directory.port", String.valueOf(directoryEndpoint.get().getPort())),
6161
entry("web.http.directory.path", directoryEndpoint.get().getPath()),
62-
entry("edc.api.auth.key", "password"),
62+
entry("web.http.management.auth.key", "password"),
6363
entry("web.http.management.port", String.valueOf(managementEndpoint.get().getPort())),
6464
entry("web.http.management.path", managementEndpoint.get().getPath())
6565
);

0 commit comments

Comments
 (0)