Commit Graph

4416 Commits

Author SHA1 Message Date
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
李晓双 Li Xiao Shuang
ba57944063
Add unit tests to TeantInfoMapperByMySql class (#9532) 2022-11-10 15:11:42 +08:00
李晓双 Li Xiao Shuang
6465cd42c5
Add unit tests to AbstractMapper class (#9533) 2022-11-10 15:11:07 +08:00
李晓双 Li Xiao Shuang
a42e55e43f
Add unit tests to MapperManager class (#9534) 2022-11-10 15:10:16 +08:00
李晓双 Li Xiao Shuang
7c1e5483b6
Add unit tests to GroupCapacityMapperByMySql class (#9529) 2022-11-10 15:09:11 +08:00
无处不在
ec7ba18792
[impr]Update some method from RETURN_GENERATED_KEYS replace to String[]{"id"},Avoid database compatibility issues (#9515) 2022-11-10 09:42:38 +08:00
李晓双 Li Xiao Shuang
3f1b96b15a
[ISSUE #9516] Clean up PersistService invalid code logic (#9517)
* Clean up PersistService invalid code logic

* Clean up PersistService invalid code logic

* Clean up PersistService invalid code logic
2022-11-10 09:42:35 +08:00
RapperCL
ba9b30da8e
[ISSUE #9391] Chooser optimization (#9392)
* Chooser use optimization

* codeStyle edit

* Array initial capacity optimization

* Constructor enhancements

* update

* empty

* update

* update
2022-11-09 09:49:36 +08:00
RapperCL
9b6a993622
[ISSUE #9478] fix the chooser bug when all instances have a zero weight (#9479)
* fix bug and add test

* code style

* code style

* code style

* Revert "code style"

This reverts commit c7c204ac0a7d93be3913a75f1ea51708af7e73f9.

* add license
2022-11-09 09:48:29 +08:00
李晓双 Li Xiao Shuang
00dea25de0
[ISSUE #9506] Sql extraction of group_capacity table (#9507)
* sql extraction of group_capacity table

* sql extraction of group_capacity table

* sql extraction of group_capacity table

* sql extraction of group_capacity table
2022-11-09 09:24:23 +08:00
李晓双 Li Xiao Shuang
0348014c17
[ISSUE #9490] Optimize datasource name configuration reading (#9491)
* Optimize data source name configuration reading

* Optimize data source name configuration reading

* Compatible with old and new datasource platform read

* Compatible with old and new datasource platform read

* Compatible with old and new datasource platform read

* Compatible with old and new datasource platform read

* fix unit test

* fix unit test
2022-11-08 09:22:33 +08:00
David-wu91
e5bbfe704d
resolve issue #9318 add ldap filter config:caseSensitive (#9444)
* resolve issue #9318 add ldap filter config:caseSensitive

* resolve issue #9318 change code style

* resolve issue #9318 add unit test
2022-11-07 17:24:53 +08:00
无处不在
21683957e5
[ISSUE #9415]update setExternalStorage logic,support more db check,add 8 count unit test (#9470)
* [impr]update setExternalStorage method logic,support more db check,add 8 count unit test method

* update comment desc
2022-11-07 17:17:52 +08:00
hth
898cbb18d4
move custom db pwd plugin to nacos-group and specification plugin name (#9480) 2022-11-07 17:09:13 +08:00
The-Gamer-01
3750f73bd4
[ISSUE #9486]Optimizing paging parameters. (#9488) 2022-11-06 17:25:04 +08:00
李晓双 Li Xiao Shuang
6849af1547
Optimizing paging parameters (#9487) 2022-11-06 16:59:27 +08:00
李晓双 Li Xiao Shuang
40519a22d5
[ISSUE #9475] Abstract common count method (#9481)
* Abstract common count method

* Abstract common count method

* Abstract common count method

* Abstract common count method

* Abstract common count method

* Abstract common count method
2022-11-06 15:53:05 +08:00
The-Gamer-01
ff2497d999
[ISSUE #9449]Add Tenant Capacity mapper. (#9456) 2022-11-05 00:44:21 +08:00