Commit Graph

4076 Commits

Author SHA1 Message Date
KomachiSion
79ef816277 Remove ConfigResourceParser.java 2022-01-21 16:47:51 +08:00
KomachiSion
232c667feb Remove NamingResourceParser.java 2022-01-21 16:44:44 +08:00
KomachiSion
135ab364fe Move client spi to nacos-auth-plugin module 2022-01-21 15:40:02 +08:00
KomachiSion
89cc6caade Add plugin and auth-plugin module, and move class into module. 2022-01-21 15:06:09 +08:00
KomachiSion
be9516d037 Remove AuthManager.java 2022-01-21 13:49:30 +08:00
KomachiSion
e606dd7333 Grpc request use new plugin. 2022-01-20 20:49:49 +08:00
KomachiSion
80a6821bb7 Http request use new plugin. 2022-01-20 17:59:05 +08:00
KomachiSion
88818d0816 Http request use new plugin. 2022-01-20 16:04:20 +08:00
KomachiSion
d2e11a3de7 Add new ProtocolAuthService to replace AuthManager. 2022-01-20 14:22:43 +08:00
KomachiSion
347494c380 Add MockAuthPluginService for unit test. 2022-01-20 14:05:14 +08:00
realJackSun
a19d3fd068
Change version to 2.0.4 (#7660) 2022-01-17 17:22:53 +08:00
KomachiSion
79e7a95e62 Add SignType 2022-01-17 17:15:42 +08:00
KomachiSion
3c9e83372c For checkstyle 2022-01-17 16:43:55 +08:00
KomachiSion
dc1c05d2dc Repackage some auth classes. 2022-01-17 16:32:23 +08:00
KomachiSion
7b7db3496b Do some refactor for IdentityContextBuilder 2022-01-17 16:17:23 +08:00
KomachiSion
956df153d6 Add resource parser 2022-01-14 16:52:21 +08:00
胡俊
b90051448f
[ISSUE#7519] Optimize configuration history deletion logic (#7531)
* remove config history .for#7519

* remove config history .for#7519

* remove config history .for#7519

* update style
2022-01-14 15:55:50 +08:00
Karson
cb6526c845
[ISSUE #7837] add expire checking for AutoExpireCache in common util. (#7392) 2022-01-14 15:52:16 +08:00
胡俊
6f5b03d73e
update log4j and protobuf-java version (#7630) 2022-01-14 15:46:42 +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
Catcher Wong
fdab51d663
[ISSUE # #7502] Fix ServiceList count (#7503) 2022-01-12 11:53:26 +08:00
WeizhanYun
61570e3f6d
移除无意义的判断条件. (#7592) 2022-01-12 11:51:32 +08:00
onewe
4d61cafee5
[ISSUE #7600] ignore log files at gitignore (#7601)
Close #7600
2022-01-12 11:45:36 +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
胡俊
7bb6cf2d13
[ISSUE#6999]Logback overrides the automatic refresh of application logback . issu… (#7596)
* Logback overrides the automatic refresh of application logback . issue #6999

* Logback overrides the automatic refresh of application logback . issue #6999
2022-01-11 16:58:06 +08:00
李晓双 Li Xiao Shuang
9898c0426d
Merge pull request #7608 from onewe/issues/7607
[ISSUE #7607] Clean test's files after run the FileKvStorageTest
2022-01-10 20:49:20 +08:00
onewe
0921a17336 [ISSUE #7607] Clean test's files after run the FileKvStorageTest
Close #7607
2022-01-10 16:04:48 +08:00
shunfan-shao
a36d96acc8
Use LinkedHashMap to preserve string order (#7296)
* Use LinkedHashMap to preserve string order

* fix similar test
2022-01-09 22:31:22 +08:00
Kealdish
2c5c85cccd
Add contribution description in README (#7409) 2022-01-09 22:29:18 +08:00
pengten
626f79ad51
Optimize code style and fix bugs (#7469) 2022-01-09 22:28:27 +08:00
李晓双 Li Xiao Shuang
27ed668695
Strengthen the code (#7511) 2022-01-07 18:09:55 +08:00
MajorHe1
c05f52ccb6
[ISSUE #7481] add user and role info to memory after db queried. (#7486) 2022-01-07 18:09:12 +08:00
胡俊
cdd83e2117
optimize NotifySubscriberRequest (#7545) 2022-01-07 18:08:22 +08:00
胡俊
fb43badea1
[ISSUE#7208] add InstanceControllerV2 (#7543)
* add InstanceControllerV2

* add InstanceControllerV2
2022-01-07 17:58:09 +08:00
李晓双 Li Xiao Shuang
25464ff7e8
Merge pull request #7578 from MiracleDx/develop
#7577 fix missing return keyword of request body validated
2022-01-07 16:31:14 +08:00
李晓双 Li Xiao Shuang
bc439a4593
Merge pull request #7559 from MajorHe1/fix_authFilter
[ISSUE #7558] add serverIdentity empty-judgement to avoid useless log…
2022-01-07 16:24:10 +08:00
李晓双 Li Xiao Shuang
5ddb35a129
Merge pull request #7564 from horizonzy/catch-exception-when-register-self
catch exception when register self to cluster.
2022-01-07 16:19:09 +08:00
dongx
0318d46c23 fix missing return keyword of request body validated 2022-01-07 15:44:53 +08:00
horizonzy
d203421a8d modify log level when expcetion occur. 2022-01-07 15:40:19 +08:00
胡俊
a17098df24
The configuration cannot be updated in the case of single core (#7561)
* The configuration cannot be updated in the case of single core

* client threadPool

* log

* update style
2022-01-06 16:16:56 +08:00
horizonzy
74345bb9c9 catch exception when register self to cluster. 2022-01-06 13:55:47 +08:00
MajorHe1
cab18a206f [ISSUE #7558] add serverIdentity empty-judgement to avoid useless log output 2022-01-05 20:48:18 +08:00
李晓双 Li Xiao Shuang
f5ef53ee2e
Merge pull request #7551 from KomachiSion/develop-issue#7550
[ISSUE#7550] Add judgement for is subscribe services.
2022-01-04 19:31:17 +08:00
KomachiSion
d3c76ceb0b Fix Unit test. 2022-01-04 18:04:17 +08:00
KomachiSion
351a290a25 Fix #7550, add judgement for is subscribe services. 2022-01-04 17:55:03 +08:00
李晓双 Li Xiao Shuang
b64e17a891
Merge pull request #7537 from hujun-w-2/feature_add_error_message
Add error information to facilitate troubleshooting
2022-01-01 14:22:00 +08:00
李晓双 Li Xiao Shuang
bebe2feec0
Merge pull request #7536 from hujun-w-2/optimize_surplus_judge
optimize judge
2022-01-01 14:13:39 +08:00