Skip to content

Commit

Permalink
fix: use latest node and apim version
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Tracer interface is not more available through tracer-api module
  • Loading branch information
guillaumelamirand committed Nov 6, 2024
1 parent 14ca260 commit fb3706b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
23 changes: 7 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,10 @@
</parent>

<properties>
<gravitee-bom.version>6.0.6</gravitee-bom.version>
<gravitee-gateway-api.version>3.2.1</gravitee-gateway-api.version>
<gravitee-apim.version>4.1.0-SNAPSHOT</gravitee-apim.version>
<gravitee-policy-api.version>1.11.0</gravitee-policy-api.version>
<gravitee-common.version>3.3.0</gravitee-common.version>
<gravitee-expression-language.version>3.1.0</gravitee-expression-language.version>
<gravitee-entrypoint-http-post.version>1.0.0</gravitee-entrypoint-http-post.version>
<gravitee-entrypoint-http-get.version>1.0.0</gravitee-entrypoint-http-get.version>
<gravitee-reactor-message.version>1.0.1</gravitee-reactor-message.version>
<gravitee-apim.version>4.6.0-SNAPSHOT</gravitee-apim.version>
<gravitee-entrypoint-http-post.version>2.0.0-alpha.1</gravitee-entrypoint-http-post.version>
<gravitee-entrypoint-http-get.version>2.0.0-alpha.1</gravitee-entrypoint-http-get.version>
<gravitee-reactor-message.version>5.0.0-alpha.2</gravitee-reactor-message.version>
<groovy.version>3.0.19</groovy.version>
<groovy-sandbox.version>1.27</groovy-sandbox.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
Expand All @@ -56,9 +51,9 @@
<dependencies>
<!-- Import bom to properly inherit all dependencies -->
<dependency>
<groupId>io.gravitee</groupId>
<artifactId>gravitee-bom</artifactId>
<version>${gravitee-bom.version}</version>
<groupId>io.gravitee.apim</groupId>
<artifactId>gravitee-apim-bom</artifactId>
<version>${gravitee-apim.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand All @@ -70,28 +65,24 @@
<dependency>
<groupId>io.gravitee.gateway</groupId>
<artifactId>gravitee-gateway-api</artifactId>
<version>${gravitee-gateway-api.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>io.gravitee.policy</groupId>
<artifactId>gravitee-policy-api</artifactId>
<version>${gravitee-policy-api.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>io.gravitee.common</groupId>
<artifactId>gravitee-common</artifactId>
<version>${gravitee-common.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>io.gravitee.el</groupId>
<artifactId>gravitee-expression-language</artifactId>
<version>${gravitee-expression-language.version}</version>
<scope>provided</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import io.gravitee.gateway.api.http.HttpHeaders;
import io.gravitee.gateway.reactive.api.context.GenericRequest;
import io.gravitee.gateway.reactive.api.context.HttpRequest;
import io.gravitee.gateway.reactive.api.context.TlsSession;
import io.gravitee.policy.groovy.model.BindableHttpHeaders;
import javax.annotation.Nullable;
import javax.net.ssl.SSLSession;
Expand Down Expand Up @@ -221,6 +222,15 @@ public SSLSession getSslSession() {
return sslSession();
}

@Override
public TlsSession tlsSession() {
return request.tlsSession();
}

public TlsSession getTslSession() {
return tlsSession();
}

@Override
public boolean ended() {
return request.ended();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import io.gravitee.gateway.api.ExecutionContext;
import io.gravitee.gateway.api.Request;
import io.gravitee.gateway.api.Response;
import io.gravitee.tracing.api.Tracer;
import java.util.Enumeration;
import java.util.Map;

Expand Down

0 comments on commit fb3706b

Please sign in to comment.