Closed EvenLjj closed 1 month ago
The recent updates focus on enhancing the SOFA RPC framework by upgrading dependency versions and introducing event handling for provider processors. Key changes include version updates in pom.xml
files, new event classes for provider registration and unregistration, and context handling improvements in server processors. These changes aim to improve stability, traceability, and functionality within the SOFA RPC ecosystem.
File Path | Change Summary |
---|---|
all/pom.xml |
Updated versions for sofa.common.tools and bolt dependencies. |
bom/pom.xml |
Updated versions for sofa.common.tools and bolt dependencies. |
bootstrap/bootstrap-api/src/main/java/com/.../DefaultProviderBootstrap.java |
Added event handling for registering and unregistering provider processors using EventBus . |
core/api/src/main/java/com/.../RecordContextResolver.java |
Added carryWithRequest method to set context info from SofaRequest to RecordContext . |
core/api/src/main/java/com/.../ProviderProcessorRegisterEvent.java |
Introduced ProviderProcessorRegisterEvent class for event handling during provider registration. |
core/api/src/main/java/com/.../ProviderProcessorUnRegistryEvent.java |
Introduced ProviderProcessorUnRegistryEvent class for event handling during provider unregistration. |
remoting/remoting-bolt/src/main/java/com/.../BoltServerProcessor.java |
Added import and method call to RecordContextResolver.carryWithRequest in handleRequest method. |
🐇 A Rabbit's Code Poem 🐇
In the realm of code, where versions rise,
Dependencies grow and reach the skies.
Events now dance in a graceful ballet,
As processors register and then sway.
Contexts carry their tales with pride,
In SOFA's world, where changes abide.
🌟✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
add providerProcessRegister event and record context to bolt
Summary by CodeRabbit
New Features
SofaRequest
toRecordContext
.Enhancements
Bug Fixes