From 56cec3adb4178af8cef4f159c16cfdc8ef450434 Mon Sep 17 00:00:00 2001 From: wolf4ood Date: Mon, 29 Jul 2024 13:27:34 +0200 Subject: [PATCH] feat: secure FC api in tests --- .../tractusx/edc/tests/participant/TractusxParticipantBase.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/edc-tests/edc-controlplane/fixtures/src/testFixtures/java/org/eclipse/tractusx/edc/tests/participant/TractusxParticipantBase.java b/edc-tests/edc-controlplane/fixtures/src/testFixtures/java/org/eclipse/tractusx/edc/tests/participant/TractusxParticipantBase.java index 397a5a5ec..9abaaf095 100644 --- a/edc-tests/edc-controlplane/fixtures/src/testFixtures/java/org/eclipse/tractusx/edc/tests/participant/TractusxParticipantBase.java +++ b/edc-tests/edc-controlplane/fixtures/src/testFixtures/java/org/eclipse/tractusx/edc/tests/participant/TractusxParticipantBase.java @@ -95,6 +95,8 @@ public Map getConfiguration() { put("web.http.control.path", controlPlaneControl.getPath()); put("web.http.catalog.port", String.valueOf(federatedCatalog.getUrl().getPort())); put("web.http.catalog.path", federatedCatalog.getUrl().getPath()); + put("web.http.catalog.auth.type", "tokenbased"); + put("web.http.catalog.auth.key", MANAGEMENT_API_KEY); put("edc.dsp.callback.address", protocolEndpoint.getUrl().toString()); put("edc.api.auth.key", MANAGEMENT_API_KEY); put("web.http.public.path", "/api/public");