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
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
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
shenyao
8d6f87eda6
[ISSUE #11926 ] The abnormal exit mechanism does not take effect ( #12045 )
2024-05-06 11:44:28 +08:00
hth
70ad2eb991
[ISSUE #11957 ] Remove default password ( #11991 )
...
* Remove default password
* admin role check fix
* remove tmp admin
2024-04-29 10:04:00 +08:00
Happy-26
96814ff00d
[ISSUE #11968 ] Buf fix: Use put() instead of putIfAbsent() for setArg() in ConfigChangeRequest ( #11971 )
...
* 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
2024-04-22 10:53:11 +08:00
温安适
2bb7193d1b
Bug fix:10639 ( #11972 )
...
* Update LocalSimpleCountRateCounter.java
fixbug
* Update LocalSimpleCountRateCounter.java
bugfix
* fix:默认的nacos反脆弱插件的问题
* fix:默认的nacos反脆弱插件的问题
* fix:默认的nacos反脆弱插件的问题
* fix:默认的nacos反脆弱插件的问题
* fix:默认的nacos反脆弱插件的问题,调整为tryAdd
* fix:默认的nacos反脆弱插件的问题,调整为tryAdd
* 调整测试方式,保障流水线成功
* 重构PageHandlerAdapterFactory,这里将handlerAdapters,handlerAdapterMap设置为unmodifiable
* 重构PageHandlerAdapterFactory,这里将handlerAdapters,handlerAdapterMap设置为unmodifiable
* fix: 10639, 调整encrypted_data_key 为varchar(1024)
2024-04-22 10:49:08 +08:00
bajiejump
5c141593d8
issue:11943(保存导入用户) ( #11945 )
2024-04-11 15:28:54 +08:00
zhanghong
25585d65dd
[ISSUE #11847 ] fix OpenApi publish Cas fail ( #11850 )
...
* 修复openApi publishConfigCas失效
* 修复openApi publishConfigCas失效
* fix unit test
2024-04-01 15:32:33 +08:00
publicize-y
2df335d57e
Response wrong status code for some situation for openAPI ( #11864 )
...
* fix:Response wrong status code for some situation for openAPI
* fix:Response wrong status code for some situation for openAPI for PrometheusApiExceptionHandler
* fix:PrometheusApiExceptionHandler status modify
* fix:add unit test
* fix:modify the unit test description
* fix:the code style modify
* fix:the UT modify
2024-04-01 14:11:16 +08:00
nov.lzf
6dc0a2109f
simplify nacos app labels collector and log fix. ( #11867 )
...
* remove batch
* simplify label collector ,optimize log
* simplify label collector ,optimize log
* testcase fix
2024-03-22 17:13:20 +08:00
zhanghong
8f1cb59370
[ISSUE #11782 ] Optimized the use of map ( #11783 )
...
* Optimized the use of map
* Optimized the use of map
2024-03-01 10:05:33 +08:00
黄科铭
c2f8463e12
The test case pass ( #11764 )
2024-02-22 14:59:26 +08:00
nov.lzf
3da1240f3a
config module coverage ( #11738 )
...
* testcase fix
* checkstyle
* testcase coverage
* testcase coverage
* testcase coverage
* testcase coverage
* testcase fixed
2024-02-06 14:53:14 +08:00
李云飞
2bb93982df
[ISSUE #11655 ]fix invalid usage of ProporityQueue in ConfigChangePluginManger ( #11668 )
...
* [ISSUE #11655 ]fix invalid usage of ProporityQueue in ConfigChangePluginManager
* add UT for config change plugin
* for checkstyle
* for checkstyle
2024-02-02 15:57:21 +08:00
blake.qiu
8f2150892a
build(11606): Make sql-schema consistent. ( #11703 )
2024-01-31 09:32:19 +08:00
hth
817eb58597
[ISSUE#11695] fix PreviousConfigHistory encryption ( #11707 )
...
* fix PreviousConfigHistory encryption
* UT fix
2024-01-31 09:30:46 +08:00
nov.lzf
849393c4a1
optimize dump all logic and optimize dump change interface ( #11658 )
...
* optimize config dump all,do not select content in page query,single query config on md5 and ts updated.
* 1.optimize config dump all,do not select content in page query,single query config on md5 and ts updated.
2. remove convertDeleteConfig and convertConfigConfig ,use standard RowMapper instead.
* remove unecessary code
* use context param instead of adding plugin method params
* bug and test fix
2024-01-19 15:26:28 +08:00
nov.lzf
5f9c848d7e
remove direct read ( #11670 )
...
* remove isDirectRead
* check style
* coverage makeup
* coverage makeup
* coverage makeup
2024-01-17 19:20:48 +08:00
Qishang Zhong
07168099db
[ISSUE #11612 ] Unified use of NameThreadFactory
to create thread pools. ( #11613 )
2024-01-17 15:47:19 +08:00
brother-戎
84900756d1
[add unit test case] Add unit test for capacity management aspect ( #11622 )
...
* add_unit_test_capacity_management_aspect
* remove some code
* some tiny fix
* some tiny fix
* some tiny fix
* some tiny fix
2024-01-11 17:08:13 +08:00
nov.lzf
c70a86820d
config module coverage ( #11592 )
...
* coverage
* coverage
* coverage up tp 80% ,fix checkstyle pmd
* coverage up tp 80% ,fix checkstyle pmd
* fix checkstyle
* optmize grpc connection push
* testcase
* grp connection coverage
2024-01-08 14:25:15 +08:00
nov.lzf
d4e2ccda82
config module coverage up to 60% ( #11560 )
...
* fix test case
* test case coverage
* open config module testcases
* config module testcases coverage
* test case coverage up to 55%
* test case coverage up to 55%
* test case coverage up to 60%
* fix test case
* fix test case
* fix test case
* fix test case
* fix test case
* fix test case
* coverage makeup
* coverage makeup
* coverage makeup
* coverage makeup
2023-12-29 11:46:54 +08:00
realJackSun
4d76eb7c31
Add unit tests for package com.alibaba.nacos.config.server.service.dump ( #11532 )
...
* Add unit test for DumpAllProcessor
* [#11531 ] Add unit tests for package com.alibaba.nacos.config.server.service.dump ———— Add unit test for DumpAllProcessor
2023-12-22 14:26:00 +08:00
毛文超
d40190ee24
[ISSUES #11499 ] fix address server health check error ( #11508 )
...
* [ISSUES #11499 ] fix address server health check error
Close #11499
* [ISSUES #11499 ] add some unit tests for HealthController
2023-12-19 14:25:54 +08:00
nov.lzf
ca9d55e264
fix config test case and remove useless code ( #11521 )
...
* 修复客户端cmsgc导致服务端推送积压直接内存oom问题
* 修复ut及bug
* 修复ut及bug,checkstyle
* 修复ut及bug
* 修复ut
* 修复覆盖率
* 修复测试用例
* 修复测试用例,覆盖率
* 修复测试用例,覆盖率,删除无用代码
* 修复测试用例,覆盖率,pmd&checkstyle
* fix test case
2023-12-18 13:42:28 +08:00
nov.lzf
790bb197cf
优化增量对账,减少开销 ( #11248 )
...
* 优化增量dump,减少开销
* check style fix
* pmd fix
* testcase fix
* testcase fix
* checkstyle fix
2023-12-18 13:41:27 +08:00
nov.lzf
06edd123f9
check server stream ready state to avoid bytebuffer back up in flow control pending write queue. ( #11514 )
...
* 修复客户端cmsgc导致服务端推送积压直接内存oom问题
* 修复ut及bug
* 修复ut及bug,checkstyle
* 修复ut
* 修复覆盖率
* checkstyle
2023-12-15 15:40:45 +08:00
阿魁
3058f9f8ff
[ISSUE #11325 ]Fix logging for Config pull events. ( #11326 )
...
* [ISSUE #11325 ]Fix logging for Config pull events.
* Update style.
2023-12-06 13:10:17 +08:00
毛文超
f8b3d35e88
[ISSUES #11459 ] fix CONFIG_INFO_STATE_WRAPPER_ROW_MAPPER missing ( #11465 )
...
- register CONFIG_INFO_STATE_WRAPPER_ROW_MAPPER to RowMapperManager
Close #11459
2023-12-05 09:28:56 +08:00
nov.lzf
99295f8846
长轮询参数校验逻辑,修复不存在的空命名空间配置校验失败bug ( #11442 )
2023-11-28 18:03:16 +08:00
阿魁
c42981c9e3
[ISSUE #11217 ]Optimize DumpAllProcessor code. ( #11220 )
2023-11-24 14:21:06 +08:00
blake.qiu
da2b897961
feat: code clean. ( #11337 )
2023-11-24 14:14:32 +08:00
杨翊 SionYang
7ce177486f
Develop fill ut common ( #11419 )
...
* UT for common module http package.
* Add Unit test for common module http root package.
* Add Unit test for common module http param package.
* Add Unit test for common module http client package.
* For checkstyle.
2023-11-23 14:56:54 +08:00
杨翊 SionYang
6a4d740781
For #10353 , Handling DataIntegrityViolationException and DuplicateKeyException together. ( #11405 )
2023-11-20 15:04:34 +08:00
zhanghong
a935fa1092
[ISSUE #11343 ] Simplified validation logic ( #11345 )
...
* 优化节点显示,添加mode
* Simplified validation logic
* add license
* fix unit test
* add config,console,naming unit test and rename annotation
* add config,console,naming unit test and rename annotation
* fix EnvUtils test
* fix EnvUtils test
* fix ParamExtractorFilterTest
* fix ParamExtractorFilterTest
* fix ParamExtractorFilterTest
* fix ParamExtractorFilterTest
* fix ParamExtractorFilterTest
2023-11-15 15:25:00 +08:00
杨翊 SionYang
e77a0bbe0d
Develop refactor topn ( #11352 )
...
* Move topn to core module.
* StringTopNCounter replace TopnCounterMetricsContainer.java
* Use ServiceTopNCounter replace StringTopNCounterTest for naming.
* Use FixedSizePriorityQueue replace PriorityQueue to save memory.
* For PMD.
2023-11-09 17:19:27 +08:00
杨翊 SionYang
c4aac2b82f
Fill ut for common module ( #11247 )
...
* Do some refactor and add UT for common package.
* Do some refactor and add UT for common package.
* Do some refactor and add UT for common package.
* Fix UT.
2023-10-13 14:46:04 +08:00
blake.qiu
7eb3af2659
feat( #11236 ): Remove invalid assertion in com.alibaba.nacos.config.server.service.ConfigCacheService#dumpChange. ( #11237 )
2023-10-11 10:11:46 +08:00
blake.qiu
0e43a9322d
feat(11115): http support cas publish. ( #11120 )
2023-10-11 10:05:31 +08:00
阿魁
d85e3f7f31
[ISSUE #11231 ]Optimize the handleSpringBinder method in PropertiesUtil. ( #11240 )
2023-10-11 09:23:31 +08:00
贾璞
a9d303cbe3
[ #11035 ] (PR-4/4) config module, alternate string method. ( #11155 )
2023-09-22 13:50:30 +08:00
杨翊 SionYang
0c44dce0cc
Refactor control plugin ( #11169 )
...
* Refactor control plugin.
* For checkstyle.
2023-09-21 13:47:28 +08:00
贾璞
7b2f7aa92a
[ISSUE#11035](PR-2/4) add two string methods & avoid null pointer ... ( #11065 )
...
* [#11035 ] (PR-2/4) add two String methods...
* [ISSUE#10908] edit test case, add blank line
* [ISSUE#11035] restore a method
2023-09-14 09:42:03 +08:00
MajorHe1
8c9934bf06
Update ConfigController.java, add srcUser when delete config by ids ( #11101 )
2023-09-14 09:39:53 +08:00
Guangdong Liu
0de88379bc
Remove some unnecessary code ( #11043 )
2023-09-06 17:07:27 +08:00
Sunrisea
828acd3b2b
For #10734,补全参数检验日志记录,将返回的状态码修改为400 ( #11073 )
2023-09-01 11:41:23 +08:00
brother-戎
ca34694f2b
fixup derby test case ( #11064 )
...
* fixup derby test case
* tiny fix
2023-09-01 09:32:08 +08:00
blake.qiu
84951e9c79
feat( #10963 ): In CacheItem, it's better to use the private and final keywords to modify the member variable rwLock. ( #10964 )
2023-08-31 15:38:42 +08:00