caoyanan666
99807358df
feat(develop): [ISSUES #12013 ] startup.sh support environment CUSTOM_NACOS_MEMORY ( #12014 )
...
* use DISABLE_NACOS_DEFAULT_MEMORY_SETTING
* use CUSTOM_NACOS_MEMORY
* Code optimization
* remove unuse
* startup.cmd support CUSTOM_NACOS_MEMORY environment variable
---------
Co-authored-by: caoyanan <caoyanan@growingio.com>
2024-05-06 11:49:19 +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
shalk(xiao kun)
b2e506d7fe
[WIP] add junit jupiter ( #12024 )
...
* add junit5 in compatible mode
* add junit5 jupiter and mockito jupiter
2024-04-29 09:51:28 +08:00
shalk(xiao kun)
b016e79dfe
fix client log config ( #12040 )
2024-04-29 09:34:53 +08:00
杨翊 SionYang
da3e88b3d4
[ISSUE#11956] Fix logging module old bugs ( #12011 )
...
* Remove log4j dependencies from nacos-client.
* Fix logback listener don't add to context.
* Fix can't adapter low version logback below 1.1.10.
* For checkstyle.
2024-04-24 18:07:34 +08:00
shalk(xiao kun)
de10c07146
clean code remove unused dependency javatuple ( #11976 )
2024-04-24 15:51:58 +08:00
cxhello
17dea53d20
fix: CVE-2024-22262 Upgrade Spring to 5.3.34 ( #11980 ) ( #12003 )
2024-04-24 15:44:30 +08:00
杨翊 SionYang
4d30b042ee
[ISSUE #11956 ] Move logback 12 and log4j2 adapter to single module. ( #11996 )
...
* Move some basic logging classes into common module.
* Move logback 12 version adapter to single module.
* For checkstyle.
* Enhance logger adapter pom.
* Refactor the adapter initialization logic to avoid spi loader error.
* Move log4j2 logger adapter to single module.
* Fix the ut cover and create useless dir.
2024-04-23 10:24:38 +08:00
cx
720519b1dc
[ISSUE #11994 ]修复HttpRequestInstanceBuilderTest出现的空指针问题,优化SnowFlakeInstanceIdGenerator初始化流程 ( #11995 )
...
* [ISSUE #11994 ] fix: Initialize EnvUtil's variable environment in HttpRequestInstanceBuilderTest
* refactor: Optimize the initialization process of SnowFlakeInstanceIdGenerator
* refactor: optimize the initialization process of SnowFlakeInstanceIdGenerator.
2024-04-23 09:31:11 +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
杨翊 SionYang
5c19ac12ad
[ #11956 ] Refactor nacos client logging module, use SPI load current logger adapter. ( #11964 )
...
* Add NacosLoggingAdapter
* Refactor Logback Logging adapter to Nacos logging adapter.
* Refactor log4j2 Logging adapter to Nacos logging adapter.
* Remove useless abstract class
* Add and Adapt log4j2 impl to SPI.
* Remove useless method in NacosLogbackConfigurator
* Fix IT ClassNotFound problem
2024-04-16 13:52:28 +08:00
Happy-26
2005ca6f90
[ISSUE #11951 ] Fix the problem that the servicename and groupname are not resolved correctly when deleting an empty service instance ( #11955 )
...
* 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 : 修改删除空服务实例时,服务名和分组名没有正确解析的问题
2024-04-15 15:20:02 +08:00
hnyyghk
9b2cc662ec
[ISSUE #11902 ] Fix request and response reflect-config.json ( #11940 )
...
* Update request reflect-config.json
add deletion graalvm reflect config
* Update response reflect-config.json
add deletion graalvm reflect config
2024-04-11 15:30:10 +08:00
hnyyghk
fb597084c5
fix Navigator clipboard api needs a secure context (https) ( #11942 )
2024-04-11 15:29:09 +08:00
bajiejump
5c141593d8
issue:11943(保存导入用户) ( #11945 )
2024-04-11 15:28:54 +08:00
cxhello
d179e47df4
fix: vulnerability ( #11914 )
...
- CVE-2024-22257 Upgrade Spring Security to 5.7.12.
- Use spring-framework-bom as dependencyManagement.
Closes #11904
2024-04-08 10:43:18 +08:00
zhanghong
d4126ba2bd
[ISSUE #11847 ] Feature: add console-ui publish config cas ( #11927 )
...
* 修复openApi publishConfigCas失效
* 修复openApi publishConfigCas失效
* fix unit test
* add publish cas
2024-04-08 10:36:36 +08:00
杨翊 SionYang
8af8519c6d
Bump console ui dependencies to solve security problem with audit fix. ( #11913 )
2024-04-02 17:06:24 +08:00
blake.qiu
c09ee2da04
fix( #11895 ): grpc 服务注册失败时返回了成功 ( #11909 )
2024-04-02 14:13:46 +08:00
tangmingyao
facf4c8270
fix:add param for ConfigInfoMapperByMySql#findAllConfigInfoBaseFetchRows ( #11883 )
...
* fix:add param for ConfigInfoMapperByMySql#findAllConfigInfoBaseFetchRows
* fix:code style modify
* fix:code style modify
* fix:code style modify
---------
Co-authored-by: zhangyang <1445621702@qq.com>
2024-04-02 11:36:29 +08:00
cxhello
19a857b701
fix: CVE-2024-22243 & CVE-2024-22259 Upgrade Spring Web to 5.3.33 ( #11833 )
2024-04-01 16:48:33 +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
nov.lzf
5fcef225be
format check on client labels ( #11903 )
...
* format check on client labels
* log optimize
* testcase fix
2024-04-01 14:55:44 +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
shalk(xiao kun)
6461aeb719
fix 11892 keep ErrorResponse result code the same with errorcode ( #11893 )
2024-04-01 12:02:46 +08:00
阿魁
3a1f0c297e
[ISSUE #11880 ]Fixed the issue of duplicate notifications of configuration changes. ( #11881 )
2024-03-26 17:16:56 +08:00
lmm1990
ec4f21540e
Update reflect-config.json ( #11860 )
...
add deletion graalvm reflect config
2024-03-26 16:23:39 +08:00
徐晓伟
08edb4fbd6
⬆️ upgrade mysql-connector-java from 8.0.28 to 8.0.33 ( #11875 )
...
https://github.com/alibaba/nacos/issues/11874
2024-03-26 16:22:06 +08:00
chenyiqin
a7d9ef2fe8
Fix get batch service instances error ( #11845 )
...
* fix get batch service instances error
* fix checkstyle
* fix get wrong res when batch instance
* add the clientId to return data
2024-03-25 18:03:48 +08:00
shalk(xiao kun)
082c5073bb
fix #11871 remove reflection from client pom.xml ( #11872 )
2024-03-25 17:25:03 +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
hth
9db51e58ed
add UT for NamespacePersist ( #11852 )
...
* UT for NamespacePersist
* NamespacePersistTest fix
2024-03-22 09:36:22 +08:00
brother-戎
9fd6ff6a04
feature: add client labels collect and attach labels to conn ( #11844 )
...
* add client labels collect and attach labels to conn
* remove some constants
* fixup test case
2024-03-21 14:33:57 +08:00
JianweiWang
b79d585f97
fix #11835 ( #11838 )
2024-03-18 09:36:31 +08:00
linqiuping
038420c69f
Add ParamCheckerFilter ut ( #11834 )
...
* remove unused exception
* Add ReuseHttpServletRequest ut
* fix ut description
* fix code style
* fix code style
* fix code style
* Add ReuseUploadFileHttpServletRequest ut
* fix code style
* fix ut with unapproved license
* fix code style
* Add CheckConfiguration ut
* Add ParamCheckerFilter ut
* fix code style
* fix License
* fix code style
2024-03-15 15:32:20 +08:00
不务正业
c86147b6ab
🐛 Uncontrolled data used in path expression ( #11822 )
...
https://github.com/alibaba/nacos/issues/11821
2024-03-15 14:05:20 +08:00
linqiuping
0d7fcff261
Add CheckConfiguration ut ( #11829 )
...
* remove unused exception
* Add ReuseHttpServletRequest ut
* fix ut description
* fix code style
* fix code style
* fix code style
* Add ReuseUploadFileHttpServletRequest ut
* fix code style
* fix ut with unapproved license
* fix code style
* Add CheckConfiguration ut
2024-03-15 14:00:34 +08:00
linqiuping
d26ed3623e
Add ReuseUploadFileHttpServletRequest ut ( #11827 )
...
* remove unused exception
* Add ReuseHttpServletRequest ut
* fix ut description
* fix code style
* fix code style
* fix code style
* Add ReuseUploadFileHttpServletRequest ut
* fix code style
* fix ut with unapproved license
* fix code style
2024-03-14 15:45:00 +08:00
linqiuping
3b319502a1
Add ReuseHttpServletRequest ut ( #11826 )
...
* remove unused exception
* Add ReuseHttpServletRequest ut
* fix ut description
* fix code style
* fix code style
* fix code style
2024-03-14 13:41:14 +08:00
linqiuping
5a5473bdbd
remove unused exception ( #11824 )
2024-03-13 17:21:14 +08:00
heihei180
15fbf92b15
modify the log file path. ( #11794 )
2024-03-07 13:50:32 +08:00
Peter Zhu
2f2fc1b12b
failover triggered mistakenly ( #11536 )
...
* Fix failover switch triggered mistakenly and optimise metrics
* format code
* Fix checkstyle
* Fix unit test
2024-03-07 11:40:41 +08:00
blake.qiu
4397e8d275
feat(11752): The contentPath of AddressServerUrl is not flexible. ( #11754 )
2024-03-07 11:39:52 +08:00
温安适
c2aa515f1e
PageHandlerAdapterFactory, handlerAdapters,handlerAdapterMap should unmodifiable ( #11801 )
...
* 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
2024-03-07 10:48:49 +08:00
杨翊 SionYang
b7c3905976
Upgrade to 2.4.0-SNAPSHOT. ( #11795 )
2024-03-04 16:55:45 +08:00
杨翊 SionYang
92dda945a0
Upgrade to 2.3.1 ( #11791 )
2024-03-04 11:23:41 +08:00
杨翊 SionYang
64b9e8d3f7
Make findMapper log to debug level to avoid nacos.log print much log. ( #11786 )
2024-03-01 13:35:30 +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