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
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
DongYafei
f9824c8acb
fix NacosApiException ( #9059 )
2022-09-01 10:06:43 +08:00
DongYafei
429d2bb5ee
for #8308 , add namespace api v2.0 ( #9012 )
...
* Add NamespaceControllerV2 and UT
* add api [query namespace by namespaceId]
2022-08-26 09:51:58 +08:00
DongYafei
0df376afd5
for issue#8308, add config and config history api v2.0 ( #8953 )
...
* Add ConfigV2Controller and HistoryV2Controller
* fix ConfigControllerV2 and HistoryControllerV2
* fix ConfigControllerV2Test and HistoryControllerV2Test
* add ConfigService and HistoryService
* fix HistoryControllerV2 and HistoryControllerV2Test
* rename ConfigService to ConfigOperationService
2022-08-22 09:37:40 +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
chenhao26
b52fc22d37
batch register add some unit tests ( #8702 )
...
* add some junit for batch register
* code syle
2022-07-08 11:53:58 +08:00
chenhao26
073f9e09ed
[ISSUE#5863]add nacos client batchRegitserInstance request ( #8675 )
...
* add nacos client batchRegitserInstance request
* adjustment code
* fix word and do not remove indent
2022-07-07 10:56:22 +08:00
ZhangShenao
da34fbd411
Fix word spelling ( #8678 )
...
* Fix Word Spelling 'Naocs' in Comment
* Fix Word Spelling in Comment and Log of `ServiceInfo`
2022-07-05 17:43:36 +08:00
ZhangShenao
16059537a8
Fix Class Comment of ConfigPublishResponse
and ConfigRemoveResponse
( #8672 )
2022-07-04 15:28:07 +08:00
liqipeng
ff7bebac53
[ISSUE #8345 ] Check cluster name in client when registerInstance ( #8618 )
...
* Check cluster name in client when registerInstance
* Use `Pattern.compile` to check number to avoid performance lost.
2022-07-01 11:07:55 +08:00
xiaochangbai
ae1a1bec93
optimize: port offset constant ( #8652 )
...
* optimize: port offset constant
* optimize: code formatting
* remove extra spaces
2022-07-01 10:00:42 +08:00
ZhangShenao
10eacb7808
Fix Word Spelling 'Naocs' in Comment ( #8646 )
2022-07-01 00:24:09 +08:00
Cherish 蔡梦缘
9d9a26ace3
feat( #8472 ): [Dependency Governance] Remove useless netty. ( #8472 ) ( #8474 )
2022-06-06 11:24:33 +08:00
chenhao26
d8238de5e0
[ISSUE#5863] Define InstanceRequest InstanceResponse and Handler ( #8489 )
...
* define InstanceRequest InstanceResponse and Handler
* check style
2022-06-01 14:41:08 +08:00
david6969xin
9d3d23c185
[ISSUE#8485] replace the type specification in this constructor call with the diamond operator("<>") (api module) ( #8486 )
2022-05-31 23:26:58 +08:00
bangbang2333
0a74419c50
[TMFB-4547]nacos没有对clusterName进行校验。出现实例成功注册,但实例查不出来的情况 ( #8371 )
2022-05-18 10:57:06 +08:00
david6969xin
eb57028ba6
[ISSUE#8358] make this anonymous inner class a lambda ( #8365 )
2022-05-13 11:32:21 +08:00
Oliver
409d393f13
fix: update comment ( #8340 )
2022-05-11 11:19:56 +08:00
nov.lzf
2e9c09d367
fix different client worker share same localsnapshot bug ,add properties to control whether load snaoshot content on startup in CacheData ( #8202 )
2022-04-24 13:33:28 +08:00
lmw
c51b405565
[ #8035 ] Missing serialVersionUID when class implements Serializable interface
2022-03-30 20:34:28 +08:00
lmw
47a9064eec
[ #8035 ] Missing serialVersionUID when class implements Serializable interface
2022-03-30 20:30:13 +08:00
胡俊
b4758788b2
Merge pull request #8005 from Oliverwqcwrw/develop-update-UT
...
[ISSUE #8004 ]update unit test to fix expected value and actual value is inverse
2022-03-26 22:59:37 +08:00
wangqiang32
a47f936730
checkstyle
2022-03-26 22:14:44 +08:00
wangqiang32
f9f0f58019
update unit test
2022-03-26 22:10:43 +08:00
wangqiang32
e8cde09036
remove unused import
2022-03-25 21:56:49 +08:00
ruansheng
13032a253c
fix field NotSerializableException ( #7922 )
2022-03-14 09:52:54 +08:00
胡俊
2e07c6a0c1
Package scan ( #7917 )
...
* PayloadRegistry update use spi
* PayloadRegistry update use spi
* PayloadRegistry update use spi
* PayloadRegistry update use spi
* add test
* update comment
* remove code
rename code
2022-03-11 15:50:44 +08:00
胡俊
fdf90133a2
[ISSUE#7886]Feature package scan ( #7895 )
...
* for #7886
* nacos style
* nacos style
* code style
* .
* scan nacos style
* class reader
* class reader
* class reader
* class reader
* add comment
* update dependency
* update dependency
* rat update
check style update
* package change
* pdm exclude
* pdm update
* comment
* comment
* change pkg final
* code structure update
* code style
* code style update
2022-03-08 20:11:21 +08:00
胡俊
e3d239e9b9
Payload registry test ( #7885 )
...
* add ConfigPublishGroupKeyParserTest
* PayloadRegistryTest
2022-03-04 16:21:52 +08:00
chenhao26
1caba326e9
删除PayloadRegistry register方法中无效的逻辑判断 ( #7839 )
2022-02-25 14:11:00 +08:00
胡俊
4c45a3afd3
fix by zero error ( #7724 )
...
* fix by zero error
* fix by zero error --unit test
2022-02-07 10:38:37 +08:00
胡俊
cdd83e2117
optimize NotifySubscriberRequest ( #7545 )
2022-01-07 18:08:22 +08:00
lixiaoshuang
168b0b4416
Strengthen the code
2021-12-27 14:36:56 +08:00