chenhao26
b52fc22d37
batch register add some unit tests ( #8702 )
...
* add some junit for batch register
* code syle
2022-07-08 11:53:58 +08:00
MajorHe1
e7498d7a4c
[ISSUE #8707 ] add distroKey log output when distro sync failed. ( #8708 )
...
* [ISSUE #8707 ] add distroKey log output when distro sync failed.
* append toString() method to log getDistroKey()
Co-authored-by: Oliver <wqdyxnbd@163.com>
Co-authored-by: Oliver <wqdyxnbd@163.com>
2022-07-08 11:53:16 +08:00
MajorHe1
68b521679c
[ISSUE #8709 ] check serverList size before reconnect to server ( #8710 )
...
* [ISSUE #8709 ] check serverList size before reconnect to server
* use CollectionUtils.isEmpty to judge whether server list is empty
Co-authored-by: Oliver <wqdyxnbd@163.com>
Co-authored-by: Oliver <wqdyxnbd@163.com>
2022-07-08 11:52:11 +08:00
KomachiSion
e6d2c0d70b
Add UT for nacos-auth-plugin module
2022-07-08 11:45:49 +08:00
杨翊 SionYang
7bb1e90549
Remove leave nacos server nodes API temporarily. ( #8700 )
2022-07-07 19:54:30 +08:00
mengyingsunshi
db09ce8f1f
fix( #8243 ): adapt v2 health check plugin ( #8537 )
2022-07-07 15:07:26 +08:00
onewe
3124f0ae9f
[Enhance] add some unit tests and some integration tests for address module ( #8643 )
...
* [Enhance] add some unit tests and some integration tests for address module
- add spring-boot-starter-test dependency
- use constructor injection instead of field injection
* add teardown method
* default replace with nacos
2022-07-07 11:36:47 +08:00
无处不在
fcc9b0aef9
[fix]Fix Word Spelling 'Naocs' in RaftExecutor NameThreadFactory ( #8673 )
2022-07-07 10:58:12 +08:00
chenhao26
073f9e09ed
[ISSUE#5863]add nacos client batchRegitserInstance request ( #8675 )
...
* add nacos client batchRegitserInstance request
* adjustment code
* fix word and do not remove indent
2022-07-07 10:56:22 +08:00
杨翊 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