Commit Graph

1802 Commits (f75e6351762292dea9ba4aa685ad4dc5ca2a98be)
 

Author SHA1 Message Date
dependabot[bot] f75e635176
Bump mysql-connector-java
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 5.1.31 to 8.0.16.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/compare/5.1.31...8.0.16)

---
updated-dependencies:
- dependency-name: mysql:mysql-connector-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Steve Rao 8719706e46
Merge pull request from DanielLiu1123/fix_checkstyle
Fixed checkstyle
Freeman Lau d36ee864fd Fixed checkstyle.
Steve Rao 0344862f62
Merge pull request from DanielLiu1123/nacos_fault_tolerance
Nacos failure tolerance
余黄彬 14ecf7870b
Merge pull request from DanielLiu1123/support_spring_config_import
Support spring.config.import
Freeman Lau 61c2c31cf7 Fixed checkstyle.
Freeman Lau 6f3a5d892a Register NacosConfigManager instead of ConfigService.
Avoiding import *
Avoiding invoke `getUri` repeatedly
Freeman Lau 08f5438ab0 Set default to false.
Avoiding import *
Freeman Lau 5850798977 Add new configuration item.
Fixed equals and hash method.
Replaced StringUtils, Spring's isEmpty method is deprecated.
Freeman Lau 9a4a7d6f42 feature: Nacos failure tolerance.
增加 nacos 失败容错功能, 在查询失败时使用缓存值
Freeman Lau 96157efaf6 Optimize binding logic.
Freeman Lau abe1f22345 Fix nacos common properties can't bind.
修复 nacos 通用属性无法绑定的问题
Freeman Lau 65e1eff7d6 Make bootstrap starter optional.
在 spring boot >= 2.4.0 版本应该由用户决定是使用 bootstrap 还是 import 方式导入外部配置
Freeman Lau 6779603fb4 Merge remote-tracking branch 'origin/2020.0.0' into support_spring_config_import
Steve Rao 60f7fd87a3
Merge pull request from DanielLiu1123/feature_support_feign_custom_configuration
Support Feign client custom configuration
Freeman Lau e3ce3ee92d Downgrade boot version.
Temporarily remove the extension class and add it when the boot version is greater than 2.4.5.
Freeman Lau 769bced209 Use NacosConfigManager to create ConfigService.
Modify whether is PROFILE_SPECIFIC logic.
Make NacosBootstrapper method public.
Freeman Lau dec4c63b52 Refresh feign client rules only.
现在只刷新 feign client 熔断规则, 手动添加或者通过 dashboard 和数据源配置的规则不会受到影响
Freeman Lau 21e22e0696 ref: Remove ConfigServiceIndexes
重构代码
dataId 不可缺省, 通过参数覆盖默认配置
Freeman Lau 8958392914 Refactor configuration
重构配置方式, 不需要将 serverAddr 写在 import 里
保留以前版本的拉取配置逻辑, 保证能够平滑升级
Freeman Lau 5786ba51eb Support spring.config.import
支持 import 方式
Freeman Lau 77b3d7922b fix: Keep rules in dataSource
保留数据源中配置
Freeman Lau 06b2c25717 Merge remote-tracking branch 'origin/2020.0.0' into feature_support_feign_custom_configuration
Freeman Lau b96b762001 Add unit test
添加相关单元测试
现在没有配置 dataId 时会默认使用 {application}-{profile}.{fileExtension}
Freeman Lau 695938280f fix: Remove dummy method
Freeman Lau 83873e5fbe feature: support spring.config.import
支持 spring boot >= 2.4.0 通过 spring.config.import
 方式引入 nacos 配置
chengpu.rzh a853e8d30b Modified version info
Freeman Lau e8ff4d8f4f fix: Adjust unit test configuration
增大 timeWindow 值, 降低单测不过情况的概率
Freeman Lau 2f6e12d0a7 feature: Support dynamic refresh circuit breaker rules
支持断路器规则的动态刷新
Freeman Lau 597a2884f8 feature: Add example for Feign with Sentinel circuit breaker
Freeman Lau 0a04d921a4 fix: change Feign client single method configuration key
Change key format, UserClient#methodName(Type,Type) -> user#methodName(Type,Type).
String before the '#', changed to Feign client name.

Fix code format.
Freeman Lau 1ce2501bc0 fix: comment and blank
Freeman Lau 2342f23bf3 feature: support configuration per Feign client
Note: it depends on spring cloud openfeign version in classpath.

If using spring-cloud-openfeign-core version >= 3.0.4, you can configure for per Feign client. Otherwise, you can only configure for per Feign client' single method.

Fix test.
Freeman Lau eb59569d35 feature: support feign client custom configuration
There's a potential problem, if CircuitBreakerFactory was injected in spring's lifecycle, will possibly get the raw one(not customized). So, remove ReactiveSentinelCircuitBreakerAutoConfiguration and SentinelCircuitBreakerAutoConfiguration inner configuration class.
Steve Rao 973372194a
Merge pull request from zchazc/2020.0.0
fixup: issue#2300
ZhangC 3edcc41099
fixup: issue#2300
Use the legacy bootstrap way in newer spring-cloud version
余黄彬 a064331b88
Merge pull request from XuDaojie/nacos-loadbalancer-2020.0.0
Nacos loadbalancer pr
XuDaojie 9eb5233dcb update nacos-discovery default don't use NacosLoadBalancer
XuDaojie f0edd0f820 update nacos-dicovery.additional-spring-configuration-metadata.json
XuDaojie 3c769a9ba7 remove ConditionalOnLoadBalancerNacosDefault.java
XuDaojie 914e86fa21 remove NoneLoadBalancerCacheManager.java
XuDaojie eea363bda4 update ServiceInstanceListSupplier.builder() don't use withCache()
XuDaojie e4d467f359 update loadbalancer.nacos.enabled -> spring.cloud.loadbalancer.nacos.enabled
XuDaojie fbc7f9d985 add NoneLoadBalancerCacheManager
XuDaojie 2f53fcbfce update nacos-discovery.adoc
XuDaojie cf13c1cfe8 format code
XuDaojie 35a67497c0 update nacos-discovery-consumer-sclb-example
XuDaojie ae5f25f22d add NacosLoadBalancer
TheoneFx 9c542de53e
Merge pull request from theonefx/2020.0.0
upgrade parent version of spring-cloud-alibaba-dependencies/pom.xml
theonefx 96910e0135 upgrade parent version of spring-cloud-alibaba-dependencies/pom.xml