From 791b7aca36efd1000246471ca45dacddc3db747f Mon Sep 17 00:00:00 2001 From: Swordsteel Date: Tue, 29 Jul 2025 12:55:05 +0200 Subject: [PATCH] update project --- build.gradle.kts | 10 +++++----- gradle.properties | 2 +- src/main/resources/application.yml | 7 ++++--- .../resources/{logback.xml => logback-spring.xml} | 0 src/main/resources/logback-test.xml | 11 ----------- 5 files changed, 10 insertions(+), 20 deletions(-) rename src/main/resources/{logback.xml => logback-spring.xml} (100%) delete mode 100644 src/main/resources/logback-test.xml diff --git a/build.gradle.kts b/build.gradle.kts index 74b0dd8..c938841 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,10 +3,10 @@ import com.bmuschko.gradle.docker.tasks.container.DockerCreateContainer plugins { alias(hlaeja.plugins.kotlin.jvm) alias(hlaeja.plugins.kotlin.spring) - alias(hlaeja.plugins.ltd.hlaeja.plugin.certificate) - alias(hlaeja.plugins.ltd.hlaeja.plugin.service) + alias(hlaeja.plugins.spring.boot) alias(hlaeja.plugins.spring.dependency.management) - alias(hlaeja.plugins.springframework.boot) + alias(hlaeja.plugins.certificate) + alias(hlaeja.plugins.service) } dependencies { @@ -16,8 +16,8 @@ dependencies { implementation(hlaeja.kotlin.reflect) implementation(hlaeja.kotlinx.coroutines) implementation(hlaeja.micrometer.registry.influx) - implementation(hlaeja.library.hlaeja.common.messages) - implementation(hlaeja.library.hlaeja.jwt) + implementation(hlaeja.library.common.messages) + implementation(hlaeja.library.jwt) implementation(hlaeja.springboot.starter.actuator) implementation(hlaeja.springboot.starter.cache) implementation(hlaeja.springboot.starter.redis) diff --git a/gradle.properties b/gradle.properties index cc3debc..a9a4906 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ kotlin.code.style=official org.gradle.jvmargs=-Xmx1g version=0.5.0-SNAPSHOT -catalog=0.8.0 +catalog=0.11.0-SNAPSHOT docker.port.expose=8443 container.port.expose=8443 container.port.host=9000 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index f88b098..cbbc4ea 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -18,16 +18,17 @@ spring: management: endpoints: - enabled-by-default: false + access: + default: none web: exposure: include: "health,info" endpoint: health: - enabled: true show-details: always + access: read_only info: - enabled: true + access: read_only influx: metrics: export: diff --git a/src/main/resources/logback.xml b/src/main/resources/logback-spring.xml similarity index 100% rename from src/main/resources/logback.xml rename to src/main/resources/logback-spring.xml diff --git a/src/main/resources/logback-test.xml b/src/main/resources/logback-test.xml deleted file mode 100644 index 3d69919..0000000 --- a/src/main/resources/logback-test.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n - - - - - - -