Commit Graph

4265 Commits

Author SHA1 Message Date
david6969xin
5938b7f50f
[ISSUE#8358] make this anonymous inner class a lambda (client module) (#8367) 2022-05-16 10:18:57 +08:00
david6969xin
e17ea65954
[ISSUE#8358] make this anonymous inner class a lambda (common module) (#8368) 2022-05-16 10:18:01 +08:00
杨翊 SionYang
646ea61cab
Remove mina dependency. (#8369) 2022-05-16 10:14:58 +08:00
李晓双 Li Xiao Shuang
2bef9b6020
显式类型可替换为 <> (#8378) 2022-05-16 10:12:44 +08:00
onewe
6de92e40c5
Fix some failing unit tests in nacos config module (#8379)
* [ISSUE #8348] fix mockito's mockStatic method error

* [ISSUE #8348] fix all the unit test's error

Close #8348
2022-05-16 10:12:04 +08:00
david6969xin
eb57028ba6
[ISSUE#8358] make this anonymous inner class a lambda (#8365) 2022-05-13 11:32:21 +08:00
yanhom
d89076b3e6
Support for ibm J9 (#8325)
* support for ibm J9

* format code, add newline at end of file

* format code

* use nacos code style format codes
2022-05-13 11:03:01 +08:00
onewe
eff327d623
[ISSUE #8318] fix findAllConfigInfoForDumpAll sql args error (#8319)
* [ISSUE #8318] fix findAllConfigInfoForDumpAll sql args error

Close #8318

* [ISSUE #8318] remove the unnecessary arg

Close #8318
2022-05-13 09:53:52 +08:00
hutt
c68956b179
Add comments about config client failover (#8327) (#8343) 2022-05-12 19:28:27 +08:00
rui.zhang
4d8a7626aa
Hotfix issue 8350 (#8351)
* optimization: in this case, renamed the variable definition

* optimization: in this case, renamed the variable definition

* optimization: revert the VipServer to Vipserver

* optimization: reverse vipServer changes

* optimization: recover renamed vipServer
2022-05-12 18:16:12 +08:00
杨翊 SionYang
399802603a
Enhance Unit test stability. (#8346)
* Enhance Unit test stability.

* print detail stacktrace when unit test error.
2022-05-11 18:00:27 +08:00
杨翊 SionYang
ed999d9522
Add codeCov report after CI finish (#8344)
* Try add codecov

* Try add codecov

* Try scan all jacoco.xml

* Try to add all jacoco.xml

* Add codecov.yml

* Fix copyright check for codecov.yml

* Fix copyright check for codecov.yml
2022-05-11 16:20:28 +08:00
Oliver
409d393f13
fix: update comment (#8340) 2022-05-11 11:19:56 +08:00
杨翊 SionYang
a1c7715e16
[ISSUE#4982] Fix naming module unit test and generate jacoco coverage report (#8282)
* 更新jacoco版本

* Fix naming module unit test and generate jacoco coverage.

* Fix log too long problem.

* Fix MetricsMonitorTest
2022-05-09 16:08:59 +08:00
onewe
234e6f2a11
[ISSUE #8295] fix can't login when use embedded storage in cluster model (#8304)
Close #8295
2022-05-09 13:09:38 +08:00
bangbang2333
341bc298a2
## @Desc: (#8063)
[ISSUE #8038] Fix config_tags_relation Table can Repeat Insert bug
## @Issue Link:
https://github.com/alibaba/nacos/issues/8038
2022-05-06 11:50:40 +08:00
訾明华
dc33cf2c8f
增加对状态码为404的判断 (#7984)
由于目前调用GET: /nacos/v1/cs/configs,当配置不存在时,会返回状态码为404。此处无法识别错误,导致日志看不出来
2022-05-06 11:48:11 +08:00
drgnchan
7dc1c82166
use getEncryptDataKeySnapshot instead of getEncryptDataKeyFailover (#8096) 2022-05-06 11:47:22 +08:00
Cherish 蔡
2233c2de1c
feat(#6506): Can change betaIps multiple times in beta(or gray). (#8234)
1. And fix SQL `encrypted_data_key=?WHERE`.
2022-05-06 11:46:12 +08:00
Roger3581321
fac7a1c6a1
Deleting redundant toString() method (#8291) 2022-05-05 22:04:21 +08:00
Roger3581321
bda6ecad66
[Optimize] Replace keySet() to entrySet() (#8286)
Optimized translateParameterMap() by replacing keySet() to entrySet()
2022-04-30 21:24:30 +08:00
Oliver
f39add7900
Replace keySet() to entrySet() (#8281) 2022-04-29 23:02:32 +08:00
onewe
5926c67062
[ISSUE #8150] Add the namespace description item to the namespace list page (#8155)
* [ISSUE #8150] Add the namespace description item to the namespace list page

Close #8150

* [ISSUE #8150] resolve conflict

Close #8150

* [ISSUE #8150] Rebuild console-ui
2022-04-29 11:36:07 +08:00
杨翊 SionYang
2e0eca4093
Upgrade to 2.1.0 (#8268) 2022-04-27 15:50:38 +08:00
onewe
8980a960aa
[ISSUE #7487] Add generics for the CacheBuilder. (#7490) 2022-04-27 13:52:49 +08:00
NailCui
92a0eb0988
[ISSUE#7780] Fix a-b-a problem (#7783) 2022-04-27 13:51:24 +08:00
ChunHuiQiu
896bddd043
[ISSUE #8193] Remove redundant code (#8200)
* remove redundant code

* fix constructor
2022-04-27 13:50:48 +08:00
胡俊
98d1221b9e
[ISSUE#6999] Solve the problem that Nacos client does not support logback overload log configuration (#8229)
* Revert "[ISSUE#6999]Logback overrides the automatic refresh of application logback . issu… (#7596)"

This reverts commit 7bb6cf2d13.

* bak

* suport logback update

* 。

* 。

* Revert "。"

This reverts commit b5f7a698c149b8a95328aa72f5b30b84d19fa0e2.

* suport logback update

* suport logback update

* 修改style

* 添加注释
2022-04-27 13:50:10 +08:00
Cherish 蔡
a170a696f3
feat(#7498): Some machines are case sensitive, so rename instanceFilter.js to InstanceFilter.js (#8236) 2022-04-26 09:46:08 +08:00
onewe
767238ef59
[ISSUE #8214] Add ldap auth plugin (#8216)
* [ISSUE #8214] Add ldap auth plugin

- move the config of ldap from NacosAuthConfig to LdapAuthConfig

Close #8214

* [ISSUE #8214] Resolve CI error

* [ISSUE #8214] The constants of Ldap move to the plugin-impl module
2022-04-25 18:02:13 +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
chenhao26
028075138c
optimize method calls (#8219)
* add log Loggers.REMOTE_PUSH.warn format word and optimize method calls

* update log warn
2022-04-22 16:49:52 +08:00
Cherish 蔡
b718cbf8f2
feat(#5346): reset raft cluster ops for no leader, use JRaft Api resetPeers. (#8220) 2022-04-22 16:49:16 +08:00
onewe
2ee5122244
[ISSUE #8208] fix ip validate (#8210)
Close #8208
2022-04-22 15:51:40 +08:00
onewe
eda178f27b
[ISSUE #8217] Rebuild console-ui (#8224)
Close #8217
2022-04-22 15:40:40 +08:00
胡俊
cf2b69a28d
Merge pull request #8223 from Chaos-coder/issues#8222_fix
add service null check
2022-04-21 18:39:05 +08:00
胡俊
a272a7137e
Merge pull request #8227 from Chaos-coder/ClientOperationService_result_getExtendDatum_multiple_calls
ClientOperationService result.getExtendDatum multiple calls
2022-04-21 18:36:06 +08:00
chaos
a8f440b714 ClientOperationService result.getExtendDatum multiple calls 2022-04-21 16:07:56 +08:00
chaos
4da60533fa add service null check 2022-04-21 10:02:20 +08:00
Oliver
a9e2cbd4d8
Set interrupted flag to caller (#8116) 2022-04-20 10:49:00 +08:00
onewe
af90533c8e
[ISSUE #8156] Add hash-tag for js and css (#8157)
* [ISSUE #8156] Add hash-tag for js and css

- add index.html to copyList
- use index.ejs instead of index.html
- webpack enable hash

Close #8156

* [ISSUE #8156] Fix context-path error in development environment

Close #8156
2022-04-20 10:20:26 +08:00
Oliver
8838ae1417
Override hashCode and equals to avoid repeated item (#8207) 2022-04-20 10:00:39 +08:00
onewe
8401b8c836
[ISSUE #8196] Return count number of subscribers correctly when throw an exception (#8197)
Close #8196
2022-04-18 17:10:50 +08:00
Karson
44850cc732
[Optimize] RpcClient constructor (#8113)
* optimize RpcClient constructor

* edit RpcClient.java
2022-04-18 11:38:56 +08:00
onewe
dba1cf56f0
[ISSUE #8107] 403 go to home page when modify user's password (#8114)
Close #8107
2022-04-18 11:37:14 +08:00
lmw0509
1a1d315cd1
[Optimize] Delete redundant code (#8130)
* [Optimize] Delete redundant code

* [Optimize] Delete redundant code
2022-04-18 11:34:50 +08:00
shalk(xiao kun)
69bad6f447
add rollover with date for log4j2 with JM.LOG.RETAIN.DURATION.OFF and JM.LOG.RETAIN.DURATION (#8134) 2022-04-18 11:34:24 +08:00
liqipeng
f0104c0ea0
[ISSUE #8144] add volatile modifier to ServerListManager.serversFromEndpoint(2.x) (#8146)
* add volatile modifier to `ServerListManager.serversFromEndpoint`

* optimize `onReceiveChecksums` in race condition

* judge responsible server in same localAddress; add `volatile` modifier for `EnvUtil.localAddress`
2022-04-18 11:33:08 +08:00
chenhao26
8e4470c2b8
Call once to get the clientmanager (#8149)
* Call once to get the clientmanager

* clean code
2022-04-18 11:32:04 +08:00
onewe
19185cb338
[ISSUE #8161] Icon-font-path and font-custom-path use relative path instead of absolute path (#8172)
- banner.txt use `server.servlet.contextPath` instead of nacos

Close #8161
2022-04-18 11:27:39 +08:00