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
Hu Zongtang
ff929b75ad
[ISSUE#3356]fix no throw exception when publish event but no subsciber. ( #3363 )
2020-07-17 16:12:08 +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
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
Gagharv
f94e8f8fb4
[ISSUE #2856 ]Adjust the use of thread pools ( #3084 )
...
* [ISSUE #2856 ][module:core、consistency]Adjust the use of thread pools
Change-Id: I793770ca0f287157dc88e3ecf1147ea308e4a547
* code optimize
Change-Id: I023ed73332f3f69c93277f25e57e0ee5c3975f02
2020-06-17 18:21:00 +08:00
mai.jh
e528ea82e9
[ISSUE #3094 ]abstract create nacos restTemplate factory ( #3095 )
...
* abstract create nacos restTemplate factory, allowing users to customize the commonly used http client config
* add class file license.
* change class file name
* Adjust some code
2020-06-17 17:53:37 +08:00
Hu Zongtang
3f0023a3a9
Remove dependency of apache-common-lang3 in the client. ( #3031 )
...
* [#3026 ]remove dependency of apache-common-lang3 in the client.
* [#1815 ]adjust, optimize codes and merge some class.
* [#3031 ]adjust some codes.
* [#3031 ]adjust codes and fix typo.
* [#3031 ]fix typo.
2020-06-15 13:41:53 +08:00
yanlinly
86d5a32fb3
Merge pull request #3064 from chuntaojun/hotfix_client_validator
...
[#3063 ] fixed parameter validation boundary problem
2020-06-15 11:42:24 +08:00
chuntaojun
7641b45df4
fix: fixed parameter validation boundary problem
2020-06-15 10:11:34 +08:00
zhanglong
cf6b4c4f0e
Tool method extract
2020-06-13 22:06:04 +08:00
liaochuntao
b9ff53b49c
Merge pull request #3048 from KomachiSion/develop-issue#2873
...
[ISSUE #2873 ] Unified copyright for file header.
2020-06-12 21:23:28 +08:00
杨翊 SionYang
81f9eff928
Merge pull request #2926 from Maijh97/develop
...
[ISSUE #2858 ] Unified implementation of Http requests
2020-06-12 19:47:41 +08:00
KomachiSion
f42dd3436d
For #2873 , unified copyrights for nacos-common.
2020-06-12 15:44:51 +08:00
mai.jh
95272feb28
adjust some codes
2020-06-11 17:38:34 +08:00
zongtanghu
e6e3161c0e
resolve the codes conflicts
2020-06-11 09:45:00 +08:00
zongtanghu
eb39830b6c
[ #1815 ]remove lifeCycle, lifeCycleManager, and adjust some related codes.
2020-06-11 09:42:44 +08:00
mai.jh
fa6bf9951d
remove extra blank lines
2020-06-11 09:34:15 +08:00
zongtanghu
8f7fb0f65a
[ #1815 ]remove no used package name from Factory Class and adjust test cases.
2020-06-09 14:10:47 +08:00
chuntaojun
902d609f1e
perf: optimize configuration change event publishing
2020-06-08 23:38:53 +08:00
lengleng
56eeb35ffc
♻️ Refactoring pom. com.alibaba.nacos to ${project.groupId} Uniform variable
2020-06-06 17:24:37 +08:00
chuntaojun
364745e000
refactor: add config publish log
2020-06-05 10:50:29 +08:00
water.lyl
7f541a9a67
update version to 1.3.0
2020-06-05 09:02:17 +08:00
zongtanghu
94c41e11d1
[ #1815 ]fix unit test cases.
2020-06-03 17:35:49 +08:00
zongtanghu
09752e354d
[ #1815 ]adjust this keywords which just includes constructor and set method in the class and fix some unit test cases.
2020-06-03 17:35:06 +08:00
zongtanghu
e86c158262
resolve codes conflicts
2020-06-03 14:57:46 +08:00
zongtanghu
5e2840a6bd
[ #1815 ]adjust and optimize codes.
2020-06-03 10:46:41 +08:00
zongtanghu
2ab274216a
[ #1815 ]adjust and optimize codes, reput the lifecycle to ConfigService class level at the same time.
2020-06-02 19:55:30 +08:00
liaochuntao
184141fc57
Merge pull request #2923 from jintonghuoya/feature_maven_version_unity
...
[ISSUE #2860 ]Maven dependency optimizations, where only one version of each dependency exists
2020-06-02 14:47:26 +08:00
chuntaojun
01bb02b943
refactor: long volume, annotation optimization
2020-06-02 10:32:18 +08:00
mai.jh
a83241205c
optimize response handler, remove AsyncRestOperations,RestOperations.
2020-06-01 23:51:53 +08:00
chuntaojun
3169424605
refactor: optimize old version information synchronization logic
2020-06-01 21:54:29 +08:00
Jack Dai
1a7264d9b6
解决和develop的冲突
2020-06-01 18:41:03 +08:00