81 Commits

Author SHA1 Message Date
杨翊 SionYang 78229d6878 Remove reviewed unused Java code (#15440)
Remove confirmed unused Java methods and classes across AI, common, config, naming, persistence, copilot, CMDB, and client modules.

Mark preserved compatibility candidates as deprecated instead of removing them.

Assisted-by: Claude Code
2026-06-26 13:32:34 +08:00
徐晓伟 4bec8b06c5 chore(deps): spring-boot upgrade from 3.5.14 to 4.0.6 (#14945)
* chore(deps): spring-boot upgrade from 3.4.10 to 4.0.5

* chore(deps): micrometer upgrade from 1.12.8 to 1.13.0

* chore(deps): replace javax.annotation with jakarta.annotation

* chore(deps): spring-boot upgrade from 3.4.10 to 4.0.5

* chore(deps): spring-boot upgrade from 3.4.10 to 4.0.5: fix controller response

* chore(deps): spring-boot upgrade from 4.0.5 to 4.0.6

* chore(deps): spring-boot upgrade from 3.5.13 to 4.0.6: Restore blank line indentation whitespace to match develop

Blank lines adjacent to @Mock → @MockitoBean changes lost their
indentation spaces (e.g., 4 spaces became empty). Restore the
original whitespace to minimize unrelated diff noise.

* chore(deps): spring-boot upgrade from 3.5.13 to 4.0.6: Remove duplicate micrometer version override in pom.xml

The old 1.13.0 override was superseded by 1.15.10 (for Spring Boot
upgrade compatibility, see #15033). Having two definitions is
confusing; only the latter takes effect in Maven.

* chore(deps): spring-boot upgrade from 3.5.13 to 4.0.6: Restore blank line indentation whitespace to match develop

* style: apply spotless formatting fixes

Assisted-by: Claude Code

* Merge branch 'develop' into xuxiaowei/spring-boot-4

# Conflicts:
#	.github/workflows/it-new.yml
#	config/src/test/java/com/alibaba/nacos/config/server/controller/v3/ConfigOpsControllerV3Test.java
#	config/src/test/java/com/alibaba/nacos/config/server/exception/GlobalExceptionHandlerTest.java
#	config/src/test/java/com/alibaba/nacos/config/server/service/capacity/CapacityServiceTest.java

* style: apply spotless formatting

* chore(build): bump MCP SDK from 0.17.0 to 0.18.2

Assisted-by: Claude Code

* Remove spring-boot-starter-ldap-test dependency from console module

* Apply spotless formatting to ConfigOpenApiITCase

* Update TomcatConnectorCustomizer import for Spring Boot 4 compatibility

Assisted-by: Claude Code

* Replace ObjectNode with Map<String, Object> in ClientService API for Spring Boot 4 compatibility

* Remove redundant dependencies from test aggregator POM for Spring Boot 4 compatibility

* Makefile: Enhance Makefile for local dev workflow: add auth-disabled args, release-nacos profile, and IT test targets

* Makefile: Extract auth-disabled JVM args into standalone AUTH_DISABLED_ARGS variable

* Makefile: Add missing IT test targets to .PHONY declaration

Assisted-by: Claude Code

* build(deps): Refactor LDAP dependency: move spring-boot-starter-ldap to nacos-ldap-auth-plugin only

* build(deps): Add nacos-ldap-auth-plugin dependency to nacos-server module

* build(deps): Add nacos-ldap-auth-plugin dependency to nacos-console module

* build(deps): Remove nacos-ldap-auth-plugin dependency and LdapAutoConfiguration exclusion

* build(deps): Remove nacos-ldap-auth-plugin dependency and LdapAutoConfiguration exclusion

* Remove ConfigInfoBetaPersistService references and fix formatting in tests

Assisted-by: Claude Code

* Migrate javax.annotation to jakarta.annotation for Spring Boot 4 compatibility

Replace javax.annotation.{PostConstruct,PreDestroy,Resource} imports and
native-image reflect-config entries with jakarta.annotation equivalents.

* Add issue link for Makefile usage guide (#15338)

* Add test, check-maven, build-maven-test targets to Makefile (#15338)

---------

Co-authored-by: 杨翊 SionYang <xiweng.yy@alibaba-inc.com>
2026-06-10 10:08:48 +08:00
杨翊 SionYang 9136e9864f Add @Since annotations for public APIs (#15266)
* chore(build): bump project revision from 3.2.1 to 3.2.2.

* Add since annotation requirements to API specs

* Add API since annotation

* Add since annotations to SDK service APIs

* Add since annotations to core APIs

* Add since annotations to config and naming APIs

* Add since annotations to AI and lock APIs

* Add since annotations to console and plugin APIs

* Add since annotations to address APIs
2026-05-28 15:40:04 +08:00
cxhello f085e06392 [ISSUE #14815] build(style): apply Spotless formatting to small modules (#15111)
Modules: logger-adapter-impl, cmdb, address, prometheus, server, example, bootstrap

Signed-off-by: cxhello <caixiaohuichn@gmail.com>
2026-05-09 18:02:12 +08:00
杨翊 SionYang 2c025e20ec V3.0 develop console mode (#13134)
* Use Page to replace List result for some maintainer api.

* Support namespace page.

* uniform Namespace model to api。

* Support console get server state from nacos-server

* Fix update namespace invalid problem.

* console support setting admin password.

* Add Console maintainer client auth plugin to support identity request.

* Support Nacos Console get users info from nacos server.

* Support Nacos Console get role and permission info from nacos server.

* Fix NPE by AuthConfig loading Circular Dependencies.
2025-02-25 18:27:01 +08:00
Moritz Arena b16b90048a Upgrade to SpringBoot 3 and support GraalVM packaging (#13020)
Upgrade to SpringBoot 3, JDK 17 and support GraalVM
2025-01-08 09:49:56 +08:00
shalk(xiao kun) 8034da88e5 [ISSUE #12016] upgrade to junit5 and remove junit4 (#12280)
* clean junit4

* clean junit4

* clean some test dep; fix scope

* fix test compile
2024-06-26 17:39:08 +08:00
WangLiang/王良 a397c10a54 Optimize the nacos-client/pom.xml for exclude google/**/*.proto (#9982)
* Optimize the pom.xml of the nacos-client

* optimize pom

* exclude `google/**/*.proto`

* tab

* Remove dependency `io.grpc:protoc-gen-grpc-java:${version}:pom`

* revert indent

* revert native-image
2023-03-01 09:42:15 +08:00
gongzhongqiang 708387c277 fix:replace nacos website url to https. (#9797) 2023-01-10 09:47:52 +08:00
KomachiSion cf5a171ac5 Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
# Conflicts:
#	NOTICE
#	api/pom.xml
#	common/src/main/java/com/alibaba/nacos/common/notify/DefaultPublisher.java
#	config/src/main/java/com/alibaba/nacos/config/server/service/LongPollingService.java
#	naming/src/test/java/com/alibaba/nacos/naming/consistency/persistent/impl/NamingSnapshotOperationTest.java
#	naming/src/test/java/com/alibaba/nacos/naming/core/DomainsManagerTest.java
#	naming/src/test/java/com/alibaba/nacos/naming/healthcheck/ClientBeatCheckTaskTest.java
#	pom.xml
#	test/src/test/java/com/alibaba/nacos/test/core/JacksonUtils.java
2021-05-14 11:04:52 +08:00
孙继峰 818d37b71c delete duplicated dependency (#5622) 2021-05-10 10:43:58 +08:00
杨翊 SionYang 73eea9c0bb Use ThreadUtil and EnvUtil replace Runtime.availableProcessor (#5388) 2021-04-16 17:32:14 +08:00
KomachiSion 51cc2b1b4b Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
# Conflicts:
#	client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/CacheData.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
#	client/src/test/java/com/alibaba/nacos/client/config/common/GroupKeyTest.java
#	common/src/test/resources/META-INF/services/com.alibaba.nacos.common.spi.SpiTestInterface
#	config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigServletInner.java
#	console/src/main/resources/static/css/main.css
#	console/src/main/resources/static/js/main.js
#	istio/src/main/java/com/alibaba/nacos/istio/mcp/NacosMcpService.java
#	naming/src/main/java/com/alibaba/nacos/naming/controllers/ApiController.java
#	naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java
#	naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java
2021-04-13 14:28:30 +08:00
Wu Zhiguo 9bcb901174 Fix some typo (#5260)
* fix some typo

* rollback some comment format
2021-04-03 12:57:57 +08:00
KomachiSion fd06b5a7b6 Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
# Conflicts:
#	address/pom.xml
#	api/pom.xml
#	auth/pom.xml
#	client/pom.xml
#	cmdb/pom.xml
#	common/pom.xml
#	config/pom.xml
#	consistency/pom.xml
#	console/pom.xml
#	core/pom.xml
#	distribution/pom.xml
#	example/pom.xml
#	istio/pom.xml
#	naming/pom.xml
#	pom.xml
#	sys/pom.xml
#	test/pom.xml
2021-01-18 10:32:57 +08:00
杨翊 SionYang 1bd67269cd Use revision to set version and upgrade to 1.4.2-SNAPSHOT (#4711)
* Use revision set version

* Use revision set version

* Add flatten plugin
2021-01-15 14:37:47 +08:00
杨翊 SionYang 67eb36976e Upgrade to 1.4.1 (#4695)
Java CI / Test JDK 8, ubuntu-18.04 (push) Has been cancelled
Java CI / Test JDK 8.0.192, ubuntu-18.04 (push) Has been cancelled
Java CI / Test JDK 11, ubuntu-18.04 (push) Has been cancelled
Java CI / Test JDK 11.0.9, ubuntu-18.04 (push) Has been cancelled
2021-01-14 11:36:57 +08:00
nov.lzf 6027d36222 client use same executor during different connection;metrics count bugfix.;recommend server check (#4659)
* client use same executor during different connection.

* metrics count bugfix.

* recommend server check

* remove rsocket ;add client metrics

* add client metrics to get cache value

* rpc tps control basic api submit.

* check style ,pmd fix.
2021-01-11 14:11:32 +08:00
杨翊 SionYang 93a3ac7816 Upgrade to 2.0.0-ALPHA.1 (#4410)
* Add some new server config parameters

* Upgrade to 2.0.0-ALPHA.1
2020-12-04 18:46:24 +08:00
杨翊 SionYang 164ed33ada Feature support grpc core (#4204)
* NacosNamingMetadataManager --> NamingMetadataManager

* Try to add ServiceMetadata consistency

* add catalog api support new data

* Change version to 2.0.0-SNAPSHOT
2020-11-11 19:50:14 +08:00
杨翊 SionYang c81bb5b722 Add NacosServiceLoader and replace ServiceLoader usage directly (#4151)
* Add NacosServiceLoader

* Replace ServiceLoader by NacosServiceLoader
2020-11-06 14:46:28 +08:00
KomachiSion 8829d3c6ed Upgrade to 2.0.0-ALPHA 2020-11-05 19:38:15 +08:00
杨翊 SionYang ccea6ee112 Upgrade to 1.4.1-SNAPSHOT (#4135) 2020-11-05 09:43:33 +08:00
KomachiSion adbcb7549d Upgrade to 1.4.0 2020-11-02 19:09:19 +08:00
杨翊 SionYang 0b73cfc769 Upgrade version to 1.4.0-SNAPSHOT (#3549) 2020-08-12 09:32:06 +08:00
杨翊 SionYang df4b006b36 Upgrade version to 1.3.2 (#3512) 2020-08-04 12:58:45 +08:00
Gagharv 891c1f3ba5 [ISSUE #2856]Adjust the use of thread pools (config module) (#3206)
* [ISSUE #2856]Adjust the use of thread pools (config、cmdb module)

* add CmdbExecutor class
2020-07-13 17:33:25 +08:00
杨翊 SionYang 7ddba00865 Upgrade 1.3.1 (#3294) 2020-07-10 18:05:07 +08:00
杨翊 SionYang b1d1ac1324 Use new code style for nacos-cmdb module. (#3242) 2020-07-03 17:29:17 +08:00
杨翊 SionYang 88480f7c0f Update to 1.3.1-BETA (#3194) 2020-06-29 13:56:16 +08:00
KomachiSion cb0ffe4369 For #2873, unified copyrights for nacos-cmdb. 2020-06-12 15:34:10 +08:00
water.lyl 7f541a9a67 update version to 1.3.0 2020-06-05 09:02:17 +08:00
Jack Dai 83e6451acc 统一修改子项目中的url为nacos官网地址 2020-06-01 18:35:20 +08:00
jintonghuoya 6aa395979a 回滚dependency和plugin的version无关的修改 2020-05-29 20:45:45 +08:00
Jack Dai 9692cd1b8c 合并和origin/develop的冲突 2020-05-29 19:01:48 +08:00
Jack Dai 27a257c84e 合并origin/develop的变更 2020-05-29 18:41:00 +08:00
Jack Dai 594eac42b3 整理每个module的plugin和dependency的版本号 2020-05-29 16:35:48 +08:00
KomachiSion 2aaa54a19b Replace fastjson with jackson for nacos-cmdb 2020-05-27 09:34:59 +08:00
chuntaojun afc74da826 build: update version to 1.3.0-BETA 2020-05-15 16:10:38 +08:00
water.lyl 54e251da39 release 1.3-beta 2020-05-11 23:06:23 +08:00
nkorange ea2a83c4be Update version to 1.2.1 2020-03-27 15:48:32 +08:00
nkorange 82d7147a58 Update version to 1.2.0 2020-03-03 16:24:08 +08:00
nkorange 31e6063209 Update version to 1.2.0-beta.1 2020-02-23 20:02:13 +08:00
nkorange 1d81a6588d Update version to 1.2.0-beta.0 2020-02-05 14:11:09 +08:00
nkorange 2781c6c84f Update version to 1.2.0-SNAPSHOT 2019-12-02 14:56:15 +08:00
nkorange 4d68565667 Update version to 1.1.4 2019-10-24 14:46:46 +08:00
nkorange 6ca2ee0cf8 Update version to 1.1.3 2019-08-06 18:55:05 +08:00
nkorange 15c913e346 Update version to 1.1.2 2019-08-06 17:10:37 +08:00
nkorange 11bd0ccd76 Update version to 1.1.2-SNAPSHOT 2019-08-02 12:35:04 +08:00
赵禹光 b7b18faeea OperationController.java useless import 2019-07-11 20:19:53 +08:00