11 Commits

Author SHA1 Message Date
杨翊 SionYang 1ecc39c45c [ISSUE #15475] Align plugin provider and configuration contracts (#15593)
Honor provider order before first-wins registration, align built-in plugin routers with the same conflict policy, and remove datasource fallback to an unrelated dialect.

Make standard configuration keys authoritative by presence and enable AI resource import unless explicitly disabled. Update bilingual plugin specs and tests accordingly.

Assisted-by: Claude Code
2026-07-28 17:47:39 +08:00
杨翊 SionYang bd33453a99 [ISSUE #15475] Make plugin discovery conflicts deterministic (#15592)
* Remove reflective EnvUtil access from visibility plugin

Assisted-by: Claude Code

* Use first-wins plugin registration and definition normalization

Assisted-by: Claude Code
2026-07-28 12:07:09 +08:00
杨翊 SionYang a66d928bc6 Unify plugin configuration SPI contracts (#15555)
Assisted-by: Claude Code
2026-07-22 13:38:59 +08:00
杨翊 SionYang 0b932e8367 Improve plugin module unit test coverage (#15219)
* Improve plugin module unit test coverage

Assisted-by: Claude Code

* Improve plugin SPI coverage

Assisted-by: Claude Code
2026-05-22 13:57:41 +08:00
杨翊 SionYang f7d86cb901 test: improve plugin module unit test coverage (#15209)
* test: improve plugin module coverage

* test: make tps metrics test timezone independent
2026-05-21 20:39:26 +08:00
cxhello f8237f314f [ISSUE #14815] build(style): apply Spotless formatting to plugin module (#15106)
Signed-off-by: cxhello <caixiaohuichn@gmail.com>
2026-05-09 17:04:55 +08:00
Eric Wang bb26607ffb [ISSUE #14077] Implement SPI-based plugin discovery and management API (#14082)
* feat(plugin): implement SPI-based plugin discovery and management API

Refactor plugin discovery to use SPI pattern and add REST API for plugin control:

SPI-based Discovery:
 - Replace hard-coded plugin discovery with PluginProvider SPI pattern
 - Add comprehensive tests for UnifiedPluginManager and PluginStatePersistence
 - Enable automatic plugin registration for better extensibility

Management API:
 - Add PluginControllerV3 with 5 endpoints (list, detail, status, config, availability)
 - Create PluginInfoVO and PluginDetailVO for API responses
 - Create PluginStatusForm and PluginConfigForm for API requests
 - Integrate plugin state checking into all plugin managers
 - Add getAllPlugins() methods to expose plugin registries
 - Fix core module dependency name for custom-environment-plugin

* fix: UT failed

* fix: UT failed

* refactor(plugin): extract PluginStatePersistence to interface-based design

* fix(plugin): remove auth plugin from critical list to allow custom auth

* feat(plugin): implement config-driven default status for exclusive plugins
2026-01-09 10:41:08 +08:00
shalk(xiao kun) 21bfac76e7 upgrade module naocs-plugin from junit4 to junit5 (#12229) 2024-06-17 14:08:09 +08:00
杨翊 SionYang b3b5236cd4 Develop synced from 2.2.2 (#10307)
* Fix dynamic change token to illegal value will use old token.

* Add description in pom for release.

* Upgrade to 2.2.2

* Upgrade to 2.3.0-SNAPSHOT
2023-04-11 17:34:06 +08:00
gongzhongqiang 708387c277 fix:replace nacos website url to https. (#9797) 2023-01-10 09:47:52 +08:00
杨翊 SionYang b1ac88be78 [ISSUE#8481] Add Trace Event SPI for Naming. (#9336)
* Add Trace plugin spi.

* Add NacosCombinedTraceSubscriber

* Subscribe NamingTraceEvent when start up cluster.

* Fix test error.
2022-10-18 09:30:37 +08:00