杨翊 SionYang
463a29f082
Develop fix ci ( #6092 )
...
* Fix github CI
* Add github IT
2021-06-17 15:15:54 +08:00
brotherlu-xcq
2dc35ab9a9
[FOR 5094 monitor] add unit tests in nacos-core. ( #6076 )
...
* [nacos-core] [unit test] add unit test in monitor directory.
* [nacos-core] [unit test] rollback unused change
2021-06-16 10:30:33 +08:00
brotherlu-xcq
b23756faaf
[FOR 5094 storage] add unit tests in nacos-core. ( #6043 )
...
* [Unit tests] [storage] add unit tests.
* add License
2021-06-15 13:55:52 +08:00
brotherlu-xcq
e74560de1c
[FOR 5094 utils] add unit tests in nacos-core. ( #6037 )
...
* [Unit tests] [RemoteUtils] add unit tests.
* [Unit tests] [StringPool] add unit tests.
* [Unit tests] [OverrideParameterRequestWrapper] add unit tests.
* [Unit tests] [WebUtils] add unit tests.
* [Unit tests] [ClassUtils] add unit tests.
2021-06-15 13:55:17 +08:00
虫二
1650850adf
[ISSUE #5999 ] AddressServerMemberLookup.syncFromAddressUrl适配nacos endpoint ( #6001 )
...
* [ISSUE #5999 ] AddressServerMemberLookup.syncFromAddressUrl适配nacos endpoint
* 添加AddressServerMemberLookup.syncFromAddressUrl方法测试
* 恢复点分隔配置
2021-06-15 13:51:41 +08:00
brotherlu-xcq
c5ff2f7aac
fix the problem by code quality ( #6027 )
2021-06-09 19:31:03 +08:00
brotherlu-xcq
11b49cc3d6
[code quality] [nacos-core] [remote-grpc/utils] remove unnecessary symbol, export constant in class ( #5897 )
2021-05-31 10:11:07 +08:00
brotherlu-xcq
4cfa8277cc
[FOR 5877 remote/control] improve the code quality of nacos-core. ( #5896 )
...
* [code quality] [nacos-core] [remote-control] remove unnecessary symbol, export constant in class, change the Chinese javadoc to English
* [code quality] [nacos-core] [remote-control] remove unnecessary symbol, export constant in class, change the Chinese javadoc to English
2021-05-31 10:04:53 +08:00
brotherlu-xcq
be37450ba4
[code quality] [nacos-core] [controller/distributed/listner/monitor] remove unnecessary symbol, export constant in class, change the Chinese javadoc to English ( #5895 )
2021-05-31 10:02:24 +08:00
brotherlu-xcq
cb5500679c
[FOR 5877 auth/cluster] improve the code quality of nacos-core. ( #5894 )
...
* [code quality] [nacos-core] [auth/cluster] remove unnecessary symbol, export constant in class, change the Chinese javadoc to English
* [code quality] [nacos-core] [auth/cluster] fix the ci problem
2021-05-31 09:59:55 +08:00
孙继峰
15c71831e7
[ISSUE #5765 ] fix localhost not match ip ( #5852 )
...
* rename IPUitl to InternetAddressUtil
* move isDomain to InternetAddressUtil
* [ISSUE #5765 ] fix localhost not match ip
* fix typo
* delete the verification IP, follow the single responsibility principle
2021-05-27 19:01:39 +08:00
Pixy Yuan
ebd6322e7e
[ISSUE #5872 ] Downgrade checker only focus on changing members. ( #5873 )
2021-05-27 17:44:30 +08:00
KomachiSion
fe1218674a
Fix test compile problem
2021-05-14 11:30:51 +08:00
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
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
杨翊 SionYang
d929c2e328
Add monitor about Distro ( #5686 )
2021-05-12 16:42:37 +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
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
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
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
孙继峰
818d37b71c
delete duplicated dependency ( #5622 )
2021-05-10 10:43:58 +08:00
KomachiSion
de40cdd943
Remove unused codes in ServerMemberManager
2021-04-28 17:50:30 +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
杨翊 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
赵延
291a969e7d
fix error log mismatch {}. ( #5426 )
2021-04-21 09:38:50 +08:00
杨翊 SionYang
afed87ee30
Fix config IT for nacos2 ( #5421 )
2021-04-20 18:16:30 +08:00
JackSun-Developer
36a4a84474
[ #5393 ] The class core.distributed.raft.JRaftProtocol lacks a lot of Unit Tests. ( #5395 )
2021-04-19 10:41:37 +08:00
JackSun-Developer
5b770a0306
[ #5353 ] The class core.distributed.raft.JRaftServer lacks a lot of Unit Tests. ( #5394 )
2021-04-19 09:30:58 +08:00
JackSun-Developer
2b29315889
[ #5353 ] The class core.distributed.raft.JRaftServer lacks a lot of Unit Tests. ( #5396 )
2021-04-19 09:29:52 +08:00
JackSun-Developer
121750ee33
[ #5393 ] The class core.distributed.raft.JRaftProtocol lacks a lot of Unit Tests. ( #5398 )
2021-04-19 09:29:02 +08:00
杨翊 SionYang
73eea9c0bb
Use ThreadUtil and EnvUtil replace Runtime.availableProcessor ( #5388 )
2021-04-16 17:32:14 +08:00
KomachiSion
51cc2b1b4b
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# 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/test/java/com/alibaba/nacos/client/config/common/GroupKeyTest.java
# common/src/test/resources/META-INF/services/com.alibaba.nacos.common.spi.SpiTestInterface
# config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigServletInner.java
# console/src/main/resources/static/css/main.css
# console/src/main/resources/static/js/main.js
# istio/src/main/java/com/alibaba/nacos/istio/mcp/NacosMcpService.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/ApiController.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java
# naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java
2021-04-13 14:28:30 +08:00
cutiechi
7a1e78e836
[ISSUE#5253] Fix missing identity header error ( #5309 )
...
* Fix missing identity header error
* Format code
* Remove unnecessary change
2021-04-09 10:46:54 +08:00
赵延
d07e89098d
memory optimize. ( #5273 )
2021-04-08 16:11:55 +08:00
杨翊 SionYang
d146e057c4
Fix ThreadPool usage problem and add some monitor for distro ( #5237 )
2021-03-30 16:27:41 +08:00
nov.lzf
a6a254a1c0
fix thread pool ( #5233 )
...
* fix thread pool
* fix log
2021-03-29 21:31:06 +08:00
Gagharv
141e531c52
Just delete unnecessary code, which may cause members to lose state, such as supportRemoteConnection
. ( #5176 )
...
When the node list is changed, ClusterRpcClientProxy#refresh is judged as a member leave.
2021-03-25 09:46:01 +08:00
赵延
32d8d4be43
remove useless file. ( #5142 )
2021-03-19 15:45:55 +08:00
赵延
6df6097b63
remove useless file. ( #5140 )
2021-03-19 11:46:22 +08:00
KomachiSion
d160c84bf3
Solve conflict
2021-03-18 13:42:14 +08:00
KomachiSion
acbdaf012e
Solve conflict
2021-03-18 13:41:13 +08:00
KomachiSion
bd4b63d834
Merge remote-tracking branch 'upstream/feature_support_grpc_core' into develop-merge-to-2.0
2021-03-18 13:38:35 +08:00
nov.lzf
5fc13e9654
add client ip ( #5134 )
...
* add client ip
* checkstyle fix
* wait to register connection setup
2021-03-18 13:22:10 +08:00
KomachiSion
6cda5ad55a
Merge remote-tracking branch 'upstream/develop' into develop-merge-to-2.0
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/naming/core/HostReactor.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/http/NamingHttpClientProxy.java
# client/src/test/java/com/alibaba/nacos/client/config/impl/YmlChangeParserTest.java
# common/src/main/java/com/alibaba/nacos/common/http/param/Header.java
# common/src/main/java/com/alibaba/nacos/common/utils/ConcurrentHashSet.java
# config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigController.java
# console/src/main/resources/static/js/main.js
# core/src/main/java/com/alibaba/nacos/core/cluster/ServerMemberManager.java
# core/src/main/java/com/alibaba/nacos/core/utils/Loggers.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HealthCheckReactor.java
# pom.xml
2021-03-18 12:08:45 +08:00