Commit Graph

4101 Commits

Author SHA1 Message Date
gogogo
86193ecf27
[Document] Fix some translation issues (#8507)
* fix some translation issues

* fix some translation issues
2022-06-07 15:35:53 +08:00
郭江富
9b077d4656
For #8479, Fix the problem that some singleton classes construction method not private (#8508) 2022-06-07 15:35:03 +08:00
Roger3581321
fb600be9e6
removing unnecessary 'toString()' call (#8525) 2022-06-07 15:28:34 +08:00
onewe
b6db08bdd4
[ISSUE #8528] update server.tomcat.basedir default value (#8529)
Close #8528
2022-06-07 15:22:16 +08:00
liqipeng
4c23846cd9
fix #8169: Upgrade spring-boot version to 2.6.6 (#8184) 2022-06-06 11:28:32 +08:00
Cherish 蔡梦缘
9d9a26ace3
feat(#8472): [Dependency Governance] Remove useless netty. (#8472) (#8474) 2022-06-06 11:24:33 +08:00
Karson
8fa3deed92
Use ContextRefreshedEvent replace PostConstruct to make sure get obje… (#8490)
* use ContextRefreshedEvent replace PostConstruct to make sure get object from spring not throw null pointer exception.

* reformat code style

* reformat code style
2022-06-06 11:23:39 +08:00
david6969xin
ce41075de6
[ISSUE#8485] (module-client) replace the type specification in this constructor call with the diamond operator ("<>") (#8498) 2022-06-06 10:35:14 +08:00
Sivyer
e66a1903f3
optimize. config request monitor collect right request code. (#7770)
Co-authored-by: wangdong <wangdong@cdfinance.com.cn>
2022-06-04 14:25:57 +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
Cherish 蔡梦缘
95f3d115d8
[ISSUE #8471] has no bolt, remove bolt properties (#8475)
[clean code]: has no bolt, jraft-core exclude bolt and use rpc-grpc-impl. (#8471)
2022-06-01 14:39:32 +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
chenhao26
0eb530ef99
optimizing metricsmonitor code structure (#8468) 2022-05-27 21:59:09 +08:00
binbin.zhang
16ed6f64b4
Merge pull request #8467 from KomachiSion/develop-issue#8405
Fix #8405, Remove Autowired in EventProcessor.
2022-05-27 15:12:41 +08:00
KomachiSion
1937172fd2 Fix #8405, Remove Autowired in EventProcessor. 2022-05-27 14:44:58 +08:00
liqipeng
f7a28105b2
[ISSUE #8428] fix naming subscribe bug when multiple NamingService (#8433) 2022-05-27 14:05:05 +08:00
胡俊
e9094835cb
Solve the problem of adding logback listener repeatedly. (#8454) 2022-05-27 13:36:28 +08:00
ZhengBing520
7ca069db60
[ISSUE #8275] Fix ClassCastException: io.grpc.ClientInterceptors$InterceptorChannel cannot be cast to io.grpc.ManagedChannel (#8374) 2022-05-23 16:50:25 +08:00
Karson
cfa3a0fd59
Unfiy Map's get and put methods by computeIfAbsent In AuthConfig (#8390)
* Unfiy Map's get and put methods by computeIfAbsent In AuthConfig

reformat code style

reformat code style

* reformat code style

* reformat issue
2022-05-23 15:19:22 +08:00
onewe
d6f27409a6
[ISSUES #8417] throw a HttpSessionRequiredException when sessions expired (#8419)
* [ISSUE #8417] throw a HttpSessionRequiredException when sessions expired

* [ISSUE #8417] add unit test

* [ISSUE #8417] repackage

Close #8417

* [ISSUE #8417] retry ci

* [ISSUE #8417] retry ci
2022-05-23 15:17:51 +08:00
Karson
89a0f89a8b
optimize IoUtils and Add some unit test (#8398)
* optimize IoUtils and Add some unit test

reformat codes

fix Too many unapproved license issue

fix Too many unapproved license issue

fix Too many unapproved license issue

fix Too many unapproved license issue

fix Too many unapproved license issue

* fix test case issue

* fix test case issue
2022-05-23 15:16:33 +08:00
Oliver
750e4f787c
Remove whitespace (#8409) 2022-05-23 15:15:32 +08:00
liqipeng
84644e07f3
remove commonOkHttp dependency to solve okHttp3 compatibility after upgrade spring-boot to 2.6.6 (#8422) 2022-05-23 15:03:40 +08:00
杨翊 SionYang
58968f98e2
[ISSUE#8405] Fix istio module cycle dependency problem. (#8440)
* Get ResourceManager when runtime to resolve cycle dependence temp.

* Fix Ut problem.

* Rollback changes for ClusterControllerTest

* Fix UT problem.
2022-05-23 11:07:02 +08:00
chenhao26
74c3355b71
fix spring cycle dependence JwtTokenManager (#8418)
* fix spring cycle dependence  JwtTokenManager

* remove unuse code

* check code style

* update test metrhod

* remove unuse code

* remove NacosAuthConfig logic from jwttoken

* fix testUpgradeCheckSucc test
2022-05-23 09:53:08 +08:00
Oliver
dbc1be8d8d
[ISSUE #8153]Fix AutoExpireCache NPE (#8162)
* Fix AutoExpireCache NPE

* add synchronized

* restore test

* add Null verification

* restore variable definition

* Fix NPE

* Add UT

* checkstyle
2022-05-20 14:52:26 +08:00
drgnchan
50d7b204ff
change logging order by logging after invoking getSnapshot (#8094) 2022-05-18 11:20:41 +08:00
bangbang2333
0a74419c50
[TMFB-4547]nacos没有对clusterName进行校验。出现实例成功注册,但实例查不出来的情况 (#8371) 2022-05-18 10:57:06 +08:00
杨翊 SionYang
39015341af
Upgrade jackson version to 2.12.6.1 (#8383) 2022-05-18 10:53:16 +08:00
Oliver
dbcdbb725d
[ISSUE #8372] Fix https connection (#8380)
* Fix #8372

* add unit test and remove set serverAddrsStr null

* restore judgement and UT

* add UT

* split UT
2022-05-18 10:52:21 +08:00
david6969xin
3a37290a01
[ISSUE#8358] make this anonymous inner class a lambda (sys module) (#8385) 2022-05-18 10:51:14 +08:00
david6969xin
47b0150dc1
[ISSUE#8358] make this anonymous inner class a lambda (example module) (#8386) 2022-05-18 10:50:30 +08:00
david6969xin
ceb7fa078a
[ISSUE#8358] make this anonymous inner class a lambda (core module) (#8387) 2022-05-18 10:25:55 +08:00
david6969xin
f8d307521c
[ISSUE#8358] make this anonymous inner class a lambda (config module) (#8388) 2022-05-18 10:23:51 +08:00
lpaz010
f21b332f98
reduce magic value (#8395) 2022-05-18 10:16:33 +08:00
Endwas
b928568ce8
[ISSUE #7315] Unfiy Map's get and put methods by computeIfAbsent In ThreadPoolManager (#7304)
* Unfiy Map's get and put methods by computeIfAbsent In ThreadPoolManager

What is the purpose of the change
Optimization and tidy codes.

Brief changelog
Unfiy get/put by computeIfAbsent.

Verifying this change
eclipse-pmd was used to verify the changes

* Unfiy Map's get and put methods by computeIfAbsent In ThreadPoolManager

What is the purpose of the change
Optimization and tidy codes.

Brief changelog
Unfiy get/put by computeIfAbsent.

Verifying this change
eclipse-pmd was used to verify the changes
2022-05-16 10:36:04 +08:00
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