The declared return type of Hazelcast session repository bean factory method (i.e. HazelcastHttpSessionConfiguration#sessionRepository) was changed to SessionRepository<?> when support for Hazelcast 4 was added. This breaks Spring Boot's ability to auto-configure sessions endpoint, which is @ConditionalOnBean(FindByIndexNameSessionRepository.class), as the current return type is not specific enough to satisfy this condition. This commit changes the return type of Hazelcast session repository bean factory method to FindByIndexNameSessionRepository<?>. Closes: gh-1905
20 lines
797 B
Groovy
20 lines
797 B
Groovy
apply plugin: 'io.spring.convention.spring-sample-boot'
|
|
|
|
dependencies {
|
|
compile project(':spring-session-hazelcast')
|
|
compile "org.springframework.boot:spring-boot-starter-web"
|
|
compile "org.springframework.boot:spring-boot-starter-actuator"
|
|
compile "org.springframework.boot:spring-boot-starter-thymeleaf"
|
|
compile "org.springframework.boot:spring-boot-starter-security"
|
|
compile "com.hazelcast:hazelcast"
|
|
compile "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect"
|
|
compile "org.webjars:bootstrap"
|
|
compile "org.webjars:html5shiv"
|
|
compile "org.webjars:webjars-locator-core"
|
|
|
|
testCompile "org.springframework.boot:spring-boot-starter-test"
|
|
testCompile "org.junit.jupiter:junit-jupiter-api"
|
|
testRuntime "org.junit.jupiter:junit-jupiter-engine"
|
|
integrationTestCompile seleniumDependencies
|
|
}
|