KomachiSion
cf5a171ac5
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# NOTICE
# api/pom.xml
# common/src/main/java/com/alibaba/nacos/common/notify/DefaultPublisher.java
# config/src/main/java/com/alibaba/nacos/config/server/service/LongPollingService.java
# naming/src/test/java/com/alibaba/nacos/naming/consistency/persistent/impl/NamingSnapshotOperationTest.java
# naming/src/test/java/com/alibaba/nacos/naming/core/DomainsManagerTest.java
# naming/src/test/java/com/alibaba/nacos/naming/healthcheck/ClientBeatCheckTaskTest.java
# pom.xml
# test/src/test/java/com/alibaba/nacos/test/core/JacksonUtils.java
2021-05-14 11:04:52 +08:00
孙继峰
4ecf293fa7
[ISSUE #5704 ] adjust code style ( #5705 )
2021-05-14 10:07:52 +08:00
Pixy Yuan
98aae398f8
[ISSUE #5692 ] Make service removal sensed by double write. ( #5706 )
...
* [ISSUE #5692 ] Add double write task sensing removal of v2 service.
* [ISSUE #5692 ] Add double write task sensing removal of v1 service.
* [ISSUE #5692 ] Make async checker of services sensing removal of v1 service.
2021-05-14 09:54:52 +08:00
mingyang feng
64601e0581
Fixes logical judgment expression #5683 ( #5685 )
...
* One aspect of code quality is to have better expressions.
* Update ClientBeatProcessor.java
* Update ClientBeatProcessor.java
2021-05-14 09:39:36 +08:00
xiaoheng1
40cb9ecc43
Extract constants in WebUtils ( #5677 )
...
* fix #5676 Extract constants in WebUtils
* add empty line separator
* use nacon.common constants.
2021-05-14 09:38:51 +08:00
孙继峰
7ed7b45772
[ISSUE #5538 ] fix test case fail ( #5620 )
2021-05-14 09:38:20 +08:00
brotherlu-xcq
c756da3c88
Change the invalid compare in NotifySingleService ( #5587 )
...
* optimize the compare in NotifySingleService.java
* delete the unused method setupNotifyExecutors
2021-05-14 09:37:03 +08:00
杨翊 SionYang
d929c2e328
Add monitor about Distro ( #5686 )
2021-05-12 16:42:37 +08:00
shalk(xiao kun)
c8ad434ba9
[ISSUE #5155 ] Add unit tests for package com.alibaba.nacos.client.naming.remote in nacos 2.0 ( #5679 )
...
* wip: add NacosNamingMaintainServiceTest
* wip
* add NacosNamingServiceTest
2021-05-12 14:44:59 +08:00
rui.zhang
de070a53ce
faet: relayout configurations page ( #5673 )
2021-05-11 20:48:16 +08:00
Pixy Yuan
b6d96b69c7
Fix service group name when upgrading. ( #5674 )
...
* [ISSUE #5671 ] Prefer serviceV2.groupName using groupName in serviceV1.name
* [ISSUE #5671 ] Add groupName to service when creating by v1 operator
2021-05-11 20:41:18 +08:00
xiaoheng1
5386096b1d
Deal with the concurrency of ClientLongPolling and DataChangeTask about allSubs ( #5561 )
...
* fix #5560 Deal with the concurrency of ClientLongPolling and DataChangeTask about allSubs
* add log to default log.
2021-05-11 15:25:39 +08:00
brotherlu-xcq
9300c39375
Fix the locales of field Action Type don't take effect in config history detail page ( #5664 )
...
* fix #5623 , the locale issue in config rollback page
* build the change
2021-05-11 09:18:34 +08:00
rui.zhang
639297372e
fix: button to add margin-right ( #5637 )
2021-05-10 20:43:09 +08:00
plusmancn
7e57b90160
[ISSUE #3548 ] The srcUser fills with username when auth is disabled (console case) ( #5566 )
...
* feat: srcUser fills with username (console case)
* fix: code sytle of Constants.java
* fix: code style of the remaining files
* fix: the back button of HistoryDetail.js won't work
* fix: change '源 IP' to '来源 IP'
* fix: undo changes of goList
2021-05-10 20:41:35 +08:00
xiaoheng1
c043ad4d08
Optimize the AbstractMemberLookup class, abstract out the template method ( #5593 )
...
* fix #5592 Optimize the AbstractMemberLookup class, abstract out the template method
* add exception javadoc
2021-05-10 20:40:55 +08:00
rui.zhang
4146a1e8b1
fix: 详情页返回历史版本页后查询参数丢失 ( #5619 )
2021-05-10 12:47:42 +08:00
JackSun-Developer
1ec7ffa4b1
[ #5577 ] The AddressServerMemberLookupTest class lacks a lot of Unit Tests. ( #5578 )
2021-05-10 12:46:06 +08:00
JackSun-Developer
88a0871f80
[ #5601 ] The package com.alibaba.nacos.core.distributed.distro.component lacks Unit Tests. ( #5606 )
2021-05-10 12:45:40 +08:00
haoyann
6afcb059e0
remove unnecessary return ( #5626 )
2021-05-10 11:45:41 +08:00
JackSun-Developer
af0f01d21b
[ #5600 ] The class com.alibaba.nacos.naming.core.DistroMapperTest lacks Unit Test. ( #5605 )
2021-05-10 11:44:41 +08:00
FlyingLambrog
af0c2f5fcb
Add unit test for class naming.consistency.persistent.impl.NamingKvStorage ( #5568 )
2021-05-10 11:43:51 +08:00
JackSun-Developer
c27292116c
[ #5599 ] The class com.alibaba.nacos.core.distributed.distro.DistroConfig lacks Unit Test. ( #5604 )
2021-05-10 11:42:07 +08:00
JackSun-Developer
b564256441
[ #5596 ] Package com.alibaba.nacos.core.distributed.distro.task lacks a lot of Unit Tests ( #5603 )
2021-05-10 11:41:43 +08:00
JackSun-Developer
26c6db005b
[ #5595 ] Package com.alibaba.nacos.core.distributed.distro.entity lacks a lot of Unit tests ( #5602 )
2021-05-10 11:41:13 +08:00
brotherlu-xcq
7165036362
change the Chinese notes to English ( #5591 )
2021-05-10 11:38:50 +08:00
xiaoheng1
e0a9ecb976
fix #5583 Modify the Chinese log in CapacityController ( #5584 )
2021-05-10 11:24:16 +08:00
JackSun-Developer
5395237062
[ #5581 ] The class DataStore lacks a lot of Unit Tests. ( #5582 )
2021-05-10 11:10:56 +08:00
JackSun-Developer
d31acb5e45
[ #5579 ] The class LookupFactory lacks corresponding Unit Test. ( #5580 )
2021-05-10 11:09:53 +08:00
Pixy Yuan
d26689a159
[ISSUE #5574 ] Remove downgraded member version info. ( #5575 )
...
* [ISSUE #5574 ] Remove downgraded member version info.
* [ISSUE #5574 ] Remove downgraded member `readyToUpgrade` info.
2021-05-10 11:07:30 +08:00
李晓双 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