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
Liu Yixiao
03345fd923
[ISSUE #8461 ] Enhance Nacos monitor observability system ( #9038 )
...
* Enhance MetricsMonitor with several new metrics
* Add config read and write rt
* Add ServiceEvent publisher queue size
* Add fuzzy search count
* Add naming subscriber and publisher count with v1 or v2 version tag
* Add config subscriber count with v1 or v2 version tag
* Add pending push task count and empty push count metrics
* collect pending push task count by scheduled task
* add unit test for increment metrics in NacosMonitorPushResultHook
* Add topn counter container and topn config change
* Create private MeterRegistry for config change
* Add scheduled clear for config change count, add removeAll for TopnCounterMetricsContainer
* Add topn service change
* Reconstruct metrics monitor with NacosMeterRegistryCenter.
* divide globalRegistry to different modules' CompositeMeterRegistry
* Add dynamic meters refresh service for config and naming module
* fix unit test
* Add try catch when init NacosMeterRegistryCenter
2022-10-25 11:31:29 +08:00
杨翊 SionYang
7a23c56822
[ISSUE#7930] 2.2.0 remove some deprecated codes ( #9368 )
...
* Remove double write switch and upgrade from 1.X switch.
* Remove IFilterConfig.java
* Remove some deprecated constants and methods
* Remove some deprecated classes in nacos-core
* Remove some deprecated config
* Remove some deprecated codes in naming module
* Remove some deprecated codes in sys module
* Fix unit test
* Try to make UdpConnectorTest pass more easier.
2022-10-21 17:44:26 +08:00
KomachiSion
aa6816b69f
Merge remote-tracking branch 'upstream/2.2.0' into summer2022_issue#8308
...
# Conflicts:
# naming/src/main/java/com/alibaba/nacos/naming/controllers/v2/InstanceControllerV2.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/v2/ServiceControllerV2.java
# naming/src/main/java/com/alibaba/nacos/naming/misc/UtilsAndCommons.java
2022-10-21 14:16:18 +08:00
杨翊 SionYang
b1ac88be78
[ISSUE#8481] Add Trace Event SPI for Naming. ( #9336 )
...
* Add Trace plugin spi.
* Add NacosCombinedTraceSubscriber
* Subscribe NamingTraceEvent when start up cluster.
* Fix test error.
2022-10-18 09:30:37 +08:00
Yann
c191d7a238
fix jraft npe log ( #9271 ) ( #9272 )
2022-10-10 11:46:49 +08:00
杨翊 SionYang
45165f7c06
[ISSUE#8650] Make cluster/report both receive and send metadata. ( #9228 )
...
* cluster/report api return self information.
* Update metadata when received report response.
* Add UT for handle report member info response.
* For checkstyle.
2022-09-28 14:43:14 +08:00
jiaoja
45f38b5aeb
[ISSUE #9154 ] Solve the nullcheck of value previously dereferenced. ( #9157 )
...
* [ISSUE #9154 ] Solve the nullcheck of value previously dereferenced.
* [ISSUE #9154 ] Remove unused import.
2022-09-19 09:45:00 +08:00
hoErYu
0fdfd194f9
For #9106 Remove redundant judgment of WebUtils ( #9107 )
...
* For #9106 Remove redundant judgment of WebUtils
* For #9106 Remove redundant judgment of WebUtils
* For #9106 Remove redundant judgment of WebUtils
2022-09-15 11:34:36 +08:00
DongYafei
5373513331
update NacosClusterControllerV2 ( #9066 )
2022-09-02 15:39:28 +08:00
Weizhan Yun
0ac96e1602
[ISSUE #9014 ] performance optimization--refacte TpsMonitorPoint ( #9021 )
...
* performance optimization
* fix check style
* fix test unit
* fix test unit for `getTimeFormatOfSecond` method.
* fix unit test for LimiterTest.
* fix error usage case for asserEquals method;eliminate interactions between test methods
2022-08-26 09:57:34 +08:00
chenhao26
db72e4f9c1
fix LookupFactoryTest ut / ci ( #8985 )
...
* fix ci
* run ci
* check cla report
* check style
2022-08-17 20:39:42 +08:00
liqipeng
e97b695db2
[ISSUE #8345 ] Check cluster name in server-side when registerInstance ( #8724 )
...
* Check cluster name in server-side when register ephemeral instance
* Check cluster name in server-side when register persistent instance
* add unit test for register instance
* add unit test for NamingHttpClientProxy
* remove catching NacosException to throw NacosRuntimeException
2022-07-25 09:57:43 +08:00
Oliver
f13016af23
[Polish] Add serialVersionUID ( #8733 )
...
* Add serialVersionUID
* checkstyle
* Auto generate id
2022-07-19 10:30:26 +08:00
MajorHe1
e7498d7a4c
[ISSUE #8707 ] add distroKey log output when distro sync failed. ( #8708 )
...
* [ISSUE #8707 ] add distroKey log output when distro sync failed.
* append toString() method to log getDistroKey()
Co-authored-by: Oliver <wqdyxnbd@163.com>
Co-authored-by: Oliver <wqdyxnbd@163.com>
2022-07-08 11:53:16 +08:00
杨翊 SionYang
7bb1e90549
Remove leave nacos server nodes API temporarily. ( #8700 )
2022-07-07 19:54:30 +08:00
无处不在
fcc9b0aef9
[fix]Fix Word Spelling 'Naocs' in RaftExecutor NameThreadFactory ( #8673 )
2022-07-07 10:58:12 +08:00