You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/08/11 07:00:03 UTC

[GitHub] [camel-k] lburgazzoli edited a comment on pull request #1602: Implement Kamelets

lburgazzoli edited a comment on pull request #1602:
URL: https://github.com/apache/camel-k/pull/1602#issuecomment-671476441


   I think we already discussed this but wonder if we can reference kamelets just like any other source since the beginning, something like:
   
   
   ```
   camel.k.sources[0].name = Timer
   camel.k.sources[0].language = yaml
   camel.k.sources[0].location = file:/etc/camel/sources/timer/timer.yaml
   camel.k.sources[0].type = template
   camel.k.sources[0].schema = file:/etc/camel/sources/timer/timer-schema.json
   ```
   
   so on the runtime side, we can always reason in term of sources and then create a template or a route depending on the `type`.  
   
   For backward compatibility, setting the routes using the env vars as today will be supported for some time.
   


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

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