Commit Graph

4483 Commits

Author SHA1 Message Date
nov.lzf
69047073c6
修改长连接request response 类注册逻辑,由类扫描改成手动注册 (#9738)
* 修改request response 类加载逻辑,有类扫描改成手动注册

* 优化注册方式,直接SPI注册payload
2022-12-21 19:56:21 +08:00
xxc
b472d70419
update readme for Contact Ding Group (#9739)
update readme for Contact Ding Group
2022-12-21 18:49:36 +08:00
Weizhan Yun
c7bdc6a21e
增加检查服务端健康状态的功能。 (#9639) 2022-12-21 10:39:57 +08:00
nov.lzf
1322486849
Develop optimize controplugin 20221214 (#9715)
* 限流插件优化

* 反脆弱插件移除nacos-sys依赖

* 移除nacos-sys依赖
2022-12-16 13:18:44 +08:00
MajorHe1
0759e78d31
Merge pull request #9705 from KomachiSion/develop-upgrade-to-2.2.0
Upgrade to 2.2.0.
2022-12-14 14:10:56 +08:00
KomachiSion
4573705584 Upgrade to 2.2.0. 2022-12-14 11:23:49 +08:00
npk191954
99ea570e7a
1.Update 更新Config模块测试用例。 (#9687)
* 1.Update 更新config模块的测试用例。

* 1.Update 更新config模块的测试用例。

* 1.Update 更新config模块的测试用例。

* 1.Update 更新config模块的测试用例。
2022-12-13 13:54:10 +08:00
陈浩 Nineteen
76df11bc48
fix comment (#9695) 2022-12-13 09:20:12 +08:00
陈浩 Nineteen
a7a5ced21a
fix no dataSet when nacos server started (#9677)
* Close Comment

* runci

* check style
2022-12-08 15:18:21 +08:00
杨翊 SionYang
dfcdd391af
Add auth for some v2 api. (#9671) 2022-12-08 10:31:32 +08:00
杨翊 SionYang
528574de75
Upgrade ui dependencies to fix some depend vulnerability. (#9652)
* Upgrade ui dependencies to fix some depend vulnerability.

* Upgrade ui dependencies to fix some depend vulnerability.
2022-12-06 20:21:31 +08:00
zhanghong
ccf24a9297
[ISSUE #9471] 更新搜索参数不会重置 (#9649)
* 更新搜索信息不会重置

* fix some console-ui build warning

* 维持historyRollback页面的搜索项不被清空
2022-12-06 16:45:01 +08:00
drgnchan
5be6385563
polish: reduce magic value of 'NACOS_SERVER_HEADER' (#9663) 2022-12-06 16:16:21 +08:00
nov.lzf
acc8ab46cf
Refactor connection limit module to plugin (#9653)
* 限流插件提交

* 限流插件提交

* 限流插件提交

* 限流插件重构提交

* connection control test case submit

* tps control test case submit

* tps control test case submit

* tps control test case submit

* exact model has higher priority

* exact model has higher priority

* tpsreporter

* tpsreporter

* tpsreporter

* check style

* log optimize

* interceptor

* checkstyle

* tps check

* configController query http

* rename component

* 优化参数命名

* 优化参数命名

* 优化参数命名

* 优化参数命名

* optimize connection manager

* optimize connection manager

* optimize connection manager

* optimize connection manager

* interceptor to mse

* Monitor Model

* Monitor Model

* revert opensource tps ability

* revert opensource tps ability

* revert opensource tps ability

* revert opensource tps ability

* revert opensource tps ability

* revert opensource tps ability

* opensource submit

* opensource submit

* check style

* check style

* pmd ,rat

* update db params

* test case fix

* 简化开源反脆弱实现

* test case

* test  case fix

* 修复单测

* 修复单测

* 修复单测
2022-12-06 16:15:51 +08:00
Yang
d30aeadb63
Fix data race in xds (#9662) 2022-12-05 11:20:25 +08:00
zhanghong
2d317227b3
[ISSUE #9655] fix ExceptionHandler order bug (#9657)
* fix #9655 ExceptionHandler order bug

* Change GlobalExceptionHandler order
2022-12-03 19:24:39 +08:00
zhanghong
014eb69b46
[ISSUE #9648] 修复关于tagList传入参数有误 (#9650)
* #9648 fix this bug

* fix some Deprecated-Method bug
2022-12-02 17:40:08 +08:00
Kirk Lin
42ca5be666
ci: Replace deprecated set-state set-output GitHub Action's commands (#9636) 2022-11-30 09:27:20 +08:00
zume0127
62b03ff915
[ISSUE #9631] return value of putIfAbsent ignored, value passed to putIfAbsent reused (#9633)
Signed-off-by: zume0127 <790589151@qq.com>

Signed-off-by: zume0127 <790589151@qq.com>
2022-11-28 09:28:00 +08:00
hth
0e346f0024
Code optimization, remove useless code. (#9620)
* Code optimization, remove useless code.

* code optimization
2022-11-25 14:50:44 +08:00
chengyj1986xxx
f36e8dbd2a
fixed the issue of client get same server (#9616) 2022-11-25 14:47:09 +08:00
l12i7n19
f19d5d8eaa
feat: Service List page retains query information. (#9598) 2022-11-25 14:46:38 +08:00
elsez
e23ec89892
perf: Code optimization points (#9552)
* perf: Replace the dead loop with while

* perf: Jump statements should not be redundant

* Update CredentialWatcher.java

Co-authored-by: elsez <67528597+zhantiao@users.noreply.github.com>
2022-11-22 15:29:07 +08:00
ZhongJinHacker
93c6fe0167
fix SonarLint check (#9608)
1. slf4j.Logger 在确定满足日志等级情况下会去调用ex的toString,这里直接toString,会造成即使没满足日志等级的情况下也会执行toString
2. 删除注释代码
3. 解除sonar访问成员权限警告,外部类可以访问到内部类的私有成员,编译执行没有问题,和其他内部类成员访问权限保持一致(其他内部类成员也是采用相同的方式被外部类访问,例如isBeta)
2022-11-22 15:27:01 +08:00
zz630
7ce4dcc22c
Update HttpClientManager.java (#9477)
fix #9474
2022-11-22 09:50:22 +08:00
drgnchan
2ec89ae50b
fix: change overflow hidden to visible in configuration query div (#9595) 2022-11-22 09:46:19 +08:00
Karson
44e723b027
[ISSUE #9603] Catch ClosedWatchServiceException after exit normally. (#9604)
* fix issue #9603

* judge interrupted
2022-11-22 09:44:26 +08:00
李晓双 Li Xiao Shuang
ba37d63ad4
[ISSUE #9571] Replace PersistService (#9583)
* replace PersistService

* replace PersistService

* fix test
2022-11-18 11:08:18 +08:00
Bharati Kulkarni
66c3899ecb
[ISSUE #9643] Fixed Possible JSON Ordering Permutations Problem in Tests (#9505)
* Fixed Flaky Test

* Fix Updated
2022-11-17 11:40:36 +08:00
Karson
4bd5b7c85a
support prometheus sd (#9518) 2022-11-17 11:13:51 +08:00
dependabot[bot]
8292d2ccb1
Bump jackson-databind from 2.12.6.1 to 2.12.7.1 (#9582)
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.12.6.1 to 2.12.7.1.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 10:59:04 +08:00
胡俊
0f5afa8faa
解决服务元数据清理逻辑导致的反注册失败问题 https://github.com/alibaba/nacos/issues/9586 (#9587) 2022-11-17 10:40:54 +08:00
李晓双 Li Xiao Shuang
fcf633a52d
[ISSUE #9571] Split the PersistService class because it's too big (#9572)
* Split the PersistService class

* add ConfigInfoAggrPersistService implements

* add ConfigInfoBetaPersistService implements

* add ConfigInfoPersistService implements

* add ConfigInfoTagPersistService implements

* add HistoryConfigInfoPersistService implements

* add OtherPersistService implements

* check style

* Specify the class name to inject service

* Specify the class name to inject service

* Initialize the property using the constructor

* rename OutherPersistService to CommonPersistService
2022-11-14 16:31:22 +08:00
The-Gamer-01
b14cc257bf
[ISSUE #9510]Add sql log print function. (#9511)
* [ISSUE #9510]Add sql log print function.

* [ISSUE #9510]Remove AspectJ and add sql proxy.

* [ISSUE #9510]Update data source plugin log.

* [ISSUE #9510]Update args log.

* [ISSUE #9510]Add unit test.
2022-11-11 11:28:22 +08:00
李晓双 Li Xiao Shuang
d7e296d1fd
Add unit tests to GroupCapacityMapperByDerby class (#9546) 2022-11-11 11:22:39 +08:00
李晓双 Li Xiao Shuang
2bfca22412
Add unit tests to ConfigInfoTagRelationMapperByDerby class (#9545) 2022-11-11 11:22:16 +08:00
李晓双 Li Xiao Shuang
70cfa4c234
Add unit tests to ConfigInfoTagMapperByDerby class (#9544) 2022-11-11 11:21:56 +08:00
李晓双 Li Xiao Shuang
3dc72d827e
Add unit tests to ConfigInfoMapperByDerby class (#9543) 2022-11-11 11:21:31 +08:00
李晓双 Li Xiao Shuang
3aee80aa78
Add unit tests to ConfigInfoBetaMapperByDerby class (#9542) 2022-11-11 11:21:08 +08:00
李晓双 Li Xiao Shuang
c5a0a5b3b5
Add unit tests to ConfigInfoAggrMapperByDerby class (#9541) 2022-11-11 11:19:40 +08:00
李晓双 Li Xiao Shuang
28ac7a669f
Add unit tests to HistoryConfigInfoMapperByDerby class (#9547) 2022-11-11 10:25:22 +08:00
李晓双 Li Xiao Shuang
de7e3b9d3e
Add unit tests to TenantCapacityMapperByDerby class (#9548) 2022-11-11 10:23:35 +08:00
李晓双 Li Xiao Shuang
226d1bacd0
Add unit tests to TenantInfoMapperByDerby class (#9549) 2022-11-11 10:22:39 +08:00
李晓双 Li Xiao Shuang
8995de31f0
Add unit tests to ConfigInfoAggrMapperByMySql class (#9524) 2022-11-10 15:16:18 +08:00
李晓双 Li Xiao Shuang
7e2e5dd07e
[ISSUE #9524] Add unit tests to ConfigInfoBetaMapperByMySql class (#9525)
* Add unit tests to ConfigInfoBetaMapperByMySql class

* Add unit tests to ConfigInfoBetaMapperByMySql class
2022-11-10 15:15:45 +08:00
李晓双 Li Xiao Shuang
e2931f324c
[ISSUE #9523] Add unit tests to ConfigInfoMapperByMySql class (#9526)
* Add unit tests to ConfigInfoMapperByMySql class

* Add unit tests to ConfigInfoMapperByMySql class
2022-11-10 15:15:17 +08:00
李晓双 Li Xiao Shuang
3b40d41723
Add unit tests to ConfigInfoTagMapperByMySql class (#9527) 2022-11-10 15:14:07 +08:00
李晓双 Li Xiao Shuang
5f815e69b1
Add unit tests to ConfigTagsRelationMapperByMySql class (#9528) 2022-11-10 15:13:30 +08:00
李晓双 Li Xiao Shuang
ac8a24754e
Add unit tests to HistoryConfigInfoMapperByMySql class (#9530) 2022-11-10 15:12:59 +08:00
李晓双 Li Xiao Shuang
a6197af66f
Add unit tests to TeantCapacityMapperByMySql class (#9531) 2022-11-10 15:12:14 +08:00