MajorHe1
5bb048cf7a
[ISSUE #6142 ] redo register and subscribe repeatedly if failed. get data from database if user and role info not in cache. ( #6156 )
...
* [ISSUE #6142 ] redo register and subscribe repeatedly if failed. get data from database if user and role info not in cache.
* [ISSUE #6142 ] simplify redo register and subscribe strategy, use set to record failed task.
* [ISSUE #6142 ] change the return value of redoRegisterEachInstance. move connected judgement to start of loop.
* [ISSUE #6142 ] add unit test for NamingGrpcConnectionEventListener. remove cache missed judgement of user and role.
* [ISSUE #6142 ] Merge origin develop branch to fix CI failure. Change thread sleep implement.
2021-06-30 17:44:07 +08:00
shalk(xiao kun)
38e907584a
[ISSUE #5807 ]Add unit tests for package com.alibaba.nacos.client.utils in nacos ( #6136 )
...
* add more ut for package c.a.nacos.client.utils
* fix ParamUtilTest
* add more ut for package c.a.nacos.client.utils
* fix ParamUtilTest
* fix test
* fix ut
2021-06-28 09:55:10 +08:00
shalk(xiao kun)
9e516839ed
[ISSUE #5806 ]Add unit tests for package com.alibaba.nacos.client.logging in nacos ( #6137 )
...
* add ut for package c.a.nacos.client.logging
* fix Log4J2NacosLoggingTest
2021-06-25 18:00:06 +08:00
杨翊 SionYang
0d3bf616e6
[ISSUE#5976] Fail CI directly if UT can't pass. ( #6106 )
...
* For #5976 . fail CI directly if UT can't pass.
For #5976 . fail CI directly if UT can't pass.
For #5976 . fail CI directly if UT can't pass.
* For #5976 . fail CI directly if UT can't pass.
2021-06-18 17:49:51 +08:00
brotherlu-xcq
b97644109d
[fix-#5845] remove the unused codes ( #6096 )
2021-06-17 19:18:14 +08:00
孙继峰
fb3e5ad290
simplify Assert ( #6095 )
2021-06-17 19:17:37 +08:00
realJackSun
467154833b
[ #5984 ] Fix unit tests in nacos-client ( #5998 )
2021-06-16 10:21:15 +08:00
nov.lzf
f802b223d5
concurrent sync flag fix ( #6049 )
...
* concurrent sync flag fix
* fix check style
2021-06-16 10:18:31 +08:00
brotherlu-xcq
6c8bbf29a1
[FOR 5771 utils] improve the code quality of nacos-client. ( #6006 )
...
* [code quality] [nacos-client] [utils] simple the judge logic, constant export
* the constants re-use
2021-06-15 13:53:04 +08:00
Pixy Yuan
0d63616a29
[ISSUE #6019 ] Support fetching server list from endpoint with namespace. ( #6020 )
2021-06-09 16:41:31 +08:00
杨翊 SionYang
13fe9a84c7
Add/Remove cache before call server. ( #6015 )
2021-06-09 14:52:18 +08:00
brotherlu-xcq
79be070e1b
[code quality] [nacos-client] [naming] simple the judge logic, constant export ( #6009 )
2021-06-09 10:17:45 +08:00
brotherlu-xcq
bec96c1f19
[code quality] [nacos-client] [identity] simple the judge logic, constant export, chinese javadoc translate ( #6005 )
2021-06-09 09:56:55 +08:00
brotherlu-xcq
1daa598902
[FOR 5771 config impl] improve the code quality of nacos-client. ( #5980 )
...
* [code quality] [nacos-client] [common/filter/http] simple the judge logic, constant export, chinese javadoc translate
* [code quality] [nacos-client] [impl] remove unused import
* [code quality] [nacos-client] [impl] fix CI problem
2021-06-09 09:46:07 +08:00
brotherlu-xcq
32b20c906f
[code quality] [nacos-client] [utils] simple the judge logic, constant export, chinese javadoc translate ( #5981 )
2021-06-08 10:19:08 +08:00
brotherlu-xcq
23bd92b36f
[FOR 5771 config common/filter/http] improve the code quality of nacos-client. ( #5979 )
...
* [code quality] [nacos-client] [common/filter/http] simple the judge logic, constant export, chinese javadoc translate
* [code quality] [nacos-client] [common/filter/http] remove unused import
2021-06-08 09:53:45 +08:00
Pixy Yuan
4cbc6a4960
[ISSUE #5952 ] Feature make naming rpc client aware of server list change ( #5974 )
...
* [ISSUE #5952 ] Optimize rpcClient creation lock.
* [ISSUE #5952 ] Make naming rpc client aware of server list change.
2021-06-07 20:07:39 +08:00
nov.lzf
de6a4b803d
client aware server list change ( #5952 )
2021-06-04 19:34:38 +08:00
nov.lzf
55c6f44413
fix query sla multi connection model ;add rpc client error log; optimize client shutdown ( #5949 )
...
* fix multi connection model ,query sla
* add rpc client error log
* optimize client shutdown
* optimize client log
2021-06-04 15:27:32 +08:00
shalk(xiao kun)
0e4d13e789
[ISSUS #5804 ]add unit test for c.a.n.client.security ( #5925 )
...
* wip
* add unit test for c.a.n.client.security
* remove file
2021-06-04 09:42:39 +08:00
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
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
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
孙继峰
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
xiaoheng1
9cc023ed29
fix #5850 Modify the comment in CacheData to English ( #5851 )
2021-05-26 10:12:28 +08:00
xiaoheng1
ee621be74a
fix #5826 Optimize SecurityProxy code ( #5828 )
2021-05-25 09:36:07 +08:00
杨翊 SionYang
3d8b2c0b17
For #5831 , Remove the sets in connection event lister ( #5832 )
2021-05-24 20:38:34 +08:00
liaozan
f5f03ac552
fix ConfigRequest.getType ( #5760 )
...
* Update ConfigRequest.java
* Update ConfigRequestTest.java
2021-05-18 09:32:57 +08:00
plusmancn
0cf05943c6
feat: support of specifying NAMING_CACHE_REGISTRY_DIR property (Nacos V2) ( #5758 )
2021-05-17 20:21:05 +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
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
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
孙继峰
818d37b71c
delete duplicated dependency ( #5622 )
2021-05-10 10:43:58 +08:00
xiaoheng1
9fb0ec3b79
fix #5536 add configFilterChain test case ( #5539 )
2021-04-30 17:39:58 +08:00
xiaoheng1
56d3f3cc74
fix #5527 Optimize ParamUtil code and extract constants ( #5528 )
2021-04-29 19:10:42 +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
KomachiSion
ba676e01b8
Shade guava class after guava upgrade
2021-04-27 20:52:45 +08:00
KomachiSion
6609b14d53
Fix CI
2021-04-27 18:56:48 +08:00
KomachiSion
2847373fd0
Solve conflict
2021-04-27 16:19:56 +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
Robert LU
f336283a18
[ISSUE #5367 ]SPI IConfigFilter ( #5474 )
2021-04-26 15:49:25 +08:00
杨翊 SionYang
267d67190b
Some enhancement for logs and ability. ( #5482 )
2021-04-25 13:08:24 +08:00
brothelul
2f82f070fe
[ISSUE #5190 ]remove the unnecessary catch in the login method ( #5456 )
...
* remove the unnecessary catch in the login method
* catch the throwable error when login and print the message
2021-04-23 19:12:52 +08:00
杨翊 SionYang
6c064bfe41
For #5171 , Fix all IT case ( #5464 )
2021-04-23 18:36:02 +08:00
张志勇
103e671d90
Support specified naming UDP push port for client ( #5439 )
...
* Nacos client within docker container could not receive service changes via udp
* change code style
2021-04-22 15:10:04 +08:00
Robert LU
024f73866a
[ISSUE #5429 ]fix spi ( #5429 )
2021-04-21 13:44:24 +08:00
Robert LU
df681900f0
[ISSUE #5367 ]SPI IConfigFilter ( #5369 )
...
Co-authored-by: lidaoyang <lidaoyang@hotmail.com>
Co-authored-by: lidaoyang <lidaoyang@hotmail.com>
2021-04-20 19:14:48 +08:00
brothelul
5e455af2a2
add the InterruptedException catch ( #5416 )
2021-04-20 16:39:29 +08:00
haoyann
f217246c48
[ISSUE #5291 ]Enhancement BeatTask always execute ( #5410 )
...
* enhancement BeatTask always execute
* revert useless modify
2021-04-20 10:36:36 +08:00
杨翊 SionYang
73eea9c0bb
Use ThreadUtil and EnvUtil replace Runtime.availableProcessor ( #5388 )
2021-04-16 17:32:14 +08:00