Commit Graph

60 Commits (ce37b016964b220ea1658e7fcac95a5145bbb3a7)

Author SHA1 Message Date
twelvet c4455335bf
Sentinel compatible with Spring Cloud 2023.0.0 (#3572)
Compatible with Spring Cloud 2023.0.0
1 year ago
RuanSheng e5f0b6b4c4
formatting AOT configuration files (#3401)
* formatting AOT configuration files

* Formatting nacos config AOT configuration files

* Move AOT files to native-image

* Move RocketMQ AOT files to native-image

* Move RocketMQ AOT files to native-image
2 years ago
Steve Rao 457c619922
Added Sentinel relevant hints (#3396)
* Added Sentinel relevent hints

* Format the file
2 years ago
RuanSheng 0d7dfc9d3a
[2022.x] Add SentinelProtectInterceptor AOT hints (#3370)
* Sentinel AOT: add SentinelProtectInterceptorHints
2 years ago
RuanSheng ba8d0f2631
2022.x fix checkstyle problem(#3362) 2 years ago
RuanSheng 8c62e8ab27
Fix: SentinelRestTemplate support custom RestTemplate (#3329) (#3339)
* Fix: SentinelRestTemplate support custom RestTemplate (#3329)

* Add fix comment (#3329)
2 years ago
WangLiang/王良 7a506b17d8
bugfix: fix the annotation `SentinelRestTemplate` can't load in the `native-image` (#3168) 2 years ago
min1854 f0533175ae
fallback support factoryBean (#3135) 2 years ago
YuLuo 1eacea72d0
update copyright in 2022.x (#3125) 2 years ago
RuanSheng 924c44923b
remove sentinel @Validated annotation (#3122) 2 years ago
RuanSheng 588958cb0c
remove @Validated annotation (#3103) 2 years ago
Steve Rao 5cf91eb978
Merge pull request #3007 from ruansheng8/2022.x-fix-sentinel-2994
sentinel feign-client support eagerly register
2 years ago
ruansheng 4a48856aac make PostConstruct method public 2 years ago
ruansheng ce0f9779a6 remove sentinel test rule 2 years ago
ruansheng 5e93b53993 add sentinel feign layzily tests 2 years ago
ruansheng c1c4555147 sentinel feign-client support eagerly register 2 years ago
ruansheng ee8cbc8f40 spring cloud openfeign 4.x adaptive 2 years ago
MieAh 2815b745ac
Optimized with jdk new features (#2972)
* Optimize switch expressions.

* Optimize instanceOf to determine pattern matching

* Optimize switch expressions.

* Optimize instanceOf to determine pattern matching
2 years ago
ruansheng 7d5b3571a0 Sentinel module support JakartaEE 2 years ago
ruansheng 36a428c4a4 Update todo info 2 years ago
ruansheng de4c6bd209 Fix sentinel unit tests 2 years ago
ruansheng eebe114291 sentinel module support to jdk 17 2 years ago
ruansheng 17ead015ea support jdk 17 2 years ago
ruansheng d53ac12bec update spring.factories to auto-configuration 2 years ago
Wu Daifu ed26351e93
Fix issue 2698: resolve errors in generating javadocs by mvn install (#2781) 2 years ago
likeyoukang 65cb07d3f4 Fixed the wrong word in the 2021.x branch.
eg.
Excute -> Execute
recommoned -> recommend
3 years ago
Freeman Lau b1bfe912a5 Remove SentinelCircuitBreakerConfiguration 3 years ago
hnyyghk ec8dd5c556 fix code style problems on DataSourcePropertiesConfiguration and SentinelDataSourceHandler 3 years ago
hnyyghk b7a9588ebe update comments on DataSourcePropertiesConfigurationTests and SentinelDataSourceHandlerTests 3 years ago
hnyyghk 5c0fa0a612 Fix sentinel datasource init error in jacocoagent environment 3 years ago
Freeman Lau 657c8aac72 Make SentinelCircuitBreakerConfiguration deprecated.
make BeanPostProcessor static
update docs
3 years ago
Freeman Lau 22008adf25 Merge remote-tracking branch 'upstream/2022.x' into merge_2.2.x_2022
# Conflicts:
#	spring-cloud-alibaba-starters/spring-cloud-starter-stream-rocketmq/src/main/java/com/alibaba/cloud/stream/binder/rocketmq/RocketMQBinderUtils.java
#	spring-cloud-alibaba-starters/spring-cloud-starter-stream-rocketmq/src/main/java/com/alibaba/cloud/stream/binder/rocketmq/RocketMQMessageChannelBinder.java
#	spring-cloud-alibaba-starters/spring-cloud-starter-stream-rocketmq/src/main/java/com/alibaba/cloud/stream/binder/rocketmq/config/RocketMQComponent4BinderAutoConfiguration.java
#	spring-cloud-alibaba-starters/spring-cloud-starter-stream-rocketmq/src/main/java/com/alibaba/cloud/stream/binder/rocketmq/consuming/RocketMQListenerBindingContainer.java
#	spring-cloud-alibaba-starters/spring-cloud-starter-stream-rocketmq/src/main/java/com/alibaba/cloud/stream/binder/rocketmq/integration/RocketMQMessageHandler.java
#	spring-cloud-alibaba-starters/spring-cloud-starter-stream-rocketmq/src/main/java/com/alibaba/cloud/stream/binder/rocketmq/integration/RocketMQMessageSource.java
3 years ago
Freeman Lau 3451906c2b Merge 2.2.x to 2022. 3 years ago
Freeman Lau 42f03eb1c8 Merge remote-tracking branch 'upstream/2.2.x' into merge_2.2.x_2022
# Conflicts:
#	README-zh.md
#	pom.xml
#	spring-cloud-alibaba-dependencies/pom.xml
#	spring-cloud-alibaba-docs/src/main/asciidoc-zh/nacos-discovery.adoc
#	spring-cloud-alibaba-docs/src/main/asciidoc/nacos-discovery.adoc
#	spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/nacos-discovery-provider-example/src/main/java/com/alibaba/cloud/examples/ProviderApplication.java
#	spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-config/src/main/java/com/alibaba/cloud/nacos/client/NacosPropertySource.java
#	spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-config/src/main/resources/META-INF/spring.factories
#	spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-discovery/src/main/java/com/alibaba/cloud/nacos/NacosDiscoveryProperties.java
#	spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-discovery/src/test/java/com/alibaba/cloud/nacos/ribbon/NacosRibbonClientPropertyOverrideTests.java
#	spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-sentinel/src/main/java/com/alibaba/cloud/sentinel/feign/SentinelFeign.java
#	spring-cloud-alibaba-starters/spring-cloud-starter-stream-rocketmq/src/main/java/com/alibaba/cloud/stream/binder/rocketmq/integration/RocketMQMessageHandler.java
3 years ago
Freeman Lau 3c67351907 Refactor deprecated code.
1. Spring 的 StringUtils#isEmpty 已经过时, 使用 spring-cloud-alibaba-commons 下的 StringUtils 替换, 如果同时还使用了
Spring StringUtils 的其他方法, 那么将使用 StringUtils#hasLength 取反替换

2. 移除类 NacosRefreshProperties

3. 优化pom, 删除重复依赖

4. 尽可能地优化 deprecated class and method

优化过后将完全消除打包构建时黄色警告⚠️
3 years ago
wuchao 162941e880 fix issue#2323 3 years ago
theonefx df096fdfb5 Sentinel is called in a more secure way 4 years ago
theonefx aa580ac3b6 throw exception directly when exception is not an BlockException in SentinelProtectInterceptor 4 years ago
theonefx ec1f65f99d use aop to save and get FeignClientFactoryBean replace to applicationContext.getBean 4 years ago
theonefx 65fd0ebeca Adapt to the latest implementation 4 years ago
theonefx ed9d659d64 remote all hystrix,zuul,ribbon 4 years ago
黄大相 2701624da2 Upgrade Sentinel to 1.8.1 4 years ago
黄大相 9d164f9a0a Upgrade Sentinel to 1.8.1 4 years ago
黄大相 4817ca53b8 Upgrade Sentinel to 1.8.1 4 years ago
黄大相 15df0bff6b Upgrade Sentinel to 1.8.1 4 years ago
theonefx da19750268 sentinel unit test pass 4 years ago
theonefx e7521c02c9 2020 build done, unit test failed 4 years ago
yuhuangbin 5fe709436f Adapt to Spring Cloud version Hoxton.SR8 5 years ago
mercyblitz a192c17ede Remove spring-cloud-starter-dubbo-gateway 5 years ago
Jim Fang 347e1454b7
Merge pull request #1586 from qixiaobo/patch-2
to avoid k8s readinessProbe remove the pod
5 years ago