Upgrade conformance suite to 0.1.16, Spring AI conformance to 2.0.0 GA
Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
This commit is contained in:
parent
439dc90d25
commit
b1a7d5fe88
5 changed files with 18 additions and 18 deletions
2
.github/workflows/conformance.yml
vendored
2
.github/workflows/conformance.yml
vendored
|
|
@ -95,7 +95,7 @@ jobs:
|
||||||
run: mvn clean install -DskipTests
|
run: mvn clean install -DskipTests
|
||||||
|
|
||||||
- name: Run conformance test
|
- name: Run conformance test
|
||||||
uses: modelcontextprotocol/conformance@v0.1.15
|
uses: modelcontextprotocol/conformance@v0.1.16
|
||||||
with:
|
with:
|
||||||
node-version: '22' # see https://github.com/modelcontextprotocol/conformance/pull/162
|
node-version: '22' # see https://github.com/modelcontextprotocol/conformance/pull/162
|
||||||
mode: client
|
mode: client
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ npx @modelcontextprotocol/conformance server --url http://localhost:8080/mcp --s
|
||||||
./mvnw clean package -DskipTests -pl conformance-tests/client-jdk-http-client -am
|
./mvnw clean package -DskipTests -pl conformance-tests/client-jdk-http-client -am
|
||||||
for scenario in initialize tools_call elicitation-sep1034-client-defaults sse-retry; do
|
for scenario in initialize tools_call elicitation-sep1034-client-defaults sse-retry; do
|
||||||
npx @modelcontextprotocol/conformance client \
|
npx @modelcontextprotocol/conformance client \
|
||||||
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-2.0.0-SNAPSHOT.jar" \
|
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-2.0.1-SNAPSHOT.jar" \
|
||||||
--scenario $scenario
|
--scenario $scenario
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
@ -72,7 +72,7 @@ done
|
||||||
./mvnw clean package -DskipTests -pl conformance-tests/client-spring-http-client -am
|
./mvnw clean package -DskipTests -pl conformance-tests/client-spring-http-client -am
|
||||||
npx @modelcontextprotocol/conformance@0.1.15 client \
|
npx @modelcontextprotocol/conformance@0.1.15 client \
|
||||||
--spec-version 2025-11-25 \
|
--spec-version 2025-11-25 \
|
||||||
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-SNAPSHOT.jar" \
|
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.1-SNAPSHOT.jar" \
|
||||||
--suite auth
|
--suite auth
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ cd conformance-tests/client-jdk-http-client
|
||||||
|
|
||||||
This creates an executable JAR at:
|
This creates an executable JAR at:
|
||||||
```
|
```
|
||||||
target/client-jdk-http-client-1.1.0-SNAPSHOT.jar
|
target/client-jdk-http-client-2.0.1-SNAPSHOT.jar
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running Tests
|
## Running Tests
|
||||||
|
|
@ -65,19 +65,19 @@ Run a single scenario:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx @modelcontextprotocol/conformance client \
|
npx @modelcontextprotocol/conformance client \
|
||||||
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-1.1.0-SNAPSHOT.jar" \
|
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-2.0.1-SNAPSHOT.jar" \
|
||||||
--scenario initialize
|
--scenario initialize
|
||||||
|
|
||||||
npx @modelcontextprotocol/conformance client \
|
npx @modelcontextprotocol/conformance client \
|
||||||
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-1.1.0-SNAPSHOT.jar" \
|
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-2.0.1-SNAPSHOT.jar" \
|
||||||
--scenario tools_call
|
--scenario tools_call
|
||||||
|
|
||||||
npx @modelcontextprotocol/conformance client \
|
npx @modelcontextprotocol/conformance client \
|
||||||
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-1.1.0-SNAPSHOT.jar" \
|
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-2.0.1-SNAPSHOT.jar" \
|
||||||
--scenario elicitation-sep1034-client-defaults
|
--scenario elicitation-sep1034-client-defaults
|
||||||
|
|
||||||
npx @modelcontextprotocol/conformance client \
|
npx @modelcontextprotocol/conformance client \
|
||||||
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-1.1.0-SNAPSHOT.jar" \
|
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-2.0.1-SNAPSHOT.jar" \
|
||||||
--scenario sse-retry
|
--scenario sse-retry
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -85,7 +85,7 @@ Run with verbose output:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx @modelcontextprotocol/conformance client \
|
npx @modelcontextprotocol/conformance client \
|
||||||
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-1.1.0-SNAPSHOT.jar" \
|
--command "java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-2.0.1-SNAPSHOT.jar" \
|
||||||
--scenario initialize \
|
--scenario initialize \
|
||||||
--verbose
|
--verbose
|
||||||
```
|
```
|
||||||
|
|
@ -96,7 +96,7 @@ You can also run the client manually if you have a test server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export MCP_CONFORMANCE_SCENARIO=initialize
|
export MCP_CONFORMANCE_SCENARIO=initialize
|
||||||
java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-1.1.0-SNAPSHOT.jar http://localhost:3000/mcp
|
java -jar conformance-tests/client-jdk-http-client/target/client-jdk-http-client-2.0.1-SNAPSHOT.jar http://localhost:3000/mcp
|
||||||
```
|
```
|
||||||
|
|
||||||
## Test Results
|
## Test Results
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,7 @@ cd conformance-tests/client-spring-http-client
|
||||||
|
|
||||||
This creates an executable JAR at:
|
This creates an executable JAR at:
|
||||||
```
|
```
|
||||||
target/client-spring-http-client-2.0.0-SNAPSHOT.jar
|
target/client-spring-http-client-2.0.1-SNAPSHOT.jar
|
||||||
```
|
```
|
||||||
|
|
||||||
## Running Tests
|
## Running Tests
|
||||||
|
|
@ -80,7 +80,7 @@ Run the full auth suite:
|
||||||
```bash
|
```bash
|
||||||
npx @modelcontextprotocol/conformance@0.1.15 client \
|
npx @modelcontextprotocol/conformance@0.1.15 client \
|
||||||
--spec-version 2025-11-25 \
|
--spec-version 2025-11-25 \
|
||||||
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-SNAPSHOT.jar" \
|
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.1-SNAPSHOT.jar" \
|
||||||
--suite auth
|
--suite auth
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -89,7 +89,7 @@ Run a single scenario:
|
||||||
```bash
|
```bash
|
||||||
npx @modelcontextprotocol/conformance@0.1.15 client \
|
npx @modelcontextprotocol/conformance@0.1.15 client \
|
||||||
--spec-version 2025-11-25 \
|
--spec-version 2025-11-25 \
|
||||||
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-SNAPSHOT.jar" \
|
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.1-SNAPSHOT.jar" \
|
||||||
--scenario auth/metadata-default
|
--scenario auth/metadata-default
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -98,7 +98,7 @@ Run with verbose output:
|
||||||
```bash
|
```bash
|
||||||
npx @modelcontextprotocol/conformance@0.1.15 client \
|
npx @modelcontextprotocol/conformance@0.1.15 client \
|
||||||
--spec-version 2025-11-25 \
|
--spec-version 2025-11-25 \
|
||||||
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-SNAPSHOT.jar" \
|
--command "java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.1-SNAPSHOT.jar" \
|
||||||
--scenario auth/metadata-default \
|
--scenario auth/metadata-default \
|
||||||
--verbose
|
--verbose
|
||||||
```
|
```
|
||||||
|
|
@ -109,7 +109,7 @@ You can also run the client manually if you have a test server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export MCP_CONFORMANCE_SCENARIO=auth/metadata-default
|
export MCP_CONFORMANCE_SCENARIO=auth/metadata-default
|
||||||
java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.0-SNAPSHOT.jar http://localhost:3000/mcp
|
java -jar conformance-tests/client-spring-http-client/target/client-spring-http-client-2.0.1-SNAPSHOT.jar http://localhost:3000/mcp
|
||||||
```
|
```
|
||||||
|
|
||||||
## Known Issues
|
## Known Issues
|
||||||
|
|
|
||||||
|
|
@ -22,9 +22,9 @@
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>17</java.version>
|
<java.version>17</java.version>
|
||||||
<spring-boot.version>4.0.5</spring-boot.version>
|
<spring-boot.version>4.1.0</spring-boot.version>
|
||||||
<spring-ai.version>2.0.0-M6</spring-ai.version>
|
<spring-ai.version>2.0.0</spring-ai.version>
|
||||||
<spring-ai-mcp-security.version>0.1.11</spring-ai-mcp-security.version>
|
<spring-ai-mcp-security.version>0.1.13</spring-ai-mcp-security.version>
|
||||||
<maven.deploy.skip>true</maven.deploy.skip>
|
<maven.deploy.skip>true</maven.deploy.skip>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue