Commit Graph

524 Commits

Author SHA1 Message Date
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
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
nov.lzf
505c90b96d
uniform config lastmodified ts & refactor config disk storage. (#10533)
* uniform cache timestamp

* uniform cache timestamp

* uniform cache timestamp

* uniform cache timestamp

* checkstyle & pmd

* revert application properties

* remove duplicate code

* checkstyle and pmd

* bug fix
2023-05-26 09:53: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
杨翊 SionYang
bbf1bd8e6f
Supple unit tests for api module config package. (#10338)
* Supple unit tests for api module config.remote package.

* Supple unit tests for api module config package.
2023-04-19 10:34:47 +08:00
杨翊 SionYang
323a3c86ab
Add unit test for api module remote.request package. (#10330)
* Add unit test for api module remote.request package.

* For checkstyle.
2023-04-17 17:16:18 +08:00
杨翊 SionYang
c0dcbde91e
Develop add unit test for api remote and remote.response (#10322)
* Add UT for api module remote package

* Add UT for api module remote.response package

* For checkstyle.
2023-04-14 16:00:02 +08:00
Karson
916534ecfc
Add unit test for api module (#10316)
* add some unit test for api module.

* fix code style error
2023-04-13 19:03:55 +08:00
杨翊 SionYang
b3b5236cd4
Develop synced from 2.2.2 (#10307)
* Fix dynamic change token to illegal value will use old token.

* Add description in pom for release.

* Upgrade to 2.2.2

* Upgrade to 2.3.0-SNAPSHOT
2023-04-11 17:34:06 +08:00
chenyiqin
34cdb0890f
Expose way to add config filter (#10236)
* expose way to add config filter

* add @since

* fix since time
2023-04-06 15:21:21 +08:00
杨翊 SionYang
ced2f1d9ed
Add unit test for api module (#10241)
* Add more situation UT for NetUtils

* Add UT for api module selector package

* Add UT for api module exception package

* Add UT for api module cmdb package
2023-03-31 16:41:11 +08:00
varyuan
2dde125a51
clean code (#10180)
* clean code

* clean code

* clean code

* clean code
2023-03-29 14:25:22 +08:00
MajorHe1
a48d6ceda2
[ISSUE #10155] print connectionId when timeout in DefaultRequestFuture.java (#10156)
* [ISSUE #10155] print connectionId when timeout in DefaultRequestFuture.java

* fix checkstyle problem
2023-03-24 09:58:53 +08:00
云野
62ef024da4
[ISSUE #10038]load failover file. (#10048)
* load failover file.

* fix text unit error.
2023-03-09 09:57:20 +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
hth
4e78a769e5
replaced report API to Grpc (#9976) 2023-02-20 09:55:34 +08:00
杨翊 SionYang
9ebf5aeade
Judge the message whether null for metadata processor. (#9951) 2023-02-15 10:39:39 +08:00
杨翊 SionYang
2faa5b58d0
Add Unit test for api module naming package. (#9918) 2023-02-08 15:55:41 +08:00
杨翊 SionYang
1ef245d058
Add Unit test for api naming remote request. (#9916)
* Add Unit test for api naming remote request.

* For checkstyle.
2023-02-08 13:30:38 +08:00
杨翊 SionYang
428e0bc668
Develop add unit test api (#9910)
* Add some unit test for api.

* Add Unit test for api.naming.utils.

* Add Unit test for api.naming.ability.

* Add Unit test for some pojo.

* Add Unit test for naming.pojo.

* For checkstyle.
2023-02-07 17:05:35 +08:00
gongzhongqiang
708387c277
fix:replace nacos website url to https. (#9797) 2023-01-10 09:47:52 +08:00
nov.lzf
69047073c6
修改长连接request response 类注册逻辑,由类扫描改成手动注册 (#9738)
* 修改request response 类加载逻辑,有类扫描改成手动注册

* 优化注册方式,直接SPI注册payload
2022-12-21 19:56:21 +08:00
李晓双 Li Xiao Shuang
9ea8333373
[ISSUE #9466] Modify the findMapper method of MapperManager to be a generic method (#9467)
* Modify the findMapper method of MapperManager to be a generic method

* Modify the findMapper method of MapperManager to be a generic method
2022-11-04 16:52:27 +08:00
Weizhan Yun
506bc26f4d
[ISSUE #9393] 设置线程为守护线程,保证在main线程推出时应用程序能过正常关闭。 (#9396)
* 设置线程为守护线程,保证在main线程退出时应用程序能过正常关闭。

* graceful shutdown naming executetask engine.
2022-11-03 13:44:00 +08:00
杨翊 SionYang
0293af3329
Remove upd and beat codes in nacos-client. (#9394) 2022-10-25 17:22:47 +08:00
KomachiSion
696d489423 Merge remote-tracking branch 'upstream/2.2.0' into 2.2.0-summer#8312
# Conflicts:
#	plugin/pom.xml
2022-10-24 15:37:47 +08:00
陈浩 Nineteen
308d772a9a
feat/support Batch DeRegister (#9330)
* support Batch DeRegister

* Adjust the de registration method

* use batchRegisterService
2022-10-24 10:01:06 +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
0bfd75252b
Add switch for naming async query. (#9325) 2022-10-14 14:01:01 +08:00
Karson
5396858cbc
修复Grpc反序列化不完整 (#9252) 2022-10-01 19:00:20 +08:00
Daydreamer-ia
677c50e2f6 Notify server ability by ServerRequest. 2022-09-20 16:22:15 +08:00
Daydreamer-ia
5ec1d1f8b5 Change the format of ability table key to string, less time for format conversion when saving. 2022-09-20 15:24:46 +08:00
DongYafei
9439250e80
[ISSUE#8308] update InstanceControllerV2 for api 2.0 (#9111)
* update InstanceControllerV2 for api 2.0

* for InstanceControllerV2, add parameter groupName for api 2.0
2022-09-15 10:47:07 +08:00
Daydreamer-ia
4cff58da13 Add capability table to RequestMeta. 2022-09-10 21:32:42 +08:00
Daydreamer-ia
c97aca3923 Remove unused code 2022-09-10 20:31:14 +08:00
Daydreamer-ia
12e447e690 Add the connection arg to ServerRequestHandler in order to get ability easily. 2022-09-10 14:46:30 +08:00
Daydreamer-ia
02bd4872ca Change the way to transport ability table. 2022-09-09 18:41:04 +08:00
Daydreamer-ia
afbfed2954 Remove the unused filed. 2022-09-08 18:34:03 +08:00
Daydreamer-ia
89b450537e Add the response to setup request. 2022-09-08 18:23:35 +08:00
Daydreamer-ia
182b821938 Remove the component listening to cluster ability, disable the cluster capability table when the connected server does not support capability negotiation. 2022-09-02 21:56:03 +08:00
Daydreamer-ia
41d278d6f1 Add junit test 2022-09-01 20:31:48 +08:00
Daydreamer-ia
118cde52e7 Separate client capability and server capability: ClientAbilities and ServerAbilities. 2022-09-01 19:33:08 +08:00
DongYafei
f9824c8acb
fix NacosApiException (#9059) 2022-09-01 10:06:43 +08:00
Daydreamer-ia
a47f052c90 Remove the AbilityHandlePreProcessor and AbilityStatus. Change the way to get or remove AbilityTable for RpcClient. 2022-08-30 21:36:24 +08:00
Daydreamer-ia
de9e113e24 Fix checkstyle 2022-08-28 19:10:55 +08:00
Daydreamer-ia
679b0e0184 Example for new ability. 2022-08-28 18:48:48 +08:00
Daydreamer-ia
26bbc5780b Adapt and replace old version ability api. 2022-08-28 18:45:56 +08:00