Tencent / spring-cloud-tencent

Spring Cloud Tencent is a Spring Cloud based Service Governance Framework provided by Tencent.
Other
3.17k stars 491 forks source link

feat:support TSF router. #1368

Closed SkyeBeFreeman closed 1 month ago

SkyeBeFreeman commented 1 month ago

PR Type

Describe what this PR does for and how you did.

Adding the issue link (#xxx) if possible.

closes #1217

Note

Checklist

Checklist (Optional)

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 52.82258% with 117 lines in your changes missing coverage. Please review.

Project coverage is 64.76%. Comparing base (51bafa6) to head (ab65ec8).

Files Patch % Lines
.../polaris/context/tsf/config/TsfCoreProperties.java 0.00% 30 Missing :warning:
...text/tsf/metadata/TsfInstanceMetadataProvider.java 0.00% 24 Missing :warning:
...om/tencent/cloud/polaris/context/tsf/TsfUtils.java 0.00% 18 Missing :warning:
...provider/FeignRequestTemplateMetadataProvider.java 68.75% 3 Missing and 2 partials :warning:
...etadata/provider/RestTemplateMetadataProvider.java 64.28% 3 Missing and 2 partials :warning:
...tencent/cloud/common/metadata/MetadataContext.java 64.28% 5 Missing :warning:
.../cloud/polaris/tsf/TsfDiscoveryConfigModifier.java 0.00% 4 Missing :warning:
.../common/util/expresstion/ExpressionLabelUtils.java 42.85% 4 Missing :warning:
...g/properties/PolarisRuleBasedRouterProperties.java 40.00% 3 Missing :warning:
...cent/cloud/common/pojo/PolarisServiceInstance.java 62.50% 2 Missing and 1 partial :warning:
... and 10 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2022 #1368 +/- ## ========================================== Coverage 64.75% 64.76% Complexity 2 2 ========================================== Files 322 320 -2 Lines 7678 7495 -183 Branches 952 910 -42 ========================================== - Hits 4972 4854 -118 + Misses 2266 2227 -39 + Partials 440 414 -26 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.