Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] webmvc_v6x适配器中将resourceName的生成逻辑单独拆分出一个实现,但默认无法替换 #3484

Open
lin1005q opened this issue Dec 30, 2024 · 0 comments

Comments

@lin1005q
Copy link

Issue Description

Type: bug report

Describe what happened

1.8.8 版本中将资源名前添加http方法的逻辑,拆分到SentinelWebPrefixInterceptor类中。但未添加可替换的注解,导致在不开启allow-bean-definition-overriding的情况下,无法替换为SentinelWebPrefixInterceptor

@Bean
@ConditionalOnProperty(name = "spring.cloud.sentinel.filter.enabled",
	matchIfMissing = true)
public SentinelWebMvcConfigurer sentinelWebMvcConfigurer() {
return new SentinelWebMvcConfigurer();
}

Describe what you expected to happen

添加@ConditionalOnMissingBean注解。

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

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

No branches or pull requests

1 participant