Skip to content

Commit

Permalink
[#8883] Rollback reactor plugin PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehong-kim committed May 27, 2022
1 parent cab4b1f commit ac79fc5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 139 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ public FluxAndMonoOperatorSubscribeInterceptor(TraceContext traceContext, Method
this.serviceType = serviceType;
}

// AsyncContext must exist in Target for tracking.
public AsyncContext getAsyncContext(Object target, Object[] args) {
if (checkTargetReactorContextAccessor(target, args)) {
return ReactorContextAccessorUtils.getAsyncContext(target);
return AsyncContextAccessorUtils.getAsyncContext(target);
}
if (checkTargetAsyncContextAccessor(target, args)) {
return AsyncContextAccessorUtils.getAsyncContext(target);
}
if (checkSubscriberReactorContextAccessor(target, args)) {
return ReactorContextAccessorUtils.getAsyncContext(target);
return AsyncContextAccessorUtils.getAsyncContext(target);
}
return AsyncContextAccessorUtils.getAsyncContext(target);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ public FluxAndMonoSubscribeInterceptor(TraceContext traceContext, MethodDescript
this.serviceType = serviceType;
}

// AsyncContext must exist in Target for tracking.
public AsyncContext getAsyncContext(Object target, Object[] args) {
if (checkTargetReactorContextAccessor(target, args)) {
return ReactorContextAccessorUtils.getAsyncContext(target);
return AsyncContextAccessorUtils.getAsyncContext(target);
}
if (checkTargetAsyncContextAccessor(target, args)) {
return AsyncContextAccessorUtils.getAsyncContext(target);
}
if (checkSubscriberReactorContextAccessor(target, args)) {
return ReactorContextAccessorUtils.getAsyncContext(target);
return AsyncContextAccessorUtils.getAsyncContext(target);
}
return AsyncContextAccessorUtils.getAsyncContext(target);
}
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit ac79fc5

Please sign in to comment.