nov.lzf
51903edd82
add out date connection active detection,expel it when client no response. ( #10509 )
...
* add out date connection active detection,expel it when client no response.
* add out date connection active detection,expel it when client no response.
2023-05-19 10:20:37 +08:00
KomachiSion
4198005529
For checkstyle and pmd.
2023-05-09 16:40:25 +08:00
KomachiSion
0555619b05
Merge remote-tracking branch 'upstream/develop' into develop#10361
...
# Conflicts:
# config/src/main/java/com/alibaba/nacos/config/server/constant/Constants.java
2023-05-09 15:50:12 +08:00
KomachiSion
607074c877
Make HealthController not strongly depend config and naming module.
2023-05-09 14:43:25 +08:00
nov.lzf
dbe3730d69
fix sslconf out of date ( #10451 )
...
* 更新证书文件
* fix test case
* update ssl conf
2023-05-09 10:09:21 +08:00
KomachiSion
9d92b5122a
Add NamespaceDetailInjector and move NamespaceOperationService to core module.
2023-05-09 10:05:26 +08:00
KomachiSion
e93d417de6
Move CommonPersistService impls to core module and rename to NamespacePersistService.
2023-05-08 20:42:29 +08:00
KomachiSion
515ae912b2
Move some TenantInfo and NamespaceRowMapperInjector to core module.
2023-05-08 20:29:53 +08:00
KomachiSion
841ce677d1
Move DerbySnapshotOperation and DistributedDatabaseOperateImpl to core module.
2023-05-08 19:29:14 +08:00
zhanghong
5cf5829253
add configModuleState/raftModuleState/distroModuleState in branch develop#10153 ( #10288 )
...
* add configModuleState/raftModuleState/distroModuleState
* add configModuleState/raftModuleState/distroModuleState
* update TEST
* 修复test bug
* 移除ip暴露风险
2023-05-08 18:05:34 +08:00
KomachiSion
3d4014a3d3
Move StandaloneDatabaseOperateImpl to persistent module.
2023-05-08 11:56:38 +08:00
KomachiSion
576225485e
Move TimerContext to sys module and add new one single thread to snapshot for derby.
2023-04-25 14:46:38 +08:00
KomachiSion
11fc4792c4
Move namespace module to core module.
2023-04-23 16:41:43 +08:00
KomachiSion
f83061f47d
Move some datasource and relative classes into persistence module.
2023-04-23 16:00:42 +08:00
杨翊 SionYang
0e0a73e025
Revert "[issue #10148 ]Replace sync forward request with async request ( #10158 )" ( #10358 )
...
This reverts commit a273705b8d
.
2023-04-20 20:12:33 +08:00
Zhaohui Yu
a273705b8d
[issue #10148 ]Replace sync forward request with async request ( #10158 )
...
* Replace sync forward request with async request in DistroFilter. issue #10148
* extract method for config default headers
* add env switch for async distro forward.
* Fixed code review problems:
1. Move async forward switch from sys module to naming module.
2. use nacos code style to format code.
* Fixed nacos code checkstyle:
1. one import per Class
2. add javadoc
* In order to avoid additional overhead, move switch from GlobalConfig to ClientConfig and cache the env switch.
* Move switch from ClientConfig to DistroConfig.
* Removed unused import.
* Add test for async forward for DistroFilter
* Add license
* rename test method name
* Should enable async forward
* fixed test
* set async forward request switch to true in test
* fixed test: create and set property with MockEnvironment
* fixed check style
* move MockEnvironment init to BeforeClass
* add setter for asyncForwardRequest switch
2023-04-20 20:10:26 +08:00
Karson
7952543c43
Code optimization for NacosMeterRegistryCenter ( #10231 )
...
* optimize code
* add unit test
* reformat code style
2023-03-31 14:43:30 +08:00
varyuan
d291f24d88
fix bug, about Arrays.asList(new boolean[1]) ( #10129 )
2023-03-21 15:29:16 +08:00
nov.lzf
c39ba4a35c
ssl context reload spi ( #10150 )
2023-03-21 15:27:57 +08:00
nov.lzf
7df6f6d47c
dead lock on sending connection reset request on server over limit #10114 ( #10149 )
2023-03-21 15:13:45 +08:00
githubcheng2978
214e0c9077
nacos grpc connection supports TLS Encryption ( #9980 )
...
support tls encryption on grpc transport on client and server side
---------
Co-authored-by: githubcheng2978 <yeliang.cheng@freemud.com>
2023-03-15 09:41:25 +08:00
Gao Xuliang
5aa272c5e9
[ISSUE #10052 ] ServerLoaderController Code optimization ( #10058 )
2023-03-09 11:05:25 +08:00
ZhangShenao
d5bbe9ebfd
[ISSUE #10020 ] Use Generic Type When Declaring authFilterRegistration
in com.alibaba.nacos.core.auth.AuthConfig ( #10021 )
...
* code optimization for `ConfigChangeHandler`
* [ISSUE #9930 ] fix word spelling error in com.alibaba.nacos.common.http.AbstractHttpClientFactory#ASYNC_IO_REACTOR_NAME
* [ISSUE #10020 ] Use Generic Type When Declaring `authFilterRegistration` in com.alibaba.nacos.core.auth.AuthConfig
* fix code format
* fix code format
* Fix Code Format
* Fix Code Format
2023-03-02 10:18:12 +08:00
WangLiang/王良
a397c10a54
Optimize the nacos-client/pom.xml
for exclude google/**/*.proto
( #9982 )
...
* Optimize the pom.xml of the nacos-client
* optimize pom
* exclude `google/**/*.proto`
* tab
* Remove dependency `io.grpc:protoc-gen-grpc-java:${version}:pom`
* revert indent
* revert native-image
2023-03-01 09:42:15 +08:00
chenyiqin
5a8f6f5f6a
Fix cluster node state error ( #10011 )
...
* Fix cluster node state error
* Fix checkstyle
2023-03-01 09:40:30 +08:00
云野
aebe583049
fix #9954 -- timeunit. ( #10004 )
2023-02-27 10:54:33 +08:00
贾璞
67d5acc892
[ISSUE #9965 ] Delete method getRemoteIp() from class NacosHttpTpsCont... ( #9966 )
...
* [ISSUE #9965 ] Delete method getRemoteIp() from class NacosHttpTpsControlInterceptor
* [ISSUE #9965 ] Supplementary deletes three extra strings
2023-02-20 10:29:16 +08:00
hth
4e78a769e5
replaced report API to Grpc ( #9976 )
2023-02-20 09:55:34 +08:00
杨翊 SionYang
986c024ccc
Fix Unit test problem. ( #9884 )
2023-02-01 14:02:00 +08:00
云野
332dc1d348
fix #9819 ( #9850 )
2023-01-28 10:35:57 +08:00
sixsixsix516
4fa126f7fc
Modify the return value comment of the isBasicInfoChanged method ( #9849 )
2023-01-16 14:02:50 +08:00
胡俊
01faa47c76
快照首次加载失败问题 ( #9838 )
2023-01-13 10:36:57 +08:00
云野
732e7012ab
Provide more configuration items to allow users to customize their grpc services to better optimize network performance. ( #9806 )
2023-01-11 09:47:15 +08:00
gongzhongqiang
708387c277
fix:replace nacos website url to https. ( #9797 )
2023-01-10 09:47:52 +08:00
MajorHe1
5ac56885a1
[#ISSUE 9733] return origin key if value is null in StringPool.get() ( #9798 )
2023-01-09 13:55:31 +08:00
Weizhan Yun
1bc2e4185e
upgrade grpc-java version to 1.50.2, ( #9799 )
...
protobuf-java to 3.21.11, proto-google-common-protos to 2.7.1
2023-01-05 17:27:56 +08:00
Karson
7e24ab9f6c
[Enhance] Prevent double triiger ContextRefreshedEvent ( #9757 )
...
* prevent double tigger event.
* reformat code style
2023-01-03 11:36:43 +08:00
twelvet
7c4f614d51
RequestMappingHandlerMapping conflict ( #9720 )
...
RequestMappingHandlerMapping conflict
2022-12-27 15:10:11 +08:00
drgnchan
fbe7d956c5
polish:change log level warn to info when succeed ( #9749 )
2022-12-27 15:08:09 +08:00
nov.lzf
69047073c6
修改长连接request response 类注册逻辑,由类扫描改成手动注册 ( #9738 )
...
* 修改request response 类加载逻辑,有类扫描改成手动注册
* 优化注册方式,直接SPI注册payload
2022-12-21 19:56:21 +08:00
nov.lzf
1322486849
Develop optimize controplugin 20221214 ( #9715 )
...
* 限流插件优化
* 反脆弱插件移除nacos-sys依赖
* 移除nacos-sys依赖
2022-12-16 13:18:44 +08:00
杨翊 SionYang
dfcdd391af
Add auth for some v2 api. ( #9671 )
2022-12-08 10:31:32 +08:00
nov.lzf
acc8ab46cf
Refactor connection limit module to plugin ( #9653 )
...
* 限流插件提交
* 限流插件提交
* 限流插件提交
* 限流插件重构提交
* connection control test case submit
* tps control test case submit
* tps control test case submit
* tps control test case submit
* exact model has higher priority
* exact model has higher priority
* tpsreporter
* tpsreporter
* tpsreporter
* check style
* log optimize
* interceptor
* checkstyle
* tps check
* configController query http
* rename component
* 优化参数命名
* 优化参数命名
* 优化参数命名
* 优化参数命名
* optimize connection manager
* optimize connection manager
* optimize connection manager
* optimize connection manager
* interceptor to mse
* Monitor Model
* Monitor Model
* revert opensource tps ability
* revert opensource tps ability
* revert opensource tps ability
* revert opensource tps ability
* revert opensource tps ability
* revert opensource tps ability
* opensource submit
* opensource submit
* check style
* check style
* pmd ,rat
* update db params
* test case fix
* 简化开源反脆弱实现
* test case
* test case fix
* 修复单测
* 修复单测
* 修复单测
2022-12-06 16:15:51 +08:00
李晓双 Li Xiao Shuang
0348014c17
[ISSUE #9490 ] Optimize datasource name configuration reading ( #9491 )
...
* Optimize data source name configuration reading
* Optimize data source name configuration reading
* Compatible with old and new datasource platform read
* Compatible with old and new datasource platform read
* Compatible with old and new datasource platform read
* Compatible with old and new datasource platform read
* fix unit test
* fix unit test
2022-11-08 09:22:33 +08:00
无处不在
21683957e5
[ISSUE #9415 ]update setExternalStorage logic,support more db check,add 8 count unit test ( #9470 )
...
* [impr]update setExternalStorage method logic,support more db check,add 8 count unit test method
* update comment desc
2022-11-07 17:17:52 +08:00
hth
5ea747b863
[ISSUE #8619 ] add CustomEnvironmentPlugin ( #8619 ) ( #9296 )
...
* [ISSUE #8619 ] add CustomEnvironmentPlugin (#8619 )
* feature issue #8619 .
* custom properties.
* reformat codes and author fix
* remove customEnvironment to nacos-core and Complete test
* add license
* pmd fix
* code optimization
* conflict fix
2022-11-04 15:24:25 +08:00
李晓双 Li Xiao Shuang
e8d71359d3
Modify the method modifier of NacosApplicationListener to default ( #9460 )
2022-11-04 13:54:06 +08:00
Weizhan Yun
506bc26f4d
[ISSUE #9393 ] 设置线程为守护线程,保证在main线程推出时应用程序能过正常关闭。 ( #9396 )
...
* 设置线程为守护线程,保证在main线程退出时应用程序能过正常关闭。
* graceful shutdown naming executetask engine.
2022-11-03 13:44:00 +08:00
KomachiSion
f56dedc7fe
Fix sync connection client not removed.
2022-10-27 12:11:06 +08:00
KomachiSion
8410fbccf3
Merge remote-tracking branch 'upstream/2.2.0' into asoc2022_issue#8461
...
# Conflicts:
# config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigController.java
2022-10-25 14:52:32 +08:00