You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "Jay-Chinni (via GitHub)" <gi...@apache.org> on 2023/08/17 00:21:46 UTC

[GitHub] [camel-k] Jay-Chinni commented on issue #4670: unable to run sample integration

Jay-Chinni commented on issue #4670:
URL: https://github.com/apache/camel-k/issues/4670#issuecomment-1681429294

   camel-k version is 2.0, no other errors apart from the error mentioned initially.
   
   PFB requested log:
   C:\practice>kubectl get it/test -oyaml
   apiVersion: camel.apache.org/v1
   kind: Integration
   metadata:
     annotations:
       camel.apache.org/operator.id: camel-k
     creationTimestamp: "2023-08-16T16:19:12Z"
     generation: 1
     name: test
     namespace: test
     resourceVersion: "170928"
     uid: 6d47c099-25a3-478d-b2b3-6726cfa8e8e9
   spec:
     sources:
     - content: |
         // camel-k: language=java
   
         import org.apache.camel.builder.RouteBuilder;
   
         public class test extends RouteBuilder {
           @Override
           public void configure() throws Exception {
   
               // Write your routes here, for example:
               from("timer:java?period=1000")
                 //.routeId("java")
                 .setBody()
                   .simple("Hello Camel K from")
                 .to("log:info");
   
           }
         }
       name: test.java
     traits: {}
   status:
     conditions:
     - firstTruthyTime: "2023-08-16T16:19:12Z"
       lastTransitionTime: "2023-08-16T16:19:12Z"
       lastUpdateTime: "2023-08-16T16:19:12Z"
       message: test/camel-k
       reason: IntegrationPlatformAvailable
       status: "True"
       type: IntegrationPlatformAvailable
     - lastTransitionTime: "2023-08-16T16:19:12Z"
       lastUpdateTime: "2023-08-16T16:19:12Z"
       message: integration kit test/kit-cjefe00s6nkupfa608lg is in state "Error"
       reason: IntegrationKitAvailable
       status: "False"
       type: IntegrationKitAvailable
     dependencies:
     - camel:log
     - camel:timer
     - mvn:org.apache.camel.k:camel-k-runtime
     - mvn:org.apache.camel.quarkus:camel-quarkus-java-joor-dsl
     digest: v9mUZSJGdgwy9wuobhyFGlp01QNYe8hW-E9LjEpBMqSA
     integrationKit:
       name: kit-cjefe00s6nkupfa608lg
       namespace: test
     lastInitTimestamp: "2023-08-16T16:19:12Z"
     observedGeneration: 1
     phase: Error
     platform: camel-k
     profile: Kubernetes
     runtimeProvider: quarkus
     runtimeVersion: 2.16.0
     version: 2.0.0


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org