Commit Graph

3494 Commits

Author SHA1 Message Date
nov.lzf
3dc1a8cd96
fix ak sk and some tiny optimize (#5937)
* fix ak bug.

* fix ak bug.

* revert version
2021-06-04 09:41:40 +08:00
杨翊 SionYang
1d5a6605ee
[ISSUE#5918] Refactor event publisher in naming module to fix event without orders. (#5930)
* Rollback #5778.

* Add method to register custom sharded event publisher

* Make naming module event use custom sharded publisher
2021-06-03 12:53:29 +08:00
李晓双 Li Xiao Shuang
7a7f267ee9
improve the code quality for naming healthcheck (#5932) 2021-06-03 11:31:39 +08:00
李晓双 Li Xiao Shuang
e199a5ee64
[ISSUE #5774] improve the code quality for naming core (#5914)
* mprove the code quality for naming core

* fix build
2021-06-03 09:59:52 +08:00
shalk(xiao kun)
7e11dcb916
[ISSUS #5805]add unit test for c.a.n.client.identify (#5916)
* wip

* add unit test for c.a.n.client.identify
2021-06-03 09:55:46 +08:00
brotherlu-xcq
85b1ea487d
[code quality] [nacos-api] [config] the constants export (#5921) 2021-06-03 09:54:08 +08:00
brotherlu-xcq
024a7a5a53
[code quality] [nacos-naming] [config] the constants export, unused code remove. (#5922) 2021-06-03 09:53:08 +08:00
brotherlu-xcq
6d8ee1bdba
[code quality] [nacos-api] [remote/utils] the constants export, unused code remove. (#5923) 2021-06-03 09:50:21 +08:00
brotherlu-xcq
3fcda2c9c1
update the example in Nacos 2.0 (#5924) 2021-06-03 09:49:10 +08:00
Pixy Yuan
07f38a4763
[ISSUE #5927] Init health check status when loading snapshot of persistent instances. (#5928) 2021-06-03 09:35:01 +08:00
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