KomachiSion
bdacd0958d
Merge remote-tracking branch 'upstream/develop' into 2.0.0-sync-develop
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/http/NamingHttpClientProxy.java
# core/src/main/java/com/alibaba/nacos/core/listener/StartingApplicationListener.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/ServiceController.java
2020-12-31 11:48:52 +08:00
haoyann
374e7e39d8
[ISSUE #3406 ] fix change self's password fail ( #4536 )
...
* fix change self's password fail
* refactor use util Objects
2020-12-28 09:53:40 +08:00
liaochuntao
5b2d76fb34
[ISSUE #4364 ] Fix Cluster member state isn't updated to 'DOWN' after the node becomes down ( #4371 )
...
* fix: fix issue #4364
* refactor: fixed node changes that could not trigger event publishing
* fix: fixed a problem with frequent releases of events
2020-12-16 18:30:41 +08:00
nov.lzf
caffec2d5b
rsocket parse bugfix; auth bugfix;some checkstyle and basic spell fix. ( #4473 )
...
* rsocket parse bugfix; auth bugfix;some checkstyle and basic spell fix.
* auth bugfix
2020-12-14 19:31:33 +08:00
杨翊 SionYang
93a3ac7816
Upgrade to 2.0.0-ALPHA.1 ( #4410 )
...
* Add some new server config parameters
* Upgrade to 2.0.0-ALPHA.1
2020-12-04 18:46:24 +08:00
KomachiSion
d6fcac85c5
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/http/ServerHttpAgent.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingMaintainService.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# config/src/main/java/com/alibaba/nacos/config/server/auth/ConfigResourceParser.java
# config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigController.java
# config/src/main/java/com/alibaba/nacos/config/server/result/ResultBuilder.java
# core/src/main/java/com/alibaba/nacos/core/listener/StartingApplicationListener.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/ClientBeatCheckTask.java
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HealthCheckCommon.java
# naming/src/main/java/com/alibaba/nacos/naming/web/NamingResourceParser.java
# sys/src/main/java/com/alibaba/nacos/sys/utils/ApplicationUtils.java
# test/src/test/java/com/alibaba/nacos/test/naming/AutoDeregisterInstance_ITCase.java
2020-12-03 18:41:41 +08:00
赵延
6ac6a6c7ed
[ISSUE-#4346] Fix import code ( #4347 )
...
* remove import.*
* transfer first_pre to final static variable
* use NamingBase.Xxx to replace constant
2020-11-30 19:17:27 +08:00
nov.lzf
ad98020770
负载均衡bugfix;监听并发问题bugfix;direct memory泄漏bugfix ( #4365 )
...
* memory gc optimize ; string pool bugfix
* grpc executor
* grpc executor
* 负载均衡bugfix;监听并发问题bugfix;direct memory泄漏bugfix
* check style fix
2020-11-30 16:17:34 +08:00
Gagharv
aa4737f4bc
[ISSUE-#4181] Normalize ContextPath value in client-side ( #4326 )
...
* [ISSUE-#4181] Just use ContextPathUtil normalize ContextPath value
* [ISSUE-#4181] add some test cases
2020-11-27 23:41:22 +08:00
赵延
8500279c79
[ISSUE-#4294] Use EnvUtils.setEnvironment to replace ApplicationUtils.injectEnvironment ( #4295 )
...
* use EnvUtils.setEnvironment to replace ApplicationUtils.injectEnvironment.
* remove unuseful import
* remove unuseful import
2020-11-21 19:03:51 +08:00
赵延
886715b2d7
[ISSUE-#4232] Use EnvUtil to replace ApplicationUtils about env operation ( #4281 )
...
* use EnvUtil to replace ApplicationUtils about env operation
* remove unuse import
* remove unuse import
* remove profile usage
2020-11-21 06:54:05 +08:00
KomachiSion
e56eb3680c
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# api/pom.xml
# client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# client/src/main/java/com/alibaba/nacos/client/naming/core/HostReactor.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/http/NamingHttpClientProxy.java
# client/src/test/java/com/alibaba/nacos/client/naming/core/HostReactorTest.java
# common/src/main/java/com/alibaba/nacos/common/notify/NotifyCenter.java
# core/pom.xml
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HttpHealthCheckProcessor.java
# naming/src/main/java/com/alibaba/nacos/naming/web/DistroFilter.java
# pom.xml
2020-11-20 17:13:49 +08:00
nov.lzf
70d976db18
更新版本;集群整体重新负载均衡功能;变更推送内容;推送SLA日志;常量池改造;启动时长链接优化;删除rpc digest 日志 ( #4217 )
...
* listen context bugfix.
* 更新版本;集群整体重新负载均衡功能;变更推送内容;推送SLA日志;常量池改造;启动时长链接优化;删除rpc digest 日志
2020-11-12 18:03:07 +08:00
邪影oO
027538ce2e
解决前端目录调整后前端访问不了问题 ( #4206 )
2020-11-12 09:18:45 +08:00
Gagharv
7baa696983
[ISSUE-#4181] fix url replace logic error,adjust the getContextPath logic ( #4203 )
2020-11-11 21:25:12 +08:00
杨翊 SionYang
164ed33ada
Feature support grpc core ( #4204 )
...
* NacosNamingMetadataManager --> NamingMetadataManager
* Try to add ServiceMetadata consistency
* add catalog api support new data
* Change version to 2.0.0-SNAPSHOT
2020-11-11 19:50:14 +08:00
杨翊 SionYang
757fc1efeb
Revert "解决前端目录调整后前端访问不了问题 ( #4195 )" ( #4196 )
...
This reverts commit a0bbd562b0
.
2020-11-11 13:59:50 +08:00
邪影oO
a0bbd562b0
解决前端目录调整后前端访问不了问题 ( #4195 )
2020-11-11 10:44:43 +08:00
KomachiSion
8829d3c6ed
Upgrade to 2.0.0-ALPHA
2020-11-05 19:38:15 +08:00
KomachiSion
9cbc0bfeea
Merge branch 'upsteam-develop' into feature_support_grpc_core
...
# Conflicts:
# api/src/main/java/com/alibaba/nacos/api/common/Constants.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/http/HttpClient.java
# common/src/main/java/com/alibaba/nacos/common/utils/VersionUtils.java
# core/src/main/java/com/alibaba/nacos/core/distributed/distro/DistroProtocol.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/InstanceController.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/ServiceController.java
# naming/src/main/java/com/alibaba/nacos/naming/misc/GlobalExecutor.java
2020-11-05 19:33:46 +08:00
杨翊 SionYang
ccea6ee112
Upgrade to 1.4.1-SNAPSHOT ( #4135 )
2020-11-05 09:43:33 +08:00
KomachiSion
adbcb7549d
Upgrade to 1.4.0
2020-11-02 19:09:19 +08:00
KomachiSion
fc33fb211c
Fix integration test error
2020-10-21 13:49:16 +08:00
KomachiSion
47481fedfb
Merge branch 'upsteam-develop' into feature_support_grpc_core
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# client/src/main/resources/nacos-log4j2.xml
# config/src/main/java/com/alibaba/nacos/config/server/service/notify/AsyncNotifyService.java
# core/src/main/java/com/alibaba/nacos/core/cluster/MemberMetaDataConstants.java
2020-10-16 15:26:33 +08:00
JackSun-Developer
7527d76743
[ISSUE #3576 ] [Enhancement] Adding the destroy lifecycle method on NamingMaintainService ( #3985 )
2020-10-14 10:17:06 +08:00
赵延
c0496b364e
[ISSUE #3909 ] add domain's judgement ( #3913 )
...
* add domain's judgement
* modify domain's judgement, can resolve = true
* remove judgement in 'if' code block
* replace Ip to IP in InetUtils
* log warn info when domain can not be resolved
* fix vaiable name
2020-10-12 12:19:02 +08:00
KomachiSion
6e5b09aee7
Merge branch 'upsteam-develop' into feature_support_grpc_core
...
# Conflicts:
# common/src/main/java/com/alibaba/nacos/common/notify/DefaultSharePublisher.java
# test/src/test/java/com/alibaba/nacos/test/naming/AutoDeregisterInstance_ITCase.java
2020-09-18 16:16:00 +08:00
liaochuntao
7fd4d9a5d1
feature issue #3804 ( #3805 )
...
* improvement: merge upstream/develop
* feat: merge upstream develop
* feat: manage the loading of configuration files uniformly
* fix: fix copyright style
* style: fix code style
* fix: fix code style
2020-09-18 16:05:36 +08:00
KomachiSion
ee406d5e5e
Merge branch 'upsteam-develop' into feature_support_grpc_core
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/http/ServerHttpAgent.java
# client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
# client/src/main/java/com/alibaba/nacos/client/config/impl/ServerListManager.java
# client/src/main/java/com/alibaba/nacos/client/naming/core/HostReactor.java
# client/src/test/java/com/alibaba/nacos/client/ConfigTest.java
# config/src/main/java/com/alibaba/nacos/config/server/service/notify/AsyncNotifyService.java
# core/pom.xml
# naming/src/main/java/com/alibaba/nacos/naming/misc/GlobalExecutor.java
2020-09-04 17:03:26 +08:00
nov.lzf
cf550b9f43
optimize request /header /meta info model, uniform request resolver pattern. ( #3749 )
...
* body string compress and opitimize request and meta info
* optimize request /header /meta info model, uniform request resolver pattern.
* delete useless code
2020-09-03 15:00:08 +08:00
mai.jh
136b45610d
refactor: unified implementation of http client api adjustment. ( #3639 )
2020-08-20 09:09:21 +08:00
nov.lzf
03e58df04f
listen context query support on console ; basic api for lader balance ;server side push retry submit ( #3630 )
...
* listen context query with groupy and ip support long connect
* remove connection on cleint side, server will generate instead.
* connect reset request support appointing ip address.
* server push retry
* basic api for loader balance
* basic api for loader balance
2020-08-18 20:20:21 +08:00
mai.jh
526e2bc130
[ISSUE #3566 ] move the permission code of nacos-core module to nacos-auth module ( #3593 )
...
* move the permission code of nacos-core module to nacos-auth module.
* Fix some code style issues
* address server module auth package name change.
* test change
* Incorrect package name correction
2020-08-14 09:50:05 +08:00
杨翊 SionYang
0b73cfc769
Upgrade version to 1.4.0-SNAPSHOT ( #3549 )
2020-08-12 09:32:06 +08:00
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
赵延
9734deeefc
[ISSUE #3486 ] Fix com.alibaba.nacos.core.code.ControllerMethodsCache will mismatch sometimes ( #3487 )
...
* fix #3486
* modify code suit checkstyle
* add apache licenses
* change the publish version of new class
* set the char "-->" in interface
* set the char "-->" in interface
* code format
* add unit case of com.alibaba.nacos.core.code.ControllerMethodsCache.getMethod
* code format follow nacos-code-style
* code format follow nacos-code-style
2020-08-07 10:51:39 +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
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
杨翊 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
mai.jh
75a06834f5
unified implementation of http client package division ( #3400 )
2020-07-21 14:53:03 +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
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
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
杨翊 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
511ef88ccc
fix:#3311 Add specified Logger when constructing nacos resttemplate ( #3312 )
2020-07-13 18:54:06 +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