Skip to content

feat: support Spring RestClient#3602

Open
uuuyuqi wants to merge 5 commits intoalibaba:1.8from
uuuyuqi:uuuyuqi/feat-restclient-adapter
Open

feat: support Spring RestClient#3602
uuuyuqi wants to merge 5 commits intoalibaba:1.8from
uuuyuqi:uuuyuqi/feat-restclient-adapter

Conversation

@uuuyuqi
Copy link
Collaborator

@uuuyuqi uuuyuqi commented Mar 10, 2026

Describe what this PR does / why we need it

Closes #3601

Does this pull request fix one issue?

Closes #3601

Describe how you did it

add Sentinel RestClient Interceptor

Describe how to verify it

Run com.alibaba.csp.sentinel.adapter.spring.restclient.SentinelRestClientInterceptorSimpleTest to confirm the flow control behavior of Sentinel.

Special notes for reviews

None

uuuyuqi added 2 commits March 10, 2026 11:32
Change-Id: I49c8b1cf7a0a6f357b68b58bd352efc5981b76b2
Co-developed-by: OpenCode <noreply@opencode.ai>
Change-Id: Ieacaf949222f5871f934d2f0aa3bd6d73d1a087b

@PostMapping("/users")
public String createUser(@RequestBody String user) {
return "Created: " + user;

Check warning

Code scanning / CodeQL

Cross-site scripting Medium test

Cross-site scripting vulnerability due to a
user-provided value
.
uuuyuqi added 3 commits March 10, 2026 15:11
Change-Id: I2df54be42732b1c1786b4b9189639913b4598fd9
Co-developed-by: OpenCode <noreply@opencode.ai>
Change-Id: Ia9dceb36c2ef3a9a86a61110446c6aec4de331a9
Co-developed-by: OpenCode <noreply@opencode.ai>
Change-Id: I10f1752fa921aa8980e640c4fe7726d3c1764f37
Co-developed-by: OpenCode <noreply@opencode.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support Spring RestClient

1 participant