Skip to content

Commit 4406b58

Browse files
uuuyuqiCopilot
andauthored
feat: Support MySQL Session Storage #152 (#155)
## AgentScope-Java Version 1.0.1 ## Description feat: Support MySQL Session Storage (to #104 ) ## Checklist - [x] Code has been formatted with `mvn spotless:apply` - [x] All tests are passing (`mvn test`) - [x] Javadoc comments are complete and follow project conventions - [x] Related documentation has been updated (e.g. links, examples, etc.) - [x] Code is ready for review --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3847caf commit 4406b58

6 files changed

Lines changed: 1372 additions & 0 deletions

File tree

‎agentscope-dependencies-bom/pom.xml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,13 @@
199199
<version>2.1.0</version>
200200
</dependency>
201201

202+
<!-- MySQL JDBC Driver -->
203+
<dependency>
204+
<groupId>com.mysql</groupId>
205+
<artifactId>mysql-connector-j</artifactId>
206+
<version>8.3.0</version>
207+
</dependency>
208+
202209
<!-- OpenTelemetry -->
203210
<dependency>
204211
<groupId>io.opentelemetry.instrumentation</groupId>

‎agentscope-distribution/agentscope-all/pom.xml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,14 @@
7979
<optional>true</optional>
8080
</dependency>
8181

82+
<dependency>
83+
<groupId>io.agentscope</groupId>
84+
<artifactId>agentscope-extensions-session-mysql</artifactId>
85+
<version>${project.version}</version>
86+
<scope>compile</scope>
87+
<optional>true</optional>
88+
</dependency>
89+
8290
<dependency>
8391
<groupId>io.agentscope</groupId>
8492
<artifactId>agentscope-extensions-studio</artifactId>
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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 MySQL</name>
30+
<description>AgentScope Extensions - MySQL Session Storage</description>
31+
<artifactId>agentscope-extensions-session-mysql</artifactId>
32+
33+
<dependencies>
34+
<dependency>
35+
<groupId>io.agentscope</groupId>
36+
<artifactId>agentscope-core</artifactId>
37+
<version>${revision}</version>
38+
</dependency>
39+
40+
<!-- MySQL JDBC Driver -->
41+
<dependency>
42+
<groupId>com.mysql</groupId>
43+
<artifactId>mysql-connector-j</artifactId>
44+
</dependency>
45+
</dependencies>
46+
</project>
47+

0 commit comments

Comments
 (0)