Commit Graph

5027 Commits

Author SHA1 Message Date
blake.qiu
47d913de05
feat(#12355): Record the cost of ConfigDump in Prometheus. (#12356) 2024-07-18 09:40:12 +08:00
阿魁
9d0a48d54f
[IT]Adjust core module auth integration tests to meet checkstyle requirements. (#12368) 2024-07-18 09:30:26 +08:00
HMYDK
6c05ad5497
[ISSUE #12282]Fix the issue where monitoring data cannot be found through the IP dimension in the ListeningQuery (#12315) 2024-07-15 14:13:43 +08:00
阿魁
de5ade75c8
Adjust integration tests for ability, base, and client modules in the core module to comply with checkstyle. (#12335)
* Fix exception code error.(#10925)

* [IT]Adjust integration tests for ability, base, and client modules in the core module to comply with checkstyle.

* [IT]Optimize the class naming.
2024-07-15 11:17:48 +08:00
杨翊 SionYang
2233e6556c
Develop refactor request context (#12331)
* Add RequestContext and RequestContextHolder.

* build RequestContext when request start.

* Refactor ClientAttributesFilter with RequestContext.

* InstanceController get client ip from request context.

* SubscribeServiceRequestHandler get app from requestcontext.

* config http api support use request context get user, app and source ip.

* Rename nacos request context filter.

* Unified naming request get source ip by request context.

* For checkstyle.
2024-07-10 16:54:19 +08:00
shalk(xiao kun)
2aa9fc51bc
fix unexpect exception from NetworkInterface.ifUp (#12325) 2024-07-10 16:52:23 +08:00
blake.qiu
8aba80d3c1
fix(#12231): When inserting and updating configurations in the database, the time-related field values need to be set using the time obtained from the database's built-in time function. (#12244) 2024-07-09 11:19:22 +08:00
hth
e8e8cd29c0
add some UT for default auth plugin (#12318) 2024-07-08 10:48:51 +08:00
misakacoder
97162438f7
[ISSUE #12219] 修复nacos-client中config的ServerListManager解析endpoint失败问题 (#12220)
* [ISSUE #12219] 修复nacos-client中config的ServerListManager解析endpoint失败问题

* [ISSUE #12219] 修复nacos-client中config的ServerListManager解析endpoint失败问题
2024-07-01 13:53:59 +08:00
Thomas Lee
92a3d17681
[ISSUE #12196] FIX prometheus http sd invalid label names (#12239)
* prometheus http sd: fix invalid label names

* Update PrometheusUtils.java
2024-07-01 13:53:32 +08:00
shalk(xiao kun)
b8d13e0557
[ISSUE #12207] fix disk failover datasource not keep status (#12188)
* fix disk failover datasource not keep status

* fix style

* fix DiskFailoverDataSource
2024-06-26 17:50:45 +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
阿魁
108f51083f
Add RpcServerSslContextRefresherHolder unit tests. (#12281)
* Fix exception code error.(#10925)

* [Unit test]Add RpcServerSslContextRefresherHolder unit tests.

* [Unit test]Fix bug.
2024-06-26 17:37:51 +08:00
shalk(xiao kun)
8575e84ee4
fix nacos client dependencies tree without grpc package (#12266) 2024-06-24 13:50:29 +08:00
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