Commit Graph

4244 Commits

Author SHA1 Message Date
Daydreamer-ia
5ec1d1f8b5 Change the format of ability table key to string, less time for format conversion when saving. 2022-09-20 15:24:46 +08:00
Daydreamer-ia
5cbfc524a9 Client combine ability then return to server. 2022-09-19 21:44:22 +08:00
Daydreamer-ia
4cff58da13 Add capability table to RequestMeta. 2022-09-10 21:32:42 +08:00
Daydreamer-ia
c97aca3923 Remove unused code 2022-09-10 20:31:14 +08:00
Daydreamer-ia
8f14e63f0c Combine with current node abilities. 2022-09-10 20:20:09 +08:00
Daydreamer-ia
a8c3b847c0 Add the api to judge ability, add junit test. 2022-09-10 20:08:15 +08:00
Daydreamer-ia
2571bb6ca7 Combine junit test 2022-09-10 15:03:02 +08:00
Daydreamer-ia
12e447e690 Add the connection arg to ServerRequestHandler in order to get ability easily. 2022-09-10 14:46:30 +08:00
Daydreamer-ia
e3a3139c33 Save the ability table to Connection. 2022-09-10 13:53:48 +08:00
Daydreamer-ia
02bd4872ca Change the way to transport ability table. 2022-09-09 18:41:04 +08:00
Daydreamer-ia
afbfed2954 Remove the unused filed. 2022-09-08 18:34:03 +08:00
Daydreamer-ia
89b450537e Add the response to setup request. 2022-09-08 18:23:35 +08:00
Daydreamer-ia
eedb84f2a1 Send the newest abilities to client. 2022-09-05 16:22:42 +08:00
Daydreamer-ia
eb6ea55fef load server abilities from ServerAbilities if config doesn't define 2022-09-04 17:11:26 +08:00
Daydreamer-ia
fd6938566f Add junit test 2022-09-04 16:50:25 +08:00
Daydreamer-ia
6b2d3b1f3a Return nothing if existed connection from other cluster node doesn't support ability table. 2022-09-04 16:31:45 +08:00
Daydreamer-ia
138f0758eb Remove dead code. 2022-09-03 16:12:25 +08:00
Daydreamer-ia
eada63e8d0 Fix checkstyle and support server ability manager load config. 2022-09-03 16:01:24 +08:00
Daydreamer-ia
4de709cc0a Supports server change ability by editing config. 2022-09-03 14:27:41 +08:00
Daydreamer-ia
ac2523ab7d Add the priority to AbilityControlManager. 2022-09-03 14:11:55 +08:00
Daydreamer-ia
182b821938 Remove the component listening to cluster ability, disable the cluster capability table when the connected server does not support capability negotiation. 2022-09-02 21:56:03 +08:00
Daydreamer-ia
41d278d6f1 Add junit test 2022-09-01 20:31:48 +08:00
Daydreamer-ia
8143608e7d Merge branch 'asoc2022_issue#8458' of https://github.com/Daydreamer-ia/nacos into asoc2022_issue#8458 2022-09-01 19:36:41 +08:00
Daydreamer-ia
118cde52e7 Separate client capability and server capability: ClientAbilities and ServerAbilities. 2022-09-01 19:33:08 +08:00
Daydreamer-ia
6273cce1df Separate client capability and server capability: ClientAbilities and ServerAbilities. 2022-09-01 17:42:01 +08:00
Daydreamer-ia
37cf6c47d8 Fix checkstyle. 2022-09-01 12:33:34 +08:00
Daydreamer-ia
dd6c565e65 Fix note 2022-08-31 21:26:13 +08:00
Daydreamer-ia
22ace653fc The abilities of stock connection abilities remains unchanged and the abilities of incremental connection changes. 2022-08-31 21:22:24 +08:00
Daydreamer-ia
4560d88327 Tell unknown if it cannot find AbilityTable. 2022-08-31 19:05:00 +08:00
Daydreamer-ia
92add6e833 Separate client capability and server capability: ClientAbilities and ServerAbilities. 2022-08-31 16:59:43 +08:00
Daydreamer-ia
a47f052c90 Remove the AbilityHandlePreProcessor and AbilityStatus. Change the way to get or remove AbilityTable for RpcClient. 2022-08-30 21:36:24 +08:00
Daydreamer-ia
de9e113e24 Fix checkstyle 2022-08-28 19:10:55 +08:00
Daydreamer-ia
679b0e0184 Example for new ability. 2022-08-28 18:48:48 +08:00
Daydreamer-ia
26bbc5780b Adapt and replace old version ability api. 2022-08-28 18:45:56 +08:00
Daydreamer-ia
838c3d0ded Adapt the support of new ability control. 2022-08-28 18:20:35 +08:00
Daydreamer-ia
ce4fb189b8 Fix the bug that cannot load AbilityControlManager. 2022-08-28 18:08:29 +08:00
Daydreamer-ia
613335e763 Add the junit test for AbilityControlManager. 2022-08-28 17:42:45 +08:00
Daydreamer-ia
4275358975 Add the default implements for client and server. 2022-08-28 17:40:08 +08:00
Daydreamer-ia
4098297e51 Add the base implements for ability control. 2022-08-28 17:38:08 +08:00
Daydreamer-ia
a15ef8eb3a Add the base interface and entity for ability control. 2022-08-28 17:35:39 +08:00
Weizhan Yun
0ac96e1602
[ISSUE #9014] performance optimization--refacte TpsMonitorPoint (#9021)
* performance optimization

* fix check style

* fix test unit

* fix test unit for `getTimeFormatOfSecond` method.

* fix unit test  for LimiterTest.

* fix error usage case for asserEquals method;eliminate interactions between test methods
2022-08-26 09:57:34 +08:00
yjqg6666
cb3c78b93b
[#344] rename initialization sql files (#8969) 2022-08-25 16:54:18 +08:00
杨翊 SionYang
f1c95a8fb4
Fix grpc push data not filter by cluster. (#9019) 2022-08-24 09:56:37 +08:00
chenhao26
3c8c6a7a14
add some utils UT (#9006)
add some utils UT
2022-08-22 15:43:22 +08:00
刘邵宇 ShaoyuLiu
3f75b3a2c5
[ISSUE #8993]Close input stream and output stream by try with resource[nacos-common] (#8997)
* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]

* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]

* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]
2022-08-22 09:40:53 +08:00
Karson
3839cdc307
add unit test for ReflectUtils (#8999)
* add unit test for ReflectUtils

* reformat code
2022-08-22 09:38:01 +08:00
chenhao26
bdf9d04ead
remove namespaceShowName uniqueness check (#8989) 2022-08-18 11:11:52 +08:00
chenhao26
87d9efde2d
add some auth plugin test (#8988)
* add some auth plugin test

* ru ci
2022-08-18 09:29:46 +08:00
chenhao26
db72e4f9c1
fix LookupFactoryTest ut / ci (#8985)
* fix ci

* run ci

* check cla report

* check style
2022-08-17 20:39:42 +08:00
shiherua
ec134a3bc4
Improve code specifications. (#8965)
Flip the call to equals method to avoid null pointer exception.
2022-08-17 14:11:29 +08:00