-
Notifications
You must be signed in to change notification settings - Fork 216
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
Fix/wavefront proxy #17601
Fix/wavefront proxy #17601
Conversation
fa16d3d
to
b4cd3bc
Compare
Well, bummer. Test fails like this:
some local user error made the test pass locally. I had removed the bump of Anyway, the test is good to have, and you can make the test pass simply with this diff: diff --git a/wavefront-proxy/proxy/pombump-deps.yaml b/wavefront-proxy/proxy/pombump-deps.yaml
index a3d5de67b..aad2bee73 100644
--- a/wavefront-proxy/proxy/pombump-deps.yaml
+++ b/wavefront-proxy/proxy/pombump-deps.yaml
@@ -17,11 +17,6 @@ patches:
version: 4.1.109.Final
scope: import
type: jar
- - groupId: io.netty
- artifactId: netty-codec-http
- version: 4.1.109.Final
- scope: import
- type: jar
- groupId: com.squareup.okio
artifactId: okio
version: 3.4.0 |
Interesting, thanks for adding the test! Let's drop dependency bumps if they break the package, we can file a CVE advisory! |
ack. will do that. |
The pombump of netty-codec-http causes stacktrace below, so remove it. Since we're here, go ahead and bump netty-bom to current version. CorsConfig is deprecated in 4.1, but should still be present. https://netty.io/4.1/api/io/netty/handler/codec/http/cors/CorsConfig.html Exception in thread "main" java.lang.NoClassDefFoundError: io/netty/handler/codec/http/cors/CorsConfig at java.base/java.lang.Class.getDeclaredMethods0(Native Method) at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3166) at java.base/java.lang.Class.getDeclaredMethod(Class.java:2473) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:47) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)
Just a simple invocation of 'java -jar' to get help output is would show the stacktrace fixed by the previous commit.
b4cd3bc
to
066879b
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.
lgtm
Fixes:
Related:
Pre-review Checklist
For new package PRs only
endoflife.date
)For new version streams
name: ${{package.name}}-compat
)provides:
logical unversioned forms of the package (e.g.nodejs
,nodejs-lts
)For security-related PRs
For version bump PRs
epoch
field is reset to 0For PRs that add patches