chuntaojun
8ad399a4aa
feat: merge upstream develop
2020-09-30 17:00:39 +08:00
mai.jh
473090ba13
Fix http client contentType charset problem ( #3848 )
2020-09-17 17:49:11 +08:00
杨翊 SionYang
2ded5a24fc
Set mediaType charset as utf8 ( #3837 )
2020-09-16 09:14:03 +08:00
杨翊 SionYang
565557c5c5
Fix NullPointerException when no subscriber for slow event ( #3835 )
2020-09-15 14:50:57 +08:00
mai.jh
5e4429f0e4
[ISSUE#3192] naming module replace http client ( #3763 )
...
* naming module replace http client
* refactor: naming module replace http client.
* refactor: naming module replace http client.
* refactor: Add apache http client Factory.
* refactor: naming module replace http client.
* fix code style
* refactor: Add http client config
* refactor: naming module HttpClientManager change
* refactor: naming module HttpClientManager change
* refactor: naming module replace http client.
* fix code style
* refactor: fix JDK http client Use error problem.
* refactor: Query And Header entity init Add non-empty judgment
* Enhance the asynchronous http delete request method to support body passing parameters.
* refactor: apache http client set MaxConnTotal and maxConnPerRoute.
2020-09-15 09:18:20 +08:00
Marcus
af2151e49c
fix ConvertUtils can not handle FormatException.
2020-09-14 11:56:12 +08:00
S2W
a41d209d57
Update ConvertUtils.java ( #3789 )
2020-09-09 17:03:25 +08:00
mai.jh
baa699a3f1
[ISSUE#3790] Supplement http response Content-Encoding processing. ( #3791 )
...
* bug: fix issue #3790 , Supplement http response Content-Encoding processing
* bug: fix issue #3790 , Supplement http response Content-Encoding processing.
* bug: fix issue #3790 , Supplement http response Content-Encoding processing.
2020-09-09 17:01:18 +08:00
chuntaojun
acbd5bfa36
feat: merge upstream develop
2020-09-04 01:12:51 +08:00
杨翊 SionYang
525672272e
[Issue#3692] Use new distro task engine replace old task dispatcher. ( #3715 )
...
* Add ServiceManagerTest
* Add DistroConsistencyServiceImplTest
* Add new distro entities
* Add new distro sync data change
* add new VerifyTask to do checksum.
* Replace old sync task and checksum task
* Add retry sync change task.
* Fix high cpu load
* For checkstyle
* Combine naming sync task to reduce http cost
* Move some classes
* Refactor keys combined logic
* enhance package construct
* Fix unit test
* For pmd
2020-09-01 10:46:45 +08:00
chuntaojun
bc7d6b1af7
Merge branch 'develop' of https://github.com/alibaba/nacos into jraft_naming
2020-09-01 10:32:03 +08:00
mai.jh
06877ead41
[ISSUE#3712] add apache http client factory ( #3716 )
...
* refactor: Add apache http client Factory.
* refactor: Add apache http client Factory.
* add license
* refactor: class name change
2020-09-01 10:24:34 +08:00
Tboy
c2367d687c
Fix Logging in with the wrong username or password will cause jackson serialization results to fail ( #3695 ) ( #3721 )
2020-09-01 10:01:12 +08:00
chuntaojun
3fac6c9e4c
Merge branch 'develop' of https://github.com/alibaba/nacos into jraft_naming
2020-08-27 13:40:13 +08:00
chuntaojun
4db98427eb
feat: merge upstream develop
2020-08-27 13:40:08 +08:00
Gagharv
da8fa57f99
[ISSUE#3315]Nacos client support https ( #3654 )
...
* [ISSUE #3315 ] nacos client support https
* common module add tls related classes
* JdkHttpClientRequest support https
* unified IpUtils
* [ISSUE #3315 ] nacos client support https
* common module add tls related classes
* JdkHttpClientRequest support https
* unified IpUtils
* [ISSUE #3315 ] nacos client support https
* format code
2020-08-24 18:35:38 +08:00
Gagharv
3428d8830e
[ISSUE #3671 ] move some tools class into common package ( #3672 )
2020-08-24 13:24:56 +08:00
杨翊 SionYang
a0c8353b70
[ISSUE#3658] refactor TaskManager and move to nacos-common module ( #3663 )
...
* Add TaskManagerTest
* Move Abstract Task and Task processor to nacos-common
* Add Nacos execute engine interface and nacos task interface
* Refactor Task Manager to NacosDelayTaskExecuteEngine
* for code style
2020-08-23 16:39:58 +08:00
mai.jh
136b45610d
refactor: unified implementation of http client api adjustment. ( #3639 )
2020-08-20 09:09:21 +08:00
chuntaojun
71c8530abd
Merge branch 'develop' of https://github.com/alibaba/nacos into jraft_naming
2020-08-12 23:34:43 +08:00
杨翊 SionYang
0b73cfc769
Upgrade version to 1.4.0-SNAPSHOT ( #3549 )
2020-08-12 09:32:06 +08:00
chuntaojun
14039fd9cd
Merge branch 'develop' of https://github.com/alibaba/nacos into jraft_naming
2020-08-10 23:33:50 +08:00
mai.jh
b1db2be4c1
[ISSUE #3192 ] replace nacos-core module http client ( #3535 )
...
* core module replace http client
* replace http client
2020-08-06 22:01:36 +08:00
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
杨翊 SionYang
df4b006b36
Upgrade version to 1.3.2 ( #3512 )
2020-08-04 12:58:45 +08:00
liaochuntao
43f606519b
[ #1839 ]add ContentType return while getConfig ( #3470 )
2020-07-31 14:53:49 +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
mai.jh
75a06834f5
unified implementation of http client package division ( #3400 )
2020-07-21 14:53:03 +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
Hu Zongtang
ff929b75ad
[ISSUE#3356]fix no throw exception when publish event but no subsciber. ( #3363 )
2020-07-17 16:12:08 +08:00
mai.jh
0163d2d0c7
fix : #3324 , Move http client close method to NamingProxy.shutdown() ( #3333 )
2020-07-15 14:12:44 +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
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
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
杨翊 SionYang
7ddba00865
Upgrade 1.3.1 ( #3294 )
2020-07-10 18:05:07 +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
杨翊 SionYang
c34abf368c
Hotfix register null cluster name instance problem ( #3267 )
2020-07-07 20:14:41 +08:00
杨翊 SionYang
88480f7c0f
Update to 1.3.1-BETA ( #3194 )
2020-06-29 13:56:16 +08:00
Hu Zongtang
51c0eb25ad
[ #3179 ]fix Notify's typos in common module and remove NotifyCenter's unit test in test module ( #3187 )
...
* [#3141 ]fix Notify's typos in common module and remove NotifyCenter's unit test in test module.
* [#3141 ]fix variable naming issue.
2020-06-28 13:01:12 +08:00
Hu Zongtang
ac0eabf6cc
[ #3141 ]Move the related notify test cases code to common module, fix NPE and improve peformance. ( #3145 )
...
* [#3141 ]fix typo and move unit test cases codes from core to common module.
* [#3141 ]implement DefaultSharePublisher to separate sharePublish from default publisher and fix typo.
* [#3141 ]fix typo and NPE issue.
* [#3141 ]improve performance and fix typo.
* [#3141 ]add removeSubscriber logical codes.
* [#3141 ]rename the unit test method's names.
* [#3141 ]fix typo.
* [#3141 ]fix thread unsafe and atomic issue.
2020-06-24 19:13:34 +08:00
mai.jh
6ce8d8ca79
[ISSUE #3140 ]nacos-client module replace http client ( #3142 )
...
* nacos-client http client replace
* Remove some explain
* Remove some explain
* Adjust some code styles and fix some misspelled method names
* Fix code style issues
* fix some misspelled method names
* Fix code style issues
2020-06-22 20:42:46 +08:00
Hu Zongtang
1dc29f2d52
[ #3117 ]Just Sink the Notify implementation into common module and optimize some parts ( #3118 )
...
* [#3117 ]Sink the Notify implementation into common module and optimize some parts.
* [#3117 ]fix typo and reformat code styles.
* [#3117 ]fix typo and reformat code styles.
* [#3118 ]fix typo and formate.
* [#3118 ]Unify Subsciber and SmartSubscriber, and fix some typo and reformat.
* [#3118 ]fix some typo and reformat.
2020-06-22 01:10:56 +08:00
杨翊 SionYang
67b58a0117
Add missing java doc for nacos-common for checkstyle ( #3112 )
2020-06-19 10:24:25 +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