diff --git a/build.gradle.kts b/build.gradle.kts index beba17b4..aafb812b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,7 @@ import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask val assertjVersion = "3.23.1" val kotlinLoggingVersion = "3.0.4" -val logbackVersion = "1.2.11" +val logbackVersion = "1.4.5" val nimbusSdkVersion = "10.4" val mockWebServerVersion = "4.10.0" val jacksonVersion = "2.14.1" diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 00000000..2521a77a --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,13 @@ +version: "3.1" + +services: + mock-oauth2-server: + image: mock-oauth2-server:latest + ports: + - "8080:8080" + volumes: + - ./src/test/resources/config.json:/app/config.json + environment: + LOG_LEVEL: "debug" + SERVER_PORT: 8080 + JSON_CONFIG_PATH: /app/config.json diff --git a/src/test/resources/META-INF/spring.factories b/src/test/resources/META-INF/spring.factories new file mode 100644 index 00000000..40da61fa --- /dev/null +++ b/src/test/resources/META-INF/spring.factories @@ -0,0 +1,2 @@ +org.springframework.boot.logging.LoggingSystemFactory=\ +org.springframework.boot.logging.java.JavaLoggingSystem.Factory