Skip to content

Commit 8d22763

Browse files
committed
Upgrade samples to Spring Boot 2.7.0-M3
This also makes the necessary changes for the Thymeleaf Layout Dialect 3.0 update. Closes gh-2046
1 parent 63f1c7b commit 8d22763

File tree

6 files changed

+9
-4
lines changed

6 files changed

+9
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
snapshotBuild = version.endsWith('SNAPSHOT')
55
milestoneBuild = !(releaseBuild || snapshotBuild)
66

7-
springBootVersion = '2.5.6'
7+
springBootVersion = '2.7.0-M3'
88
}
99

1010
repositories {

spring-session-samples/gradle/dependency-management.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencyManagement {
99
dependency 'javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:1.2.2'
1010
dependency 'javax.servlet.jsp:javax.servlet.jsp-api:2.3.3'
1111
dependency 'org.apache.taglibs:taglibs-standard-jstlel:1.2.5'
12-
dependency 'org.seleniumhq.selenium:htmlunit-driver:2.52.0'
12+
dependency 'org.seleniumhq.selenium:htmlunit-driver:3.56.0'
1313
dependency 'org.slf4j:jcl-over-slf4j:1.7.33'
1414
dependency 'org.slf4j:log4j-over-slf4j:1.7.33'
1515
dependency 'org.webjars:bootstrap:2.3.2'

spring-session-samples/spring-session-sample-boot-mongodb-reactive/src/main/resources/application.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@ logging:
22
level:
33
org.springframework.data.mongodb: DEBUG
44
org.springframework.session: DEBUG
5+
spring:
6+
mongodb:
7+
embedded:
8+
version: 3.4.3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
spring.thymeleaf.cache=false
22
spring.template.cache=false
33
spring.data.mongodb.port=0
4+
spring.mongodb.embedded.version=3.4.3

spring-session-samples/spring-session-sample-boot-mongodb-traditional/src/main/resources/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<html xmlns:layout="https://github.com/ultraq/thymeleaf-layout-dialect" layout:decorator="layout">
1+
<html xmlns:layout="https://github.com/ultraq/thymeleaf-layout-dialect" layout:decorate="layout">
22
<head>
33
<title>Secured Content</title>
44
</head>

spring-session-samples/spring-session-sample-boot-mongodb-traditional/src/main/resources/templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:th="https://www.thymeleaf.org"
44
xmlns:layout="https://github.com/ultraq/thymeleaf-layout-dialect">
55
<head>
6-
<title layout:title-pattern="$DECORATOR_TITLE - $CONTENT_TITLE">Spring Session Sample</title>
6+
<title layout:title-pattern="$LAYOUT_TITLE - $CONTENT_TITLE">Spring Session Sample</title>
77
<link rel="icon" type="image/x-icon" th:href="@{/resources/img/favicon.ico}" href="../static/img/favicon.ico"/>
88
<link th:href="@{/webjars/bootstrap/css/bootstrap.min.css}" href="/webjars/bootstrap/css/bootstrap.min.css" rel="stylesheet"></link>
99
<style type="text/css">

0 commit comments

Comments
 (0)