Commit Graph

3951 Commits

Author SHA1 Message Date
chenhao26
4ceafbeb59
add junit for InstanceUtilTest and ServiceUtilTest (#7909) 2022-03-08 20:16:44 +08:00
胡俊
fdf90133a2
[ISSUE#7886]Feature package scan (#7895)
* for #7886

* nacos style

* nacos style

* code style

* .

* scan nacos style

* class reader

* class reader

* class reader

* class reader

* add comment

* update dependency

* update dependency

* rat update
check style update

* package change

* pdm exclude

* pdm update

* comment

* comment

* change pkg  final

* code structure update

* code style

* code style update
2022-03-08 20:11:21 +08:00
李晓双 Li Xiao Shuang
5119228bc8
Merge pull request #7905 from realJackSun/fix_7904
[#7904] Bad smell code in ClientWorker.java
2022-03-08 11:16:49 +08:00
realJackSun
a4ce82221f [#7904] Bad smell code in ClientWorker.java 2022-03-08 10:43:50 +08:00
onewe
eaa0efd976
[ISSUE#7902] Optimize some codes for ServerLoaderController (#7903)
- some type arguments are replaced with <>
- field injection is replaced with constructor injection
- set hash map default initialCapacity
- sdkConCount string variable change to constants

Close #7902
2022-03-07 19:58:32 +08:00
onewe
8098de7baf
[Optimize] use template patten to refactor AbstractMemberLookup#destroy method (#7880)
- add doDestroy method
- refactor destroy method for other subclass of AbstractMemberLookup
2022-03-04 17:59:51 +08:00
chenhao26
9543b6b613
add junit test for RpcConfigChangeNotifier (#7884) 2022-03-04 16:22:19 +08:00
胡俊
e3d239e9b9
Payload registry test (#7885)
* add ConfigPublishGroupKeyParserTest

* PayloadRegistryTest
2022-03-04 16:21:52 +08:00
杨翊 SionYang
47506c57ab
[ISSUE#5696] Secured annotation add tags field. (#7878)
* Add tags in Secured and inject tags into resource properties.

* For checkstyle.
2022-03-03 15:20:27 +08:00
胡俊
3dddb75fed
optimization append (#7798) 2022-03-03 15:03:33 +08:00
胡俊
f8e83e4a12
[ISSUE#5092]Config change batch listen request handler test (#7800)
* add ConfigChangeBatchListenRequestHandlerTest

* style

* style
2022-03-03 13:59:50 +08:00
MajorHe1
47f0c36235
[ISSUE #5092] add unit test for ExternalDataSourceServiceImpl (#7834)
* [ISSUE #5092] add unit test for ExternalDataSourceServiceImpl

* [ISSUE #5092] delete line about ExternalDataSourceServiceImplTest to make ci re-run
2022-03-03 13:59:19 +08:00
MajorHe1
29bb690abc
[ISSUE #5092] add test for LocalDataSourceServiceImpl (#7835)
* [ISSUE #5092] add test for LocalDataSourceServiceImpl

* [ISSUE #5092] delete line about LocalDataSourceServiceImpl to test cla check
2022-03-03 13:59:04 +08:00
胡俊
f8cc85d6a8
add ConfigChangeListenContextTest (#7847) 2022-03-03 13:58:29 +08:00
胡俊
1ecdee3a26
add InternalConfigChangeNotifierTest (#7852) 2022-03-03 13:58:09 +08:00
胡俊
5d03898049
add DistroClientComponentRegistryTest (#7855) 2022-03-03 13:51:41 +08:00
李晓双 Li Xiao Shuang
21c48dd0cf
Merge pull request #7848 from hujun-w-2/add_ConfigQueryGroupParserTest
[ISSUE#5092]ConfigQueryGroupParserTest
2022-03-02 15:04:33 +08:00
李晓双 Li Xiao Shuang
81d1dc7d6e
Merge pull request #7849 from hujun-w-2/ConfigPublishGroupParserTest
[ISSUE#5092]ConfigPublishGroupParserTest
2022-03-02 15:01:20 +08:00
李晓双 Li Xiao Shuang
c34fc09b2a
Merge pull request #7851 from hujun-w-2/ConfigRemoveRequestHandlerTest
[ISSUE#5092]add ConfigRemoveRequestHandlerTest
2022-03-01 10:05:06 +08:00
李晓双 Li Xiao Shuang
bcd9603b06
Merge pull request #7850 from hujun-w-2/ConfigQueryGroupKeyParserTest
[ISSUE#5092]add ConfigQueryGroupKeyParserTest
2022-03-01 10:04:04 +08:00
hujun3
3e1f00362c add ConfigRemoveRequestHandlerTest 2022-02-26 14:28:46 +08:00
hujun3
b553dac47e add ConfigRemoveRequestHandlerTest 2022-02-26 14:25:19 +08:00
hujun3
d4c499aec5 add ConfigQueryGroupKeyParserTest 2022-02-26 13:35:35 +08:00
hujun3
9c805fd4f3 ConfigPublishGroupParserTest 2022-02-26 13:30:04 +08:00
hujun3
92964a66db ConfigQueryGroupParserTest 2022-02-26 13:21:50 +08:00
chenhao26
1caba326e9
删除PayloadRegistry register方法中无效的逻辑判断 (#7839) 2022-02-25 14:11:00 +08:00
李晓双 Li Xiao Shuang
ddd911f5fd
Merge pull request #7838 from Chaos-coder/clean_redundant_code_StorageFactory
删除StorageFactory类冗余代码
2022-02-25 11:11:38 +08:00
chaos
d83019cf59 删除冗余代码 2022-02-25 10:46:03 +08:00
MajorHe1
c5c72ab874
[ISSUE #5092] add unit test for TenantCapacityPersistService (#7826) 2022-02-24 14:22:11 +08:00
李晓双 Li Xiao Shuang
5f77ba60f3
Merge pull request #7827 from MajorHe1/add_test_for_DynamicDataSource
[ISSUE #5092] add unit test for DynamicDataSourceTest
2022-02-23 22:32:52 +08:00
MajorHe1
4a3dec75f4 [ISSUE #5092] add unit test for DynamicDataSourceTest 2022-02-23 20:58:12 +08:00
胡俊
bcf2951ac1
fix his_config query (#7763) 2022-02-23 16:48:56 +08:00
MajorHe1
46cb3c8d6e
[ISSUE #5092] add unit test for GroupCapacityPersistService (#7819) 2022-02-23 09:45:43 +08:00
胡俊
b695036c88
add ConfigPublishGroupKeyParserTest (#7820) 2022-02-23 09:44:54 +08:00
李晓双 Li Xiao Shuang
494f606f3e
Merge pull request #7817 from hujun-w-2/ConfigChangeClusterSyncRequestHandlerTest
[ISSUE #5092]Config change cluster sync request handler test
2022-02-22 20:58:50 +08:00
hujun3
1805793261 add ConfigChangeClusterSyncRequestHandlerTest 2022-02-22 20:22:49 +08:00
hujun3
f8e2e87b58 add ConfigChangeClusterSyncRequestHandlerTest 2022-02-22 20:21:37 +08:00
MajorHe1
ade162c4be
[ISSUE #7593] judge whether file exists in disk (#7677) 2022-02-21 18:33:16 +08:00
Martin Grigorov
e24a80d61c
Build and test on Linux ARM64 at TravisCI (#7777)
Update Grpc to 1.26.0. This is the first version with aarch_64 support
in protoc-gen-grpc-java
(https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/1.26.0/)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2022-02-21 17:10:00 +08:00
杨翊 SionYang
72ce3e0884
[ISSUE#7757] Fix jraft read request deserialize to write request problem. (#7797)
* Fix jraft read request deserialize to write request problem.

* For checkstyle.
2022-02-21 16:17:09 +08:00
MajorHe1
1c5cf5ee9a
[ISSUE #7621] Add hasChange judgement in ServerMemberManager to avoid useless nacos-cluster log output (#7622)
* [ISSUE #7621] Add hasChange judgement in ServerMemberManager to avoid useless nacos-cluster log output

* [ISSUE #7621] judge whether Loggers.CLUSTER is debug enabled.
2022-02-21 16:08:55 +08:00
zrlw
5df5baf491
log what causes I/O reactor status to STOPPED (#7723) 2022-02-21 15:47:27 +08:00
WeizhanYun
5dc58f8d14
update protobuf-maven-plugin version to 0.6.1(the same as module 'istio' (#7759) 2022-02-21 11:21:34 +08:00
胡俊
9a26a65bc5
[ISSUE#7738]Client code should use enabled to pass parameters (#7756)
* use enabled

* add var
2022-02-16 10:25:46 +08:00
李晓双 Li Xiao Shuang
ede1df62e3
Merge pull request #7771 from KomachiSion/develop#5696
[ISSUE#5696]Auth plugin add enableAuth method to switch auth more precisely.
2022-02-15 16:23:51 +08:00
KomachiSion
5931ded303 Remove unused mock in unit test. 2022-02-15 14:29:41 +08:00
KomachiSion
eeb5268282 auth plugin add enableAuth method to switch auth more precisely. 2022-02-15 14:21:31 +08:00
杨翊 SionYang
1c3656a1b0
[ISSUE#5696] Keep original resource parse result rather than use any replace when … (#7764)
* Keep original resource parse result rathar than use any replace when resource is empty.

* Identity Builder for http will be case-insensitive.

* For checkstyle.
2022-02-15 10:21:55 +08:00
杨翊 SionYang
64dcc0ed0a
[ISSUE#5696] IdentityContext build from resource and remote ip. (#7745)
* validateIdentity add Resource input for extension.

* IdentityContext parse remoteIp.
2022-02-09 17:57:39 +08:00
李晓双 Li Xiao Shuang
080f1ff592
Merge pull request #7743 from Chaos-coder/code_optimization_config_controller
删除ConfigController类冗余代码
2022-02-09 16:47:06 +08:00