lburgazzoli opened a new issue #1266: re-evaluate language parsing URL: https://github.com/apache/camel-k/issues/1266 Integration sources introspection is done using a mix of technique: 1. inspecting nodes for mark-up languages 2. regexp for everything else While 1. may be good enough, that is not certainly the case for 2. as we have a number of complains such as the fact that the parser does not properly handle commented out code. Using regexp make it also quite complex to keep-up with the evolution of Camel's DSL as example, we can't understand the new endpoint DSL. Because of the limitation of the current approach we should re-evaluate it and switch to something like ANTLR4 to generate a proper model definition. As side note I wonder if we should keep the result of this introspection as side resource of Integration for troubleshooting.
---------------------------------------------------------------- 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 With regards, Apache Git Services