update project

This commit is contained in:
2025-07-29 21:16:43 +02:00
parent d0c4a50966
commit 590cb40d3e
14 changed files with 67 additions and 32 deletions

View File

@@ -0,0 +1,24 @@
{
"properties": [
{
"name": "spring.application.version",
"type": "java.lang.String",
"description": "Application version."
},
{
"name": "spring.application.build.time",
"type": "java.lang.String",
"description": "Application build time."
},
{
"name": "spring.application.build.os.name",
"type": "java.lang.String",
"description": "Application build os name."
},
{
"name": "spring.application.build.os.version",
"type": "java.lang.String",
"description": "Application build os version."
}
]
}

View File

@@ -1,21 +1,28 @@
spring:
application:
name: hlaeja-service
name: "%APP_NAME%"
version: "%APP_VERSION%"
build:
time: "%APP_BUILD_TIME%"
os:
name: "%APP_BUILD_OS_NAME%"
version: "%APP_BUILD_OS_VERSION%"
profiles:
active: development
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
---
###############################

View File

@@ -0,0 +1,13 @@
_/ _/ _/ _/ _/_/_/ _/
_/ _/ _/ _/_/_/ _/_/ _/_/_/ _/ _/_/ _/ _/_/ _/ _/ _/_/_/ _/_/
_/_/_/_/ _/ _/ _/_/_/_/_/ _/ _/ _/ _/_/ _/_/_/_/ _/_/ _/ _/ _/ _/ _/_/_/_/
_/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/ _/_/_/ _/_/_/ _/ _/_/_/ _/_/_/ _/_/_/ _/ _/ _/ _/_/_/ _/_/_/
_/
_/
:: Service :: ${spring.application.name}
:: Version :: ${spring.application.version}
:: Build time :: ${spring.application.build.time}
:: Build OS :: ${spring.application.build.os.name} v${spring.application.build.os.version}

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>

View File

@@ -8,6 +8,6 @@ class ApplicationTests {
@Test
fun contextLoads() {
// placeholder
}
}