GH-115 - Polish up example.

Upgraded to Spring Boot 3.0.1. Added starters for web and added configuration to expose applicationmodules actuator. Tweak logs to follow Boot's default configuration. Removed obsolete milestone repository.
This commit is contained in:
Oliver Drotbohm
2023-01-12 18:03:48 +01:00
parent 98eeb284b3
commit e8cdaa4977
3 changed files with 28 additions and 28 deletions

View File

@@ -1,5 +1,3 @@
spring.jackson.constructor-detector=use-properties-based
spring.jpa.show-sql=true
logging.level.org.springframework.modulith=info
management.endpoints.web.exposure.include=health,applicationmodules

View File

@@ -1,17 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d %5p %40.40c:%4L - %m%n</pattern>
</encoder>
</appender>
<logger name="org.springframework.modulith" level="info" />
<logger name="example" level="info" />
<root level="error">
<appender-ref ref="console" />
<include resource="org/springframework/boot/logging/logback/defaults.xml"/>
<include resource="org/springframework/boot/logging/logback/console-appender.xml" />
<root level="INFO">
<appender-ref ref="CONSOLE" />
</root>
<logger name="org.springframework.modulith" level="DEBUG"/>
<logger name="example" level="INFO" />
</configuration>