You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "lburgazzoli (via GitHub)" <gi...@apache.org> on 2024/03/11 14:05:30 UTC

[I] List Camel's endpoint in the integrations status [camel-k]

lburgazzoli opened a new issue, #5241:
URL: https://github.com/apache/camel-k/issues/5241

   ### Requirement
   
   List Camel's endpoint in the integrations status
   
   ### Problem
   
   The camel-k operator can project the status of the Camel context/routes/etc to the Integration' status by scraping the health endpoint so that tools can get the status of the routes without having to interact with the running process. 
   
   It would be nice to also have information about the endpoints registered with the Camel Context so as an example, advanced tools can draw a topology 
   
   ### Proposal
   
   The Camel runtime could optionally expose some additional information, like those exposed by the [camel-console ](https://camel.apache.org/manual/camel-console.html) but in a production ready way (read only, minimal data). 
   
   The camel-k operator could then grab such data and project it to the integration status:
   
   ```yaml
   apiVersion: camel.apache.org/v2
   kind: Integration
   name: my-integration
   spec:
     ...
   status:
     endpoints:
       - url: "kafka:my-topic"
         parameters:
             broker: "my.kafka.broker.com"
       - url: "aws-s3:my-bucket"
         parameters:
             region: "eu"
   ```
   
   Tools like HawtIO, OpenShift DevConsole could then be able to draw a topology of the existing integration and 3rd party systems.
   
   ### Open questions
   
   _No response_


-- 
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.apache.org

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


Re: [I] List Camel's endpoint in the integrations status [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #5241:
URL: https://github.com/apache/camel-k/issues/5241#issuecomment-2039594797

   > I don't think this should be something to be included in the health endpoint but rather a dedicated endpoint
   
   Clear. What I mean is, while this is available on Camel core, should we start the development on the operator side? I guess that, when the new development is ready, then, we can easily change the endpoint to the new one. In the while, however, we'd be preparing all the required stuff on the operator side.


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


Re: [I] List Camel's endpoint in the integrations status [camel-k]

Posted by "lburgazzoli (via GitHub)" <gi...@apache.org>.
lburgazzoli commented on issue #5241:
URL: https://github.com/apache/camel-k/issues/5241#issuecomment-2039606130

   I'd personally wait to see how/if things would be implemented in camel core


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


Re: [I] List Camel's endpoint in the integrations status [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #5241:
URL: https://github.com/apache/camel-k/issues/5241#issuecomment-2039574026

   @lburgazzoli I think this can intersect with the work I'm about to retake of https://github.com/apache/camel-k/pull/5096. Right now, using as an example reference the Quarkus runtime, the service is returning the following result:
   ```
   			  {
   			    "status": "DOWN",
   			    "checks": [ {
   			      "name": "camel-routes",
   			      "status": "DOWN",
   			      "data": {
   			        "route.id": "route1",
   			        "route.status": "Stopped",
   			        "check.kind": "READINESS"
   			      }
   			    }]
   			  }
   ```
   Do you think can be this enough to start some development which may eventually be enhanced with any future work on Camel core?


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


Re: [I] List Camel's endpoint in the integrations status [camel-k]

Posted by "lburgazzoli (via GitHub)" <gi...@apache.org>.
lburgazzoli commented on issue #5241:
URL: https://github.com/apache/camel-k/issues/5241#issuecomment-2039587335

   I don't think this should be something to be included in the health endpoint but rather a dedicated endpoint


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


Re: [I] List Camel's endpoint in the integrations status [camel-k]

Posted by "lburgazzoli (via GitHub)" <gi...@apache.org>.
lburgazzoli commented on issue #5241:
URL: https://github.com/apache/camel-k/issues/5241#issuecomment-1988525451

   @davsclaus ^^


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


Re: [I] List Camel's endpoint in the integrations status [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #5241:
URL: https://github.com/apache/camel-k/issues/5241#issuecomment-2039596777

   BTW, this I was meaning to include the info that are already on the health endpoint


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