File tree 6 files changed +14
-20
lines changed
6 files changed +14
-20
lines changed Original file line number Diff line number Diff line change 4
4
<parent >
5
5
<groupId >org.springframework.boot</groupId >
6
6
<artifactId >spring-boot-starter-parent</artifactId >
7
- <version >2.7.3 </version >
7
+ <version >3.1.5 </version >
8
8
<relativePath /> <!-- lookup parent from repository -->
9
9
</parent >
10
10
14
14
<name >blocking-service</name >
15
15
16
16
<properties >
17
- <java .version>17 </java .version>
17
+ <java .version>21 </java .version>
18
18
</properties >
19
19
20
20
<dependencies >
Original file line number Diff line number Diff line change 6
6
@ SpringBootApplication
7
7
public class BlockingServiceApplication {
8
8
9
- public static void main (String [] args ) {
10
- SpringApplication .run (BlockingServiceApplication .class , args );
11
- }
9
+ public static void main (String [] args ) {
10
+ SpringApplication .run (BlockingServiceApplication .class , args );
11
+ }
12
12
13
13
}
Original file line number Diff line number Diff line change 2
2
3
3
import lombok .Data ;
4
4
5
- import javax .persistence .Entity ;
6
- import javax .persistence .Id ;
7
- import javax .persistence .Transient ;
5
+ import jakarta .persistence .Entity ;
6
+ import jakarta .persistence .Id ;
7
+ import jakarta .persistence .Transient ;
8
8
9
9
@ Entity
10
10
@ Data
Original file line number Diff line number Diff line change 1
1
server.port =8080
2
2
spring.autoconfigure.exclude =org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
3
3
4
- spring.datasource.url =jdbc:mariadb://localhost:3306/wordle
4
+ spring.datasource.url =jdbc:mariadb://localhost:3306/reactive
5
5
spring.datasource.username =user
6
- spring.datasource.password =password
6
+ spring.datasource.password =Password123!
7
7
spring.datasource.hikari.maximum-pool-size =10
8
8
spring.datasource.hikari.connection-timeout =10000
Original file line number Diff line number Diff line change 4
4
<parent >
5
5
<groupId >org.springframework.boot</groupId >
6
6
<artifactId >spring-boot-starter-parent</artifactId >
7
- <version >2.7.3 </version >
7
+ <version >3.1.5 </version >
8
8
<relativePath /> <!-- lookup parent from repository -->
9
9
</parent >
10
10
14
14
<name >reactive-service</name >
15
15
16
16
<properties >
17
- <java .version>17 </java .version>
17
+ <java .version>21 </java .version>
18
18
</properties >
19
19
20
20
<dependencies >
Original file line number Diff line number Diff line change 1
1
server.port =9090
2
2
spring.autoconfigure.exclude =org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration
3
3
4
- spring.r2dbc.url =r2dbc:mariadb://localhost:3306/wordle
4
+ spring.r2dbc.url =r2dbc:mariadb://localhost:3306/reactive
5
5
spring.r2dbc.username =user
6
- spring.r2dbc.password =password
6
+ spring.r2dbc.password =Password123!
7
7
spring.r2dbc.pool.max-size =10
8
8
spring.r2dbc.pool.max-create-connection-time =10s
9
-
10
- # If you are using MariaDB SkySQL (https://mariadb.com/products/skysql),
11
- # enable SSL and specify the path to the CA chain file that you can download
12
- # from the SkySQL Portal (https://cloud.mariadb.com):
13
- #
14
- # spring.r2dbc.url=r2dbc:mariadb://demo-db0000xxxx.mdb000xxxx.db.skysql.net:5047/reactive-demo?sslMode=VERIFY_CA&serverSslCert=/path/to/skysql_chain.pem
You can’t perform that action at this time.
0 commit comments