Skip to content

Commit f48b2c8

Browse files
committed
work in progress
1 parent cd517fe commit f48b2c8

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,8 @@
201201
</dependency>
202202
<dependency>
203203
<groupId>org.springframework.session</groupId>
204-
<artifactId>spring-session-core</artifactId>
205-
<scope>compile</scope>
204+
<artifactId>spring-session-jdbc</artifactId>
206205
</dependency>
207-
<dependency>
208-
<groupId>org.springframework.session</groupId>
209-
<artifactId>spring-session-jdbc</artifactId>
210-
</dependency>
211206
<dependency>
212207
<groupId>com.github.mxab.thymeleaf.extras</groupId>
213208
<artifactId>thymeleaf-extras-data-attribute</artifactId>

src/main/resources/application.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
endpoints:
2-
health:
3-
enabled: true
4-
sensitive: true
5-
shutdown:
6-
enabled: true
7-
sensitive: true
81
server:
92
port: 8080
103
error:
@@ -13,18 +6,12 @@ server:
136
enabled: false
147
min-response-size: 2048
158
spring:
16-
devtools:
17-
livereload:
18-
enabled: true
19-
application:
20-
admin:
21-
enabled: true
229
datasource:
2310
url: jdbc:postgresql://localhost:5433/simpleworklist
2411
username: simpleworklist
2512
password: simpleworklistpwd
2613
driverClassName: org.postgresql.Driver
27-
platform: POSTGRESQL
14+
platform: postgresql
2815
jpa:
2916
show-sql: true
3017
open-in-view: true
@@ -42,8 +29,8 @@ spring:
4229
jdbc:
4330
initialize-schema: ALWAYS
4431
#cleanup-cron: 0 * * * *simpleworklist *
45-
#schema: classpath:org/springframework/session/jdbc/schema-postgresql.sql
46-
#table-name: SPRING_SESSION
32+
schema: classpath:org/springframework/session/jdbc/schema-postgresql.sql
33+
table-name: SPRING_SESSION
4734
thymeleaf:
4835
cache: false
4936
main:

0 commit comments

Comments
 (0)