Skip to content
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

Use the thread-local ThreadContext in order to be able to define which contexts get propagated #635

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

FroMage
Copy link
Contributor

@FroMage FroMage commented Jul 21, 2021

This is required by quarkusio/quarkus#18689

Fixes #626

@FroMage FroMage added the enhancement New feature or request label Jul 21, 2021
@codecov
Copy link

codecov bot commented Jul 21, 2021

Codecov Report

Merging #635 (4e32565) into main (0e32e0a) will increase coverage by 0.48%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #635      +/-   ##
============================================
+ Coverage     89.80%   90.29%   +0.48%     
- Complexity     3010     3025      +15     
============================================
  Files           395      395              
  Lines         11825    11823       -2     
  Branches       1478     1480       +2     
============================================
+ Hits          10620    10676      +56     
+ Misses          623      585      -38     
+ Partials        582      562      -20     
Impacted Files Coverage Δ
.../context/DefaultContextPropagationInterceptor.java 100.00% <100.00%> (ø)
.../mutiny/context/MutinyContextManagerExtension.java 100.00% <100.00%> (ø)
...smallrye/mutiny/operators/multi/MultiEmitOnOp.java 89.52% <0.00%> (-0.96%) ⬇️
...mallrye/mutiny/operators/multi/MultiFlatMapOp.java 85.98% <0.00%> (+0.31%) ⬆️
...java/io/smallrye/mutiny/helpers/Subscriptions.java 80.66% <0.00%> (+0.55%) ⬆️
...lrye/mutiny/subscription/SerializedSubscriber.java 89.62% <0.00%> (+1.88%) ⬆️
...io/smallrye/mutiny/operators/uni/UniMemoizeOp.java 95.04% <0.00%> (+1.98%) ⬆️
.../io/smallrye/mutiny/helpers/queues/DrainUtils.java 77.77% <0.00%> (+2.22%) ⬆️
...subscription/SwitchableSubscriptionSubscriber.java 97.54% <0.00%> (+2.45%) ⬆️
...tiny/operators/multi/MultiBufferWithTimeoutOp.java 75.63% <0.00%> (+2.52%) ⬆️
... and 7 more

@jponge jponge added this to the 1.0.0 milestone Jul 22, 2021
@jponge
Copy link
Member

jponge commented Jul 22, 2021

Thanks Steph!

@jponge jponge merged commit 666e3a7 into smallrye:main Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support contextual context propagation
3 participants