shalk(xiao kun)
d8e54453a6
add ut for c.a.nacos.client.config ( #5118 )
2021-03-17 09:35:25 +08:00
shalk(xiao kun)
5b99b7d4eb
[ISSUE #5034 ] add ut for package com.alibaba.nacos.client.config.http ( #5048 )
...
* add ut for package com.alibaba.nacos.client.config.http
* remove ut doc
* remove http request case
2021-03-15 09:49:53 +08:00
shalk(xiao kun)
6d8440fd11
add ut for package com.alibaba.nacos.client.config.impl ( #5104 )
2021-03-15 09:28:30 +08:00
shalk(xiao kun)
711afc7bac
[ISSUE #5037 ]add ut for package com.alibaba.nacos.client.config.utils ( #5050 )
...
* add ut for package com.alibaba.nacos.client.config.utils
* fix ut checkstyle
2021-03-11 19:51:26 +08:00
shalk(xiao kun)
3a89725e28
[ISSUE #5036 ]add ut for com.alibaba.nacos.client.config.listener ( #5049 )
...
* add ut for com.alibaba.nacos.client.config.listener
* remove ut doc
2021-03-11 19:49:43 +08:00
shalk(xiao kun)
e7803d1c44
[ISSUE #5032 ] add ut for package com.alibaba.nacos.client.config.filter ( #5046 )
...
* add ut for package com.alibaba.nacos.client.config.filter
* remove ut doc
2021-03-11 19:43:51 +08:00
nov.lzf
5247548e86
shade client and using remote ip from header ( #5068 )
...
* shade client
* shade client
* fix default cluster port
* rollback client ip
* using remote ip from header
* using remote ip from header
* using remote ip from header
2021-03-10 11:18:37 +08:00
shalk(xiao kun)
015a114822
add ut for package com.alibaba.nacos.client.config.common ( #5045 )
2021-03-09 18:05:27 +08:00
haoyann
2972d4f22f
fix UpdateTask
some logic errors ( #5041 )
2021-03-08 10:03:26 +08:00
nov.lzf
86b89842bb
compatible with the reflection logic of Dubbo 2.7.X ( #4977 )
2021-03-01 12:48:40 +08:00
杨翊 SionYang
8dfaabdaf3
Fix getSpasHeaders serviceName exception ( #4883 )
2021-02-05 11:13:48 +08:00
杨翊 SionYang
3a82d5d987
Add some enhancements ( #4881 )
...
* Add some enhancements
* Add tps monitor for naming push
* Add some enhancement for client
2021-02-05 10:15:31 +08:00
nov.lzf
c272d78890
add client sign header and nacos default port;sync code with diamnd over nacos 2.0 ( #4857 )
...
* add client sign header and nacos default port
* sync code with diamnd over nacos 2.0
* pmd and check style
2021-02-02 17:31:01 +08:00
nov.lzf
d5af830d52
remove config resync request and add getting cluster metrics ( #4846 )
...
* from diamond over nacos 2.0
* config notify task type bugfix
* keep consistent with diamond over nacos 2.0
* remove config resync request and add getting cluster metrics
* add using address server to look up interface
* add using address server to look up interface
2021-02-01 13:33:56 +08:00
杨翊 SionYang
c275fc310e
Fix #4788 , Fix client id judgement error for ipv6 ( #4815 )
2021-01-28 12:03:08 +08:00
nov.lzf
3cfa183400
convert payload type from full name to simple name;abilities both on client-server& server cluster submit ( #4791 )
...
* convert payload type from full name to simple name.
* abilities both on client-server& server cluster submit
* Cas of update config, beta,tag publish
* tenant support on connection.
* modify health check tps point name
2021-01-25 14:11:35 +08:00
nov.lzf
7e58b5cb7b
fuzzy match support of tps control;remove http transport of client worker ; add internal executors of CacheData notifier ( #4783 )
...
* keepalive time adjust
* fuzzy match support of tps control;remove http transport of client worker ; add internal executors of CacheData notifier
2021-01-22 18:34:37 +08:00
nov.lzf
c4ffbab21f
connection manager ,active send interval increase ( #4776 )
...
* connection manager ,active send interval increase
* adjust sync all interval
2021-01-21 20:47:23 +08:00
nov.lzf
91bf227c4a
tps control submit; connection rule ( #4752 )
...
* tps reporter submit
* tps reporter submit
* log optimize; listen concurrent bugfix; async request exception fix
* server loader bugfix;increase keep alive default time
* tps report bugfix, tps log bugfix;
* rpc server push ack notify bugfix.
* change rule store dir ;add local file change event of connection rule.
* remove client side request meta; reduce client parameters
* 简化冗余代码
* 优化异常日志
* md5 sync bugfix
* client metrics submit; tps monitor ip list support
* client metrics submit; tps monitor ip list support
2021-01-20 09:21:40 +08:00
杨翊 SionYang
7b85f4078c
Refactor naming client proxy to support auth ( #4736 )
2021-01-18 20:44:36 +08:00
KomachiSion
fd06b5a7b6
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# address/pom.xml
# api/pom.xml
# auth/pom.xml
# client/pom.xml
# cmdb/pom.xml
# common/pom.xml
# config/pom.xml
# consistency/pom.xml
# console/pom.xml
# core/pom.xml
# distribution/pom.xml
# example/pom.xml
# istio/pom.xml
# naming/pom.xml
# pom.xml
# sys/pom.xml
# test/pom.xml
2021-01-18 10:32:57 +08:00
杨翊 SionYang
1bd67269cd
Use revision to set version and upgrade to 1.4.2-SNAPSHOT ( #4711 )
...
* Use revision set version
* Use revision set version
* Add flatten plugin
2021-01-15 14:37:47 +08:00
杨翊 SionYang
67eb36976e
Upgrade to 1.4.1 ( #4695 )
2021-01-14 11:36:57 +08:00
KomachiSion
4899a7290f
Solve conflict from develop
2021-01-13 19:31:54 +08:00
KomachiSion
995dce0bc0
Solve conflict from develop
2021-01-13 16:08:54 +08:00
KomachiSion
902f501fac
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# 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
# config/src/main/java/com/alibaba/nacos/config/server/service/notify/AsyncNotifyService.java
# naming/src/main/java/com/alibaba/nacos/naming/push/ClientInfo.java
# naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java
2021-01-13 15:53:50 +08:00
赵延
e2f7796d3a
[ISSUE-#3880] NamingService Client support pushEmptyProtection. ( #4665 )
...
* NamingService Client support pushEmptyProtection.
* check hosts is null. if null, also invalid.
2021-01-12 09:48:27 +08:00
nov.lzf
6027d36222
client use same executor during different connection;metrics count bugfix.;recommend server check ( #4659 )
...
* client use same executor during different connection.
* metrics count bugfix.
* recommend server check
* remove rsocket ;add client metrics
* add client metrics to get cache value
* rpc tps control basic api submit.
* check style ,pmd fix.
2021-01-11 14:11:32 +08:00
赵延
a4e3b7cbc7
[ISSUE-#4631] Free credential instance when serverHttpAgent shutdown. ( #4634 )
...
* free credential instance when serverHttpAgent shutdown.
* free credential instance when namingProxy shutdown.
* unify the code place
* cancel timer when CredentialWatcher stop
* ignore PMD.AvoidUseTimerRule.
2021-01-11 09:59:44 +08:00
horizonzy
8b6cb8c612
Just choose one between nacosDomain mode and servers mode.
2021-01-10 16:37:23 +08:00
onewe
79fddc36c2
[ISSUE-#4631] Remove timer,Use ScheduledThreadPoolExecutor replaced. ( #4635 )
...
* fix(CredentialWatcher): 使用ScheduledThreadPoolExecutor替代Timer
* enhance(CredentialWatcher): use ExecutorFactory replace ScheduledThreadPoolExecutor.
* enhance(CredentialWatcher): use ExecutorFactory.Managed replace ExecutorFactory.
* enhance(CredentialWatcher): remove Managed
2021-01-08 09:40:18 +08:00
KomachiSion
11210c057d
Merge remote-tracking branch 'upstream/develop' into 2.0.0-sync-dev
2021-01-07 17:09:30 +08:00
杨翊 SionYang
ad1a6d1b65
Add some metrics and logs ( #4649 )
...
* Fix service metadata update failed problem.
* random connect to server
* Add some metrics and log for service and client
* Add some metrics and log for naming task worker
2021-01-07 17:04:26 +08:00
nov.lzf
afb1a28135
log optimize; config re sync request ( #4638 )
2021-01-06 21:25:14 +08:00
mai.jh
2af6784f55
for #4594,#4594 Fix IO close problem. ( #4606 )
2020-12-31 15:48:26 +08:00
KomachiSion
7f3a17c620
Solve conflict with develop branch.
2020-12-31 14:24:41 +08:00
KomachiSion
bdacd0958d
Merge remote-tracking branch 'upstream/develop' into 2.0.0-sync-develop
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/http/NamingHttpClientProxy.java
# core/src/main/java/com/alibaba/nacos/core/listener/StartingApplicationListener.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/ServiceController.java
2020-12-31 11:48:52 +08:00
nov.lzf
0ad5bcbb17
call back bugfix. rpc executor extract... ( #4592 )
2020-12-29 16:23:32 +08:00
nov.lzf
6c5e52cf1b
rpc config listen notify optimize;connection_id name optimize;listeners query bugfix; ( #4591 )
...
* rpc config listen notify optimize
* connection_id name optimize
* listeners query bugfix;
2020-12-29 15:35:23 +08:00
赵延
56348af81b
make code more readable. ( #4568 )
...
* make code more readable.
* code enhance
* code enhance
* fix comment for grpc client
* initHandlerRpcClient -> initRpcClientHandler
* rename some method and modify some comments
* code enhance.
* code enhance.
* rename NamingPushResponseHandler -> NamingPushRequestHandler
* fix connectionId typo
2020-12-29 13:54:21 +08:00
xujingfeng
5236287fdb
[ISSUE #4583 ] Fix DOMAIN mode retry logic ( #4584 )
...
* fix namingProxy domain retry logic; add retry param namingRequestDomainMaxRetryCount
* add maxRetry param
2020-12-28 09:40:10 +08:00
nov.lzf
6e34f2886b
encode bugfix ( #4548 )
...
* basic spell fix.import
fail bugfix
* encode bugfix
* remote log bugfix; create client concurrent bugfix;optimize log
* checkstyle fix
* checkstyle fix
* checkstyle fix
* checkstyle fix
* checkstyle fix
* checkstyle pmd fix
* checkstyle pmd fix
* http poll sla bugfix; rpc config listen notify optimize
2020-12-26 15:53:10 +08:00
mai.jh
a2ea808b7d
[ISSUE-#4567] Refactor nacos-client Load Logging Configuration code. ( #4572 )
...
* for #4567 , refactor nacos-client logging load Configuration code.
* Modify exception handling.
* When customizing AbstractNacosLogging Load Configuration Fail, use the default Logging Load Configuration.
* NacosLogging has been modified to a single-column mode.
2020-12-26 13:18:30 +08:00
杨翊 SionYang
d8b52d188a
Add callback, simple retry and metric for naming push ( #4533 )
...
* Re-plan the package structure of naming.push
* Add callback and simple retry for push
* Add rpc push metric and refactor MetricsMonitor
2020-12-21 19:28:56 +08:00
赵延
30a04f98ba
check illegal heart beat param when before register ( #4514 )
2020-12-21 10:07:43 +08:00
赵延
c72cb016b4
Enhance log info and fix code checkstyle ( #4529 )
...
* 1.fix code checkstyle check
2.enhance disconnect log info
* log enhance
* revert line
2020-12-21 09:42:11 +08:00
nov.lzf
caffec2d5b
rsocket parse bugfix; auth bugfix;some checkstyle and basic spell fix. ( #4473 )
...
* rsocket parse bugfix; auth bugfix;some checkstyle and basic spell fix.
* auth bugfix
2020-12-14 19:31:33 +08:00
wangxw
350be0669e
cacheDataMap ( #4445 )
2020-12-12 17:00:41 +08:00
杨翊 SionYang
93a3ac7816
Upgrade to 2.0.0-ALPHA.1 ( #4410 )
...
* Add some new server config parameters
* Upgrade to 2.0.0-ALPHA.1
2020-12-04 18:46:24 +08:00
KomachiSion
049b4e4e61
Sync code from upstream/develop
2020-12-03 20:06:12 +08:00