diff --git a/.github/workflows/dockerImage.yml b/.github/workflows/dockerImage.yml
index 96eeb2c..ddcc5bb 100644
--- a/.github/workflows/dockerImage.yml
+++ b/.github/workflows/dockerImage.yml
@@ -28,7 +28,7 @@ jobs:
- name: Setup JVM
uses: actions/setup-java@v1
with:
- java-version: 11.0.10
+ java-version: 17.0.7
java-package: jdk
architecture: x64
@@ -64,7 +64,7 @@ jobs:
push_to_registry:
strategy:
matrix:
- registry: ["docker.pkg.github.com", "ghcr.io"]
+ registry: ["ghcr.io"]
needs: [test]
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
diff --git a/.github/workflows/feature-branch.yml b/.github/workflows/feature-branch.yml
index efc6601..231959b 100644
--- a/.github/workflows/feature-branch.yml
+++ b/.github/workflows/feature-branch.yml
@@ -18,7 +18,7 @@ jobs:
- name: Setup JVM
uses: actions/setup-java@v1
with:
- java-version: 11.0.10
+ java-version: 17.0.7
java-package: jdk
architecture: x64
diff --git a/Dockerfile b/Dockerfile
index e58728a..c991a58 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM adoptopenjdk/openjdk11
+FROM openjdk:17-oracle
VOLUME ["/tmp","/log"]
EXPOSE 8080
ARG JAR_FILE
diff --git a/api/videoservice.yaml b/api/videoservice.yaml
index df5996c..9594360 100644
--- a/api/videoservice.yaml
+++ b/api/videoservice.yaml
@@ -220,8 +220,6 @@ components:
schemas:
CreateVideoCallDTO:
type: object
- required:
- - sessionId
properties:
sessionId:
type: integer
diff --git a/pom.xml b/pom.xml
index 3e2649f..5a47f70 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,31 +14,33 @@
org.springframework.boot
spring-boot-starter-parent
- 2.5.12
+ 3.0.6
UTF-8
UTF-8
- 11
+ 17
17.0.0
2.19.0
- 6.2.1
- 3.0.0
+ 6.6.0
+
0.2.3
- 2.10.0
- 5.7.5
+
+ 6.0.5
2.10.9.2
2.1.1
3.12.1
3.11
4.4
2.1.214
- 4.9.1
+ 4.23.2
8.0.0.Final
- 4.1.1
+ 4.23.2
+ 17
+ 17
@@ -60,13 +62,33 @@
org.springframework.boot
spring-boot-starter-cache
+
+ org.springframework.boot
+ spring-boot-starter-oauth2-resource-server
+
+
+
+ org.springframework.security
+ spring-security-web
+ ${spring-security.version}
+
+
+ org.springframework.security
+ spring-security-config
+ ${spring-security.version}
+
org.springframework.security
spring-security-core
- ${spring-security-core.version}
+ ${spring-security.version}
+
+
+ org.springframework.boot
+ spring-boot-starter-oauth2-resource-server
+
net.sf.ehcache
@@ -103,6 +125,26 @@
${jackson-databind-nullable.version}
+
+ org.codehaus.plexus
+ plexus-utils
+ 3.3.0
+
+
+
+
+ io.swagger.core.v3
+ swagger-annotations
+ 2.2.15
+
+
+
+
+ org.springdoc
+ springdoc-openapi-starter-webmvc-ui
+ 2.4.0
+
+
org.json
@@ -110,12 +152,6 @@
20220320
-
-
- io.springfox
- springfox-boot-starter
- ${springfox-boot-starter.version}
-
org.keycloak
@@ -150,6 +186,12 @@
org.liquibase
liquibase-maven-plugin
${liquibase.maven.plugin.version}
+
+
+ org.liquibase
+ liquibase-core
+
+
@@ -206,6 +248,7 @@
spring-boot-starter-actuator
+
org.springframework.boot
@@ -215,19 +258,14 @@
org.springframework.security
spring-security-test
+ ${spring-security.version}
test
- powermock-module-junit4
- org.powermock
+ junit
+ junit
+ 4.13.2
test
- 2.0.2
-
-
- powermock-api-mockito2
- org.powermock
- test
- 2.0.2
@@ -268,7 +306,10 @@
${log4j.version}
-
+
+ org.apache.httpcomponents.client5
+ httpclient5
+
@@ -311,7 +352,9 @@
true
/
+ true
+
${project.basedir}/api/videoservice.yaml
spring
${project.groupId}.${project.artifactId}.generated.api.controller
diff --git a/src/main/java/de/caritas/cob/videoservice/ApiResponseEntityExceptionHandler.java b/src/main/java/de/caritas/cob/videoservice/ApiResponseEntityExceptionHandler.java
index 7eab9f3..552d650 100644
--- a/src/main/java/de/caritas/cob/videoservice/ApiResponseEntityExceptionHandler.java
+++ b/src/main/java/de/caritas/cob/videoservice/ApiResponseEntityExceptionHandler.java
@@ -64,7 +64,6 @@ public ResponseEntity