haifzhan opened a new issue #2824:
URL: https://github.com/apache/camel-k/issues/2824
Hi Camel-K team,
I have a question about managing routes. As far as I know each camel-k route
is written in a single file(java/groovy/...), what would be the best structure
for a camel-k project?
```
my-project
|___route_one
|___RouteOne.java
|___pod_template.yaml
|___logging.properties
|___route_two
|___RouteTwo.yaml
|___service_template.yaml
|___route_three
|___RouteThree.other_language
```
For instance, here's the commands for the 3 routes:
1. ` kamel run RouteOne.java --pod-template pod_template.yaml
--property-file routing.properties`
2. For route two I need to apply the service template and then run kamel run
3. Similarly for route three, it is written by other language
Here's my question:
- What would be the best way to manage the routes status(start, stop and so
on)?
- What would be the best way if I am using API to mange the routes?
- How to add test cases for each route?
Thanks so much.
--
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]