brotherlu-xcq
4dafe6fa86
[code quality] [nacos-common] [remote/spi] remove unnecessary symbol, export constant in class. ( #5820 )
2021-05-24 14:10:38 +08:00
brotherlu-xcq
5089af1a1e
[code quality] [nacos-common] [notify/http] remove unnecessary symbol, export constant in class. ( #5819 )
2021-05-24 14:05:28 +08:00
tianqingzhao
5e40b78500
Remove any extra curly brace suffixes from the log ( #5810 )
2021-05-24 14:03:05 +08:00
Pixy Yuan
5c7730737a
[ISSUE #5798 ] Fix upgraded server cannot downgrade and upgrade again. ( #5800 )
...
* [ISSUE #5798 ] Fix upgraded server cannot downgrade and upgrade again.
* Fix NPE when delete ServiceMetadata of an non-exist service.
2021-05-21 11:06:49 +08:00
brotherlu-xcq
6bc7c33188
[fix-#5713] fix the query param lost when use enter press to search ( #5791 )
2021-05-21 11:02:38 +08:00
孙继峰
ea47adc124
[issue #5765 ] fix localhost not match ip ( #5787 )
2021-05-21 11:02:04 +08:00
Pixy Yuan
93fd771271
[ISSUE #5782 ] Fix removal of instances when DoubleWrite removing service. ( #5793 )
2021-05-20 11:12:03 +08:00
Pixy Yuan
c858139329
[ISSUE #5775 ] Persist the cluster upgrade states to disk. ( #5792 )
2021-05-20 11:11:07 +08:00
brotherlu-xcq
624646980c
[ISSUE #5766 ] improve the code quality of nacos-address ( #5790 )
...
* [code quality] [nacos-config] [all content] fix the ResponseEntity, the if nest optimize.
* [code quality] [nacos-address] [utils] rollback logic
2021-05-20 11:08:48 +08:00
李晓双 Li Xiao Shuang
35c8035861
[ISSUE #5774 ] improve the code quality for controllers ( #5784 )
...
* improve the code quality for controllers
* improve the code quality for controllers
2021-05-20 11:05:54 +08:00
李晓双 Li Xiao Shuang
022fb6ac68
improve the code quality for consistency ( #5783 )
2021-05-20 11:04:56 +08:00
李晓双 Li Xiao Shuang
08db47ce84
magic number ( #5781 )
2021-05-20 09:51:52 +08:00
mai.jh
2731f683a6
Comment typos correction. ( #5768 )
2021-05-19 09:17:10 +08:00
FlyingLambrog
5e80d12932
Add unit tests for class naming.core.ClusterOperatorV2Impl ( #5763 )
2021-05-18 19:52:47 +08:00
李晓双 Li Xiao Shuang
d9902175a6
constant variables ( #5773 )
2021-05-18 19:50:58 +08:00
Pixy Yuan
4655dded44
[ISSUE #5767 ] Cleanup data of v1 after disable DoubleWrite. ( #5772 )
2021-05-18 19:48:07 +08:00
liaozan
f5f03ac552
fix ConfigRequest.getType ( #5760 )
...
* Update ConfigRequest.java
* Update ConfigRequestTest.java
2021-05-18 09:32:57 +08:00
brotherlu-xcq
8d927c1341
[ISSUE #5727 utils] improve the code quality of nacos-config ( #5761 )
...
* [code quality] [nacos-config] [utils] the Chinese javadoc translate, return javadoc complete, the magic number fix, the code logic format
* [code quality] [nacos-config] [utils] fix space
2021-05-18 09:29:02 +08:00
brotherlu-xcq
162b0ea499
[ISSUE #5727 service-1] improve the code quality of nacos-config ( #5744 )
...
* [code quality] [nacos-config] [service-1] add change the position of variable to match common code habits , return first, reduce the if/for nest, change the Chinese javadoc to English.
* [code quality] [nacos-config] [service-1] ci problem
* [code quality] [nacos-config] [service-1] ci problem
* [code quality] [nacos-config] [service-1] indent problem fix
* [code quality] [nacos-config] [service-1] indent problem
2021-05-18 09:25:28 +08:00
plusmancn
0cf05943c6
feat: support of specifying NAMING_CACHE_REGISTRY_DIR property (Nacos V2) ( #5758 )
2021-05-17 20:21:05 +08:00
Pixy Yuan
160ed5b360
[ISSUE #5756 ] Support to specify ephemeral value for createService ( #5757 )
...
* [ISSUE #5756 ] Support to specify ephemeral value for `UpgradeOpsController.createService` .
* [ISSUE #5756 ] Fix PathVariable is not supported by DistroFilter.
2021-05-17 20:19:43 +08:00
brotherlu-xcq
7b912fefe7
[ISSUE #5727 service-2] improve the code quality of nacos-config ( #5752 )
...
* [code quality] [nacos-config] [service-2] add change the position of variable to match common code habits , add the mission @Override, remove the unnesessary judgement.
* [code quality] [nacos-config] [service-2] indent problem fix
2021-05-17 20:18:58 +08:00
haoyann
536da8214c
remove duplicate client expire check ( #5751 )
2021-05-17 10:10:54 +08:00
FlyingLambrog
5cb3b6db20
Add unit tests for package com.alibaba.nacos.naming.core.v2.cleaner ( #5750 )
2021-05-17 10:08:54 +08:00
孙继峰
498449dad9
[issue #5720 ] delete unused import ( #5722 )
2021-05-17 09:58:38 +08:00
brotherlu-xcq
5f87992321
[code quality] [nacos-config] [controller] add mission @Override, return first, reduce the if/for nest. ( #5732 )
2021-05-17 09:53:35 +08:00
brotherlu-xcq
26bbf08f2f
[code quality] [nacos-config] [controller] translate the Chinese log to English, the if condition nest optimized, return result optimized. ( #5731 )
2021-05-17 09:51:54 +08:00
brotherlu-xcq
b24d97c70b
[code quality] [nacos-config] [aspect] translate the Chinese log to English ( #5730 )
2021-05-17 09:50:11 +08:00
brotherlu-xcq
efd5af6dcb
improve the code quality of nacos-config [auth] ( #5729 )
2021-05-17 09:49:35 +08:00
xiaoheng1
2783167bd3
fix #5724 Extract constants in JacksonSerializer ( #5725 )
2021-05-17 09:48:46 +08:00
Pixy Yuan
2b076faa63
[ISSUE #5718 ] Add some APIs for upgrade ops. ( #5719 )
...
* [ISSUE #5718 ] Add some APIs for upgrade ops.
* [ISSUE #5718 ] Optimize textual field output of metrics API.
2021-05-17 09:47:03 +08:00
xiaoheng1
b33134cf50
Extract constants in HealthController ( #5717 )
...
* fix #5715 Extract constants in HealthController
* fix #5715 Extract constants in HealthController
* add license
2021-05-17 09:44:23 +08:00
李晓双 Li Xiao Shuang
fdaf1d9cd9
add unit test for SpiImplPushExecutorHolder ( #5716 )
2021-05-17 09:42:48 +08:00
李晓双 Li Xiao Shuang
2bc782ee9c
add unit test for ServiceChangeEvent ( #5714 )
2021-05-17 09:42:10 +08:00
李晓双 Li Xiao Shuang
1974cf01b3
fix magic number ( #5709 )
2021-05-14 14:46:59 +08:00
杨翊 SionYang
32febf1ca3
Merge pull request #5712 from alibaba/feature_support_grpc_core
...
Merge 2.X branch to develop
2021-05-14 14:36:23 +08:00
杨翊 SionYang
04cc4da340
Merge pull request #5707 from KomachiSion/feature_support_grpc_core
...
Merge codes from develop branch
2021-05-14 12:56:06 +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
孙继峰
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