李晓双 Li Xiao Shuang
16e80ec91f
add unit test for v2 index ( #5563 )
2021-05-10 10:53:15 +08:00
xiaoheng1
42ab4b0d71
Optimize ConfigRequest and ConfigResponse code, extract common constants ( #5548 )
...
* fix 5547 Optimize ConfigRequest and ConfigResponse code, extract common constants
* modify Contants to ConfigConstants
* add summary javadoc
2021-05-10 10:49:56 +08:00
李晓双 Li Xiao Shuang
0541ba8deb
[ISSUE #5522 ] add unit test for MetadataOperation ( #5608 )
...
* add unit test for MetadataOperation
* update method name
2021-05-10 10:47:28 +08:00
李晓双 Li Xiao Shuang
b478166d1c
add unit test for NamingMetadataManager ( #5609 )
2021-05-10 10:47:09 +08:00
李晓双 Li Xiao Shuang
7f924b58f1
add unit test for NamingMetadataOperateService ( #5610 )
2021-05-10 10:46:52 +08:00
李晓双 Li Xiao Shuang
8fa60671e9
add unit test for ServiceMetadata ( #5611 )
2021-05-10 10:46:29 +08:00
李晓双 Li Xiao Shuang
b70549d6e3
add unit test for ServiceMetadataSnapshotOperation ( #5613 )
2021-05-10 10:46:13 +08:00
李晓双 Li Xiao Shuang
4bc80436da
add unit test for ServiceMetadataProcessor ( #5614 )
2021-05-10 10:45:06 +08:00
孙继峰
818d37b71c
delete duplicated dependency ( #5622 )
2021-05-10 10:43:58 +08:00
邪影oO
55da4c7d7d
Delete .editorconfig ( #5576 )
...
remove .editorconfig, use style/NacosCheckStyle.xml
2021-05-06 16:57:38 +08:00
JackSun-Developer
52278a4849
[ #5554 ] Fix Unit Test for com.alibaba.nacos.naming.core.DomainsManager.java ( #5555 )
2021-04-30 18:06:29 +08:00
JackSun-Developer
1b1975a2fd
[ #5551 ] Fix Unit Test for com.alibaba.nacos.naming.healthcheck.ClientBeatCheckTask ( #5552 )
2021-04-30 18:06:12 +08:00
JackSun-Developer
ca7e4cc780
[ #5549 ] Fix Unit test for NamingSnapshotOperationTest.java ( #5550 )
2021-04-30 18:05:45 +08:00
brothelul
ae83b9b3d5
enhance the rollback message when it will delete the config. ( #5529 )
2021-04-30 18:04:37 +08:00
xiaoheng1
9fb0ec3b79
fix #5536 add configFilterChain test case ( #5539 )
2021-04-30 17:39:58 +08:00
JackSun-Developer
7d110e665e
[ #5545 ] naming/src/test/java/com/alibaba/nacos/naming/consistency/persistent/ClusterVersionJudgementTest.java unit tests cannot pass, and have bad code style. ( #5546 )
2021-04-30 15:48:50 +08:00
wql
a713203c66
IPv6 and IPv4 check rules are optimized. splitIPPortStr method adds IPv4 check, and the optimized method does not affect the startup of container environment ( #5514 )
...
* The IPv6 judgment logic in this method will obtain IP address according to the host. In the container environment, K8S has not allocated IP to this pod, and then the judgment will report an error. After finding this problem, I gave feedback to remove the IPv4 judgment, but this problem still exists in IPv6. Suggested to remove the verification logic can be in other ways to optimize.
* Revert "The IPv6 judgment logic in this method will obtain IP address according to the host. In the container environment, K8S has not allocated IP to this pod, and then the judgment will report an error. After finding this problem, I gave feedback to remove the IPv4 judgment, but this problem still exists in IPv6. Suggested to remove the verification logic can be in other ways to optimize."
This reverts commit a112e52
* Both IPv4 and IPv6 validation rules adopt regular validation. In order to prevent the container from adding domain name rule validation in the case of domain name resolution deployment, the logic of removing Chinese slogan should be added before the rule validation in IPv6.
* Optimize and add licenses according to Ali's protocol
* The isDomain method is changed to validate only rules
* Format to optimize
2021-04-30 09:14:08 +08:00
xiaoheng1
56d3f3cc74
fix #5527 Optimize ParamUtil code and extract constants ( #5528 )
2021-04-29 19:10:42 +08:00
drgnchan
3aae93d523
fix #5517,invoke reQuery after change queryType ( #5525 )
2021-04-29 19:06:55 +08:00
shalk(xiao kun)
ef15888658
[ISSUE #5153 ] Add unit tests for package com.alibaba.nacos.client.naming.remote in nacos 2.0 ( #5518 )
2021-04-29 18:58:34 +08:00
brothelul
d65453f163
format the code in DefaultPublisher.java, log.error and @Override issue ( #5515 )
2021-04-29 18:57:20 +08:00
KomachiSion
a4771d916c
Upgrade version to 2.0.2-SNAPSHOT
2021-04-29 17:51:03 +08:00
杨翊 SionYang
4d4b3377c3
Merge branch '2.0.0' into feature_support_grpc_core
2021-04-29 16:41:12 +08:00
KomachiSion
c0919f921b
Upgrade version to 2.0.1
2021-04-29 16:38:52 +08:00
杨翊 SionYang
50c731884c
Upgrade version to 1.4.2 ( #5530 )
2021-04-29 16:01:13 +08:00
KomachiSion
de40cdd943
Remove unused codes in ServerMemberManager
2021-04-28 17:50:30 +08:00
KomachiSion
ba676e01b8
Shade guava class after guava upgrade
2021-04-27 20:52:45 +08:00
杨翊 SionYang
54a8403b55
Merge pull request #5509 from KomachiSion/merge-1.X-to-2.0
...
Merge 1.x to 2.0
2021-04-27 19:34:07 +08:00
KomachiSion
6609b14d53
Fix CI
2021-04-27 18:56:48 +08:00
KomachiSion
2847373fd0
Solve conflict
2021-04-27 16:19:56 +08:00
KomachiSion
92da848375
Merge remote-tracking branch 'upstream/develop' into merge-1.X-to-2.0
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java
# client/src/main/java/com/alibaba/nacos/client/config/impl/CacheData.java
# client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
# client/src/main/java/com/alibaba/nacos/client/naming/core/PushReceiver.java
# console/src/main/resources/static/css/main.css
# console/src/main/resources/static/js/main.js
# naming/src/main/java/com/alibaba/nacos/naming/core/SubscribeManager.java
# naming/src/test/java/com/alibaba/nacos/naming/core/SubscribeManagerTest.java
# test/src/test/java/com/alibaba/nacos/test/BaseTest.java
2021-04-27 15:57:24 +08:00
KomachiSion
bd8ac55386
rollback subscribers push data immediately to protect push frequent.
2021-04-27 15:38:26 +08:00
杨翊 SionYang
5fa05aef52
Upgrade dependency version to fix security alert ( #5506 )
2021-04-27 15:16:54 +08:00
brothelul
3070bb8ffc
fix the press F1 to full screen issue in new config page ( #5507 )
2021-04-27 15:15:59 +08:00
brothelul
b148d4b503
fix the press F1 to full screen issue ( #5505 )
2021-04-27 14:07:12 +08:00
李晓双 Li Xiao Shuang
6c20d35af8
add unit test for PersistentConsistencyServiceDelegateImpl ( #5491 )
...
* add unit test for PersistentConsistencyServiceDelegateImpl
* add unit test for PersistentConsistencyServiceDelegateImpl
* add unit test for PersistentConsistencyServiceDelegateImpl
2021-04-27 10:12:02 +08:00
brothelul
72e5da6baf
[ISSUE #4770 ] Beta publish: change the way of select betaIps, from input to select ( #5493 )
...
* change the way of select betaIps, from input to select
* solve the conflict and change the Select from mutiple to tag
2021-04-27 09:41:51 +08:00
Robert LU
f336283a18
[ISSUE #5367 ]SPI IConfigFilter ( #5474 )
2021-04-26 15:49:25 +08:00
brothelul
81c1e53ac6
fix the tag remove error. ( #5457 )
2021-04-26 13:46:30 +08:00
杨翊 SionYang
71a0037f50
Refactor Distro Config as singleton and replace GlobalConfig ( #5486 )
...
* Refactor Distro Config as singleton and replace GlobalConfig
* Use configed timeout for distro sync and verify
* Fix IT error.
2021-04-25 16:50:10 +08:00
杨翊 SionYang
267d67190b
Some enhancement for logs and ability. ( #5482 )
2021-04-25 13:08:24 +08:00
孙继峰
da3a1ea796
[ISSUE #5380 ] Use assert instead of System.out ( #5472 )
...
* use assert instead of System.out
* move test case, there is no file named ParamCheckUtil.java
2021-04-25 10:03:28 +08:00
JackSun-Developer
ee8f636db1
[ #5467 ] com.alibaba.nacos.naming.consistency.DelegateConsistencyServiceImpl lacks a lot of Unit Tests. ( #5468 )
2021-04-23 19:14:37 +08:00
brothelul
2f82f070fe
[ISSUE #5190 ]remove the unnecessary catch in the login method ( #5456 )
...
* remove the unnecessary catch in the login method
* catch the throwable error when login and print the message
2021-04-23 19:12:52 +08:00
杨翊 SionYang
6c064bfe41
For #5171 , Fix all IT case ( #5464 )
2021-04-23 18:36:02 +08:00
brothelul
6c270cb3ac
[ISSUE #5078 ] set default pageSize to 10000 for getting all the subscribers in other server node. ( #5424 )
...
* hardcode to get all the subscribers by set the pageSize to 10000
* change the default pageSize from 10000 to 1000
* change the param of getSubscriber to support the pageNo and pageSize
2021-04-23 09:52:04 +08:00
xiaoheng1
b1e78b6f6d
Optimize the ConfigType.isValidType method ( #5434 )
...
* fix #5432 Optimize the ConfigType.isValidType method
* code format
2021-04-23 09:48:45 +08:00
杨翊 SionYang
30304f0b3a
For #5171 , Fix naming IT case ( #5450 )
2021-04-22 16:40:22 +08:00
Pixy Yuan
758b8b3942
[ISSUE #5442 ] change state to UP when received status form old version server ( #5445 )
...
* [ISSUE #5442 ] change state to UP when received status form old version server
* [ISSUE #5442 ] Optimize server status received logic
2021-04-22 16:39:19 +08:00
张志勇
103e671d90
Support specified naming UDP push port for client ( #5439 )
...
* Nacos client within docker container could not receive service changes via udp
* change code style
2021-04-22 15:10:04 +08:00