Commit Graph

4774 Commits

Author SHA1 Message Date
Daydreamer-ia
6bce3bda7b add AbilityPostProcessor param to know abilities init detail, sdk client, server or cluster client 2023-09-25 14:44:47 +08:00
Daydreamer-ia
41a3f13a66 remove HandlerMapping.java and ability change call back 2023-09-25 14:33:20 +08:00
Daydreamer-ia
c565a2bdd5 extern abilities spi processor, refactor AbilityKey. 2023-09-25 14:17:18 +08:00
Daydreamer-ia
e5f54badb3 remove connectionId in SetupAckRequest, expose timeout param for capability negotiation, add uncommitted file 2023-09-24 22:14:06 +08:00
Daydreamer-ia
fc8549dc8f Merge remote-tracking branch 'origin/develop' into asoc2022_issue#8458
# Conflicts:
#	client/src/test/java/com/alibaba/nacos/client/naming/remote/gprc/redo/NamingGrpcRedoServiceTest.java
#	common/src/main/java/com/alibaba/nacos/common/remote/client/grpc/GrpcClient.java
2023-09-24 15:18:17 +08:00
杨翊 SionYang
51b6a443d3
Refactor control plugin (#11174)
* Refactor control plugin and add default implementation.

* Move auth default plugin into other modules.

* Fix control plugin config not effect problem.

* Fix UT error.
2023-09-22 16:59:25 +08:00
贾璞
a9d303cbe3
[#11035] (PR-4/4) config module, alternate string method. (#11155) 2023-09-22 13:50:30 +08:00
黄科铭
f79868f1cc
Fix issues #10973 支持后台分页查询用户 (#11102)
* PaginationHelper.fetchPage方法增加分页判断

* 处理魔法值的问题
2023-09-22 12:01:05 +08:00
杨翊 SionYang
0c44dce0cc
Refactor control plugin (#11169)
* Refactor control plugin.

* For checkstyle.
2023-09-21 13:47:28 +08:00
杨翊 SionYang
a84373644f
Enhance config service address mode start judgement. (#11160) 2023-09-20 18:02:36 +08:00
XS
84b3afcfca
#11129 ⚰ Remove the namespace information from the node list page, as the no… (#11130)
* ⚰ Remove the namespace information from the node list page, as the node list has nothing to do with namespaces and should not display namespace information
⚰ configurationManagement8: 'Configuration Management',case sensitive

* 🐛 Fix, when adding configurations using the default public namespace, the namespace is shown as empty or nodefine

* #Configuration list page
- PageTitle is added to show the description, if there is no description, it will show the name, hide the namespace ID, and keep the function of namespace ID copying.
- Removed the Create New Configuration function from the right + icon and replaced it with the Create Configuration button on the left.
- Multi-language configuration fixes and adds new hints

* #Cluster list, namespace list, service list, list of listeners, version history
- Unified the style of all right-side buttons to the left side.
- Namespaces are now displayed in a unified style.

* #PageTitle, Copy, NameSpace
- Optimization of basic components, added Chinese and English information, namespace description presentation and other functions
2023-09-19 16:13:50 +08:00
贾璞
4e3d0c9568
[ISSUE#11035](PR-3/4) api module, remove unused import. (#11099)
* [ISSUE#11035] (PR-3/4) api module, remove unused import.

* [ISSUE #11035] (PR-3/4) api module, remove unused import.
2023-09-14 09:42:43 +08:00
贾璞
7b2f7aa92a
[ISSUE#11035](PR-2/4) add two string methods & avoid null pointer ... (#11065)
* [#11035] (PR-2/4) add two String methods...

* [ISSUE#10908] edit test case, add blank line

* [ISSUE#11035] restore a method
2023-09-14 09:42:03 +08:00
MajorHe1
8c9934bf06
Update ConfigController.java, add srcUser when delete config by ids (#11101) 2023-09-14 09:39:53 +08:00
阿魁
5c8def0d25
[ISSUE #11072]Enhance unit tests related to trace events. (#11105) 2023-09-14 09:38:48 +08:00
阿魁
a170489667
Fix RPC_CLIENT_TLS_PROTOCOLS setting error. (#11109) 2023-09-14 09:37:38 +08:00
阿魁
d3e099b0db
[ISSUE #11125]The related configurations of NamingGrpcRedoService sup… (#11126)
* [ISSUE #11125]The related configurations of NamingGrpcRedoService support configurability.

* [ISSUE #11125]Name adjustment.
2023-09-14 09:36:10 +08:00
Guangdong Liu
279e488e03
[Refactor]Remove unnecessary judgment (#11019)
* remove unnecessary judgment

* remove unnecessary judgment
2023-09-06 17:10:09 +08:00
Guangdong Liu
27216603c2
(bugfix) check null when obtaining the RpcClient. (#11042)
* fix-11028

* fix-11028

* fix-11028
2023-09-06 17:08:22 +08:00
Guangdong Liu
35bc0373a5
fix CVE-2023-34034 (#11041) 2023-09-06 17:08:03 +08:00
Guangdong Liu
0de88379bc
Remove some unnecessary code (#11043) 2023-09-06 17:07:27 +08:00
阿魁
02fcbb0915
[ISSUE #11057]Add update instance and update service trace event for naming. (#11069)
* [ISSUE #11057]Add update instance and update service trace event for naming.

* [ISSUE #11057]Add license.

* [ISSUE #11057]Remove unused imports.

* [ISSUE #11057]Improve the logic.

* [ISSUE #11057]Fix checkStyle.

* [ISSUE #11057]Perfect unit test.

* [ISSUE #11057]Improve the logic.

* [ISSUE #11057]Improve the logic.

* [ISSUE #11057]UpdateInstanceTraceEvent add metadata.

* [ISSUE #11057]UpdateServiceTraceEvent.java add metadata.
2023-09-06 17:01:16 +08:00
blake.qiu
52a4666c94
fix(11083): Standardize the naming of the ServerlistChangeEvent class. (#11084) 2023-09-06 16:47:40 +08:00
qq635840580
e7eb7f430d
update consoleEnanle UI (#11086)
* feat:console&login demand

* update consoleEnanle UI

Signed-off-by: 28721006 <635840580@qq.com>

---------

Signed-off-by: 28721006 <635840580@qq.com>
2023-09-04 19:07:11 +08:00
Sunrisea
828acd3b2b
For #10734,补全参数检验日志记录,将返回的状态码修改为400 (#11073) 2023-09-01 11:41:23 +08:00
brother-戎
ca34694f2b
fixup derby test case (#11064)
* fixup derby test case

* tiny fix
2023-09-01 09:32:08 +08:00
blake.qiu
84951e9c79
feat(#10963): In CacheItem, it's better to use the private and final keywords to modify the member variable rwLock. (#10964) 2023-08-31 15:38:42 +08:00
blake.qiu
46bee904dc
fix(#10980): After connectionIds.remove(connectionId) is executed, if connectionsIds is empty, clear the k-v corresponding to groupKeyContext. (#10981) 2023-08-31 13:46:33 +08:00
blake.qiu
595c07388f
fix(#10945): Remove invalid code in the LongPollingService class. (#10946) 2023-08-31 13:42:54 +08:00
blake.qiu
5c1e80d938
fix(#10940): The SQL statement should query the 'gmt_modified' field. (#10941) 2023-08-31 13:41:53 +08:00
brother-戎
b3b74b7219
[ISSUE#10908] Fix Bean injection in class of ConfigCacheService (#10929)
* fix:
1. derby syntax error
2. IllegalArgumentException:RowMapper is required
3. bean injection in Class of ConfigCacheService

* remove @Autowared

* recover properties
2023-08-31 13:40:20 +08:00
杨翊 SionYang
69e95fdcb3
Fix Batch register count size wrong, when batch register sereval time. (#11058) 2023-08-31 13:38:43 +08:00
xiezheng-XD
07232e96bb
Update shutdown.cmd (#11049) 2023-08-31 10:53:21 +08:00
贾璞
937dbd59a2
[#11035] (PR-1/4) core module, trim (#11055) 2023-08-31 10:43:43 +08:00
qq635840580
e4190a8c86
feat:console&login demand (#11045) 2023-08-30 15:21:15 +08:00
xYohn
2428a503e4
#10930 forward compatible old version secretKey (#10931) 2023-08-29 16:07:22 +08:00
E1se2t
ebf329e434
[ISSUE #11020] The taskId is always less than 0 (#11020) (#11022) 2023-08-29 16:03:57 +08:00
blake.qiu
afe0035bb4
fix(#11032): adjust comment for RpcAckCallbackSynchronizer. (#11033) 2023-08-29 15:58:07 +08:00
ethenoscar2011
a2c6e74500
[ISSUE #10975] Fix gRpc reconnect will cause service offline after next register connection come in (#10976)
* 修复服务集群模式下客户端grpc断开重连后,非连接节点没有清理过期任务导致实例上线状态丢失造成服务异常的BUG

* Update DistroClientDataProcessor.java
2023-08-21 11:00:06 +08:00
Sunrisea
6c9c6957b8
[ISSUE #10734]Move the param check logic of grpc handler into the AbstractRequestFilter (#10972)
* For #10734,将grpc接口的参数请求移动到AbstractRequestFilter中实现

* For #10734,补充测试用例

* For #10734,fix code style

* For #10734,fix code style

* For #10734,fix test bug
2023-08-21 10:15:03 +08:00
杨翊 SionYang
876af46864
[ISSUE#10971] Add state to disable console ui and add api to get guide information. (#10982)
* state api return console_ui_enabled state.

* Add guide api to make console generate guide page.

* console-guide.conf 不需要校验rat.
2023-08-17 11:34:25 +08:00
ZhangShenao
65bad77274
Fix word spelling in ConnectionManager (#10966)
* Fix word spelling in `ConnectionManager`

* fix word
2023-08-17 10:42:52 +08:00
杨翊 SionYang
c4ddf1842f
Refactor Grpc Server, add transportFilter and ServerInterceptor exten… (#10970)
* Refactor Grpc Server, add transportFilter and ServerInterceptor extension.

* skip bad PMD rule.
2023-08-15 16:32:51 +08:00
maoling
3febc189b7
Permission related pages search should reset pageNum (#10917) 2023-08-14 15:48:23 +08:00
forachange
9f28ae55a2
Update StringUtils.java (#10936)
method startsWith, 当 ignoreCase 为 true 时,lowerCasePrefix 值不正确
2023-08-14 15:22:48 +08:00
Sunrisea
d756cdc6de
[ISSUE #10734] Optimize the param check implementation logic (#10955)
* For #10734,优化实现逻辑,提高扩展性,为动态变更限流规则预留接口

* For #10734,优化实现逻辑,提高扩展性,为动态变更参数校验规则预留接口
2023-08-14 14:55:49 +08:00
E1se2t
003f192aa8
[ISSUE #10951]Autowired members must be defined in valid Spring bean (#10951) (#10961) 2023-08-14 14:39:24 +08:00
阿魁
37d45ad8b6
Fix RpcClient retries.(#10952) (#10958) 2023-08-14 10:15:20 +08:00
阿魁
86cf2082a9
Fix exception code error.(#10925) (#10926) 2023-08-10 11:07:47 +08:00
xxc
03f2191ff4
Merge pull request #10922 from KomachiSion/develop-fix-login-failed
[ISSUE#10921] Fix login failed when close auth.
2023-08-07 11:44:21 +08:00