From 1c5850f3beaa047837959dfe2f1df48c6168f2a8 Mon Sep 17 00:00:00 2001 From: Paul Latzelsperger Date: Tue, 12 Mar 2024 08:49:14 +0100 Subject: [PATCH] pr remakrs, remove endpoint generator --- .../token-refresh-core/build.gradle.kts | 1 - .../tokenrefresh/e2e/DataPlaneTokenRefreshEndToEndTest.java | 5 ----- 2 files changed, 6 deletions(-) diff --git a/edc-extensions/dataplane/dataplane-token-refresh/token-refresh-core/build.gradle.kts b/edc-extensions/dataplane/dataplane-token-refresh/token-refresh-core/build.gradle.kts index b09b981dd..1597ed047 100644 --- a/edc-extensions/dataplane/dataplane-token-refresh/token-refresh-core/build.gradle.kts +++ b/edc-extensions/dataplane/dataplane-token-refresh/token-refresh-core/build.gradle.kts @@ -19,7 +19,6 @@ plugins { `java-library` - `maven-publish` } dependencies { diff --git a/edc-tests/edc-dataplane/edc-dataplane-tokenrefresh-tests/src/test/java/org/eclipse/tractusx/edc/dataplane/tokenrefresh/e2e/DataPlaneTokenRefreshEndToEndTest.java b/edc-tests/edc-dataplane/edc-dataplane-tokenrefresh-tests/src/test/java/org/eclipse/tractusx/edc/dataplane/tokenrefresh/e2e/DataPlaneTokenRefreshEndToEndTest.java index 3ab085bd8..2432700f7 100644 --- a/edc-tests/edc-dataplane/edc-dataplane-tokenrefresh-tests/src/test/java/org/eclipse/tractusx/edc/dataplane/tokenrefresh/e2e/DataPlaneTokenRefreshEndToEndTest.java +++ b/edc-tests/edc-dataplane/edc-dataplane-tokenrefresh-tests/src/test/java/org/eclipse/tractusx/edc/dataplane/tokenrefresh/e2e/DataPlaneTokenRefreshEndToEndTest.java @@ -28,9 +28,7 @@ import com.nimbusds.jose.jwk.gen.ECKeyGenerator; import com.nimbusds.jwt.JWTClaimsSet; import com.nimbusds.jwt.SignedJWT; -import org.eclipse.edc.connector.dataplane.spi.Endpoint; import org.eclipse.edc.connector.dataplane.spi.iam.DataPlaneAuthorizationService; -import org.eclipse.edc.connector.dataplane.spi.iam.PublicEndpointGeneratorService; import org.eclipse.edc.iam.did.spi.resolution.DidPublicKeyResolver; import org.eclipse.edc.junit.annotations.EndToEndTest; import org.eclipse.edc.junit.extensions.EdcRuntimeExtension; @@ -238,9 +236,6 @@ void refresh_invalidAuthenticationToken_missingAudience() { } private void prepareDataplaneRuntime() { - var generator = DATAPLANE_RUNTIME.getContext().getService(PublicEndpointGeneratorService.class); - generator.addGeneratorFunction("HttpData", dataAddress -> Endpoint.url(RUNTIME_CONFIG.getPublicApi().url().toString())); - var vault = DATAPLANE_RUNTIME.getContext().getService(Vault.class); vault.storeSecret(PROVIDER_KEY_ID, providerKey.toJSONString()); }