Commit Graph

5563 Commits

Author SHA1 Message Date
xpy01xpy 6df8ba9563
Fixpage (#13294)
* fix: 更新命名空间处理逻辑,调整MCP服务器类型为协议类型,优化新MCP服务器页面的命名空间显示

* feat: 添加工具管理页面,优化工具创建和删除功能,更新中文翻译

* feat: 更新工具管理页面,优化工具删除功能,修复本地服务器配置错误提示,增强工具状态显示

* Refactor code structure for improved readability and maintainability
2025-04-23 16:33:57 +08:00
杨翊 SionYang 705f54e73d
Fix test not generate jacoco coverage report. (#13292) 2025-04-23 15:24:08 +08:00
xpy01xpy ccd799b111
Fix mcp ui problems. (#13290)
* fix: 更新命名空间处理逻辑,调整MCP服务器类型为协议类型,优化新MCP服务器页面的命名空间显示

* feat: 添加工具管理页面,优化工具创建和删除功能,更新中文翻译
2025-04-23 14:26:14 +08:00
杨翊 SionYang b28e98f7a7
Fix unit test. (#13289) 2025-04-23 14:11:26 +08:00
杨翊 SionYang 0e38e5031c
Merge pull request #13287 from KomachiSion/v3.0-develop-sync-develop
V3.0 develop sync develop
2025-04-22 20:09:27 +08:00
KomachiSion 7c99b4a29d rebuild console ui 2025-04-22 20:06:45 +08:00
KomachiSion 5b0b9665c3 Merge remote-tracking branch 'refs/remotes/upstream/develop' into v3.0-develop-sync-develop
# Conflicts:
#	client/src/main/java/com/alibaba/nacos/client/naming/remote/gprc/NamingGrpcClientProxy.java
#	config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigController.java
#	config/src/main/java/com/alibaba/nacos/config/server/controller/ListenerController.java
#	console/src/main/resources/static/index.html
#	console/src/main/resources/static/js/main.js
#	plugin-default-impl/nacos-default-auth-plugin/src/main/java/com/alibaba/nacos/plugin/auth/impl/NacosAuthConfig.java
#	plugin-default-impl/nacos-default-auth-plugin/src/main/java/com/alibaba/nacos/plugin/auth/impl/constant/AuthConstants.java
#	pom.xml
2025-04-22 19:47:57 +08:00
杨翊 SionYang 230ccaa390
Rebuild console ui (#13286)
* Add credentials to McpServerRemoteServiceConfig

* rebuild console ui
2025-04-22 19:18:23 +08:00
xpy01xpy a542419c95
fix: 更新命名空间处理逻辑,调整MCP服务器类型为协议类型,优化新MCP服务器页面的命名空间显示 (#13285) 2025-04-22 19:14:14 +08:00
xpy01xpy 2aec3ea554
feat: 更新中文翻译,调整服务类型为协议类型;移除冗余后端协议字段;优化AI页面的命名空间列表和跳转逻辑 (#13283) 2025-04-22 16:45:17 +08:00
shiyiyue1102 c57f2ac439 add md5 to list config 2025-04-22 14:37:58 +08:00
shiyiyue1102 0b63522e3f Merge remote-tracking branch 'origin/v3.0-develop' into v3.0-develop 2025-04-22 14:20:40 +08:00
shiyiyue1102 3b312929dc add md5 to list config 2025-04-22 14:20:31 +08:00
杨翊 SionYang cbd2cb4ce8
[ISSUE#13246] Redefine Mcp Tool Specification (#13282)
* Add some unit test for console remote handler.

* rebuild console ui.

* Update mcp tools data id suffix.

* Change mcp api model List<McpTool> to McpToolSpecification.

* Move and merge backendProtocol into type in Mcp Server spec and rename to protocol.
2025-04-22 09:35:50 +08:00
xpy01xpy a5882ad7d2
Aipage (#13278)
* feat: Add MCP management related pages and menu items

* fix: Add delay to service list query on creation to ensure proper loading

* feat: 添加工具创建组件并更新相关页面的国际化文本

* feat: 更新国际化文本,添加删除操作确认提示,优化服务列表显示

* feat: 优化工具创建页面,增加表格单元格最小宽度,重构服务器详情展示逻辑

* feat: 添加工具删除功能,更新国际化文本,优化工具列表展示

* feat: 移除不必要的日志输出,优化代码整洁性
2025-04-21 17:08:59 +08:00
杨翊 SionYang bb7e34e841
Update pr-comment.yml run on ubuntu-latest (#13275)
Continuous Integration / ci (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11.0.3, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8.0.192, ubuntu-latest) (push) Has been cancelled Details
PUSH-CI / Build dist tar (push) Has been cancelled Details
PUSH-CI / Docker images (centos, 8) (push) Has been cancelled Details
PUSH-CI / Deploy nacos (push) Has been cancelled Details
PUSH-CI / Java e2e Test (push) Has been cancelled Details
PUSH-CI / GO E2E Test (push) Has been cancelled Details
PUSH-CI / Cpp E2E Test (push) Has been cancelled Details
PUSH-CI / Csharp E2E Test (push) Has been cancelled Details
PUSH-CI / Nodejs E2E Test (push) Has been cancelled Details
PUSH-CI / Python E2E Test (push) Has been cancelled Details
PUSH-CI / Clean (push) Has been cancelled Details
2025-04-21 15:48:29 +08:00
chunhai1127 b64c8cb0fe
make the IP input box in Listening Query be required.(#13234) (#13235)
Co-authored-by: zhouchunhai <zhouchunhai@cmss.chinamobile.com>
2025-04-21 15:42:19 +08:00
kangzhao 418b657063
[ISSUE #12484] fix ConfigController.stopBeta srcUser param is null (#13248)
* stop beta 操作人判空处理

* stop beta 操作人为空处理
2025-04-21 15:41:42 +08:00
yjqg6666 6975a9bbf6
[noissue] bin/startup.sh, refactoring, extract variable (#13263)
* bin/startup.sh, refactoring, extract variable

* startup.sh, redirecting stderr to stdout is unnecessary.

Simply put string to file, the error is relating to writing.
If this failed, the stderr can also not be saved.

* startup.sh, nacos.log already been used, change to startup.log
2025-04-21 15:38:26 +08:00
杨翊 SionYang 2760327037
[ISSUE#13246] Add nacos-default-mcp namespace into persistence. (#13274)
* Fix console deployment type, add admin user failed problem.

* Add nacos-default-mcp namespace into persistence.
2025-04-21 15:37:31 +08:00
杨翊 SionYang f834030420
Add mcp api for maintainer sdk & support console deploy mode. (#13271)
* Move NacosApiExceptionHandler to core module.

* Fix some bugs or description in ai mcp module.

* Add maintainer sdk api for ai mcp.

* Console deploy mode support mcp api.
2025-04-21 11:27:00 +08:00
shiyiyue1102 863581c47b
fix public namespace auth (#13259) 2025-04-16 14:44:44 +08:00
杨翊 SionYang 905f348324
Add mcp admin api. (#13257)
* Add Unit test for some console module.

* Modified mcp server response without inner ref info.

* Add parameter check for mcp server http api.

* Add mcp admin api.
2025-04-16 14:11:37 +08:00
Matthew 6daea18de8
[ISSUE#13229] Fix the config tag being lost during configuration export. (#13230)
Continuous Integration / ci (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11.0.3, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8.0.192, ubuntu-latest) (push) Has been cancelled Details
PUSH-CI / Build dist tar (push) Has been cancelled Details
PUSH-CI / Docker images (centos, 8) (push) Has been cancelled Details
PUSH-CI / Deploy nacos (push) Has been cancelled Details
PUSH-CI / Java e2e Test (push) Has been cancelled Details
PUSH-CI / GO E2E Test (push) Has been cancelled Details
PUSH-CI / Cpp E2E Test (push) Has been cancelled Details
PUSH-CI / Csharp E2E Test (push) Has been cancelled Details
PUSH-CI / Nodejs E2E Test (push) Has been cancelled Details
PUSH-CI / Python E2E Test (push) Has been cancelled Details
PUSH-CI / Clean (push) Has been cancelled Details
* [ISSUE#13229] Fix the config tag being lost during configuration export.

* [ISSUE#13229] fix.
2025-04-14 11:43:55 +08:00
杨翊 SionYang 3074951434
[ISSUE#13246] Add MCP(Model Context Protocol) Server And Support basic MCP(Model Context Protocol) operation console apis to Nacos. (#13247)
* Add AI MCP console api.

* Add AI MCP resource parser.

* Add mcp server console api inner implementation without tool operation.

* Add endpoint Specification for mcp api.

* Abstract some remote relative server spec into McpServerRemoteServiceConfig.

* Support handle mcp server tool.

* Support handle mcp server endpoint and fix some tools bug.
2025-04-14 11:41:14 +08:00
Happy-26 42c9982206
[ISSUE#13223]Fix the permission problem of ip dimension query configuration monitoring (#13233)
Continuous Integration / ci (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11.0.3, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8.0.192, ubuntu-latest) (push) Has been cancelled Details
PUSH-CI / Build dist tar (push) Has been cancelled Details
PUSH-CI / Docker images (centos, 8) (push) Has been cancelled Details
PUSH-CI / Deploy nacos (push) Has been cancelled Details
PUSH-CI / Java e2e Test (push) Has been cancelled Details
PUSH-CI / GO E2E Test (push) Has been cancelled Details
PUSH-CI / Cpp E2E Test (push) Has been cancelled Details
PUSH-CI / Csharp E2E Test (push) Has been cancelled Details
PUSH-CI / Nodejs E2E Test (push) Has been cancelled Details
PUSH-CI / Python E2E Test (push) Has been cancelled Details
PUSH-CI / Clean (push) Has been cancelled Details
* Fixed an issue where the maximum number of anti-fragile plug-ins implemented by default in Nacos is one more than the actual number of connections.

* bug fix : 修改删除空服务实例时,服务名和分组名没有正确解析的问题

* Update ConfigChangeAspect.java

修改configChangeRequest.setArg()的key为serviceType

* Update ConfigChangeAspect.java

* Update ConfigChangeRequest.java

* Update NacosConnectionControlManager.java

Add logic to not impose any limit when totalCountLimit equals -1.

* Update NacosConnectionControlManager.java

* Update NacosConnectionControlManagerTest.java

Add unit test cases when LimitCount is less than 0

* Update NacosConnectionControlManager.java

Modify comment

* Fix the permission problem of ip dimension query configuration monitoring

* Rollback error submission
2025-04-11 11:39:22 +08:00
linwumingshi 89055d4793
Merge pull request #13222 from linwumingshi/fix/security-bcrypt
Continuous Integration / ci (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11.0.3, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8.0.192, ubuntu-latest) (push) Has been cancelled Details
PUSH-CI / Build dist tar (push) Has been cancelled Details
PUSH-CI / Docker images (centos, 8) (push) Has been cancelled Details
PUSH-CI / Deploy nacos (push) Has been cancelled Details
PUSH-CI / Java e2e Test (push) Has been cancelled Details
PUSH-CI / GO E2E Test (push) Has been cancelled Details
PUSH-CI / Cpp E2E Test (push) Has been cancelled Details
PUSH-CI / Csharp E2E Test (push) Has been cancelled Details
PUSH-CI / Nodejs E2E Test (push) Has been cancelled Details
PUSH-CI / Python E2E Test (push) Has been cancelled Details
PUSH-CI / Clean (push) Has been cancelled Details
[ISSUE #13205] Implement `SafeBcryptPasswordEncoder` to address password length vulnerability
2025-04-03 16:41:52 +08:00
杨翊 SionYang bfdc125ac9
Remove /node/self/health API & Fix stop beta action type. (#13225) 2025-04-03 16:32:51 +08:00
杨翊 SionYang dfa9f6f720
Fix naming v1 catalog page service api return all datum when pageSize is large. (#13218)
Continuous Integration / ci (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11.0.3, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8.0.192, ubuntu-latest) (push) Has been cancelled Details
PUSH-CI / Build dist tar (push) Has been cancelled Details
PUSH-CI / Docker images (centos, 8) (push) Has been cancelled Details
PUSH-CI / Deploy nacos (push) Has been cancelled Details
PUSH-CI / Java e2e Test (push) Has been cancelled Details
PUSH-CI / GO E2E Test (push) Has been cancelled Details
PUSH-CI / Cpp E2E Test (push) Has been cancelled Details
PUSH-CI / Csharp E2E Test (push) Has been cancelled Details
PUSH-CI / Nodejs E2E Test (push) Has been cancelled Details
PUSH-CI / Python E2E Test (push) Has been cancelled Details
PUSH-CI / Clean (push) Has been cancelled Details
2025-04-01 15:34:34 +08:00
KomachiSion 007b9f8546 Fix naming v1 catalog page service api return all datum when pageSize is large. 2025-04-01 13:58:28 +08:00
杨翊 SionYang c3b79cf15a
V3.0 develop auth plugin (#13215)
* Change auth plugin return boolean to AuthResult.

* set AuthContext result as AuthResult.

* Refactor to remove using AuthConfigs, replaced with NacosAuthConfig.

* Refactor to remove using AuthConfigs, replaced with NacosAuthConfig.

* Move AuthConfigs to default auth plugin impl module.
2025-03-31 16:10:01 +08:00
杨翊 SionYang 3c9c200a5e
V3.0 develop client openapi (#13210)
* Add Http client open api for naming.

* Add Http client open api for config.
2025-03-28 17:56:31 +08:00
杨翊 SionYang cf691fa06c
Change some console api from public api to identity check only api. (#13208) 2025-03-26 14:34:30 +08:00
Matthew 551c203c8c
[ISSUE#13183] Add client metrics switch. (#13191)
Continuous Integration / ci (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11.0.3, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8.0.192, ubuntu-latest) (push) Has been cancelled Details
PUSH-CI / Build dist tar (push) Has been cancelled Details
PUSH-CI / Docker images (centos, 8) (push) Has been cancelled Details
PUSH-CI / Deploy nacos (push) Has been cancelled Details
PUSH-CI / Java e2e Test (push) Has been cancelled Details
PUSH-CI / GO E2E Test (push) Has been cancelled Details
PUSH-CI / Cpp E2E Test (push) Has been cancelled Details
PUSH-CI / Csharp E2E Test (push) Has been cancelled Details
PUSH-CI / Nodejs E2E Test (push) Has been cancelled Details
PUSH-CI / Python E2E Test (push) Has been cancelled Details
PUSH-CI / Clean (push) Has been cancelled Details
2025-03-26 11:25:36 +08:00
杨翊 SionYang b312d043d1
Do some refactor for 3.0 api (#13207)
* Close nacos server access static resource to show ui.

* Change get service subscribe api to accurate not fuzzy search.

* Change reloadCount,smartReload,reloadSingle to POST method for v3 admin api.

* Refactor server loader v3 admin api controller.

* Refactor health update api parameters transfer.

* Refactor instance operator parameter transfer.
2025-03-26 11:23:29 +08:00
misakacoder 74a737b677
Optimize code. (#13203) 2025-03-26 11:22:37 +08:00
psxjoy 83e145bcb5
doc: fix a typo in code-style file (#13204) 2025-03-26 11:21:27 +08:00
Sunrisea e5b0b30143
fix ConfigMigrateService derby bug (#13201) 2025-03-24 09:42:15 +08:00
misakacoder 8efc9a37d5
[ISSUE #13193] Update database health check sql. (#13195)
Continuous Integration / ci (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11.0.3, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8.0.192, ubuntu-latest) (push) Has been cancelled Details
PUSH-CI / Build dist tar (push) Has been cancelled Details
PUSH-CI / Docker images (centos, 8) (push) Has been cancelled Details
PUSH-CI / Deploy nacos (push) Has been cancelled Details
PUSH-CI / Java e2e Test (push) Has been cancelled Details
PUSH-CI / GO E2E Test (push) Has been cancelled Details
PUSH-CI / Cpp E2E Test (push) Has been cancelled Details
PUSH-CI / Csharp E2E Test (push) Has been cancelled Details
PUSH-CI / Nodejs E2E Test (push) Has been cancelled Details
PUSH-CI / Python E2E Test (push) Has been cancelled Details
PUSH-CI / Clean (push) Has been cancelled Details
2025-03-20 17:53:32 +08:00
杨翊 SionYang 61f4c9b713
V3.0 develop fix test (#13197)
* Fix Class case exception during publish config.

* Fix metrics controller unit test.
2025-03-19 16:33:24 +08:00
Sunrisea c1bce610f3
Fix configMigrateService code style (#13194)
* optimize namespace compatible mode switch

* fix dumpService bug and add log of ConfigMigrateService

* fix bug of cycle dependency

* fix code style bug
2025-03-19 09:59:37 +08:00
Sunrisea 101bd32f33
Fix DumpService bug and add log for configMigrateService (#13192)
* optimize namespace compatible mode switch

* fix dumpService bug and add log of ConfigMigrateService

* fix bug of cycle dependency
2025-03-18 20:48:06 +08:00
Sunrisea 3fb641f5eb
optimize namespace compatible mode switch (#13188) 2025-03-18 13:40:37 +08:00
dependabot[bot] bbe3946afa
Bump org.apache.tomcat.embed:tomcat-embed-core from 9.0.98 to 9.0.99 (#13189)
Continuous Integration / ci (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (11.0.3, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8, ubuntu-latest) (push) Has been cancelled Details
Integration Test / test (8.0.192, ubuntu-latest) (push) Has been cancelled Details
PUSH-CI / Build dist tar (push) Has been cancelled Details
PUSH-CI / Docker images (centos, 8) (push) Has been cancelled Details
PUSH-CI / Deploy nacos (push) Has been cancelled Details
PUSH-CI / Java e2e Test (push) Has been cancelled Details
PUSH-CI / GO E2E Test (push) Has been cancelled Details
PUSH-CI / Cpp E2E Test (push) Has been cancelled Details
PUSH-CI / Csharp E2E Test (push) Has been cancelled Details
PUSH-CI / Nodejs E2E Test (push) Has been cancelled Details
PUSH-CI / Python E2E Test (push) Has been cancelled Details
PUSH-CI / Clean (push) Has been cancelled Details
Bumps org.apache.tomcat.embed:tomcat-embed-core from 9.0.98 to 9.0.99.

---
updated-dependencies:
- dependency-name: org.apache.tomcat.embed:tomcat-embed-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-18 13:39:57 +08:00
Sunrisea ee6c7c0cdd
Support for unifying empty namespaces and Public namespaces in the Nacos 3.0 configuration center. (#13187)
* support namespace migrate

* support namespace migrate from empty 2 tenant

* support namespace migrate from empty 2 tenant

* test bug fix
2025-03-17 14:49:30 +08:00
Matthew 34f4dda9c7
[ISSUE#13171] Fix the full regular dump for gray configuration. (#13174)
* [ISSUE#13171] Fix the full regular dump for gray configuration.

* [ISSUE#13171] Fix CI.
2025-03-12 16:52:45 +08:00
misakacoder 39b2c6b162
[ISSUE #13177] Fix missing subscriber for MembersChangeEvent. (#13178) 2025-03-12 16:43:02 +08:00
杨翊 SionYang 17bcdcef4b
Merge pull request #13180 from KomachiSion/v3.0-develop-fix-some-api-bug
Fix some admin api usage problem.
2025-03-12 16:40:39 +08:00
杨翊 SionYang 368867a85f
Merge pull request #13175 from KomachiSion/upstream-develop-upgrade-2.5.2-snapshpt
Upgrade 2.5.2-SNAPSHOT.
2025-03-11 15:15:17 +08:00
KomachiSion 30b532b24e Upgrade 2.5.2-SNAPSHOT. 2025-03-11 14:34:18 +08:00