ramu11 commented on code in PR #9509:
URL: https://github.com/apache/camel-quarkus/pull/9509#discussion_r4588095243


##########
integration-tests/mcp-server/pom.xml:
##########
@@ -57,11 +55,16 @@
             <groupId>io.quarkus</groupId>
             <artifactId>quarkus-resteasy</artifactId>
         </dependency>
+        <dependency>
+            <groupId>io.quarkus</groupId>
+            <artifactId>quarkus-oidc</artifactId>

Review Comment:
   Addressed using the second suggested approach, keeping the OIDC tests in the 
existing module:
   
   - Disabled Keycloak Dev Services and the default OIDC tenant in 
`application.properties`.
   - Restricted `McpServerKeycloakTestResource` to the OAuth test class. It 
explicitly enables OIDC and configures the Keycloak issuer only for that test.
   - Added `McpServerOAuthIT` as the packaged/native counterpart.
   - Added the `skip-testcontainers-tests` Maven profile.
   
   I kept the tests in the existing module rather than introducing a separate 
`mcp-server-oidc` module. Consequently, `quarkus-oidc` remains a module-level 
dependency; a separate module would still be needed to provide an independent 
integration test without the security extension. The OAuth tests remain 
disabled pending the Quarkus 4 compatibility fix tracked in #9362.



-- 
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