-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add local run subcommand with basic support #1805
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, it looks promising.
I get some errors due to the transition to Quarkus (e.g. main class changed):
Caused by: java.lang.ClassNotFoundException: org.apache.camel.k.main.Application
Do you mind adding some e2e tests about local run and depdencies, we can execute them in Github actions so things don't easily break.
I updated the class to:
But I am now running into this error:
It looks like the main function was removed during the update process, is that intentional? And if so what other class should I be using instead. There seems to be no main method in any of the camel-k-runtime files. |
Yes, that changes a bit with Quarkus. If you look at integrations running on Kube (I'm using latest from master), you see it's using: @lburgazzoli may help here.
|
The main class to use is |
Just committed a fix. |
@nicolaferraro mind doing another review ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds really good!
Just a minor comment |
@nicolaferraro I managed to address all comments including making the change to "local run". I have also included the I have also rebased this PR on latest master. |
Great! |
This patch adds a new subcommand called
local run
which can run an existing integration locally.Release Note