* fix: exclude gateway classpath warning auto configuration in TSF header compatible test
MetadataLocalPropertiesTsfHeaderCompatibleTest was the only @SpringBootTest in
spring-cloud-tencent-commons without an inline web-application-type and gateway
auto configuration excludes. Because spring-webmvc and spring-cloud-gateway
(webflux) coexist on the test classpath, Boot deduced a servlet context and
GatewayClassPathWarningAutoConfiguration aborted startup with
MvcFoundOnClasspathException. Align the properties with MetadataLocalPropertiesTest.
Co-authored-by: Cursor <cursoragent@cursor.com>
* chore(docs): 将 CHANGELOG 链接更新为 PR 1820
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix: exclude gateway auto-config in TSF header decode test
Prevent servlet-based SpringBootTest from hitting MvcFoundOnClasspathException, which triggered FailedEventApplicationListener.System.exit(0) and aborted the Surefire fork.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix: drop Jackson 2 dependency from polaris config endpoint test
The module has no Jackson on the test classpath and the project has moved to
Jackson 3, so importing com.fasterxml.jackson.databind broke testCompile.
Assert on the endpoint map directly instead of serializing it.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: evelynwei <evelynwei@tencent.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
* 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>