Commit Graph

567 Commits

Author SHA1 Message Date
yanhom
d89076b3e6
Support for ibm J9 (#8325)
* support for ibm J9

* format code, add newline at end of file

* format code

* use nacos code style format codes
2022-05-13 11:03:01 +08:00
onewe
8980a960aa
[ISSUE #7487] Add generics for the CacheBuilder. (#7490) 2022-04-27 13:52:49 +08:00
Cherish 蔡
b718cbf8f2
feat(#5346): reset raft cluster ops for no leader, use JRaft Api resetPeers. (#8220) 2022-04-22 16:49:16 +08:00
onewe
19185cb338
[ISSUE #8161] Icon-font-path and font-custom-path use relative path instead of absolute path (#8172)
- banner.txt use `server.servlet.contextPath` instead of nacos

Close #8161
2022-04-18 11:27:39 +08:00
Cherish 蔡
b9dfe3ff9b
V2.x fix(#6273): server/leave, add end conditions for cluster notifications. (#8133)
* fix(#6273): server/leave, add end conditions for cluster notifications.

* fix(#6273): server/leave, add end conditions for cluster notifications.
2022-04-13 10:25:31 +08:00
onewe
d789114cfc
[ISSUE #8092] Destroy the thread pool of TpsMonitorManager when the nacos is shutting down (#8105)
- add destroy method

Close #8092
2022-04-11 10:25:32 +08:00
onewe
8292d9e16c
[ISSUE #7999] Fix config that can't read environment args (#8055)
- add unit test
- resetConfig method move to subclass's constructor
2022-04-07 10:20:13 +08:00
chaos
13719df7a0 Improve the code readability of TimerContext replace if with switch case 2022-03-29 09:36:05 +08:00
MajorHe1
5665cfe072
[ISSUE #7966] modify returned msg in Auth/Distro/Curcuit-Filter when internal server error (#7967)
* [ISSUE #7966] modify returned msg in Auth/Distro/Curcuit-Filter when internal server error

* [ISSUE #7966] add log output instead of return stacktrace
2022-03-28 10:22:55 +08:00
chenhao26
b4cc3fcddb
Optimize HTTP constants (#7998)
* Optimize HTTP constants

* check nacos style

* check nacos style2

* check nacos style3

* deleet Unused constants in UtilAndComs
2022-03-25 16:05:42 +08:00
赵延
cc549cbac7
follower state machine ignore read operation. (#7989) 2022-03-25 15:07:42 +08:00
Pixy Yuan
2d0a8add41
Support cluster grpc client to set pool size (#7993)
* [ISSUE #7992] Support ThreadUtils preset processors count by property or env.

* [ISSUE #7992] Add thread pool params for cluster grpc client.
2022-03-25 15:04:12 +08:00
胡俊
2e07c6a0c1
Package scan (#7917)
* PayloadRegistry update use spi

* PayloadRegistry update use spi

* PayloadRegistry update use spi

* PayloadRegistry update use spi

* add test

* update comment

* remove code
rename code
2022-03-11 15:50:44 +08:00
zrlw
94f894fb80
[develop] add request type field at the head of task data, exchange parse order between Log and GetRequest (#7871)
* add request type field and exchange Log and GetRequest parse order

* add unit test
2022-03-10 09:54:22 +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
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
chaos
d83019cf59 删除冗余代码 2022-02-25 10:46:03 +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
KomachiSion
eeb5268282 auth plugin add enableAuth method to switch auth more precisely. 2022-02-15 14:21:31 +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
Steafan Zhou
ee26380692
Develop issue#7224 (#7318)
* For #4092,Fix the problem.

* For #7224,Fix the problem.

* For #7224,Fix the problem.
2022-02-09 10:50:38 +08:00
KomachiSion
aba0facf90 Move user to nacos-plugin-default-impl module. 2022-01-26 10:05:39 +08:00
KomachiSion
6a4ecc1323 Move default auth impl from console to nacos-plugin-default-impl module. 2022-01-24 17:47:54 +08:00
KomachiSion
32d7ce3b66 Repackage some class 2022-01-24 15:35:45 +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
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
onewe
0921a17336 [ISSUE #7607] Clean test's files after run the FileKvStorageTest
Close #7607
2022-01-10 16:04:48 +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
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
程露
cd469ca1b0
Merge pull request #7507 from li-xiao-shuang/feature_fix_1
Unnecessary 'toString()' call
2021-12-27 16:52:26 +08:00
lixiaoshuang
168b0b4416 Strengthen the code 2021-12-27 14:36:56 +08:00
lixiaoshuang
8bf430ac70 Unnecessary 'toString()' call 2021-12-27 13:05:37 +08:00
YunWZ
f30e69e9d5 Remove meaningless parentheses #7474 2021-12-21 23:53:38 +08:00
onewe
408c77ed68
Typo in word 'accetor' (#7273)
Close #7249
2021-11-24 11:06:26 +08:00
soulerror
921b0072d7
fix a wrong code annotation in com.alibaba.nacos.core.remote.ConnectionMeta (#7223) 2021-11-16 11:16:05 +08:00
onewe
e1487164ff
Ignore the WebServerInitializedEvent if the name space of the spring context is management (#7236)
Close#7230
2021-11-16 11:13:11 +08:00
吴治国
87ddbeff90
[ISSUE #6970] Add rest api v2 in core module (#7085)
* Add rest api v2 in core module

* merge cluster listNodes methods

* ut

* add beta annotation
2021-11-10 14:11:40 +08:00
赵延
1778a84964
Fix PushAckRequest mismatch problem. (#7179)
* fix PushAckRequest mismatch problem.

* add doc.

* add doc.
2021-11-08 10:23:14 +08:00