Commit Graph

4265 Commits

Author SHA1 Message Date
阿魁
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
阿魁
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
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
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
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
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
chenhao26
db72e4f9c1
fix LookupFactoryTest ut / ci (#8985)
* fix ci

* run ci

* check cla report

* check style
2022-08-17 20:39:42 +08:00
shiherua
ec134a3bc4
Improve code specifications. (#8965)
Flip the call to equals method to avoid null pointer exception.
2022-08-17 14:11:29 +08:00
@xiaochangbai
8c43096171
optimize: internationalization of product description content on landing pages (#8956) 2022-08-15 10:09:06 +08:00
chenhao26
b9609b365f
add some junit test (#8966)
* add some junit test

* fix some junit

* add license
2022-08-15 10:08:28 +08:00
liaochuntao
faa69f469d
Merge pull request #8962 from hujun-w-2/fix_address_bug2
[#ISSUE 8882]FIX nacos-client 2.1.0 erorr use endpoint configuration
2022-08-12 20:04:04 +08:00
hujun3
861e8c5233 judge endpoint 2022-08-12 18:21:46 +08:00
Weizhan Yun
b91abb83cb
fix #8947. (#8959) 2022-08-12 16:58:39 +08:00
onewe
8f8a1f3a2e
[ISSUE #8925] fix that the replaceAll operation is invalid (#8929)
Close #8925
2022-08-12 16:49:23 +08:00
无处不在
21b624e302
[ISSUE #8931] Fix bug :BatchInstanceData cannot Serializable question (#8940)
* [fix] fix BatchInstanceData cannot Serializable question

* fix update serialVersionUID auto generate
2022-08-12 16:44:15 +08:00
liushaoyu-soft
474b25dff5
Update IoUtils.java (#8948)
An IOException has been catch,so throws IOException Is invalid
2022-08-12 16:42:38 +08:00
heimanba
8cede1cf84
refactor: 💡 update console-ui theme (#8951)
 Closes: https://github.com/alibaba/nacos/issues/8950
2022-08-11 21:40:54 +08:00
liushaoyu-soft
0c61c5d5eb
[ISSUES#8905]simplify some code (#8908) 2022-08-11 14:32:50 +08:00
onewe
493b99b726
[ISSUE #8925] fix that the value of hasQueryString is always false (#8927)
Close #8925
2022-08-11 14:31:09 +08:00
胡俊
65244c5de4
judge endpoint (#8933) 2022-08-11 14:16:59 +08:00
chenhao26
3586ad64c9
[ISSUE#8910] bug fix calcu ipCount (#8911)
* bug fix calcu ipCount

* update logic
2022-08-10 10:32:33 +08:00
杨翊 SionYang
bf76143e59
Upgrade to 2.1.1 (#8899) 2022-08-08 17:42:59 +08:00
onewe
54a3b9ebe3
[ISSUE #8880] add a request exception handler (#8881)
* [ISSUE #8880] add a request exception handler

Close #8880

* [ISSUE #8880] retry ci
2022-08-05 14:55:19 +08:00
chenhao26
0b428e0fa2
Feat/calculate ip count when use batchregister (#8858)
Feat/calculate ip count when use batchregister
2022-08-03 19:45:28 +08:00
chenhao26
de5ec356cc
import config file auth fail (#8844)
* import config file auth fail

* run ci

* run ci2
2022-08-01 16:48:55 +08:00
ZhangShenao
5a9b1e961f
Add Generic Type for Simple Cache Map (#8812) 2022-08-01 15:33:54 +08:00
GuiShao
56104495da
[ISSUE#8481]Unified TRACE capacity building (#8805)
* [ISSUE#8481]Unified TRACE capacity building

* [ISSUE#8481]Unified TRACE capacity building
1. Event type add to traceEvent.
2. The event about instance add instancePort.
3. Add health check type to healthChangeEvent.
4. Other fixup.
2022-07-29 16:22:40 +08:00
MajorHe1
4ca830638b
Merge pull request #8822 from KomachiSion/develop-config-aspect
Add comment for config aspect.
2022-07-29 10:05:48 +08:00
KomachiSion
882be9e726 Add comment for config aspect. 2022-07-28 17:58:33 +08:00
MajorHe1
ff336d97b9
Merge pull request #8801 from KomachiSion/develop-client-detail-exception
Add exception detail stacks when connect to server failed.
2022-07-26 15:54:53 +08:00
胡俊
e950be1322
[ISSUE#8653]Fix health check bug (#8639)
* fix health bug.

* fix health bug.

* fix health bug.

* test update

* format code

* 注释

* check service exist

* check service exist

* test fail

* user group()

* add unit test.

* add unit test.

* add unit test.

* add unit test.

* add unit test.

* add unit test.
2022-07-26 15:52:34 +08:00
KomachiSion
b0af8087b8 Add exception detail stacks when connect to server failed. 2022-07-26 15:12:01 +08:00
Pixy Yuan
34bbd3844a
[#8775] Fix HealthCheckTaskV2 blocks jraft's init when server is starting. (#8785) 2022-07-26 15:02:45 +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
onewe
29d472e94a
[ISSUE #8784] fix some bugs for Console UI (#8787)
* [ISSUE #8784] fix some bugs for Console UI

- add server.error.include-message property
- add no permission tip when push config
- use addAllowedOriginPattern instead of addAllowedOrigin
- remove RAM logic in the lib.js
- fix button type error and mode value error in NewConfig.js
- fix the password reset dialog can't show

Close #8784

* [ISSUE #8784] fix translate error

* [ISSUE #8784] user ON_PARAM instead of ALWAYS

* [ISSUE #8784] fix user reset password in the Header.js
2022-07-25 09:56:20 +08:00
ZhangShenao
4a3472b9b7
Fix Word Spelling subscribers in Comments (#8773) 2022-07-21 10:27:15 +08:00
MajorHe1
94950a29dd
Merge pull request #8767 from KomachiSion/develop-issue#8742
[ISSUE#8742] Fix change instance metadata, the revision of service not change.
2022-07-19 14:43:41 +08:00