feat(web): add Spring HTTP client and server logging - #147
Merged
Conversation
Introduce shared redaction policy, monotonic client and Servlet durations, Web MVC auto-configuration, and runtime probes.\n\nBREAKING CHANGE: Spring HTTP client logging and RestClient APIs moved to org.jfoundry.http.spring, org.jfoundry.http.spring.client, and org.jfoundry.web.spring.client without compatibility aliases.
Add shared HTTP logging policy and JAX-RS providers for Quarkus and Helidon, including automatic MicroProfile REST Client registration and runtime integration tests. BREAKING CHANGE: HttpLoggingLevel moves from org.jfoundry.http.spring to org.jfoundry.http.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NONEregistrationCompatibility
This intentionally introduces a source and binary package break without compatibility aliases:
org.jfoundry.web.spring.HttpLoggingLevel->org.jfoundry.http.spring.HttpLoggingLevelorg.jfoundry.web.spring.HttpLoggingInterceptor->org.jfoundry.http.spring.client.HttpLoggingInterceptororg.jfoundry.web.spring.RestClientSupportand its error types ->org.jfoundry.web.spring.client.*ProblemDetailRendererremains inorg.jfoundry.web.spring. Outbound logging still defaults toBASIC; inbound logging defaults toNONE.Verification
mvn -pl jfoundry-runtime/jfoundry-spring/runtime/jfoundry-web-spring -am testmvn -pl jfoundry-runtime/jfoundry-spring/jfoundry-spring-integration-tests -am -Pit verifymvn validateGRAALVM_HOME=<graalvm> bash scripts/verify-runtime-ci.sh spring --stage nativeJAVA_25_HOME=<jdk25> bash scripts/verify-ci-matrix.shgit diff --check