- Fixed data accounting issue [#25571]

- Moved to maven-parent 1.2.0 and using parent version range [#25572]
This commit is contained in:
Francesco Mangiacrapa 2023-09-05 15:51:52 +02:00
parent 22daeac777
commit 1fade30403
3 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,10 @@
# Changelog for org.gcube.application.geoportal-service # Changelog for org.gcube.application.geoportal-service
## [v1.1.1-SNAPSHOT]
- Fixed data accounting issue [#25571]
- Moved to maven-parent 1.2.0 and using parent version range [#25572]
## [v1.1.0] ## [v1.1.0]
- Prepared the PATCH method [#24985] - Prepared the PATCH method [#24985]

View File

@ -4,14 +4,14 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.application</groupId> <groupId>org.gcube.application</groupId>
<artifactId>geoportal-service</artifactId> <artifactId>geoportal-service</artifactId>
<version>1.1.0</version> <version>1.1.1-SNAPSHOT</version>
<name>Geoportal Service</name> <name>Geoportal Service</name>
<packaging>war</packaging> <packaging>war</packaging>
<parent> <parent>
<groupId>org.gcube.application.cms</groupId> <groupId>org.gcube.application.cms</groupId>
<artifactId>gcube-cms-suite</artifactId> <artifactId>gcube-cms-suite</artifactId>
<version>1.0.4</version> <version>[1.0.0, 2.0.0-SNAPSHOT)</version>
</parent> </parent>
<properties> <properties>

View File

@ -29,7 +29,6 @@ public class RequestFilter implements ContainerRequestFilter, ContainerResponseF
public void filter(ContainerRequestContext requestContext) throws IOException { public void filter(ContainerRequestContext requestContext) throws IOException {
log.trace("PreMatching RequestFilter"); log.trace("PreMatching RequestFilter");
SecretManagerProvider.instance.reset();
SecretManager secretManager = new SecretManager(); SecretManager secretManager = new SecretManager();
String token = AccessTokenProvider.instance.get(); String token = AccessTokenProvider.instance.get();
@ -52,7 +51,7 @@ public class RequestFilter implements ContainerRequestFilter, ContainerResponseF
public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext) public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext)
throws IOException { throws IOException {
log.trace("ResponseFilter"); log.trace("ResponseFilter");
SecretManagerProvider.instance.reset(); SecretManagerProvider.instance.remove();
} }
} }