diff --git a/pom.xml b/pom.xml index 65d5812..032e1cf 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,7 @@ 3.21.0-SNAPSHOT 3.0.0 - 2.1.0-alpha.6 + 2.1.0-alpha.20 1.11.0 1.1.0 ${project.build.directory}/schemas diff --git a/src/main/java/io/gravitee/policy/overriderequestmethod/OverrideRequestMethodPolicy.java b/src/main/java/io/gravitee/policy/overriderequestmethod/OverrideRequestMethodPolicy.java index 6e1aedd..1ce01df 100644 --- a/src/main/java/io/gravitee/policy/overriderequestmethod/OverrideRequestMethodPolicy.java +++ b/src/main/java/io/gravitee/policy/overriderequestmethod/OverrideRequestMethodPolicy.java @@ -17,9 +17,9 @@ import io.gravitee.common.http.HttpMethod; import io.gravitee.gateway.api.ExecutionContext; -import io.gravitee.gateway.jupiter.api.context.ContextAttributes; -import io.gravitee.gateway.jupiter.api.context.HttpExecutionContext; -import io.gravitee.gateway.jupiter.api.policy.Policy; +import io.gravitee.gateway.reactive.api.context.ContextAttributes; +import io.gravitee.gateway.reactive.api.context.HttpExecutionContext; +import io.gravitee.gateway.reactive.api.policy.Policy; import io.gravitee.policy.overriderequestmethod.configuration.OverrideRequestMethodPolicyConfiguration; import io.gravitee.policy.v3.overriderequestmethod.OverrideRequestMethodPolicyV3; import io.reactivex.rxjava3.core.Completable; diff --git a/src/test/resources/apis/v4_definition/override-http-method.json b/src/test/resources/apis/v4_definition/override-http-method.json index eebb2f8..c6bcac5 100644 --- a/src/test/resources/apis/v4_definition/override-http-method.json +++ b/src/test/resources/apis/v4_definition/override-http-method.json @@ -3,7 +3,8 @@ "name": "override-request-method", "apiVersion": "1.0", "definitionVersion": "4.0.0", - "type": "sync", + "type": "proxy", + "analytics": {}, "description": "override-request-method", "listeners": [ {