diff --git a/codestyle/checkstyle.xml b/codestyle/checkstyle.xml
index f50e861..9bca361 100644
--- a/codestyle/checkstyle.xml
+++ b/codestyle/checkstyle.xml
@@ -44,6 +44,7 @@
+
@@ -315,4 +316,4 @@
-
\ No newline at end of file
+
diff --git a/pom.xml b/pom.xml
index a9f068f..44644fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,10 +32,9 @@
UTF-8
8.3.1
- 2.1.0
1.5.5.Final
5.12.0
- 1.77
+ 1.78.1
3.3.0
0.8.10
@@ -72,45 +71,6 @@
https://github.com/WorldHealthOrganization/tng-key-distribution
-
-
- docker
-
- docker
- jar
-
-
-
-
- org.springframework.boot
- spring-boot-maven-plugin
-
- ${project.build.directory}/docker
- ddccg
-
-
-
- maven-assembly-plugin
-
-
- make-zip-ACC
- none
-
-
- make-zip-test
- none
-
-
- make-zip-PRD
- none
-
-
-
-
-
-
-
-
who-github
@@ -137,23 +97,10 @@
-
- org.springframework
- spring-web
- 6.1.6
-
-
- org.springframework.boot
- spring-boot-starter-web
-
org.springframework.boot
spring-boot-starter-data-jpa
-
- org.springframework.boot
- spring-boot-starter-validation
-
org.springframework.boot
spring-boot-starter-actuator
@@ -164,13 +111,23 @@
test
- org.springdoc
- springdoc-openapi-starter-webmvc-ui
- ${springdoc.version}
+ org.springframework.boot
+ spring-boot-starter-web
org.springframework.cloud
spring-cloud-starter-openfeign
+
+
+ org.springframework
+ spring-web
+
+
+
+
+ org.springframework
+ spring-web
+ 6.1.6
@@ -226,6 +183,11 @@
+
+ com.github.ben-manes.caffeine
+ caffeine
+ 3.1.8
+
org.eclipse.jgit
org.eclipse.jgit
@@ -252,14 +214,6 @@
org.springframework.boot
spring-boot-maven-plugin
-
-
-
- repackage
- build-info
-
-
-
org.apache.maven.plugins
@@ -351,22 +305,6 @@
-
- org.springdoc
- springdoc-openapi-maven-plugin
- 1.3
-
- http://localhost:8080/api/docs
-
-
-
- integration-test
-
- generate
-
-
-
-
diff --git a/src/main/java/tng/trustnetwork/keydistribution/KeyDistributionServiceApplication.java b/src/main/java/tng/trustnetwork/keydistribution/KeyDistributionServiceApplication.java
index dd4b75e..ec29444 100644
--- a/src/main/java/tng/trustnetwork/keydistribution/KeyDistributionServiceApplication.java
+++ b/src/main/java/tng/trustnetwork/keydistribution/KeyDistributionServiceApplication.java
@@ -33,7 +33,7 @@
@SpringBootApplication
@EnableConfigurationProperties(KdsConfigProperties.class)
@EnableFeignClients
-public class KeyDistributionServiceApplication extends SpringBootServletInitializer {
+public class KeyDistributionServiceApplication {
/**
* The main Method.
diff --git a/src/main/java/tng/trustnetwork/keydistribution/config/ErrorHandler.java b/src/main/java/tng/trustnetwork/keydistribution/config/ErrorHandler.java
deleted file mode 100644
index 9f19f45..0000000
--- a/src/main/java/tng/trustnetwork/keydistribution/config/ErrorHandler.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*-
- * ---license-start
- * WorldHealthOrganization / tng-key-distribution
- * ---
- * Copyright (C) 2021 - 2024 T-Systems International GmbH and all other contributors
- * ---
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ---license-end
- */
-
-package tng.trustnetwork.keydistribution.config;
-
-import lombok.RequiredArgsConstructor;
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.http.HttpStatus;
-import org.springframework.http.MediaType;
-import org.springframework.http.ResponseEntity;
-import org.springframework.web.bind.annotation.ControllerAdvice;
-import org.springframework.web.bind.annotation.ExceptionHandler;
-import org.springframework.web.server.ResponseStatusException;
-import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler;
-import tng.trustnetwork.keydistribution.exception.BadRequestException;
-import tng.trustnetwork.keydistribution.restapi.dto.ProblemReportDto;
-
-@ControllerAdvice
-@Configuration
-@RequiredArgsConstructor
-@Slf4j
-public class ErrorHandler extends ResponseEntityExceptionHandler {
-
- /**
- * Handles {@link BadRequestException} when a validation failed.
- *
- * @param e the thrown {@link BadRequestException}
- * @return A ResponseEntity with a ErrorMessage inside.
- */
- @ExceptionHandler(BadRequestException.class)
- public ResponseEntity