Commit Graph

4446 Commits

Author SHA1 Message Date
Karson
b36e6a50ab
[ISSUE #9013] Enhance Rpc config related to one RpcClientConfig (#9093)
* enhance rpc config related to one RpcClientConfig

* modify rpcclient unit test

* modify rpcclient unit test

* modify rpcclient unit test

* add RpcClient constructor with properties.

* modify some unit test
2022-09-07 09:43:45 +08:00
阿魁
b8bd1cb90d
Fix the actual number of health check retries less than the set one. (#9080)
* Fix the actual number of health check retries less than the set one.

* update testHealthCheck.
2022-09-06 09:53:06 +08:00
Rookie
cdb11448ac
[ISSUE #7459] add eBook link (#9076) 2022-09-06 09:52:03 +08:00
DongYafei
02b7280b69
[fix] rename ConfigVo, ConfigRequestInfoVo and NamespaceVo to ConfigForm, ConfigRequestInfo and NamespaceForm respectively (#9077) 2022-09-05 17:38:32 +08:00
阿魁
6552aaed3f
Fix spelling mistakes. (#9088) 2022-09-05 17:33:42 +08:00
Karson
0aa695e0d3
Add configurable for GrpcClient health check retry times (#9056)
* add configurable for GrpcClient health check retry.

* add some unit test for GrpcClient health check retry.

* reformat code style

* some grpc params move to GrpcConsts

* add GRpcConfigLabel

* reformat style

* reformat style

* reformat style

* reformat style

* reformat style
2022-09-02 15:48:14 +08:00
DongYafei
5373513331
update NacosClusterControllerV2 (#9066) 2022-09-02 15:39:28 +08:00
DongYafei
f9824c8acb
fix NacosApiException (#9059) 2022-09-01 10:06:43 +08:00
liqipeng
30794c4b89
fix unsubscribe bug (#9062) 2022-09-01 09:59:51 +08:00
hutt
40651f650f
[ISSUE #9023] fix corner case config dataId 'cipher-' that cannot create (#9024)
* [ISSUE #9023] fix corner case config dataId 'cipher-' that cannot create

* [ISSUE #9023] remove unused import

* [ISSUE #9023] PMD fix

* [ISSUE #9023] add comments

* [ISSUE #9023] should return first token instead of any

* [ISSUE #9023] add more EncryptionHandler ut

* [ISSUE #9023] fix style

* [ISSUE #9023] fix style, keep indentation in blank line
2022-08-31 20:15:18 +08:00
MajorHe1
44538d1313
[ISSUE #8934] add header back after convert request to jsonBytes (#8935) 2022-08-30 10:27:33 +08:00
onewe
c505a3f1f5
set server.error.include-message to ALWAYS (#9045) 2022-08-30 10:21:29 +08:00
wuwen
aba8819bb6
Fix ServerListMgr is not shutdown. (#9048) 2022-08-30 10:20:15 +08:00
杨翊 SionYang
7327419cc0
Merge pull request #9049 from KomachiSion/develop#7930
[ISSUE#7930] Remove v1.x codes.
2022-08-29 20:22:11 +08:00
KomachiSion
6edddcf48e Remove some v1 persistent datum processor. 2022-08-29 20:19:06 +08:00
KomachiSion
e515915895 Fix UT. 2022-08-29 20:19:06 +08:00
KomachiSion
48695dab16 Remove Instance.java. 2022-08-29 20:19:05 +08:00
KomachiSion
77b3391e10 Remove Instances.java. 2022-08-29 20:19:05 +08:00
KomachiSion
8941086f5d Remove Service.java and Cluster.java. 2022-08-29 20:19:05 +08:00
KomachiSion
c727a38411 Remove old Service usage part1. 2022-08-29 20:19:05 +08:00
KomachiSion
e648586064 Remove ServiceManager usage part3 and remove ServiceManager.java 2022-08-29 20:19:05 +08:00
KomachiSion
2f5ebe0af9 Remove DistroServiceNameTagGenerator.java 2022-08-29 20:19:05 +08:00
KomachiSion
162f4224b3 Remove some unused classes in selector. 2022-08-29 20:19:04 +08:00
KomachiSion
99035c5ec1 Remove some unused classes in push. 2022-08-29 20:19:04 +08:00
KomachiSion
1fe89a31ec Remove some unused classes in pojo. 2022-08-29 20:19:04 +08:00
KomachiSion
5c9c35ab22 Remove some unused classes in misc. 2022-08-29 20:19:04 +08:00
KomachiSion
976f8a6729 Remove some old properties. 2022-08-29 20:19:04 +08:00
KomachiSion
db11e0bf5a Remove ClientBeatProcessor.java and ServiceStatusSynchronizer.java 2022-08-29 20:19:04 +08:00
KomachiSion
9b68e45c97 Remove ServiceManager usage part2. 2022-08-29 20:19:03 +08:00
KomachiSion
f28efe62e1 Remove double write task. 2022-08-29 20:19:03 +08:00
KomachiSion
28ddce8d56 Remove UpgradeJudgement.java 2022-08-29 20:19:03 +08:00
KomachiSion
7af6e869d7 Remove HealthCheckTask.java 2022-08-29 20:19:01 +08:00
KomachiSion
989922600c Remove EmptyServiceAutoCleaner.java 2022-08-29 20:18:49 +08:00
KomachiSion
49e12c8b8e Remove old raft classes 2022-08-29 20:18:49 +08:00
KomachiSion
6f58ebf0c2 Remove EphemeralConsistencyService.java 2022-08-29 20:18:49 +08:00
KomachiSion
9df2536a1e Remove DoubleWriteEventListener.java and DistroConsistencyServiceImpl.java 2022-08-29 20:18:48 +08:00
KomachiSion
bf0783c0e7 Remove ServiceManager usage part1. 2022-08-29 20:18:48 +08:00
KomachiSion
2477080e1d Remove Operators for V1. 2022-08-29 20:18:48 +08:00
Karson
9819820b14
[ISSUE #9013] enhance grpc client (#9017)
* fix issue #9013

* reformat code style

* reformat code style

* reformat code style

* reformat code style

* reformat code style

* reformat code style

* reformat code style

* change config name

* do some enhance

* add queue size to configProperties

* reformat code style

* Change configuration load order
2022-08-29 10:04:24 +08:00
阿魁
d123703958
Fix spelling mistakes. (#9026) 2022-08-29 09:58:53 +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
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
yjqg6666
cb3c78b93b
[#344] rename initialization sql files (#8969) 2022-08-25 16:54:18 +08:00
杨翊 SionYang
f1c95a8fb4
Fix grpc push data not filter by cluster. (#9019) 2022-08-24 09:56:37 +08:00
chenhao26
3c8c6a7a14
add some utils UT (#9006)
add some utils UT
2022-08-22 15:43:22 +08:00
刘邵宇 ShaoyuLiu
3f75b3a2c5
[ISSUE #8993]Close input stream and output stream by try with resource[nacos-common] (#8997)
* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]

* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]

* [ISSUE #8993]Close input stream and output stream by try with resource[nacos-common]
2022-08-22 09:40:53 +08:00
Karson
3839cdc307
add unit test for ReflectUtils (#8999)
* add unit test for ReflectUtils

* reformat code
2022-08-22 09:38:01 +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
chenhao26
bdf9d04ead
remove namespaceShowName uniqueness check (#8989) 2022-08-18 11:11:52 +08:00
chenhao26
87d9efde2d
add some auth plugin test (#8988)
* add some auth plugin test

* ru ci
2022-08-18 09:29:46 +08:00