doru1004 commented on pull request #1816: URL: https://github.com/apache/camel-k/pull/1816#issuecomment-764826092
@astefanutti I have tried reusing as much as possible, perhaps there is more reuse which I have missed, I will definitely consider your suggestions since you know the code better than I do. The biggest challenge has been avoiding the Kubernetes specific parts. kamel local should run without Kubernetes being required. As far as I remember the local functions call the same project construction functions called by the non-local commands. I have tried to make the local/non-local commands share the same key functions for creating stuff so that local commands evolve alongside their non-local equivalents. The functions that contain ...Common() in their name are what the local/non-local commands have in common. ---------------------------------------------------------------- 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: us...@infra.apache.org