update project

This commit is contained in:
2025-07-29 14:01:51 +02:00
committed by swordsteel
parent 534a77193b
commit b34b9f5b22
6 changed files with 21 additions and 29 deletions

View File

@@ -5,8 +5,13 @@ In realms of connectedness, where devices roam free, A nexus of management, harm
## Properties for deployment ## Properties for deployment
| name | required | info | | name | required | info |
|------------------------|:--------:|-------------------------| |----------------------------|:--------:|-------------------------|
| spring.profiles.active | ✓ | Spring Boot environment | | spring.profiles.active | ✓ | Spring Boot environment |
| spring.cache.type | | Cache type (redis) |
| spring.data.redis.host | ✓ | Redis host |
| spring.data.redis.port | | Redis port |
| spring.data.redis.database | ✓ | Redis database |
| spring.data.redis.password | ✗ | Redis password |
| jwt.public-key | ✓ | JWT public key file | | jwt.public-key | ✓ | JWT public key file |
| account-registry.url | ✓ | Account Register URL | | account-registry.url | ✓ | Account Register URL |
| device-registry.url | ✓ | Device Register URL | | device-registry.url | ✓ | Device Register URL |

View File

@@ -1,10 +1,10 @@
plugins { plugins {
alias(hlaeja.plugins.kotlin.jvm) alias(hlaeja.plugins.kotlin.jvm)
alias(hlaeja.plugins.kotlin.spring) alias(hlaeja.plugins.kotlin.spring)
alias(hlaeja.plugins.ltd.hlaeja.plugin.certificate) alias(hlaeja.plugins.spring.boot)
alias(hlaeja.plugins.ltd.hlaeja.plugin.service)
alias(hlaeja.plugins.spring.dependency.management) alias(hlaeja.plugins.spring.dependency.management)
alias(hlaeja.plugins.springframework.boot) alias(hlaeja.plugins.certificate)
alias(hlaeja.plugins.service)
} }
dependencies { dependencies {
@@ -36,8 +36,6 @@ dependencies {
group = "ltd.lulz" group = "ltd.lulz"
tasks { tasks.named("processResources") {
named("processResources") {
dependsOn("copyCertificates") dependsOn("copyCertificates")
}
} }

View File

@@ -1,4 +1,4 @@
kotlin.code.style=official kotlin.code.style=official
version=0.3.0-SNAPSHOT version=0.3.0-SNAPSHOT
catalog=0.10.0 catalog=0.11.0-SNAPSHOT
container.port.host=9060 container.port.host=9060

View File

@@ -11,7 +11,6 @@ spring:
version: "%APP_BUILD_OS_VERSION%" version: "%APP_BUILD_OS_VERSION%"
session: session:
timeout: 60m timeout: 60m
redis: redis:
namespace: "spring:session:management" namespace: "spring:session:management"
data: data:
@@ -20,16 +19,17 @@ spring:
management: management:
endpoints: endpoints:
enabled-by-default: false access:
default: none
web: web:
exposure: exposure:
include: "health,info" include: "health,info"
endpoint: endpoint:
health: health:
enabled: true
show-details: always show-details: always
access: read_only
info: info:
enabled: true access: read_only
jwt: jwt:
public-key: cert/public_key.pem public-key: cert/public_key.pem

View File

@@ -1,11 +0,0 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="STDOUT"/>
</root>
<logger level="DEBUG" name="ltd.hlaeja"/>
</configuration>