geyanggang opened a new pull request, #15130:
URL: https://github.com/apache/gravitino/pull/15130

   ### What changes were proposed in this pull request?
   - `bundles/azure-bundle`: apply `netty-bom` (4.1.140.Final) in a dedicated 
configuration (`isCanBeConsumed = false`, `isCanBeResolved = false`) extended 
only by `runtimeClasspath`, so all Netty artifacts brought in by 
`azure-core-http-netty` and `reactor-netty-http` move together (4.1.109/4.1.110 
-> 4.1.140) and nothing is exported to dependent modules. The BOM also moves 
netty-tcnative from 2.0.65.Final to 2.0.85.Final.
   - Add `TestAzureBundleNetty`: Netty is relocated and every `netty-*` 
`pom.properties` in the bundle (except tcnative) has the catalog version.
   - `dev/release/maven`: the Apple dnsinfo source link now points to Netty 
4.1.140.Final (`dnsinfo.h` and its license text are identical to 4.1.109), and 
`README.md` records tcnative 2.0.85.Final. NOTICE and the companion license 
texts are identical in Netty 4.1.118 and 4.1.140; the tcnative classes artifact 
keeps the same Netty and Tomcat Native attributions in 2.0.65 and 2.0.85, and 
no native libraries are in the bundle.
   - `.github/trivy/trivyignore.yaml`: remove the Netty 4.1.109 and 4.1.110 
entries, which no longer appear in the bundle.
   
   ### Why are the changes needed?
   Routine dependency maintenance: the bundle contained Netty 4.1.109/4.1.110, 
older than the current 4.1.140.Final patch release.
   
   Fix: #15127
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   - `:bundles:azure-bundle:shadowJar`: every Netty `pom.properties` is now 
4.1.140.Final (tcnative 2.0.85.Final) and no `io/netty/` entries remain.
   - Unit tests pass for `:bundles:azure-bundle` (including the new test); 
`spotlessCheck`, `testMavenLegalFiles` and `.github/trivy/scan.sh 
check-exemptions` pass.
   - Smoke test: from the bundle jar only, the Azure SDK 
`NettyAsyncHttpClientBuilder` client (reactor-netty) sends a GET to a local 
HTTP server and gets the response.
   - Not covered: TLS/HTTP2 through the Netty client, native epoll/kqueue 
transports, and a real Azure endpoint (no Azurite image available locally).
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to