chore: clarify redis-only session store
This commit is contained in:
@@ -376,6 +376,18 @@ class MavenModuleProfileTest {
|
|||||||
.doesNotContain("Redis/in-memory");
|
.doesNotContain("Redis/in-memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void sessionCorePomDescriptionDoesNotAdvertiseRedisAsFallback() throws Exception {
|
||||||
|
Document sessionCorePom = modulePom("modules/core/session-core/pom.xml");
|
||||||
|
String description = firstDirectChild(sessionCorePom.getDocumentElement(), "description").getTextContent();
|
||||||
|
|
||||||
|
assertThat(description)
|
||||||
|
.contains("Redis SessionStore")
|
||||||
|
.doesNotContain("兜底")
|
||||||
|
.doesNotContain("fallback")
|
||||||
|
.doesNotContain("memory");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void rootPomDescriptionMatchesCurrentRuntimeStack() throws Exception {
|
void rootPomDescriptionMatchesCurrentRuntimeStack() throws Exception {
|
||||||
Document pom = rootPom();
|
Document pom = rootPom();
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<artifactId>session-core</artifactId>
|
<artifactId>session-core</artifactId>
|
||||||
<name>session-core</name>
|
<name>session-core</name>
|
||||||
<description>设备会话 + 鉴权 + Token + Redis 兜底。</description>
|
<description>设备会话 + 鉴权 + Token + Redis SessionStore。</description>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
Reference in New Issue
Block a user