-
Notifications
You must be signed in to change notification settings - Fork 350
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
feat(cli/run): Support dependencies defined using HTTP URLs #3644
Conversation
d73d1fa
to
db5202d
Compare
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.
Looks good, but it'd be great if there is e2e for the feature. Maybe here or here?
https://github.com/apache/camel-k/blob/main/e2e/namespace/install/cli/run_test.go
https://github.com/apache/camel-k/blob/main/e2e/global/registry/registry_maven_wagon_test.go
We can use the same jar used in the JVM trait:
|
db5202d
to
03b758b
Compare
@@ -129,5 +129,14 @@ func TestKamelCLIRun(t *testing.T) { | |||
// Clean up | |||
Expect(Kamel("delete", "--all", "-n", ns).Execute()).To(Succeed()) | |||
}) | |||
t.Run("Run with http dependency", func(t *testing.T) { |
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.
Elegant way to reuse the test we already have but with a different scope. Kudos!
03b758b
to
4bd853f
Compare
4bd853f
to
6b448c0
Compare
fixes #240
Motivation
We allow
mvn:
dependencies withcamel:
andruntime:
wrapper. We should allow users to specify HTTP dependencies on libs (to load custom JAR that are not present in Maven central).Modifications:
http
andhttps
prefixes to a temporary folderRelease Note