refactor: remove redis and switch to in-memory, rollback incomplete Spring AI 2.0 upgrade
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 4m31s
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 4m31s
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package io.shinhanlife.dap.lib.mcp;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
||||
import io.modelcontextprotocol.spec.McpSchema;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.ai.mcp.annotation.McpTool;
|
||||
|
||||
class McpSdk2CompatibilityTest {
|
||||
|
||||
@Test
|
||||
void usesOfficialSpringAiMcpAnnotations() {
|
||||
assertEquals("org.springframework.ai.mcp.annotation", McpTool.class.getPackageName());
|
||||
}
|
||||
|
||||
@Test
|
||||
void usesMcpJavaSdkTwo() {
|
||||
assertEquals("2.0.0", McpSchema.class.getPackage().getImplementationVersion());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user