aldettinger commented on code in PR #9458:
URL: https://github.com/apache/camel-quarkus/pull/9458#discussion_r4512531005


##########
integration-tests/mcp-server/src/test/java/org/apache/camel/quarkus/component/mcp/server/it/McpServerTest.java:
##########
@@ -205,6 +221,26 @@ void testQuarkusAnnotatedToolsCoexistWithCamelTools() {
                 .thenAssertResults();
     }
 
+    /**
+     * MCP has a flat tool namespace: when an ai-tool route asks for a name an 
annotated tool already owns, the
+     * annotated tool keeps the name and the route is refused. The route is 
started with the application, which
+     * is the case that used to fail the startup.
+     */
+    @Test
+    void testCamelToolCollidingWithAnnotatedToolIsRefused() {

Review Comment:
   See below, we cover autostart, then stop, then start



##########
integration-tests/mcp-server/src/test/java/org/apache/camel/quarkus/component/mcp/server/it/McpServerTest.java:
##########
@@ -205,6 +221,26 @@ void testQuarkusAnnotatedToolsCoexistWithCamelTools() {
                 .thenAssertResults();
     }
 
+    /**
+     * MCP has a flat tool namespace: when an ai-tool route asks for a name an 
annotated tool already owns, the
+     * annotated tool keeps the name and the route is refused. The route is 
started with the application, which
+     * is the case that used to fail the startup.
+     */
+    @Test
+    void testCamelToolCollidingWithAnnotatedToolIsRefused() {

Review Comment:
   See below, we now cover autostart, then stop, then start



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to