Commit Graph

4775 Commits

Author SHA1 Message Date
xxc
03f2191ff4
Merge pull request #10922 from KomachiSion/develop-fix-login-failed
[ISSUE#10921] Fix login failed when close auth.
2023-08-07 11:44:21 +08:00
KomachiSion
f5c3a4b3dc Fix login failed when close auth. 2023-08-07 10:55:21 +08:00
ZhangShenao
3fdcb5c270
[ISSUE #10824] Remove udp port param for v1-client (#10914)
* Remove UDP Param

* Fix gRPC client

* fix test case

* fix test case

* fix test case

* fix test case
2023-08-04 17:29:00 +08:00
blake.qiu
de87bb3e30
feat(10891): Provide a configuration item for the maximum number of push retries, instead of directly hardcoding it to 50 times in the code. (#10895) 2023-08-04 12:03:08 +08:00
Darren Luo
7d0101bb82
console-ui 新增 toml 语言支持,修复之前 properties 主题未生效的问题 (#10896)
* console-ui 新增 toml 语言支持,修复之前 properties 主题未生效的问题

* console-ui 新增 toml 语言支持,修复之前 properties 主题未生效的问题

* 老规矩,要编译一波
2023-08-04 12:01:50 +08:00
wuyfee
8ba390629a
fix: test-code branch (#10904)
* add nacos ci

* delete client version of nacos ci

* fix: test-code branch
2023-08-04 11:58:53 +08:00
blake.qiu
8370124889
feat(#5608 && #10223): When the custom instance id is empty, the id will be automatically generated. (#10812) 2023-08-01 15:40:31 +08:00
阿魁
fb5cfddb74
fix(distro): fix issue#10880. (#10881) 2023-08-01 15:36:12 +08:00
zt9788
74e740c38b
UnsupportedFeatureError (#10860) 2023-07-28 10:19:21 +08:00
blake.qiu
910c2059b7
fix(#10831): When using the deregisterInstance method to remove one of multiple instances registered by batchRegisterInstance, all instances registered by batchRegisterInstance will be removed. (#10836) 2023-07-28 09:47:09 +08:00
Sunrisea
a76f0771e7
For #10734,fix the param check rule (#10858) 2023-07-28 09:33:07 +08:00
lu-xiaoshuang
4321e777a4
bugfix for PersistentClientOperationServiceImpl log (#10825) 2023-07-25 11:07:11 +08:00
ZhangShenao
25ef67db9a
Reactor code in datasource-plugin (#10791)
* Reactor code in datasource-plugin

* Fix Abstract Mapper Test Case

* Add Empty Check

* Fix Checkstyle

* fix checkstyle

* fix check style

* fix check style

* Fix CheckStyle

* Fix SQL Blank
2023-07-25 09:44:01 +08:00
huhongjie2014
149c50f417
[ISSUE #10792]When nacos client use endpoint, the registration center should support configuring context-path and cluster-name like the configuration center (#10793) 2023-07-25 09:43:15 +08:00
Sunrisea
65ad408d03
For #10734,fix the param check rule (#10826) 2023-07-25 09:33:44 +08:00
ZhangShenao
95df397616
Refactor Prometheus Module (#10827)
* Refactor Prometheus Module

* Complete Test Case

* format

* format
2023-07-25 09:33:14 +08:00
Sunrisea
8adca685f6
[ISSUE #10734] Refactor the ParamChecker and ParamExtractor (#10775)
* For #10734,refactor the paramextractor and ParamChecker

* For #10734,alter the rules of ParamCheck

* For #10734,alter the rules of ParamCheck

* For #10734,fix bug

* For #10734,fix bug and alter the ParamCheckRules.java

* For #10734,fix code style

* For #10734,fix the param check rules

* For #10734,implement the server param check config

* For #10734,optimize the logic

* For #10734,optimize the logic

* For #10734,optimize the logic
2023-07-19 16:34:03 +08:00
DiligenceLai
e57b43c218
[ISSUE #10744]feat:Add HealthControllerV2 and HealthControllerV2Test (#10786)
* [ISSUE #10744]feat:Add HealthControllerV2 and HealthControllerV2Test

* fix:V2 api return Result
2023-07-19 16:32:18 +08:00
blake.qiu
9561db324d
feat(#10539): When the operation configuration fails, log. (#10804) 2023-07-19 16:28:57 +08:00
maoling
64774de6e1
fix a couple of invaild props (#10810) 2023-07-19 16:27:34 +08:00
maoling
3b9880a0ed
Service instance should display related color when healthy or unhealthy (#10811) 2023-07-19 16:26:43 +08:00
Joey777210
f986916acf
[ISSUE #10662]Prometheus-sd add namespace and service api (#10663)
* add apis

* add tests

* fix checkstyle

* param namespace to namespaceId

* namespace to namespaceId

* fix test case

* fix test case
2023-07-17 11:20:07 +08:00
chenyiqin
318892d08d
Add the handle to overload connection (#10783)
* add the handle to overload connection

* fast return
2023-07-17 11:01:47 +08:00
Joey777210
3374cf4610
disable check port input when use registered port (#10799) 2023-07-17 10:58:59 +08:00
blake.qiu
556e4ccd58
fix(#10585): selectInstances and selectOneHealthyInstance methods, if the parameter subscribe is true. Subscription is required when clientProxy.isSubscribe() is false. (#10805) 2023-07-17 10:55:54 +08:00
blake.qiu
156cd62261
fix(#10427): When the execution of handleServerRequest() encounters an exception, record the log and throw an exception, then quickly response to the server errResponse (#10770) 2023-07-13 11:11:05 +08:00
ZhangShenao
8fa83cec37
fix word spelling in AuthenticationManagerDelegator (#10777) 2023-07-13 11:08:38 +08:00
杨翊 SionYang
9069730a04
Refactor grpc tls (#10759)
* Move Tls negotiator to GrpcSdkServer.

* use protocol negotiator builder replace directly create.

* use SPI load negotiator and set tls as default negotiator.

* Remove tlsconfig in BaseRpcServer.

* Add some ut.

* For checkstyle.
2023-07-11 19:10:00 +08:00
nov.lzf
a83e2cc542
dump change check task submit (#10755)
* dump change check task submit

* delete config nid convert error fix

* fix test case

* checkstyle
2023-07-11 19:00:23 +08:00
Sunrisea
c7a20bd132
[ISSUE #10734] Implement http request param check filter and http param extractors (#10758)
* For #10734,Implement grpc server interceptor and grpc param extractors

* For #10734,add unit test for grpc server interceptor and grpc param extractors

* For #10734,alter the test case

* For #10734,delete the ConnectionSetupRequestParamExtractor

* For #10734,add the naming http request param check filter and implement the naming http request param extractors

* For #10734,add unit test for naming http request param extractors

* For #10734,Implement grpc server interceptor and grpc param extractors

* For #10734,add unit test for grpc server interceptor and grpc param extractors

* For #10734,delete the ConnectionSetupRequestParamExtractor

* For #10734,add the naming http request param check filter and implement the naming http request param extractors

* For #10734,add unit test for naming http request param extractors

* For #10734,add the config http request param check filter and implement the config http request param extractors and unit test

* For #10734,add the console http request param check filter and implement the console http request param extractors and unit test

* For #10734,fix code style

* For #10734,alter the logic of exception handle in filter

* For #10734,fix code style
2023-07-11 17:52:54 +08:00
Daydreamer-ia
ae148b86be correct the comments and add description field for AbilityKey. 2023-07-10 22:44:52 +08:00
Daydreamer-ia
1e17db923e correct the comments 2023-07-10 22:38:56 +08:00
Joey777210
1f5dbf0e79
nacos ui doc update to v2 (#10730)
* nacos ui doc update to v2

* nacos ui doc update to v2

* fix conflict
2023-07-10 15:31:30 +08:00
maoling
8bb957df6f
fix for react unique key warning (#10742) 2023-07-10 15:31:00 +08:00
Sunrisea
cae21e2dcd
[ISSUE #10734] Implement grpc server interceptor and grpc param extractors (#10745)
* For #10734,Implement grpc server interceptor and grpc param extractors

* For #10734,add unit test for grpc server interceptor and grpc param extractors

* For #10734,alter the test case

* For #10734,delete the ConnectionSetupRequestParamExtractor
2023-07-10 14:43:51 +08:00
maoling
e7fbbc1301
improvements for leave node api and UI (#10748) 2023-07-10 13:39:22 +08:00
wuyfee
6252a88e92
Delete client version (#10754)
* add nacos ci

* delete client version of nacos ci
2023-07-10 13:39:05 +08:00
Sunrisea
ba8e0e2dff
[ISSUE #10734] Implemented the parameter validation utility class (#10737)
* For #10734,Refactor the AbstractConfigRequest ,move common properties from its subclasses to the parent class,to reduce the number of corresponding parameter extractors by .

* For #10734,add ParamCheckRules,ParamCheckUtils, add  ParamExtractor interface and the abstract classes HttpParamExtractor and RpcParamExtractor, implement the corresponding Manager.

* For #10734,fix codestyle

* For #10734,fix codestyle , move extractor and extractorManager to core directory

* For #10734,fix codestyle

* For #10734,fix dependency of common module

* For #10734,fix codestyle and copyright

* For #10734,fix pom codestyle and copyright

* For #10734,fix pom codestyle and copyright

* For #10734,fix  copyright

* For #10734,fix  copyright

* For #10734,fix bug caused by refactor of AbstractConfigRequest ,add ut test of ParamExtractorManager

* For #10734,fix bug caused by refactor of AbstractConfigRequest

---------

Co-authored-by: zhuoguang <sunrisea@B-Q6UQMD6R-0222.local>
2023-07-07 11:06:00 +08:00
Darren Luo
a70483563c
换为js-yaml后调用了错误的方法,修复该变更导致所有yaml文件的校验都报错的问题 (#10724) 2023-07-05 18:57:35 +08:00
chenyiqin
653d16da67
report value change event to update SwitchDomain after load snapshot (#10694) 2023-07-03 14:18:28 +08:00
ZhangShenao
043510b2f8
Fix Word Spelling (#10714) 2023-07-03 14:16:31 +08:00
DiligenceLai
6ff9b556e8
[ISSUE #10571]Add SQL COMMENT (#10716) 2023-07-03 14:15:57 +08:00
blake.qiu
9116aee82f
fix(#10717): com.alibaba.nacos.common.http.client.request.JdkHttpClientRequest.execute, when the body instanceof String, no longer call com.alibaba.nacos.common.utils.JacksonUtils.toJson to parse body. (#10718) 2023-07-02 00:02:57 +08:00
ZhangShenao
b0b16e3919
Fix Word Spelling (#10711) 2023-06-30 10:22:03 +08:00
Darren Luo
4e64f7f4d6
ExceptionHandler 中 Exception 部分返回 body 参数增加 html 转义 (#10643)
* ExceptionHandler 中 Exception 部分返回 body 参数增加 html 转义

* 根据 nacos code style 重新格式化该文件
2023-06-30 10:20:53 +08:00
chenyiqin
eec0585d55
Report deregister event if read snapshot file (#10468)
* Report deregister event if read snapshot file

* fix checkstyle

* refactor the logic of refreshing clients in memory

* Format the log print

* replace list by set, and use Client#putServiceInstance replace Client#addServiceInstance
2023-06-26 09:41:09 +08:00
chenyiqin
d82687c493
Fix npe when hessian deserialize (#10659)
* fix npe

* fix npe when result is null

* remove redundant code
2023-06-26 09:39:24 +08:00
Daydreamer-ia
d4e9b836d2 fix checkstyle and fix bug 2023-06-22 17:08:04 +08:00
Daydreamer-ia
fc3bb2f42c Merge branch 'develop' into asoc#8458.t
# Conflicts:
#	client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
#	common/src/main/java/com/alibaba/nacos/common/remote/client/ConnectionEventListener.java
#	common/src/main/java/com/alibaba/nacos/common/remote/client/RpcClient.java
#	common/src/main/java/com/alibaba/nacos/common/remote/client/grpc/GrpcClient.java
#	common/src/test/java/com/alibaba/nacos/common/remote/client/grpc/GrpcClientTest.java
#	core/src/main/java/com/alibaba/nacos/core/cluster/ServerMemberManager.java
#	core/src/main/java/com/alibaba/nacos/core/remote/grpc/GrpcBiStreamRequestAcceptor.java
#	core/src/main/java/com/alibaba/nacos/core/remote/grpc/GrpcRequestAcceptor.java
2023-06-22 15:33:05 +08:00
Wuyunfan-BUPT
ecd8ed815a
add nacos ci (#10666) 2023-06-21 10:11:16 +08:00