Fix compilation issue introduced by the previous commit
Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
This commit is contained in:
parent
13c4474b3e
commit
fbea833384
1 changed files with 6 additions and 6 deletions
|
|
@ -388,8 +388,8 @@ public class WebMvcSseIntegrationTests {
|
||||||
new McpSchema.Tool("tool1", "tool1 description", emptyJsonSchema), (exchange, request) -> {
|
new McpSchema.Tool("tool1", "tool1 description", emptyJsonSchema), (exchange, request) -> {
|
||||||
// perform a blocking call to a remote service
|
// perform a blocking call to a remote service
|
||||||
String response = RestClient.create()
|
String response = RestClient.create()
|
||||||
.get()https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
|
.get()
|
||||||
.uri("https://github.com/modelcontextprotocol/specification/blob/main/README.md")
|
.uri("https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md")
|
||||||
.retrieve()
|
.retrieve()
|
||||||
.body(String.class);
|
.body(String.class);
|
||||||
assertThat(response).isNotBlank();
|
assertThat(response).isNotBlank();
|
||||||
|
|
@ -424,9 +424,9 @@ public class WebMvcSseIntegrationTests {
|
||||||
McpServerFeatures.SyncToolSpecification tool1 = new McpServerFeatures.SyncToolSpecification(
|
McpServerFeatures.SyncToolSpecification tool1 = new McpServerFeatures.SyncToolSpecification(
|
||||||
new McpSchema.Tool("tool1", "tool1 description", emptyJsonSchema), (exchange, request) -> {
|
new McpSchema.Tool("tool1", "tool1 description", emptyJsonSchema), (exchange, request) -> {
|
||||||
// perform a blocking call to a remote service
|
// perform a blocking call to a remote service
|
||||||
String https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
|
String response = RestClient.create()
|
||||||
.get()
|
.get()
|
||||||
.uri("https://github.com/modelcontextprotocol/specification/blob/main/README.md")
|
.uri("https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md")
|
||||||
.retrieve()
|
.retrieve()
|
||||||
.body(String.class);
|
.body(String.class);
|
||||||
assertThat(response).isNotBlank();
|
assertThat(response).isNotBlank();
|
||||||
|
|
@ -441,9 +441,9 @@ public class WebMvcSseIntegrationTests {
|
||||||
AtomicReference<List<Tool>> rootsRef = new AtomicReference<>();
|
AtomicReference<List<Tool>> rootsRef = new AtomicReference<>();
|
||||||
var mcpClient = clientBuilder.toolsChangeConsumer(toolsUpdate -> {
|
var mcpClient = clientBuilder.toolsChangeConsumer(toolsUpdate -> {
|
||||||
// perform a blocking call to a remote service
|
// perform a blocking call to a remote service
|
||||||
String https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
|
String response = RestClient.create()
|
||||||
.get()
|
.get()
|
||||||
.uri("https://github.com/modelcontextprotocol/specification/blob/main/README.md")
|
.uri("https://raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md")
|
||||||
.retrieve()
|
.retrieve()
|
||||||
.body(String.class);
|
.body(String.class);
|
||||||
assertThat(response).isNotBlank();
|
assertThat(response).isNotBlank();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue