Commit Graph

449 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Hu Zongtang
753a736815
[ISSUE#3249]Resolve the issues of codestyle of nacos-config module for phase8. (#3286)
* [ISSUE#3249]Resolve the issues of codestyle of nacos-config module for phase8.

* [ISSUE#3249]fix typo.
2020-07-09 20:12:05 +08:00
Gagharv
9e9b95b9a0
[#3249]Resolve the issues of codestyle of nacos-config module for phase6 (#3277)
Change-Id: I731548ea51b8ccf2a7f2635bd0e864573ccc7fc9
2020-07-08 15:11:58 +08:00
Hu Zongtang
0086dfe787
Resolve the issues of codestyle of nacos-config module for phase5. (#3272)
* [#3249]Fix chinese unit method name in config test module.

* [#3249]resolve the code style issue in service package.

* [ISSUE#3249]fix typo.
2020-07-08 09:21:13 +08:00
Gagharv
a4fe234a26
Resolve the issues of codestyle of nacos-config module for phase4 (#3262)
* [ISSUE#3249]Resolve the part issues of codestyle for nacos-config module(package:service/repository)

Change-Id: I394a7639c70b6d30c2b800d5608ba62b6b64c76c

* 1.adjust ignore exception
2.adjust sql

Change-Id: I1e190872dc85d1d81a6afc2a204331bd779c04b0

* adjust sql

Change-Id: Ie4a085487b3642d0da150162b9a750bd803bf07e
2020-07-07 20:13:32 +08:00
Hu Zongtang
9966ec38d9
[ISSUE#3249]Resolve the issues of codestyle of nacos-config module(parameters/enums/exception/filter/manager/model/service). (#3259) 2020-07-06 15:35:10 +08:00
Gagharv
4278b483ca
Resolve the issues of codestyle of nacos-config module for phase2 (#3253)
* [ISSUE#3249]Resolve the part issues of codestyle for nacos-config module(package:service/dump)

Change-Id: I273493054e3d7f5f26d73d65fa8360266a93cbfc

* [ISSUE#3249]Resolve the part issues of codestyle for nacos-config module(package:service/merge)

Change-Id: I8cdf601c2cb5f177a920c0f690cfbace8108c4cc
2020-07-06 10:08:32 +08:00
Hu Zongtang
c40de72f34
Resolve the issues of codestyle of nacos-config module for phase1 (#3250)
* [ISSUE#3249]Resolve the part issues of codestyle for nacos-config module(package:aspect/auth/configuration).

* [ISSUE#3249]Resolve the part issues of codestyle for nacos-config module(package:constant/controller).

* [ISSUE#3249]translate Chinese comments into English.

* [ISSUE#3249]fix typo.
2020-07-06 09:56:34 +08:00
Joe
2f5fb235b2
optimize isExistTable function (#3236)
* Update EmbeddedStoragePersistServiceImpl.java

If the table data volume is large, count (*) will be particularly slow

* Update ExternalStoragePersistServiceImpl.java

If the table data volume is large, count (*) will be particularly slow

* Update ExternalStoragePersistServiceImpl.java

* Update EmbeddedStoragePersistServiceImpl.java
2020-07-04 09:27:18 +08:00
Hu Zongtang
31670f124c
[#3241]Reformat the nacos-config module by new code style. (#3243) 2020-07-03 16:51:08 +08:00
杨翊 SionYang
88480f7c0f
Update to 1.3.1-BETA (#3194) 2020-06-29 13:56:16 +08:00
liaochuntao
2c733d57ff
[#2979] Inline storage support importing data from external data sources (#3138)
* feat: data import Derby, Derby export complete

* feat: external data source import is complete

* feat: import data to derby and derby backup finished

* fix: fixed bug where external storage mode could not find beans

* style: fix code style

* style: remove unuse code

* refactor: fixed configuration file information

* improvement: merge upstream/develop

* style: fix code style

* fix: a way to fix the missing

* fix: fix derby data import in standalone mode

* style: fix code style

* refactor: merge upstream develop and fix code style

* test: modify ut

* style: fix code style
2020-06-28 10:25:06 +08:00
Hu Zongtang
38a2aa111a
[#3185]Fix chinese unit method name in config test module. (#3186) 2020-06-28 09:49:53 +08:00
杨翊 SionYang
532aad685e
upgrade version of Jackson and Guava (#3116) 2020-06-19 10:55:14 +08:00
杨翊 SionYang
f864880136
[ISSUE #2992] use new code style for nacos-common (#3106)
* use new code style for nacos-common

* Fix code style file can't set java import problem.
2020-06-18 17:05:15 +08:00
zhanglong
855a637ac5 Fix word spelling errors 2020-06-14 19:11:54 +08:00
zhanglong
477e0ad1f3 Add license for ExternalDataSourceProperties 2020-06-14 17:57:33 +08:00
zhanglong
8295a3ef96 Add ut for ExternalDataSourceProperties 2020-06-14 17:55:25 +08:00
zhanglong
768713ec05 Merge branch 'develop' of https://github.com/alibaba/nacos into develop 2020-06-14 17:18:17 +08:00
liaochuntao
34fda6a0bb
Merge pull request #3057 from showkawa/#3056_performance_issue
#3056 performance issue
2020-06-14 12:56:11 +08:00
zhanglong
cf6b4c4f0e Tool method extract 2020-06-13 22:06:04 +08:00
zhanglong
1b55e68fd4 Upgrade the database driver version of Mysql to 8 # 3036 #2993 #1868 2020-06-13 19:05:22 +08:00
Brian Huang
8c0f52f987 replace "+=" to StringBuilder append method 2020-06-12 22:00:08 +08:00
KomachiSion
d4bdb69831 For #2873, unified copyrights. 2020-06-12 16:24:00 +08:00
KomachiSion
8aaa833605 For #2873, unified copyrights for nacos-config. 2020-06-12 15:45:35 +08:00
yanlinly
65c6c8cb27
Merge pull request #2781 from wangweizZZ/issue_2749
[ISSUE #2749]dumpAllTaskMgr did not add the correct processor
2020-06-11 13:49:50 +08:00
杨翊 SionYang
e6c578f4e2
Merge pull request #3008 from zhouhailin/develop
FIX ISSUE #3007 : MaxHistory字段名称和Nacos默认的命名风格不统一
2020-06-10 14:01:40 +08:00
zhouhailin
2efe317597 FIX ISSUE #3007 : MaxHistory字段名称和Nacos默认的命名风格不统一 2020-06-09 23:02:18 +08:00
chuntaojun
902d609f1e perf: optimize configuration change event publishing 2020-06-08 23:38:53 +08:00
yanlinly
5203ee348b
Merge pull request #2990 from alibaba/hotfix_standalone_notify
[ISSUE 2989] where config publish could not trigger horizontal notification i…
2020-06-08 13:57:27 +08:00
chuntaojun
795005be2b fix: where config publish could not trigger horizontal notification in standalone + derby 2020-06-08 11:01:34 +08:00