Commit Graph

662 Commits

Author SHA1 Message Date
KomachiSion
79e7a95e62 Add SignType 2022-01-17 17:15:42 +08:00
KomachiSion
dc1c05d2dc Repackage some auth classes. 2022-01-17 16:32:23 +08:00
KomachiSion
956df153d6 Add resource parser 2022-01-14 16:52:21 +08:00
KomachiSion
4e98013f8e Solve conflicts. 2022-01-12 17:02:20 +08:00
KomachiSion
78de31dbdd Merge remote-tracking branch 'upstream/develop' into issue#5696-merge-develop
# Conflicts:
#	auth/src/main/java/com/alibaba/nacos/auth/common/AuthConfigs.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
#	client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingMaintainService.java
#	client/src/main/java/com/alibaba/nacos/client/naming/remote/AbstractNamingClientProxy.java
#	client/src/main/java/com/alibaba/nacos/client/naming/remote/NamingClientProxyDelegate.java
#	client/src/test/java/com/alibaba/nacos/client/naming/remote/AbstractNamingClientProxyTest.java
2022-01-12 16:52:14 +08:00
杨翊 SionYang
b7910a6219
[ISSUE#5696] revert nacos server plugin implementation moved operation (#7636)
* Revert "[ISSUE#5696] Fix auth server type (#7004)"

This reverts commit e3b7f0e7

* Revert "add derby database (#6996)"

This reverts commit fea9d727

* Revert "Add MySQL DataBase (#6968)"

This reverts commit 3c0508d2

* Revert "[ISSUE #5696] Add auth server implement (#6901)"

This reverts commit 76ac8434

* Move JwtAuthenticationTokenFilter to security package.

* refactor constants about auth.
2022-01-12 16:45:18 +08:00
onewe
825227ff49
[ISSUE #7623] Optimize the AggrWhitelistTest (#7624)
* [ISSUE #7623] Optimize the AggrWhitelistTest

Close #7623

* [ISSUE #7623] Remove unnecessary code
2022-01-12 11:14:35 +08:00
onewe
a6e74dd06a
[ISSUE #7627] Remove unnecessary Service annotation (#7628) 2022-01-12 11:12:59 +08:00
李晓双 Li Xiao Shuang
27ed668695
Strengthen the code (#7511) 2022-01-07 18:09:55 +08:00
guozhongkui
fd01d3614d
Update TraceLogUtilTest.java 2021-12-23 10:54:06 +08:00
guozhongkui
3975975c21 [ISSUE #5092] add unit test for TraceLogUtilTest in util 2021-12-23 10:16:45 +08:00
李晓双 Li Xiao Shuang
79ca04a737
Merge pull request #7369 from MajorHe1/add_unit_test_for_util_phase8
[ISSUE #5092] add unit test for SystemConfig/TimeoutUtils/UrlAnalysis…
2021-12-22 15:40:47 +08:00
MajorHe1
9c5307a99c [ISSUE #5092] update unit test for TimeUtils in util. 2021-12-22 14:59:05 +08:00
李晓双 Li Xiao Shuang
701f3fd93d
Merge pull request #7381 from MajorHe1/add_unit_test_for_util_phase9
[ISSUE #5092] add unit test for ConfigExecutor in util.
2021-12-22 11:47:19 +08:00
李晓双 Li Xiao Shuang
a2c807e5ce
Merge pull request #7370 from onewe/unittest/MD5UtilTest#getClientMd5Map
[ISSUE #5092] add unit test for the MD5UtilTest#getClientMd5Map
2021-12-22 11:20:27 +08:00
李晓双 Li Xiao Shuang
3eb168c6aa
Merge pull request #7365 from MajorHe1/add_unti_test_for_util_phase6
[ISSUE #5092] add unit test for SimpleCache/SimpleFlowData/SimpleIpFl…
2021-12-22 11:16:56 +08:00
MajorHe1
e5da9be27f
[ISSUE #5092] add unit test for Request/Response/RegexParser in util (#7350) 2021-12-21 12:50:37 +08:00
MajorHe1
f3e8d22b54
[ISSUE #5092] add unit test for CapacityService in service. (#7430) 2021-12-21 12:50:02 +08:00
MajorHe1
2b8f18a112
[ISSUE #5092] add unit test for SimpleReadWriteLock in util, add zero judgement when release read lock. (#7366) 2021-12-21 12:49:39 +08:00
MajorHe1
37cb76433a [ISSUE #5092] add unit test for ConfigExecutor in util. 2021-12-08 15:34:24 +08:00
onewe
9814bac80f [ISSUE #5092] add unit test for the MD5UtilTest#getClientMd5Map 2021-12-07 09:09:28 +08:00
MajorHe1
de46f8045f [ISSUE #5092] add unit test for SystemConfig/TimeoutUtils/UrlAnalysisUtils/ZipUtils in util. 2021-12-06 21:51:33 +08:00
MajorHe1
dd51e9b4b1 [ISSUE #5092] add unit test for SimpleCache/SimpleFlowData/SimpleIpFlowData in util 2021-12-06 16:18:11 +08:00
hujun
972e18fe0f Add unit tests for class ConfigPublishRequestHandlerTest in nacos 2.0 2021-12-05 16:14:20 +08:00
hujun
e93f97fd17 Add unit tests for class ConfigQueryRequestHandler in nacos 2.0 2021-12-05 00:04:59 +08:00
hujun
ce3edbc098 Add unit tests for class ConfigQueryRequestHandler in nacos 2.0 2021-12-04 23:55:46 +08:00
hujun
2d02118391 Add unit tests for class ConfigQueryRequestHandler in nacos 2.0 2021-12-04 23:52:37 +08:00
hujun
d0fee765d5 Add unit tests for class ConfigQueryRequestHandler in nacos 2.0 2021-12-04 23:51:42 +08:00
hujun
b6a733f6ce Add unit tests for class ConfigQueryRequestHandler in nacos 2.0 2021-12-04 23:34:55 +08:00
hujun
1665f3ee6e Add unit tests for class ConfigQueryRequestHandler in nacos 2.0 2021-12-04 19:58:56 +08:00
hujun
f5ad8c83ca Add unit tests for class ConfigQueryRequestHandler in nacos 2.0 2021-12-04 19:18:46 +08:00
MajorHe1
7123fedcd6
[ISSUE #5092] format unit test for utils about param\property\protocol in nacos-config (#7278) 2021-11-29 10:06:57 +08:00
MajorHe1
a0543adafc
[ISSUE #5092] add unit test for utils in nacos-config (#7251) 2021-11-24 11:19:33 +08:00
rui.zhang
d05dff5139
fix: 在请求中保存用户信息到 httpsession 修复issue:#7141 (#7252) 2021-11-24 11:18:50 +08:00
MajorHe1
33427e83bf
[ISSUE #5092] add unit test for DiskUtils in nacos-config (#7263) 2021-11-24 11:07:32 +08:00
MajorHe1
6743fe6931
[ISSUE #5092] add unit test for utils about group\log\MD5 in nacos-co… (#7271)
* [ISSUE #5092] add unit test for utils about group\log\MD5 in nacos-config

* [ISSUE #5092] format unit test for utils about group\log\MD5 in nacos-config
2021-11-24 11:06:48 +08:00
MajorHe1
21ebf4c8ee
[ISSUE #5092] uniform name of HealthController to HealthControllerTest in nacos-config (#7201) 2021-11-16 11:23:36 +08:00
MajorHe1
604034d4d8
[ISSUE #5092] add unit test for ConfigServletInner in nacos-config (#7206)
* [ISSUE #5092] add unit test for ConfigServletInner in nacos-config

* [ISSUE #5092] update ConfigServletInnerTest in nacos-config
2021-11-16 11:16:32 +08:00
MajorHe1
9e1b094985
[ISSUE #5092] add unit tests for ConfigOpsController in nacos-config (#7198) 2021-11-12 10:55:38 +08:00
MajorHe1
4fdba5f902
[ISSUE #5092] add unit tests for HistoryController in nacos-config (#7199) 2021-11-12 10:55:24 +08:00
MajorHe1
8016eb7003
[ISSUE #5092] add unit tests for ListenerController in nacos-config (#7200) 2021-11-12 10:55:09 +08:00
MajorHe1
cc568a6ee9
[ISSUE #5092] add unit tests for ConfigController in nacos-config (#7186) 2021-11-08 09:52:52 +08:00
onewe
ef5bb0a83d
[ISSUE #7114] Enhance the constants for auth module. (#7170)
- Create a Constants.java
- Move all the string literal to the Constants.java
- Delete the PropertiesConstant.java
2021-11-04 09:57:17 +08:00
MajorHe1
d6b18120d2
[ISSUE #5092] add unit tests for CapacityController in nacos-config (#7140) 2021-11-03 10:21:58 +08:00
MajorHe1
e6ebad22d9
[ISSUE #5092] add unit tests for ClientMetricsController in nacos-config (#7143) 2021-11-03 10:21:27 +08:00
MajorHe1
093534c492
[ISSUE #5092] add unit tests for CommunicationController in nacos-config (#7144) 2021-11-03 10:21:09 +08:00
MajorHe1
70f7c5674e
[ISSUE #5092] add unit tests for configuration in nacos-config (#7135) 2021-10-28 10:13:31 +08:00
MajorHe1
ca1dfa0c94
[ISSUE #5092] add unit tests for constant in nacos-config (#7133)
* [ISSUE #5092] add unit tests for constant in nacos-config

* [ISSUE #5092] add license for CounterModeTest.java
2021-10-28 10:13:09 +08:00
Wuyunfan-BUPT
e3b7f0e79f
[ISSUE#5696] Fix auth server type (#7004)
* Add MySQL DataBase

* Add Derby Database

* Replace Auth Server

* Revise: change to AuthSystemType
2021-09-28 19:30:20 +08:00
孙继峰
c61440f32c
fix unit test fail (#6958) 2021-09-23 09:58:38 +08:00