Commit Graph

5063 Commits

Author SHA1 Message Date
misakacoder
29c28bd01e
[ISSUE #12246] 配置列表和服务列表的总数显示国际化 (#12276) 2024-06-24 13:49:43 +08:00
HMYDK
27da090b7c
[#12235]Fix the incorrect logging format in the ResponseExceptionHandler of the naming module. (#12236) 2024-06-24 09:41:25 +08:00
shalk(xiao kun)
3b2f787d61
[ISSUE #12227] upgrade module test from junit4 to junit5 (#12251)
* upgrade module naocs-test from junit4 to junit5

* fix test/core-test

* fix some test

* fix ci
2024-06-24 09:38:38 +08:00
nov.lzf
63dc87a30c
add endpoint cluster name for config & naming server list manager (#12253) 2024-06-24 09:37:41 +08:00
HMYDK
5d871967ea
Add an id primary key column to both the roles and permissions tables.(mysql-schema.sql) (#12206) 2024-06-17 15:42:37 +08:00
HMYDK
e192e25d9d
Add total record count display in pagination (TotalRender). (#12203) 2024-06-17 14:26:13 +08:00
shalk(xiao kun)
cd8e8583d8
upgrade module naocs-persistence from junit4 to junit5 (#12228) 2024-06-17 14:18:32 +08:00
shalk(xiao kun)
21bfac76e7
upgrade module naocs-plugin from junit4 to junit5 (#12229) 2024-06-17 14:08:09 +08:00
shalk(xiao kun)
ab6591ac83
upgrade module naocs-plugin-impl from junit4 to junit5 (#12230) 2024-06-17 14:07:37 +08:00
misakacoder
833e6ca59a
[ISSUE #12180] 修复克隆和导入配置没有记录操作人 (#12181) 2024-06-12 09:27:48 +08:00
shalk(xiao kun)
7590a4eb12
fix: use nacos properties in CacheDirUtil (#12186) 2024-06-12 09:26:59 +08:00
杨翊 SionYang
d68b904f93
Update console header link to new nacos.io. (#12177) 2024-06-05 10:45:24 +08:00
misakacoder
8a03485fa8
[ISSUE #12168] 修复系统语言切换至英文后,权限控制-角色管理页面的查询条件的label还显示的是中文 (#12169)
* [ISSUE #12146] 修复当对操作类型为删除的配置进行回滚时,操作类型不显示问题

* [ISSUE #12168] 修复系统语言切换至英文后,权限控制-角色管理页面的查询条件的label还显示的是中文
2024-06-03 17:56:08 +08:00
杨翊 SionYang
07d92ffb3e
Do some refactor for naming notify event. (#12167) 2024-06-03 15:55:46 +08:00
杨翊 SionYang
7cdf224157
Enhance nacos client init properties logger. (#12166) 2024-06-03 13:32:08 +08:00
Kurok1
da78aeea0d
[ISSUE #12130] add metadata as labels in prometheus http sd (#12144)
* add metadata as labels in prometheus http sd

* fix style
2024-06-03 10:41:10 +08:00
misakacoder
d1bd44625f
[ISSUE #12146] 修复当对操作类型为删除的配置进行回滚时,操作类型不显示问题 (#12164) 2024-06-03 10:40:32 +08:00
Leo Han
19c3adcbb6
[ISSUE#12074] Add Python sample for nacos (#12127)
* Add Python sample for nacos

* Delete example/src/main/python directory

Remove python sample

* Update for nacos show python  codeing
2024-06-03 10:13:22 +08:00
杨翊 SionYang
d212a52bc9
Merge pull request #12165 from alibaba/summer-ospp#10374
Summer ospp#10374
2024-06-03 10:11:53 +08:00
KomachiSion
0d8b04b470 For checkstyle. 2024-06-03 09:35:35 +08:00
KomachiSion
96ee0f37e6 Fix UT after sync newest branch 2024-05-31 16:59:43 +08:00
KomachiSion
5f7801b341 Merge branch 'refs/heads/upstream-develop' into summer-ospp#10374
# Conflicts:
#	client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
#	client/src/main/java/com/alibaba/nacos/client/naming/cache/ServiceInfoHolder.java
#	client/src/test/java/com/alibaba/nacos/client/naming/NacosNamingServiceTest.java
#	client/src/test/java/com/alibaba/nacos/client/naming/event/InstancesChangeEventTest.java
#	client/src/test/java/com/alibaba/nacos/client/naming/event/InstancesChangeNotifierTest.java
2024-05-31 15:21:48 +08:00
shalk(xiao kun)
04f9b86e45
upgrade module naocs-core from junit4 to junit5 (#12134) 2024-05-31 13:42:53 +08:00
杨翊 SionYang
79a5aa5eb6
Support aliyun ram v4 signature method. (#12162)
* Nacos client ram plugin support aliyun v4 signature.

* Add V4 sign UT

* For checkstyle.
2024-05-31 13:30:55 +08:00
shalk(xiao kun)
67da6d1b5f
upgrade module naocs-log from junit4 to junit5 (#12156) 2024-05-31 11:50:03 +08:00
shalk(xiao kun)
25155e480a
[ISSUE #12158] module naming upgrade to junit5 (#12159)
* upgrade module naocs-naming from junit4 to junit5

* upgrade module naocs-naming from junit4 to junit5
2024-05-31 11:49:42 +08:00
杨翊 SionYang
857e6113c4
No need init password when auth disabled. (#12153) 2024-05-31 09:24:21 +08:00
xpy01xpy
47786e6c0b
[ISSUE#11957] Fix init password for nacos username en-us (#12150)
* fix:add en

* build code

* fix:all state

* build code

* feat:register / request
2024-05-30 18:04:41 +08:00
杨翊 SionYang
98edf22e8c
Change duplicate create admin user api return code to 4xx. (#12149) 2024-05-30 15:28:29 +08:00
xpy01xpy
0a797223c0
[ISSUE#11957] Console support init password for nacos username (#12148)
* feat:add register pagg

* fix:i18n

* console-ui build

* fix

* fix
2024-05-30 14:53:41 +08:00
shalk(xiao kun)
bc039bc125
upgrade module naocs-console from junit4 to junit5 (#12136) 2024-05-29 10:43:13 +08:00
shalk(xiao kun)
6fa3069b7e
[issue #12043] module client refact unit test to junit5 (#12044)
* refact(client): remove junit4 to junit5

* fix code style

* format with code style

* fix code style

* fix codestyle
2024-05-24 10:15:17 +08:00
hth
992f10a1d6
[ISSUE #11957] AuthModule add admin exist (#12066)
* AuthModule add admin exist

* test fix

* fix state

* add state cache

* rename to auth_admin_request

* test fix

* auth_admin_request default value fix

* fix admin request
2024-05-24 10:14:40 +08:00
杨翊 SionYang
6bee5c47a9
update codecov token. (#12121) 2024-05-20 14:32:43 +08:00
shalk(xiao kun)
366c88e4d6
[issue #12081] module api upgrade junit4 to junit5 (#12082)
* refact(api): remove junit4 to junit5

* format with code style
2024-05-20 11:14:33 +08:00
Zachary
9363a088f0
[ISSUE #12060] fix too large ttl when auth disabled (#12090)
* [ISSUE #12060]  fix too large ttl when auth disabled

fix issue #12060

1. fix too large ttl when auth disabled
2. generate a valid token when key is valid even if auth disabled

* [ISSUE #12060]  add unit test

* [ISSUE alibaba#12060] fix style issue
2024-05-20 11:12:24 +08:00
shalk(xiao kun)
35e3994bcb
[ISSUE #12113] upgrade module naocs-common from junit4 to junit5 (#12116)
* upgrade module naocs-common from junit4 to junit5

* fix checkstyle
2024-05-20 11:10:23 +08:00
shalk(xiao kun)
94bf8661ad
[ISSUE #12114] upgrade module naocs-config from junit4 to junit5 (#12117)
* upgrade module naocs-config from junit4 to junit5

* fix checkstyle
2024-05-20 10:59:47 +08:00
shalk(xiao kun)
26176ddb3c
upgrade module naocs-consistency from junit4 to junit5 (#12118) 2024-05-20 10:46:53 +08:00
shalk(xiao kun)
dc0e46e9f9
upgrade module naocs-auth from junit4 to junit5 (#12105) 2024-05-16 09:41:05 +08:00
shalk(xiao kun)
67b672251e
upgrade module naocs-sys from junit4 to junit5 (#12107) 2024-05-16 09:40:12 +08:00
阿魁
5169f06654
Support TLS Grpc communication between clusters. (#11549)
* Fix exception code error.(#10925)

* [ISSUE #11456]Add RpcClusterClientTlsConfig.java.

* [ISSUE #11456]Add cluster rpc tls config.

* [ISSUE #11456]Add RpcClusterClientTlsConfig UT.

* [ISSUE #11456]Add cluster server tls.

* [ISSUE #11456]Remove supportCommunicationTypes.

* [ISSUE #11456]Fix unit testing and indentation handling

* [ISSUE #11456]Indentation handling

* [ISSUE #11456]Fix unit test and rpc constants.

* [ISSUE #11456]Fix unit test.

* [ISSUE #11456]Optimize code.

* [ISSUE #11456]Fix check style.

* [ISSUE #11456]Add unit test.

* [ISSUE #11456]Fix check style.

* [ISSUE #11456]Update unit test.

* [ISSUE #11456]Fix unit test.

* [ISSUE #11456]Add License.

* [ISSUE #11456]Fix unit test.

* [ISSUE #11456]Fix unit test.

* [ISSUE #11456]Rename class.

* [ISSUE #11456]Optimize code.

* [ISSUE #11456]Handling indentation issues.

* [ISSUE #11456]Handling indentation issues.

* [ISSUE #11456]Handling indentation issues.

* [ISSUE #11456]Optimize code.

* [ISSUE #11456]Fix unit test.

* [ISSUE #11456]Fix unit testing and compatibility handling.

* [ISSUE #11456]Support TLS GRPC communication between clusters.

* [ISSUE #11456] Fix bugs.

* [ISSUE #11456]Fix bugs.

* [ISSUE #11456]Adjusting parameter names (compatibility considerations).

* [ISSUE #11456]Resolve conflict.

* [ISSUE #11456]Remove ProtocolNegotiatorBuilderManager and abstract ProtocolNegotiatorBuilderSingleton.

* [ISSUE #11456]Remove CommunicationType.java.

* [ISSUE #11456]Optimize code.

* [ISSUE #11456]Revert author.

* Splitting RpcTlsConfigFactory.

* Split RpcConstants.

* Divided RpcTlsConfigFactory, adjusted cluster parameters to "nacos.remote.peer.rpc.tls".

* check style.

* check style.

* unit test.
2024-05-15 11:13:29 +08:00
shenyao
6fe43637c0
[ISSUE #11967] Can not aquire the specific config (#12025)
* [ISSUE #11967] Can not aquire the specific config

* [ISSUE #11967] Can not aquire the specific config

* [ISSUE #11967] Can not aquire the specific config

* [ISSUE #11967] Can not aquire the specific config

* [ISSUE #11967] Can not aquire the specific config
2024-05-15 11:04:32 +08:00
mikolls
9a6ec0ca3d
[ISSUE#12022] Fix nacos datasource plugin ClassCastException bug (#12… (#12031)
* [ISSUE#12022] Fix nacos datasource plugin ClassCastException bug (#12022)

* [ISSUE#12022] Fix nacos datasource plugin ClassCastException bug (#12022)

* [ISSUE#12022] Fix nacos datasource plugin ClassCastException bug (#12022)

* [ISSUE#12022] Fix nacos datasource plugin ClassCastException bug (#12022)

* [ISSUE#12022] Fix MapperManagerTest test (#12022)

* [ISSUE#12022] Fix MapperManagerTest test (#12022)
2024-05-15 10:56:54 +08:00
Happy-26
15c9663d31
[ISSUE #12072] Add logic that does not impose any limit when totalCountLimit is less than 0. (#12073)
* 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
2024-05-15 10:39:26 +08:00
shalk(xiao kun)
4e2bcb9277
module address upgrade junit4 to junit5 (#12084) 2024-05-15 10:37:53 +08:00
JianweiWang
47dd078545
fix #11984 (#12091) 2024-05-14 13:37:08 +08:00
Zac
b047a90fba
[issue 12062]bugfix (#12086) 2024-05-11 13:38:45 +08:00
xYohn
7c461fdf67
[ISSUE #12046] fix console-ui bug when using encryption-plugin (#12061)
* #12046 console-ui should not offer encryptedDataKey field to API

* #12046 when containing encryptedDataKey,it should not execute encryption in v2 API (same as the v1 API)
2024-05-07 16:18:36 +08:00
杨翊 SionYang
ed64d1f055
Depend nacos logback adapter directly. (#12059) 2024-05-06 14:15:10 +08:00