Repository navigation
feat: support encoding and decoding TSF headers without TSF Consul - #1846
Merged
Merged
Conversation
…encent#1816) * feat: support encoding and decoding TSF headers without TSF Consul Allow TSF-Tags transfer on Polaris via spring.cloud.tencent.metadata.tsf-header-compatible so putTag still works when Consul is off. Co-authored-by: Cursor <cursoragent@cursor.com> * chore: fill changelog PR number 1816. Co-authored-by: Cursor <cursoragent@cursor.com> * refactor: centralize TSF header compatible check in TsfContextUtils Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: evelynwei <evelynwei@tencent.com> Co-authored-by: Cursor <cursoragent@cursor.com>
The 2021 branch uses Spring Boot 2.x, so servlet classes are in javax.servlet instead of jakarta.servlet. Co-Authored-By: Codex Signed-off-by: fuyuwei01 <fuyuwei01@qq.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 2021 #1846 +/- ##
============================================
+ Coverage 55.94% 56.23% +0.28%
Complexity 149 149
============================================
Files 481 481
Lines 14051 14074 +23
Branches 1753 1754 +1
============================================
+ Hits 7861 7914 +53
+ Misses 5560 5520 -40
- Partials 630 640 +10 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
…1816)
Allow TSF-Tags transfer on Polaris via spring.cloud.tencent.metadata.tsf-header-compatible so putTag still works when Consul is off.
chore: fill changelog PR number 1816.
refactor: centralize TSF header compatible check in TsfContextUtils
PR Type
Describe what this PR does for and how you did.
Adding the issue link (#xxx) if possible.
Note
Checklist