Skip to content

Commit 1859b2a

Browse files
committed
Clean up config files
1 parent 9e334e9 commit 1859b2a

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

roach-data-jpa/pom.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,14 @@
3636
<artifactId>spring-boot-starter-data-jpa</artifactId>
3737
</dependency>
3838
<dependency>
39-
<groupId>org.hibernate</groupId>
40-
<artifactId>hibernate-core</artifactId>
41-
<version>5.4.19.Final</version>
39+
<groupId>org.springframework.data</groupId>
40+
<artifactId>spring-data-commons</artifactId>
4241
</dependency>
4342
<dependency>
4443
<groupId>org.liquibase</groupId>
4544
<artifactId>liquibase-core</artifactId>
4645
<scope>runtime</scope>
4746
</dependency>
48-
<dependency>
49-
<groupId>org.springframework.data</groupId>
50-
<artifactId>spring-data-commons</artifactId>
51-
</dependency>
5247
<dependency>
5348
<groupId>org.postgresql</groupId>
5449
<artifactId>postgresql</artifactId>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
spring:
2+
datasource:
3+
url: jdbc:postgresql://192.168.1.99:26257/roach_data?sslmode=disable
4+
username: root
5+
password:

roach-data-jpa/src/main/resources/application.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@ spring:
2222
password:
2323
hikari:
2424
connection-test-query: SELECT 1
25+
maximum-pool-size: 50
26+
minimum-idle: 20
2527

2628
jpa:
2729
open-in-view: false
2830
properties:
2931
hibernate:
3032
dialect: org.hibernate.dialect.CockroachDB201Dialect
3133
show-sql: false
34+
3235
server:
3336
port: 9090

roach-data-json/src/test/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spring:
1515
enabled: true
1616

1717
datasource:
18-
url: jdbc:postgresql://192.168.1.99:26300/roach_data?sslmode=disable
18+
url: jdbc:postgresql://localhost:26257/roach_data?sslmode=disable
1919
driver-class-name: org.postgresql.Driver
2020
username: root
2121
password:

roach-data-reactive/src/main/resources/application.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ spring:
88
enabled: ALWAYS
99
r2dbc:
1010
url: r2dbc:postgresql://localhost:26257/roach_data?sslmode=disable
11-
# url: r2dbc:postgresql://192.168.1.99:26257/roach_data?sslmode=disable
1211
username: root
1312
password:
1413
server:

0 commit comments

Comments
 (0)