lburgazzoli commented on code in PR #5186:
URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503837869


##########
pkg/util/camel/camel_runtime_catalog.go:
##########
@@ -26,6 +26,18 @@ import (
 // NewRuntimeCatalog creates a runtime catalog with the given catalog.
 func NewRuntimeCatalog(cat v1.CamelCatalog) *RuntimeCatalog {
        catalog := RuntimeCatalog{}
+       if cat.Spec.Runtime.Capabilities != nil {
+               // TODO manage Knative from the catalog

Review Comment:
   Yes please, as today I only see those dependencies:
   
   As today I can see the following dependencies listed in the pom:
   
   ```xml
           <dependency>
               <groupId>org.apache.camel.k</groupId>
               <artifactId>camel-k-core-support</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.camel</groupId>
               <artifactId>camel-knative</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.camel</groupId>
               <artifactId>camel-knative-http</artifactId>
           </dependency>
   ```
   
   
   Which is pretty much in line with what is required by the quarkus extensions:
   
   ```xml
       <dependencies>
           <dependency>
               <groupId>org.apache.camel.quarkus</groupId>
               <artifactId>camel-quarkus-core</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.camel</groupId>
               <artifactId>camel-knative</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.camel</groupId>
               <artifactId>camel-knative-http</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.camel.quarkus</groupId>
               <artifactId>camel-quarkus-cloudevents</artifactId>
           </dependency>
           <dependency>
               <groupId>io.quarkus</groupId>
               <artifactId>quarkus-vertx-http</artifactId>
           </dependency>
       </dependencies>
   ```



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