Commit Graph

3684 Commits

Author SHA1 Message Date
brotherlu-xcq
9ab1d62a06
[code quality] [nacos-sys] [env/file] the constants export, redundant symbol remove (#5907) 2021-06-01 11:07:05 +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
mask
e2909b0796
[ISSUE #4208] Fix bug when configuring multiple ips. (#5891)
* [ISSUE #4208] Fix bug when configuring multiple ips.

* [ISSUE #4208] Fix bug when configuring multiple ips.

* Format the code.

* Add unit test.
2021-05-31 09:58:05 +08:00
杨翊 SionYang
09c7293085
Stop do sync when sync is no need. (#5882) 2021-05-28 14:08:25 +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
tianqingzhao
3b3de662c5
Optimize code that all checks for empty service. (#5869)
* Optimize code that all checks for empty service.

* Add Agreement License.
2021-05-27 18:10:55 +08:00
Pixy Yuan
ebd6322e7e
[ISSUE #5872] Downgrade checker only focus on changing members. (#5873) 2021-05-27 17:44:30 +08:00
Pixy Yuan
34ed52192a
[ISSUE #5870] Prevent instance ephemeral value used by DoubleWrite. (#5871)
* Fix client beat task skip interceptors unexpectedly

* Refactor transform instance and service/cluster between v1/v2 model.

* [ISSUE #5870] Prevent instance ephemeral value used by DoubleWrite.
2021-05-27 17:41:38 +08:00
brotherlu-xcq
8e353b2561
[FOR #5843 controller/model/enums] improve the code quality of nacos-console. (#5846)
* [code quality] [nacos-console] [controller/enums/model] fix the ResponseEntity, the if nest optimize, the constants export, the enum create.

* [code quality] [nacos-console] [controller/enums/model] add the javadoc for enums

* [code quality] [nacos-console] [controller/enums/model] license problem
2021-05-27 10:59:06 +08:00
xiaoheng1
9cc023ed29
fix #5850 Modify the comment in CacheData to English (#5851) 2021-05-26 10:12:28 +08:00
如梦技术
56404f7b13
Add automatic cleaning accesslog days. (#5848) 2021-05-26 10:11:41 +08:00
brotherlu-xcq
6fccc34bc9
[code quality] [nacos-console] [filter/security] the if nest optimize, the constants export, the Chinese doc fix (#5847) 2021-05-26 10:11:05 +08:00
tianqingzhao
a233563e82
Optimize code that checks for empty service. (#5840) 2021-05-26 10:07:19 +08:00
tianqingzhao
b55b42cc0e
Remove any extra curly braces from the @Value annotation (#5838) 2021-05-26 10:06:30 +08:00
brotherlu-xcq
0e4e1f6ad8
[code quality] [nacos-consistency] [all] export constant in class (#5837) 2021-05-25 09:37:36 +08:00
xiaoheng1
ee621be74a
fix #5826 Optimize SecurityProxy code (#5828) 2021-05-25 09:36:07 +08:00
Wen Hu
e3dfcd25f2
[ISSUE #5779] Use the serviceManager v2 to get the service list (#5780) 2021-05-25 09:35:18 +08:00
xiaoheng1
6831de3111
Publisher code optimization (#5778)
* fix #5762 Publisher code optimization

* there is no subscriber, return directly.
2021-05-25 09:28:51 +08:00
杨翊 SionYang
834c173959
Fix the error merge for application.properties (#5833) 2021-05-24 20:39:01 +08:00
杨翊 SionYang
3d8b2c0b17
For #5831, Remove the sets in connection event lister (#5832) 2021-05-24 20:38:34 +08:00
brotherlu-xcq
f9d696beb4
[code quality] [nacos-common] [tls/utils] remove unnecessary symbol, export constant in class, change the Chinese javadoc to English (#5821) 2021-05-24 14:15:11 +08:00
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