File tree Expand file tree Collapse file tree 6 files changed +26
-8
lines changed
java/com/xpinjection/library/config
test/java/com/xpinjection/library Expand file tree Collapse file tree 6 files changed +26
-8
lines changed Original file line number Diff line number Diff line change 117117 <dependency >
118118 <groupId >org.projectlombok</groupId >
119119 <artifactId >lombok</artifactId >
120- <scope >provided</scope >
121120 <optional >true</optional >
122121 </dependency >
123122 <dependency >
270269 <groupId >org.projectlombok</groupId >
271270 <artifactId >lombok</artifactId >
272271 </path >
272+ <path >
273+ <groupId >org.springframework.boot</groupId >
274+ <artifactId >spring-boot-configuration-processor</artifactId >
275+ </path >
273276 </annotationProcessorPaths >
274- <parameters >true</parameters >
275277 </configuration >
276278 </plugin >
277279 <plugin >
Original file line number Diff line number Diff line change 1212@ ConfigurationProperties (prefix = "library" )
1313public class LibrarySettings {
1414 @ Min (0 )
15+ /**
16+ * Initial size of the library
17+ */
1518 private int size ;
1619}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ management:
1616 export :
1717 enabled : false
1818 tracing :
19- endpoint : http://localhost:4318/v1/traces
19+ endpoint : # define Jaeger endpoint
2020 export :
2121 enabled : true
2222 logging :
Original file line number Diff line number Diff line change @@ -12,4 +12,19 @@ spring:
1212 ddl-auto : none
1313 main :
1414 lazy-initialization : true
15- banner-mode : off
15+ banner-mode : off
16+ docker :
17+ compose :
18+ enabled : true
19+ lifecycle-management : start_and_stop
20+
21+ management :
22+ otlp :
23+ tracing :
24+ endpoint : http://localhost:4318/v1/traces
25+
26+ logging :
27+ level :
28+ web : DEBUG
29+ include-application-group : false
30+ include-application-name : false
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ spring:
4747 cache : true
4848 suffix : .ftl
4949 datasource :
50- url : jdbc:postgresql://localhost/library
50+ url : # define PostgreSQL DB URL
5151 username :
5252 password :
5353 driver-class-name : org.postgresql.Driver
@@ -77,8 +77,6 @@ library:
7777 size : 0
7878
7979logging :
80- include-application-group : false
81- include-application-name : false
8280 file :
8381 name : library.log
8482
Original file line number Diff line number Diff line change 55
66public interface RuntimeDependencies {
77 @ ServiceConnection
8- PostgreSQLContainer <?> POSTGRE_SQL = new PostgreSQLContainer <>("postgres:11 " )
8+ PostgreSQLContainer <?> POSTGRE_SQL = new PostgreSQLContainer <>("postgres:17.6 " )
99 .withDatabaseName ("library" )
1010 .withUsername ("test" )
1111 .withPassword ("test" );
You can’t perform that action at this time.
0 commit comments