nov.lzf
a0a1486fa2
rsocket support and optimize client abstract ( #3559 )
...
* Add gprc support-> rpc Rsocket submit
* Add gprc support-> rpc Rsocket submit
* Add gprc support-> rpc Rsocket submit
* Add gprc support-> upgrade api client common jdk compiler to 1.8 for test Rsocket only
* Add gprc support-> rsocket client test code submit
* Add gprc support-> rpc client factory optimize
* Add gprc support-> config client factory rename
* Add gprc support-> rsocket submit
* Add gprc support-> rsocket client switch submit
* Add gprc support-> rsocket support and optimize rpc client
2020-08-10 09:11:53 +08:00
nov.lzf
05bd51062d
Add gprc support-> server push ack ( #3521 )
...
* Add gprc support-> server push ack
* Add gprc support-> add lost code
* Add gprc support-> disconnect status change bugfix
* Add gprc support-> optimize rpc port
2020-08-05 10:21:33 +08:00
nov.lzf
3a777455e7
move rpc client from client to common and move request response to api ; solve conflict. ( #3481 )
...
* Add gprc support-> move rpc client from client to common and move request response to api
* Add gprc support-> conflict solved
2020-07-30 17:21:44 +08:00
杨翊 SionYang
5f528d8036
[ISSUE #1097 ] Naming support grpc server forward request ( #3480 )
...
* re subscribe service when reconnect
* change grpc instance maintain by heartbeat
* Add lifecycle for remoting workers
* Refactor naming client redo when reconnect
* Fix checkstyle and PMD
* Implement forward instance request to responsible server
* Implement forward heart beat to servers
2020-07-30 17:00:57 +08:00
nov.lzf
b1a587dc72
Add gprc support-> add server push ack ( #3478 )
2020-07-30 16:00:22 +08:00
杨翊 SionYang
8dfdc81481
[ISSUE #1097 ]grpc support all namingService api ( #3425 )
...
* grpc support query service name list api
* grpc support query server healthy api
2020-07-23 15:22:07 +08:00
nov.lzf
50a298c9af
switch server optimize and loader balance base on max client count ( #3420 )
...
* Add gprc support-> authentication on client
* Add gprc support-> optimize switch server and submit loader balance base on up limit clients count.
2020-07-23 10:26:25 +08:00
杨翊 SionYang
5029429a89
Remove context when grpc connection close. ( #3407 )
2020-07-21 20:28:24 +08:00
nov.lzf
b28636c6de
notify connect listeners on start up ( #3405 )
...
* Add gprc support-> try to connect the server synchronous on start up , start a thread to connect to server until successfully connected when fail.
* Add gprc support-> notify connect listeners.
* Add gprc support-> update client reconnect strategy.
* Add gprc support-> optimize push config request param model and meta request.
* Add gprc support-> notify on new connected
2020-07-21 20:08:38 +08:00
杨翊 SionYang
115c992c98
[ISSUE #3386 ] Refactor HostReactor.java to ServiceInfoHolder and ServiceInfoUpdateService ( #3402 )
...
* Refactor HostReactor.java to ServiceInfoHolder and ServiceInfoUpdateService
* Use http client as default implement of some uncompleted api
2020-07-21 15:02:44 +08:00
nov.lzf
53031ba08b
strengthen exception handle both on server and client ; status transfer bug fix on client ( #3401 )
...
* Add gprc support->test submit
* Add gprc support-> Strengthen exception handling of server push handler process both at client and server
* Add gprc support-> starting status bugfix and base push model submit
2020-07-21 14:44:01 +08:00
杨翊 SionYang
571ae62de1
Move BeatReactor into HttpClientProxy ( #3394 )
2020-07-20 20:48:21 +08:00
杨翊 SionYang
2e4d50c4f2
Extract server list maintain logic to ServerListManager ( #3389 )
2020-07-20 17:52:58 +08:00
杨翊 SionYang
39986a867a
[ISSUE #3386 ] Extract NamingClientProxy
Interface ( #3387 )
...
* Move and rename NamingProxy.java
* rename package naming.net --> naming.remote
* Create Naming client proxy interface
2020-07-20 16:32:07 +08:00
nov.lzf
85a0398978
1.server side client connection listener optimize 2. listen context and notifier updated . ( #3385 )
...
* Add gprc support-> client reconnection optimize
* Add gprc support-> 1.client connection listener optimize 2.listen context an notifier updated .
* Add gprc support->merge problem fix
* Add gprc support->check style fixed.
* Add gprc support->check style fixed and remove gRpc classes in source package.
2020-07-20 16:27:58 +08:00
杨翊 SionYang
bd0f1a31f8
Merge pull request #3375 from KomachiSion/feature_support_grpc_core
...
Synchronize develop branch
2020-07-18 16:31:10 +08:00
KomachiSion
79c8521bde
Merge branch 'upstream-develop' into feature_support_grpc_core
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java
# client/src/main/java/com/alibaba/nacos/client/config/http/HttpAgent.java
# client/src/main/java/com/alibaba/nacos/client/config/http/MetricsHttpAgent.java
# client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
# config/src/main/java/com/alibaba/nacos/config/server/service/LongPollingService.java
2020-07-18 16:28:00 +08:00
杨翊 SionYang
3bde28294d
[ISSUE #1097 ] Naming support un/subscribe service by grpc. ( #3373 )
...
* For #1097 , server support subscribe service.
* For #1097 , client support subscribe service.
* For #1097 , server and client support unsubscribe service.
2020-07-18 16:07:21 +08:00
mai.jh
63a4e30ae6
[ISSUE #3224 ]nacos-client module http client replace ( #3348 )
...
* nacos-client module http client replace
* fix code style problem
* add HashMap initialCapacity
* fix code style problem
* Modify the header object, keep the original response header to avoid modifying the original logic code
* fix code style problem
* naming http client request exception messages output change
* Merge code
2020-07-18 14:42:02 +08:00
nov.lzf
4a702f8954
Add gprc support-> client reconnection optimize ( #3367 )
2020-07-17 20:57:52 +08:00
nov.lzf
688013bbb6
Add gprc support-> client reconnection optimize ( #3365 )
2020-07-17 17:42:46 +08:00
Hu Zongtang
9f12f76d6c
[ISSUE#2859]fix no throw exception when publish event but no subsciber. ( #3364 )
2020-07-17 16:12:32 +08:00
Hu Zongtang
ff929b75ad
[ISSUE#3356]fix no throw exception when publish event but no subsciber. ( #3363 )
2020-07-17 16:12:08 +08:00
nov.lzf
3f06a7a0f8
response model optimize ( #3357 )
...
* Add gprc support-> add grpc log to distribution logback
* Add gprc support-> response model optimize
2020-07-17 12:03:30 +08:00
nov.lzf
b10a24885e
add server side connection listener ,and add client version ( #3350 )
...
* Add gprc support-> 1.add server side client connection event listener ,base on heart beat expire time check 2.add client version info after grpc connection build
* Add gprc support-> add publish config and remove config in rpc channel ;and rename server push response handler
2020-07-16 19:21:38 +08:00
杨翊 SionYang
6c8dfd6ed3
Add naming support gRPC for query instance list and service info ( #3352 )
...
* Add naming support gRPC for query instance list and service info
* Update version to 1.4.0-SNAPSHOT
2020-07-16 18:08:25 +08:00
nov.lzf
0aad8f55eb
support config query in rpc channel ,add switch http/rpc at client side ( #3344 )
...
* Add gprc support-> 1.support config query in rpc channel ,add switch in client side
* Add gprc support-> 1.log optimize,split grpc core and digest
* Add gprc support-> 1.optimize log and client proxy.
* Add gprc support-> remove proto buff plugin
2020-07-15 20:54:16 +08:00
杨翊 SionYang
d00c133c3e
Add naming support gRPC for register and deregister instance ( #3343 )
2020-07-15 20:22:07 +08:00
mai.jh
0163d2d0c7
fix : #3324 , Move http client close method to NamingProxy.shutdown() ( #3333 )
2020-07-15 14:12:44 +08:00
nov.lzf
139b211e21
Nacos config support gRPC ( #3334 )
...
* Add gprc support-> client side code submit ,and create server side naming module abstract handler template.
* Add gprc support-> config data change notify code submit....
* Add gprc support-> serve side healthy check code submit and solve some checkstyle problems.
* Add gprc support-> 1.config client worker ,cancel long polling task 2. test add listener,remove listener in config module 3.add response resolve
2020-07-15 13:56:29 +08:00
Hu Zongtang
52d9cf9cf9
[ISSUE##2859]Remove original EventDispatcher in the config module. ( #3319 )
2020-07-14 19:38:08 +08:00
mai.jh
132adb4899
[ISSUE##3317]Change the http client implementation that nacos resttemplate depends on from apache to JDk ( #3322 )
...
* fix:#3317 change the http client implementation that nacos resttemplate depends on from apache to JDk
* Use the IoUtils.closeQuietly() method to close the InputStream
* change HttpClientBeanHolder logger output object
2020-07-14 19:37:37 +08:00
nov.lzf
bbbeabe1e8
nacos support grpc ,base functions submit. ( #3328 )
...
* gprc
* Add gprc support
2020-07-14 19:15:22 +08:00
Hu Zongtang
fee6cf4dc9
Replace original EventDispatcher with NotifyCenter in the config module. ( #3313 )
...
* [ISSUE##2859]Replace some usage of EventDispatcher for ConfigCacheService and LongPollingService.
* [ISSUE##2859]Replace some usage of EventDispatcher for AsyncNotifyService and ConfigChangePublisher.
* [ISSUE#3179]fix typo.
* [ISSUE#3179]fix typo.
* [ISSUE#3179]fix typo.
2020-07-14 15:10:25 +08:00
mai.jh
511ef88ccc
fix:#3311 Add specified Logger when constructing nacos resttemplate ( #3312 )
2020-07-13 18:54:06 +08:00
Gagharv
891c1f3ba5
[ISSUE #2856 ]Adjust the use of thread pools (config module) ( #3206 )
...
* [ISSUE #2856 ]Adjust the use of thread pools (config、cmdb module)
* add CmdbExecutor class
2020-07-13 17:33:25 +08:00
Hu Zongtang
3a4e21b60e
[ISSUE#3179]Remove original NotifyCenter codes in the core module. ( #3310 )
2020-07-13 17:30:50 +08:00
Hu Zongtang
665d9d7aaf
[ISSUE#3179]Replace the NotifyCenter with new refactor in the core and test module. ( #3309 )
...
* [ISSUE#3179]Replace the NotifyCenter with new refactor in the core and test module.
* [ISSUE#3179]Replace package in the nacos-logback.xml.
* [ISSUE#3179]code reformat.
2020-07-13 13:59:25 +08:00
mai.jh
c1515b6940
[ISSUE #3197 ] NacosRestTemplate enhance ( #3198 )
...
* enhance nacosRestTemplate
* enhance nacosRestTemplate
* supplement throw exception
* Modify the iterate method of the interceptor and modify some method name
* Adjust the way to get HttpClientRequest implement in NacosRestTempalte
* Fix code style issue
* Fix code style issue
* Fix code style issue
* Fix code style issue
* Log output change
2020-07-13 13:55:27 +08:00
mai.jh
092a08971f
[ISSUE #3210 ] Enhanced nacos resttemplate response handler ( #3212 )
...
* Enhanced nacos resttemplate response handler
* Enhanced nacos resttemplate response handler
* Add license
* [#3212 ] Modify some class name and comment
* [#3212 ] Modify some class name and comment
* [#3212 ] Modify some class name and comment
* [#3212 ] change the name of property
* Fix code style issue
2020-07-13 11:34:00 +08:00
Joe
eca82bff6f
Update BeatReactor.java ( #3299 )
...
update `asInt()` to `asLong()`
2020-07-13 10:39:59 +08:00
杨翊 SionYang
ee3b16b4a4
Merge pull request #3305 from zongtanghu/feature_notifycenter_replace_v2
...
[ISSUE#3179]Replace the NotifyCenter with new refactor in the config and test module.
2020-07-13 09:06:16 +08:00
zongtanghu
34fd36b115
[ISSUE#3179]fix import formate issue.
2020-07-12 13:52:29 +08:00
zongtanghu
d8e1d2aebc
[ISSUE#3179]Replace the NotifyCenter with new refactor in the config and test module.
2020-07-12 11:28:54 +08:00
CsyDesign
84b733a31f
[ISSUE#3300] Optimize the default "minIdle"" of HikariPool set by naocs ( #3304 )
2020-07-12 00:32:11 +08:00
杨翊 SionYang
7ddba00865
Upgrade 1.3.1 ( #3294 )
2020-07-10 18:05:07 +08:00
杨翊 SionYang
95f3bfb587
[ISSUE #2992 ]Recheck all checkstyle and open checkstyle during building ( #3293 )
...
* Re-check code style for nacos-config module.
* Re-check code style for other module.
* Open checkstyle plugin check during build
2020-07-10 17:18:53 +08:00
zhangjidi2016
5d65653740
Resolve the issues of codestyle of nacos-config module for phase7 ( #3288 )
...
* Resolve the issues of codestyle of nacos-config module for phase7
* fix typo of code style.
2020-07-10 14:26:39 +08:00
杨翊 SionYang
886fbe463c
Use new code style for nacos-config module/test. ( #3290 )
2020-07-10 13:24:43 +08:00
杨翊 SionYang
bc9861c615
[ISSUE #2992 ] Use new code style for nacos-cmdb module. ( #3289 )
...
* Use new code style for nacos-cmdb module.
* Check again for nacos-common module.
* Check again for nacos-core module.
* Check again for nacos-naming module.
* skip nacos-test in checkstyle
2020-07-09 22:10:13 +08:00