Skip to content

Commit 7c427d0

Browse files
authored
feat(session): add support redis session storage (#142)
1 parent f93b727 commit 7c427d0

7 files changed

Lines changed: 1648 additions & 0 deletions

File tree

‎agentscope-dependencies-bom/pom.xml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,20 @@
212212
<scope>test</scope>
213213
</dependency>
214214

215+
<!-- Redisson Redis client -->
216+
<dependency>
217+
<groupId>org.redisson</groupId>
218+
<artifactId>redisson</artifactId>
219+
<version>3.37.0</version>
220+
</dependency>
221+
222+
<!-- Jedis client for Redis-based session implementation -->
223+
<dependency>
224+
<groupId>redis.clients</groupId>
225+
<artifactId>jedis</artifactId>
226+
<version>6.0.0</version>
227+
</dependency>
228+
215229
<!-- Testing dependencies -->
216230
<dependency>
217231
<groupId>io.projectreactor</groupId>
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright 2024-2025 the original author or authors.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ You may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ http://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
17+
18+
<project xmlns="http://maven.apache.org/POM/4.0.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21+
<modelVersion>4.0.0</modelVersion>
22+
<parent>
23+
<groupId>io.agentscope</groupId>
24+
<artifactId>agentscope-extensions</artifactId>
25+
<version>${revision}</version>
26+
<relativePath>../pom.xml</relativePath>
27+
</parent>
28+
29+
<name>AgentScope Java - Extensions - Session - Redis</name>
30+
<description>AgentScope Extensions - Session Redis</description>
31+
<artifactId>agentscope-extensions-session-redis</artifactId>
32+
33+
<dependencies>
34+
<dependency>
35+
<groupId>io.agentscope</groupId>
36+
<artifactId>agentscope-core</artifactId>
37+
<version>${revision}</version>
38+
</dependency>
39+
40+
41+
<!-- Redisson redis client -->
42+
<dependency>
43+
<groupId>org.redisson</groupId>
44+
<artifactId>redisson</artifactId>
45+
</dependency>
46+
47+
<!-- Jedis client for Redis-based session implementation -->
48+
<dependency>
49+
<groupId>redis.clients</groupId>
50+
<artifactId>jedis</artifactId>
51+
</dependency>
52+
53+
</dependencies>
54+
</project>

0 commit comments

Comments
 (0)