Commit Graph

4483 Commits

Author SHA1 Message Date
dependabot[bot]
e4510d67e0
Bump protobuf-java from 3.16.1 to 3.16.3 (#9259)
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.16.1 to 3.16.3.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.16.1...v3.16.3)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 09:46:34 +08:00
Roger3581321
bc180f0413
Fix a spelling mistake (#9258) 2022-10-10 09:45:40 +08:00
Karson
5396858cbc
修复Grpc反序列化不完整 (#9252) 2022-10-01 19:00:20 +08:00
杨翊 SionYang
f272c36df7
[ISSUE#9210] ConnectionBasedClient support add revision (#9239)
* ConnectionBasedClient support add revision

* getRevision when get verifydata.
2022-09-29 15:55:43 +08:00
DongYafei
94d812a269
fix api result (#9237) 2022-09-29 10:39:23 +08:00
Pixy Yuan
af22d35d6f
[ISSUE #9230] Fix missing dependency between event publisher and subs… (#9231)
* [ISSUE #9230] Fix missing dependency between event publisher and subscriber triggered on snapshot loading.

* [ISSUE #9230] Fix codestyle.

* [ISSUE #9230] Fix missing dependency between event publisher and subscriber triggered on persistent clients' snapshot loading.

* [ISSUE #9230] Fix import.
2022-09-29 09:42:03 +08:00
ruansheng
71d7d36951
[ISSUE #9227] fix subscriber scopeMatches (#9233) 2022-09-28 16:21:09 +08:00
杨翊 SionYang
45165f7c06
[ISSUE#8650] Make cluster/report both receive and send metadata. (#9228)
* cluster/report api return self information.

* Update metadata when received report response.

* Add UT for handle report member info response.

* For checkstyle.
2022-09-28 14:43:14 +08:00
Pixy Yuan
04fe7eab2f
Support client hash revision for DISTRO (#9214)
* [ISSUE #9210] Using hash as ephemeral clients' revision for DISTRO verification.

* [ISSUE #9210] Improve performance of ephemeral client hash calc.

* [ISSUE #9210] Remove calculation for ephemeral client's subscribers.

* [ISSUE #9210] Persist and sync revision for clients.

* [ISSUE #9210] Improve hash of ephemeral client.

* [ISSUE #9210] Improve performance of hash calc for clients.

* [ISSUE #9210] Make distro verification compatible with zero revision from old servers.

* [ISSUE #9210] Log clientId when VERIFY-FAILED.

* [ISSUE #9210] Fix long class cast exception to REVISION.

* [ISSUE #9210] Just renew clients when verify v2 clients on v1 mode.

* [ISSUE #9210] Add UTs for ephemeral client verification.

* [ISSUE #9210] Fix codestyle.

* [ISSUE #9210] Fix IpPortBasedClientTest.

* [ISSUE #9210] Fix codestyle.

* [ISSUE #9210] Fix license.

* [ISSUE #9210] Fix ConcurrentHashSetTest cases to verify concurrent modification properly.

* [ISSUE #9210] Fix codestyle.
2022-09-28 13:56:33 +08:00
杨翊 SionYang
2d84c0aea7
For #8611, Close old datasource connection. (#9212) 2022-09-26 15:51:08 +08:00
Alex
96f135a36d
GitHub Workflows security hardening (#9207)
* build: harden ci.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden it.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-26 10:34:33 +08:00
zhouchunhai
1d8e5d9443
Feature #8941 Support Fuzzy Query in Authority Control--for ui change. (#9127) 2022-09-26 10:33:45 +08:00
zhouchunhai
526c085b77
Feature #8941 Support Fuzzy Query in Authority Control--for api change. (#9128)
* Feature #8941 Support Fuzzy Query in Authority Control--for api change.

* fix check style error.

* fix unit test error.
2022-09-26 10:32:20 +08:00
阿魁
9a474a0ec5
Fix wrong and duplicate mysql connection configuration. (#9208) 2022-09-26 10:08:37 +08:00
DongYafei
0032b8cfc1
Add ClientInfoControllerV2 (#9197)
* add ClientInfoControllerV2

* rename tenant to namespaceId
2022-09-23 14:11:59 +08:00
KomachiSion
a2b997f6a7 Fix print logs for NamingTraceEvent. 2022-09-22 13:58:18 +08:00
onewe
6278e7eadb
[ISSUE #8622] 移除 environment 概念 (#8991)
* [ISSUE #8622] 移除 environment 概念

* [ISSUE #8622] 使用尾递归优化循环

- SYS更名为ENV
- SHARED更改为PROTOTYPE

* [ISSUE #8622] rename lookingForProperties

* [ISSUE #8622] NProperties is renamed SearchableProperties and add some comments

* [ISSUE #8622] update some comments
2022-09-22 09:26:51 +08:00
Karson
b37d100eb3
upgrade org.yaml.snakeyaml version from 1.30 to 1.32 (#9179) 2022-09-21 14:29:47 +08:00
jiaoja
e2468a4c8e
[ISSUE #9172] Solve wrong use of GroupKey2 in GroupKeyTest. (#9173)
* [ISSUE #9172] Solve wrong use of GroupKey2 in GroupKeyTest.

* [ISSUE #9172] Solve wrong use of GroupKey2 in GroupKeyTest.
2022-09-21 14:08:06 +08:00
onewe
091f53026e
Merge pull request #9178 from karsonto/develop-issue#9175
[ISSUE #9175] Support ldap filter config
2022-09-20 16:51:35 +08:00
karsonto
f27113b3b0 add some unit test 2022-09-20 15:37:35 +08:00
karsonto
8d75c28151 resolve issue #9175 add ldap filter config 2022-09-20 11:56:44 +08:00
DongYafei
6501dd8ab6
update ServiceControllerV2, add OperatorControllerV2 (#9156) 2022-09-19 11:30:14 +08:00
jiaoja
45f38b5aeb
[ISSUE #9154] Solve the nullcheck of value previously dereferenced. (#9157)
* [ISSUE #9154] Solve the nullcheck of value previously dereferenced.

* [ISSUE #9154] Remove unused import.
2022-09-19 09:45:00 +08:00
Roger3581321
419530dc93
Improving code specifications (#9165)
* Improving code specifications

* Update IstioCrdUtil.java
2022-09-18 17:59:04 +08:00
hoErYu
0fdfd194f9
For #9106 Remove redundant judgment of WebUtils (#9107)
* For #9106 Remove redundant judgment of WebUtils

* For #9106 Remove redundant judgment of WebUtils

* For #9106 Remove redundant judgment of WebUtils
2022-09-15 11:34:36 +08:00
DongYafei
9439250e80
[ISSUE#8308] update InstanceControllerV2 for api 2.0 (#9111)
* update InstanceControllerV2 for api 2.0

* for InstanceControllerV2, add parameter groupName for api 2.0
2022-09-15 10:47:07 +08:00
Karson
f15b41be2d
fix naming example running NPE. (#9131) 2022-09-15 10:41:33 +08:00
jiaoja
a89a46e2ad
[ISSUE #9135] Remove redundant nullcheck code. (#9137)
* [ISSUE #9135] Remove redundant nullcheck code.

* [ISSUE #9135] Refactor method to not always return the same value.
2022-09-15 10:40:37 +08:00
无处不在
a09058169c
[fix]修复数据源连接DataSource中动态的ConnectionTimeout属性被覆盖问题 (#9115) 2022-09-09 16:50:36 +08:00
lphx
0cf9c24086
remove redundant code (#9089)
* Modifying duplicate code,remove unnecessary if

* remove [instance.getIp() + ":" + instance.getPort()] and use the original Instance.toIpAddr() method,Because their implementation is the same
2022-09-07 16:46:42 +08:00
阿魁
a9af1bfe38
Fix spelling mistakes. (#9097)
* Fix spelling mistakes.

* Fix spelling mistakes.
2022-09-07 16:46:16 +08:00
MajorHe1
6d484593c4
Merge pull request #9108 from KomachiSion/develop-issue#9013
[ISSUE#9013] Do some refactor for readability.
2022-09-07 16:24:21 +08:00
KomachiSion
b7f25e07d2 For checkstyle. 2022-09-07 11:57:31 +08:00
KomachiSion
1e9b18cd75 only load grpc config from system one time. 2022-09-07 11:53:15 +08:00
KomachiSion
3d7bda84f7 Rename DefaultClientConfig > DefaultGrpcClientConfig 2022-09-07 10:21:36 +08:00
KomachiSion
fb71b4ccd9 Refactor DefaultClientConfig for readability. 2022-09-07 09:59:34 +08:00
Karson
b36e6a50ab
[ISSUE #9013] Enhance Rpc config related to one RpcClientConfig (#9093)
* 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
2022-09-07 09:43:45 +08:00
阿魁
b8bd1cb90d
Fix the actual number of health check retries less than the set one. (#9080)
* Fix the actual number of health check retries less than the set one.

* update testHealthCheck.
2022-09-06 09:53:06 +08:00
Rookie
cdb11448ac
[ISSUE #7459] add eBook link (#9076) 2022-09-06 09:52:03 +08:00
DongYafei
02b7280b69
[fix] rename ConfigVo, ConfigRequestInfoVo and NamespaceVo to ConfigForm, ConfigRequestInfo and NamespaceForm respectively (#9077) 2022-09-05 17:38:32 +08:00
阿魁
6552aaed3f
Fix spelling mistakes. (#9088) 2022-09-05 17:33:42 +08:00
Karson
0aa695e0d3
Add configurable for GrpcClient health check retry times (#9056)
* add configurable for GrpcClient health check retry.

* add some unit test for GrpcClient health check retry.

* reformat code style

* some grpc params move to GrpcConsts

* add GRpcConfigLabel

* reformat style

* reformat style

* reformat style

* reformat style

* reformat style
2022-09-02 15:48:14 +08:00
DongYafei
5373513331
update NacosClusterControllerV2 (#9066) 2022-09-02 15:39:28 +08:00
DongYafei
f9824c8acb
fix NacosApiException (#9059) 2022-09-01 10:06:43 +08:00
liqipeng
30794c4b89
fix unsubscribe bug (#9062) 2022-09-01 09:59:51 +08:00
hutt
40651f650f
[ISSUE #9023] fix corner case config dataId 'cipher-' that cannot create (#9024)
* [ISSUE #9023] fix corner case config dataId 'cipher-' that cannot create

* [ISSUE #9023] remove unused import

* [ISSUE #9023] PMD fix

* [ISSUE #9023] add comments

* [ISSUE #9023] should return first token instead of any

* [ISSUE #9023] add more EncryptionHandler ut

* [ISSUE #9023] fix style

* [ISSUE #9023] fix style, keep indentation in blank line
2022-08-31 20:15:18 +08:00
MajorHe1
44538d1313
[ISSUE #8934] add header back after convert request to jsonBytes (#8935) 2022-08-30 10:27:33 +08:00
onewe
c505a3f1f5
set server.error.include-message to ALWAYS (#9045) 2022-08-30 10:21:29 +08:00
wuwen
aba8819bb6
Fix ServerListMgr is not shutdown. (#9048) 2022-08-30 10:20:15 +08:00