Commit Graph

2924 Commits

Author SHA1 Message Date
mai.jh
a64a356e45
[ISSUE #3192] replace nacos-config module http client (#3523)
* nacos-config module replace http client

* replace http client

* Remove redundant package import

* add license

* Delete JOSNUtils and use JacksonUtils instead; modify NacosAsyncRestTemplate exception handling.
2020-08-06 11:53:27 +08:00
sanxun0325
95c8bf242b
[#3368]Cancel empty Long polling thread to improve performance. (#ISSUE3432)
* update clientWorker

* Upgrade 1.3.1 (#3294)

update clientWorker

* add ClientWorkerTest

* add remove taskFlagMap

* update clientworker

* update taskIdSet ConcurrentHashSet
2020-08-05 17:20:53 +08:00
qm0123
0ae6669d57
[#3509] Fix address server mode cannot be obtained application.properties (#3516)
* Fix address server mode cannot be obtained application.properties And synchronize the properties value(#3509)

* format code.

* update mysql default value nacos:nacos
2020-08-05 16:54:28 +08:00
ZZQ的
816113a7c2
[ISSUE #3500] Make page list of service manager same as config manager (#3511)
* 配置pageSize列表 #3439

* Service List Page Increase the number of pages switching function is the same as the configuration management page #3500

* issues#3500 编译之后的代码
2020-08-05 10:17:02 +08:00
杨翊 SionYang
aa91f3ddc1
Merge pull request #3505 from ljhrot/develop-issue#3397
[ISSUE #3397]Fix shell syntax error when running in ubuntu
2020-08-05 09:56:41 +08:00
ljhrot
dd24f564a3 Fix shell syntax error when running in ubuntu 2020-08-04 21:59:03 +08:00
杨翊 SionYang
df4b006b36
Upgrade version to 1.3.2 (#3512) 2020-08-04 12:58:45 +08:00
ZZQ的
e4fdc3820f
[ISSUE #3439] Increment console config page size (#3507)
* 配置pageSize列表 #3439

* Service List Page Increase the number of pages switching function is the same as the configuration management page #3500
2020-08-04 11:12:27 +08:00
ljhrot
e3eafda678 Fix shell syntax error when running in ubuntu 2020-08-03 22:40:02 +08:00
ljhrot
b79f048a9b
Fix the UnknownHostException is swallowed (#3495) 2020-08-02 18:59:58 +08:00
ljhrot
4310b3ee47
[ISSUE #3103] Fix can't create properties config (#3483)
* Fix browser Uncaught TypeError when create a Properties type configuration

* Change Properties content verification method

* Update front end resources
2020-07-31 19:16:56 +08:00
liaochuntao
43f606519b
[#1839]add ContentType return while getConfig (#3470) 2020-07-31 14:53:49 +08:00
杨翊 SionYang
f377c199d5
[ISSUE#3091] Fix address server can't start up by implement an empty auth manager. (#3456)
* Fix #3091 by empty auth manager.

* Fix #3091 by empty auth manager.

* Use conditional to solve bean conflict
2020-07-31 14:53:12 +08:00
杨翊 SionYang
1a22ae4c47
Fix checkstyle error (#3467)
Fix checkstyle error (#3467)
2020-07-29 16:09:35 +08:00
wangwei
e4a478a1f9 [#1839]add ContentType return while getConfig 2020-07-29 14:58:28 +08:00
mai.jh
e9152a95df
fix get HttpRequestBase thread safe issues through BaseHttpMethod (#3469) 2020-07-29 13:10:14 +08:00
chuntaojun
e08a6adc49 fix code style 2020-07-29 01:53:44 +08:00
mai.jh
5b76fd0d56
[ISSUE #2858] Unified http client implementation, enhanced async request callback interface (#3452)
* Enhanced callback interface for asynchronous requests

* change class name

* add license

* change class name

* comment change

* delete AbstractCallback
2020-07-27 13:15:50 +08:00
chuntaojun
d3ce09bb79 Merge branch 'develop' of https://github.com/alibaba/nacos into jraft_naming 2020-07-27 13:03:50 +08:00
chuntaojun
018ce1441f create error code 2020-07-27 13:03:45 +08:00
杨翊 SionYang
bc3d13f6cb
Update issue templates (#3427)
* Update issue templates

* Delete duplicate bug report
2020-07-27 10:14:18 +08:00
yanjunnf
377f778711
[#3388]Reset nacos roles, permissions during reloading role info from database (#3442)
* Reset nacos roles, permissions during reloading role info from database

* Add volatile to guarantee visibility in threads
2020-07-27 10:13:56 +08:00
senekis
d19b441540
Fix #3428, Fix token valid go login bug (#3449) 2020-07-27 09:44:53 +08:00
springliao
e90ac7e137 Major logical completion 2020-07-26 23:43:46 +08:00
ljhrot
c3818ff064
Fix bad SQL grammar (#3445) 2020-07-25 23:07:13 +08:00
springliao
3b5365cf1d finish stop old raft run logic 2020-07-25 23:01:39 +08:00
chuntaojun
5bf02123c1 feat: create rocksdb storage 2020-07-24 00:31:44 +08:00
Hu Zongtang
479ef3ff65
[ISSUE#3409]fix Nacos can't start by the startup.cmd script in windows enviroment. (#3416) 2020-07-22 17:48:57 +08:00
mai.jh
75a06834f5
unified implementation of http client package division (#3400) 2020-07-21 14:53:03 +08:00
yangy
2eaed4bcdc
Use PrepareStatement to replace string concatenation (#3393) 2020-07-21 14:50:19 +08:00
GangHuo
5eb7d6a38d
[ISSUE #3370] Issue with executing shell script /bin/sh^M on Unix/Linux (#3371)
* Replace RuntimeException caused by HealthCheckerFactory with Nacos serialization exception

* 1. Format startup.sh and shutdown.sh. Use Unix/Linux standard newline LF
2. Solve the OS = Windows error when packaging Maven (does not affect packaging)
2020-07-20 19:41:53 +08:00
Gagharv
75dfd107bb
[#3353]Adjust the value logic of clientBeatInterval (#3377) 2020-07-20 19:40:30 +08:00
chuntaojun
7455f513e3 Merge branch 'develop' of https://github.com/alibaba/nacos into new_develop 2020-07-19 12:11:54 +08:00
杨翊 SionYang
e5f0c368c9
Hotfix client sdk depend jdk7 charset. (#3376) 2020-07-18 23:01:32 +08:00
杨翊 SionYang
cda3f14230
Hotfix client sdk depend jdk7 charset. (#3374) 2020-07-18 16:36:10 +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
chuntaojun
4dbd7969fe Merge branch 'develop' of https://github.com/alibaba/nacos into new_develop 2020-07-18 00:14:30 +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
chuntaojun
abee9c4dcf Merge branch 'develop' of https://github.com/alibaba/nacos into new_develop 2020-07-17 00:06:39 +08:00
mai.jh
0163d2d0c7
fix: #3324, Move http client close method to NamingProxy.shutdown() (#3333) 2020-07-15 14:12:44 +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
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