Commit Graph

4143 Commits

Author SHA1 Message Date
杨翊 SionYang
5aabba13c9
[ISSUE#8099] Fast failure for distro sync task and verify task if cluster disconnect. (#8693)
* Fast failure for distro sync task and verify task if cluster disconnect.

* Fix UnnecessaryStubbingException
2022-07-07 10:41:23 +08:00
ZhangShenao
da34fbd411
Fix word spelling (#8678)
* Fix Word Spelling 'Naocs' in Comment

* Fix Word Spelling in Comment and Log of `ServiceInfo`
2022-07-05 17:43:36 +08:00
ZhangShenao
16059537a8
Fix Class Comment of ConfigPublishResponse and ConfigRemoveResponse (#8672) 2022-07-04 15:28:07 +08:00
chenhao26
6fe84f4c54
[ISSUE#5863] nacos server process batch register logic (#8496)
* Implement batch register logic and distro protocol

* check style

* add batch test junit

* Restore DB configuration

* Restore DB configuration

* check style

* remove metadata instance

* encapsulate equals method and hashcode method

* check code style

* check style and update hashcode

* update BatchInstancePublishInfo hashcode

* replace CollectionUtils.getCardinalityMap to Override hadhcode (BatchInstancePublishInfo)

* check style

* process instance null

* check code style

* 暂存

* add batch instance process distro data

* check code style

* check code sytle

* add license

* add licensegst

* delete unuse code

* cicd

* run it

* remove batch null check

* bug fix and code format

* remove nouse code
2022-07-01 14:19:42 +08:00
binbin.zhang
97c5ac42e6
Merge pull request #8641 from KomachiSion/develop-issue#4982
[ISSUE#4982] Add Unit test for CatalogServiceV2Impl
2022-07-01 11:11:42 +08:00
liqipeng
ff7bebac53
[ISSUE #8345] Check cluster name in client when registerInstance (#8618)
* Check cluster name in client when registerInstance

* Use `Pattern.compile` to check number to avoid performance lost.
2022-07-01 11:07:55 +08:00
xiaochangbai
ae1a1bec93
optimize: port offset constant (#8652)
* optimize: port offset constant

* optimize: code formatting

* remove extra spaces
2022-07-01 10:00:42 +08:00
ZhangShenao
10eacb7808
Fix Word Spelling 'Naocs' in Comment (#8646) 2022-07-01 00:24:09 +08:00
rui.zhang
7aa74b9643
feat: add version data compare in the history list (#7428)
* feat: add version data compare in the history list

* feat: add version data compare in the history list
2022-06-28 14:01:48 +08:00
onewe
56ee220a68
[ISSUES #8635] fix a NPE when call the shutdown method (#8636)
* [ISSUES #8635] fix a NPE when call the shutdown method

Close #8635

* [ISSUES #8635] remove init judgment
2022-06-28 13:46:34 +08:00
The-Gamer-01
ccce9da5a6
Test unit tests (#8638) 2022-06-28 13:45:46 +08:00
wangshengji
6ed9d77247
remove @Component annotation and constructor privatization (#8628) 2022-06-28 11:22:18 +08:00
胡俊
654462e41d
fix subscribe bug:select enable instance only. (#8629) 2022-06-28 11:21:43 +08:00
draco1023
1a4759e7ba
Change the length of the id column of the his_config_info table to 20 (#8631) 2022-06-28 11:20:15 +08:00
KomachiSion
a06152fd5d Add Unit test for CatalogServiceV2Impl 2022-06-28 09:53:59 +08:00
Oliver
cc4cf1b428
[ISSUE #8532]Remove component annotation (#8627)
* Remove component annotation

* checkstyle
2022-06-26 11:05:45 +08:00
Oliver
f53d50c94e
Bump mysql-connector-java from 8.0.21 to 8.0.28 (#8623) 2022-06-24 16:25:50 +08:00
liqipeng
f3d134d2c2
[ISSUE #8594] makes distro data load timeout can be configured. (#8595)
* makes distro data load timeout can be configured.

* specify nacos.core.protocol.distro.data.load.timeoutMs default 30s
2022-06-24 15:06:47 +08:00
liqipeng
2a4c2816b9
explicitly specify spring-boot-maven-plugin version same as spring-boot (#8596) 2022-06-24 15:05:56 +08:00
onewe
29b2fa4302
[ISSUE #8602] fix display error after delete current namespace (#8609)
- fix some warnings, such as use rowProps instead of getRowProps etc
- MainLayout keeps namespace param

Close #8602
2022-06-24 15:01:08 +08:00
liqipeng
bbbba1f453
Optimize GrpcUtils to reduce memory and cpu cost (#8593) 2022-06-23 11:12:09 +08:00
onewe
cbda95d014
[ISSUE #8515] Optimize some code in InetUtils (#8522)
* [ISSUE #8515] auto refresh ip address

Close #8515

* [ISSUE #8515] add the unit test

Close #8515

* [ISSUE #8515] clean system variable after unit test done

Close #8515

* [ISSUE #8515] add tearDown method for the unit test

- reformat by nacos-style

* [ISSUE #8515] fix ci error

* [ISSUE #8515] fix ci error

* [ISSUE #8515] fix ci error
2022-06-20 10:23:59 +08:00
chenhao26
7a3757c751
Extract Constant in LimitType (#8587) 2022-06-20 10:21:05 +08:00
liqipeng
b53827bcb9
fix typo (#8591) 2022-06-20 10:16:49 +08:00
Karson
e5cfd23186
Use SPI optimize StartingApplicationListener (#8547)
* Use SPI to load NacosApplicationListener

* add License des

* add License des

* add License des
2022-06-17 11:10:11 +08:00
胡俊
5e7d20404c
[ISSUE#8561]Authentication performance optimization (#8564)
* for #8561

* for #8561

* fix test error

* fix test error
2022-06-17 11:07:35 +08:00
Oliver
01fb64fb58
Fix typo (#8567) 2022-06-17 11:06:43 +08:00
david6969xin
20af725205
use StandardCharsets.UTF_8 instead of Charsets.UTF_8 (#8581)
* use StandardCharsets.UTF_8 instead of Charsets.UTF_8

* remove unused import
2022-06-17 11:00:40 +08:00
Cherish 蔡梦缘
747e2f9c25
feat(#8472): [Dependency Governance] replace org.apache.commons.logging.Log with org.slf4j.Logger. (#8472) (#8578) 2022-06-16 10:03:53 +08:00
杨翊 SionYang
ed81d3cdd0
Enhance to remove double filter service info for push callback. (#8574)
* Enhance to remove double filter service info for push callback.

* Enhance to remove double filter service info for push callback.
2022-06-16 10:01:54 +08:00
GuiShao
a7d8066e41
[ISSUE#8481]Unified TRACE capacity building (#8521) 2022-06-14 15:39:46 +08:00
drgnchan
10e0490359
fix typo (#8566) 2022-06-13 23:28:59 +08:00
david6969xin
fa5fbd79e1
[ISSUE#8485] (module-common) replace the type specification in this constructor call with the diamond operator ("<>") (#8554) 2022-06-13 10:32:58 +08:00
david6969xin
9e53f7c6ee
[ISSUE#8485] (module-config) replace the type specification in this constructor call with the diamond operator ("<>") (#8555) 2022-06-13 10:32:46 +08:00
Cherish 蔡梦缘
703925a84f
feat(#8472): [Dependency Governance] Remove useless dependencies. (#8472) (#8473) 2022-06-13 10:31:11 +08:00
david6969xin
ea9adb6bcb
[ISSUE#8485] (module-consistency) replace the type specification in this constructor call with the diamond operator ("<>") (#8556) 2022-06-13 10:09:24 +08:00
david6969xin
a6e1ff9508
[ISSUE#8485] (module-core) replace the type specification in this constructor call with the diamond operator ("<>") (#8557) 2022-06-13 10:09:05 +08:00
chenhao26
9273252ffc
fix spring security vulnerability(cve-2022-22978)issue#8540 (#8541) 2022-06-10 10:36:43 +08:00
胡俊
bf1c06f82b
Solve the bug: the persistent instance becomes a temporary instance after the console operation goes offline (#8517) 2022-06-10 10:06:37 +08:00
david6969xin
b8b34b81cc
[ISSUE#8533] remove redundant signHeaders empty judgment (#8534) 2022-06-10 09:58:56 +08:00
liqipeng
989d437d69
[ISSUE #8539] fix prometheus api error (#8542) 2022-06-10 09:51:33 +08:00
chenhao26
8a9f6f8bd6
upgrade grpc netty version to 1.30.2 (#8491) 2022-06-07 15:36:21 +08:00
gogogo
86193ecf27
[Document] Fix some translation issues (#8507)
* fix some translation issues

* fix some translation issues
2022-06-07 15:35:53 +08:00
郭江富
9b077d4656
For #8479, Fix the problem that some singleton classes construction method not private (#8508) 2022-06-07 15:35:03 +08:00
Roger3581321
fb600be9e6
removing unnecessary 'toString()' call (#8525) 2022-06-07 15:28:34 +08:00
onewe
b6db08bdd4
[ISSUE #8528] update server.tomcat.basedir default value (#8529)
Close #8528
2022-06-07 15:22:16 +08:00
liqipeng
4c23846cd9
fix #8169: Upgrade spring-boot version to 2.6.6 (#8184) 2022-06-06 11:28:32 +08:00
Cherish 蔡梦缘
9d9a26ace3
feat(#8472): [Dependency Governance] Remove useless netty. (#8472) (#8474) 2022-06-06 11:24:33 +08:00
Karson
8fa3deed92
Use ContextRefreshedEvent replace PostConstruct to make sure get obje… (#8490)
* use ContextRefreshedEvent replace PostConstruct to make sure get object from spring not throw null pointer exception.

* reformat code style

* reformat code style
2022-06-06 11:23:39 +08:00
david6969xin
ce41075de6
[ISSUE#8485] (module-client) replace the type specification in this constructor call with the diamond operator ("<>") (#8498) 2022-06-06 10:35:14 +08:00