From 481e3b6a58dd5d6c54c361654d0723836bccd35e Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 6 Mar 2023 13:27:53 +0100 Subject: [PATCH] feat: rename 'jupiter' package in 'reactive' related to APIM-718 --- pom.xml | 4 ++-- .../io/gravitee/policy/keyless/KeylessPolicy.java | 10 +++++----- .../gravitee/policy/keyless/KeylessPolicyTest.java | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 5df6e246..85808c3e 100644 --- a/pom.xml +++ b/pom.xml @@ -35,10 +35,10 @@ 2.7 - 2.1.0-alpha.11 + 2.1.0-alpha.18 1.25.0-alpha.4 1.11.0 - 2.0.1 + 2.1.0-alpha.1 3.21.0-SNAPSHOT 2.0.1 2.0.0 diff --git a/src/main/java/io/gravitee/policy/keyless/KeylessPolicy.java b/src/main/java/io/gravitee/policy/keyless/KeylessPolicy.java index 732e8780..293b3efe 100644 --- a/src/main/java/io/gravitee/policy/keyless/KeylessPolicy.java +++ b/src/main/java/io/gravitee/policy/keyless/KeylessPolicy.java @@ -15,12 +15,12 @@ */ package io.gravitee.policy.keyless; -import static io.gravitee.gateway.jupiter.api.context.InternalContextAttributes.ATTR_INTERNAL_SECURITY_TOKEN; +import static io.gravitee.gateway.reactive.api.context.InternalContextAttributes.ATTR_INTERNAL_SECURITY_TOKEN; -import io.gravitee.gateway.jupiter.api.context.ContextAttributes; -import io.gravitee.gateway.jupiter.api.context.HttpExecutionContext; -import io.gravitee.gateway.jupiter.api.policy.SecurityPolicy; -import io.gravitee.gateway.jupiter.api.policy.SecurityToken; +import io.gravitee.gateway.reactive.api.context.ContextAttributes; +import io.gravitee.gateway.reactive.api.context.HttpExecutionContext; +import io.gravitee.gateway.reactive.api.policy.SecurityPolicy; +import io.gravitee.gateway.reactive.api.policy.SecurityToken; import io.gravitee.policy.v3.keyless.KeylessPolicyV3; import io.reactivex.rxjava3.core.Completable; import io.reactivex.rxjava3.core.Maybe; diff --git a/src/test/java/io/gravitee/policy/keyless/KeylessPolicyTest.java b/src/test/java/io/gravitee/policy/keyless/KeylessPolicyTest.java index c1ebbe8e..d63f640e 100644 --- a/src/test/java/io/gravitee/policy/keyless/KeylessPolicyTest.java +++ b/src/test/java/io/gravitee/policy/keyless/KeylessPolicyTest.java @@ -15,18 +15,18 @@ */ package io.gravitee.policy.keyless; -import static io.gravitee.gateway.jupiter.api.context.InternalContextAttributes.ATTR_INTERNAL_SECURITY_TOKEN; -import static io.gravitee.gateway.jupiter.api.policy.SecurityToken.TokenType.NONE; +import static io.gravitee.gateway.reactive.api.context.InternalContextAttributes.ATTR_INTERNAL_SECURITY_TOKEN; +import static io.gravitee.gateway.reactive.api.policy.SecurityToken.TokenType.NONE; import static io.gravitee.policy.v3.keyless.KeylessPolicyV3.APPLICATION_NAME_ANONYMOUS; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -import io.gravitee.gateway.jupiter.api.context.ContextAttributes; -import io.gravitee.gateway.jupiter.api.context.HttpExecutionContext; -import io.gravitee.gateway.jupiter.api.context.Request; -import io.gravitee.gateway.jupiter.api.policy.SecurityToken; +import io.gravitee.gateway.reactive.api.context.ContextAttributes; +import io.gravitee.gateway.reactive.api.context.HttpExecutionContext; +import io.gravitee.gateway.reactive.api.context.Request; +import io.gravitee.gateway.reactive.api.policy.SecurityToken; import io.reactivex.rxjava3.observers.TestObserver; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName;