* code optimization for `ConfigChangeHandler`
* [ISSUE #9930] fix word spelling error in com.alibaba.nacos.common.http.AbstractHttpClientFactory#ASYNC_IO_REACTOR_NAME
* enhancement: CloseableHttpAsyncClient does not clean up expired and invalid connections (#9708)
* enhancement: CloseableHttpAsyncClient does not clean up expired and invalid connections (#9708)
* style:satisfy style/NacosCheckStyle.xml
* add unit test(#9708)
* Revert "add unit test(#9708)"
This reverts commit 939905cb56f30af4d0ec35543d6d630f0777eb98.
* add unit test
* perf: Replace the dead loop with while
* perf: Jump statements should not be redundant
* Update CredentialWatcher.java
Co-authored-by: elsez <67528597+zhantiao@users.noreply.github.com>
* Enhance MetricsMonitor with several new metrics
* Add config read and write rt
* Add ServiceEvent publisher queue size
* Add fuzzy search count
* Add naming subscriber and publisher count with v1 or v2 version tag
* Add config subscriber count with v1 or v2 version tag
* Add pending push task count and empty push count metrics
* collect pending push task count by scheduled task
* add unit test for increment metrics in NacosMonitorPushResultHook
* Add topn counter container and topn config change
* Create private MeterRegistry for config change
* Add scheduled clear for config change count, add removeAll for TopnCounterMetricsContainer
* Add topn service change
* Reconstruct metrics monitor with NacosMeterRegistryCenter.
* divide globalRegistry to different modules' CompositeMeterRegistry
* Add dynamic meters refresh service for config and naming module
* fix unit test
* Add try catch when init NacosMeterRegistryCenter
* collect client info #8857
* collect client info #8857
* collect client info #8857
* collect client info #8857
* collect client info #8857
* collect client info #8857
* cluster/report api return self information.
* Update metadata when received report response.
* Add UT for handle report member info response.
* For checkstyle.
* enhance rpc config related to one RpcClientConfig
* modify rpcclient unit test
* modify rpcclient unit test
* modify rpcclient unit test
* add RpcClient constructor with properties.
* modify some unit test
* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]
* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]
* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]
* [ISSUE#8481]Unified TRACE capacity building
* [ISSUE#8481]Unified TRACE capacity building
1. Event type add to traceEvent.
2. The event about instance add instancePort.
3. Add health check type to healthChangeEvent.
4. Other fixup.
* [ISSUE #8709] check serverList size before reconnect to server
* use CollectionUtils.isEmpty to judge whether server list is empty
Co-authored-by: Oliver <wqdyxnbd@163.com>
Co-authored-by: Oliver <wqdyxnbd@163.com>
* optimize IoUtils and Add some unit test
reformat codes
fix Too many unapproved license issue
fix Too many unapproved license issue
fix Too many unapproved license issue
fix Too many unapproved license issue
fix Too many unapproved license issue
* fix test case issue
* fix test case issue
* Unfiy Map's get and put methods by computeIfAbsent In ThreadPoolManager
What is the purpose of the change
Optimization and tidy codes.
Brief changelog
Unfiy get/put by computeIfAbsent.
Verifying this change
eclipse-pmd was used to verify the changes
* Unfiy Map's get and put methods by computeIfAbsent In ThreadPoolManager
What is the purpose of the change
Optimization and tidy codes.
Brief changelog
Unfiy get/put by computeIfAbsent.
Verifying this change
eclipse-pmd was used to verify the changes
* [ISSUE#5695] Add a plugin SPI for configuration encryption and decryption for Nacos 2.0 (#6655)
* Defines the interface
* 增加aes实现
* 客户端、服务端加解密实现
* 客户端、服务端加解密实现
* fix code quality (#6727)
* [ISSUE#5695] Add a plugin SPI for configuration encryption and decryption for Nacos 2.0, EncryptedDataKey is persisted (#6740)
* Defines the interface
* 增加aes实现
* 客户端、服务端加解密实现
* 客户端、服务端加解密实现
* 秘钥持久化
* 秘钥持久化
* [ISSUE#5695] Summer2021 Cache encryptedDataKey (#6878)
* Defines the interface
* 增加aes实现
* 客户端、服务端加解密实现
* 客户端、服务端加解密实现
* 秘钥持久化
* 秘钥持久化
* 秘钥缓存到内存中
* 解决冲突
* 修改filter继承AbstractConfigFilter (#6879)
* [ISSUE#5695] Summer2021 EncryptedDataKey is persisted to Derby (#6882)
* [ISSUE#5695] Add a plugin SPI for configuration encryption and decryption for Nacos 2.0 (#6655)
* Defines the interface
* 增加aes实现
* 客户端、服务端加解密实现
* 客户端、服务端加解密实现
* fix code quality (#6727)
* # This is a combination of 6 commits.tree cf7a399f99c4d81b8667c8de06f5ceb8c79fb6f0
parent 8024ecf31bf23a9edab416be8a3bfd1c0e48ce5e
author 李晓双 Li Xiao Shuang <644968328@qq.com> 1630028256 +0800
committer lixiaoshuang <644968328@qq.com> 1631804378 +0800
# This is a combination of 3 commits.
# This is the 1st commit message:
[ISSUE#5695] Add a plugin SPI for configuration encryption and decryption for Nacos 2.0, EncryptedDataKey is persisted (#6740)
* Defines the interface
* 增加aes实现
* 客户端、服务端加解密实现
* 客户端、服务端加解密实现
* 秘钥持久化
* 秘钥持久化
# This is the commit message #2:
[ISSUE#5695] Summer2021 Cache encryptedDataKey (#6878)
* Defines the interface
* 增加aes实现
* 客户端、服务端加解密实现
* 客户端、服务端加解密实现
* 秘钥持久化
* 秘钥持久化
* 秘钥缓存到内存中
* 解决冲突
# This is the commit message #3:
修改filter继承AbstractConfigFilter (#6879)
# This is the commit message #6:
客户端、服务端加解密实现
* parent 8024ecf31bf23a9edab416be8a3bfd1c0e48ce5e
author 李晓双 Li Xiao Shuang <644968328@qq.com> 1630028256 +0800
committer lixiaoshuang <644968328@qq.com> 1631805204 +0800
parent 8024ecf31bf23a9edab416be8a3bfd1c0e48ce5e
author 李晓双 Li Xiao Shuang <644968328@qq.com> 1630028256 +0800
committer lixiaoshuang <644968328@qq.com> 1631804378 +0800
[ISSUE#5695] Add a plugin SPI for configuration encryption and decryption for Nacos 2.0, EncryptedDataKey is persisted (#6740)
* 配置加解密插件
* derby支持秘钥存储
* 克隆功能兼容配置加解密 (#6913)
* [ISSUE#5695] Summer2021 Import/export compatible with configuration encryption and decryption (#6956)
* 克隆功能兼容配置加解密
* 导入导出兼容配置加解密
* 秘钥base64编码、更换AES加密模式 (#6974)
* [ISSUE#5695] Summer2021 add unit test for ConfigCryptoFilter (#6991)
* add unit test for ConfigCryptoFilter
* add unit test for ConfigCryptoFilter
* [ISSUE#5695] Summer2021 add unit test for CryptoExecutor (#6990)
* add unit test for CryptoExecutor
* add Copyright
* [ISSUE#5695] Summer2021 add unit test for CryptoManager (#6989)
* add unit test for CryptoManager
* add unit test for CryptoManager
* [ISSUE#5695] Summer2021 add unit test for AesCrypto (#6988)
* add unit test for AesCrypto
* update AesCryptoTest
* Increased iv randomness
* add default Iv
* fix javadoc
* fix unit test
* defining plugin intergace
* Replace the client encryption and decryption actuator
* Replace the server encryption and decryption actuator
* add unit test
* add unit test
* remove old code
* fix NacosConfigServiceTest
* Encryption and decryption to achieve migration
Co-authored-by: 杨翊 SionYang <263976490@qq.com>