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
阿魁
d123703958
Fix spelling mistakes. ( #9026 )
2022-08-29 09:58:53 +08:00
杨翊 SionYang
f1c95a8fb4
Fix grpc push data not filter by cluster. ( #9019 )
2022-08-24 09:56:37 +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
chenhao26
3586ad64c9
[ISSUE#8910] bug fix calcu ipCount ( #8911 )
...
* bug fix calcu ipCount
* update logic
2022-08-10 10:32:33 +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
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
胡俊
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
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
ZhangShenao
4a3472b9b7
Fix Word Spelling subscribers
in Comments ( #8773 )
2022-07-21 10:27:15 +08:00
KomachiSion
a20cfe2575
Fix change instance metadata, the revision of service not change.
2022-07-19 11:58:57 +08:00
ZhangShenao
8cc92c598d
Use Fail-Fast in Method `com.alibaba.nacos.naming.core.ServiceManager… ( #8731 )
...
* Use Fail-Fast in Method `com.alibaba.nacos.naming.core.ServiceManager#createServiceIfAbsent`
* Modify Comments
2022-07-14 09:29:40 +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
MajorHe1
e7498d7a4c
[ISSUE #8707 ] add distroKey log output when distro sync failed. ( #8708 )
...
* [ISSUE #8707 ] add distroKey log output when distro sync failed.
* append toString() method to log getDistroKey()
Co-authored-by: Oliver <wqdyxnbd@163.com>
Co-authored-by: Oliver <wqdyxnbd@163.com>
2022-07-08 11:53:16 +08:00
mengyingsunshi
db09ce8f1f
fix( #8243 ): adapt v2 health check plugin ( #8537 )
2022-07-07 15:07:26 +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
杨翊 SionYang
5aabba13c9
[ISSUE#8099] Fast failure for distro sync task and verify task if cluster disconnect. ( #8693 )
...
* Fast failure for distro sync task and verify task if cluster disconnect.
* Fix UnnecessaryStubbingException
2022-07-07 10:41:23 +08:00
chenhao26
6fe84f4c54
[ISSUE#5863] nacos server process batch register logic ( #8496 )
...
* Implement batch register logic and distro protocol
* check style
* add batch test junit
* Restore DB configuration
* Restore DB configuration
* check style
* remove metadata instance
* encapsulate equals method and hashcode method
* check code style
* check style and update hashcode
* update BatchInstancePublishInfo hashcode
* replace CollectionUtils.getCardinalityMap to Override hadhcode (BatchInstancePublishInfo)
* check style
* process instance null
* check code style
* 暂存
* add batch instance process distro data
* check code style
* check code sytle
* add license
* add licensegst
* delete unuse code
* cicd
* run it
* remove batch null check
* bug fix and code format
* remove nouse code
2022-07-01 14:19:42 +08:00
binbin.zhang
97c5ac42e6
Merge pull request #8641 from KomachiSion/develop-issue#4982
...
[ISSUE#4982] Add Unit test for CatalogServiceV2Impl
2022-07-01 11:11:42 +08:00
onewe
56ee220a68
[ISSUES #8635 ] fix a NPE when call the shutdown method ( #8636 )
...
* [ISSUES #8635 ] fix a NPE when call the shutdown method
Close #8635
* [ISSUES #8635 ] remove init judgment
2022-06-28 13:46:34 +08:00
胡俊
654462e41d
fix subscribe bug:select enable instance only. ( #8629 )
2022-06-28 11:21:43 +08:00
KomachiSion
a06152fd5d
Add Unit test for CatalogServiceV2Impl
2022-06-28 09:53:59 +08:00
liqipeng
f3d134d2c2
[ISSUE #8594 ] makes distro data load timeout can be configured. ( #8595 )
...
* makes distro data load timeout can be configured.
* specify nacos.core.protocol.distro.data.load.timeoutMs default 30s
2022-06-24 15:06:47 +08:00
胡俊
5e7d20404c
[ISSUE#8561]Authentication performance optimization ( #8564 )
...
* for #8561
* for #8561
* fix test error
* fix test error
2022-06-17 11:07:35 +08:00
david6969xin
20af725205
use StandardCharsets.UTF_8 instead of Charsets.UTF_8 ( #8581 )
...
* use StandardCharsets.UTF_8 instead of Charsets.UTF_8
* remove unused import
2022-06-17 11:00:40 +08:00
杨翊 SionYang
ed81d3cdd0
Enhance to remove double filter service info for push callback. ( #8574 )
...
* Enhance to remove double filter service info for push callback.
* Enhance to remove double filter service info for push callback.
2022-06-16 10:01:54 +08:00
GuiShao
a7d8066e41
[ISSUE#8481]Unified TRACE capacity building ( #8521 )
2022-06-14 15:39:46 +08:00
胡俊
bf1c06f82b
Solve the bug: the persistent instance becomes a temporary instance after the console operation goes offline ( #8517 )
2022-06-10 10:06:37 +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
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
杨翊 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
杨翊 SionYang
646ea61cab
Remove mina dependency. ( #8369 )
2022-05-16 10:14:58 +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
杨翊 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
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
Roger3581321
bda6ecad66
[Optimize] Replace keySet() to entrySet() ( #8286 )
...
Optimized translateParameterMap() by replacing keySet() to entrySet()
2022-04-30 21:24:30 +08:00
ChunHuiQiu
896bddd043
[ISSUE #8193 ] Remove redundant code ( #8200 )
...
* remove redundant code
* fix constructor
2022-04-27 13:50:48 +08:00
onewe
2ee5122244
[ISSUE #8208 ] fix ip validate ( #8210 )
...
Close #8208
2022-04-22 15:51: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
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
8401b8c836
[ISSUE #8196 ] Return count number of subscribers correctly when throw an exception ( #8197 )
...
Close #8196
2022-04-18 17:10:50 +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
bjxiaojian
814ffb749c
do getServiceString() only once when debug ( #8121 )
2022-04-12 10:11:01 +08:00
onewe
eac5fe5cd4
[ISSUE #8108 ] Add NoneHealthCheckProcessorV2 class ( #8110 )
...
* [ISSUE #8108 ] Add NoneHealthCheckProcessorV2 class
Close #8108
* Update NoneHealthCheckProcessor.java
2022-04-11 10:21:46 +08:00
onewe
8292d9e16c
[ISSUE #7999 ] Fix config that can't read environment args ( #8055 )
...
- add unit test
- resetConfig method move to subclass's constructor
2022-04-07 10:20:13 +08:00
chenhao26
5efb233909
add junit test from InstanceControllerV2Test ( #8056 )
2022-04-06 10:51:24 +08:00
lmw
c51b405565
[ #8035 ] Missing serialVersionUID when class implements Serializable interface
2022-03-30 20:34:28 +08:00
胡俊
0161797e01
Merge pull request #8014 from KomachiSion/develop-issue#8009
...
[ISSUE#8009] Fix NPE of unit test.
2022-03-28 14:17:31 +08:00
杨翊 SionYang
26ef77378c
For #7930 . Default close support upgrade from 1.X feature. ( #8016 )
...
* For #7930 . Default close support upgrade from 1.X feature(double write and old raft).
* Fix use still use old raft when close upgrade feature.
* UpgradeJudgement subscribe member change event only open upgrade feature.
2022-03-28 14:15:18 +08:00
KomachiSion
d91ac9e2ea
Fix #8009 .
2022-03-28 10:34:24 +08:00
MajorHe1
5665cfe072
[ISSUE #7966 ] modify returned msg in Auth/Distro/Curcuit-Filter when internal server error ( #7967 )
...
* [ISSUE #7966 ] modify returned msg in Auth/Distro/Curcuit-Filter when internal server error
* [ISSUE #7966 ] add log output instead of return stacktrace
2022-03-28 10:22:55 +08:00
spark.ye
71440a99d4
[ISSUE #7971 ] fix ClusterVersionJudgement#ClusterVersionJudge Task never stop ( #7972 )
...
* fix bug(#7971 ) ClusterVersionJudgement ClusterVersionJudge Task never stop
* fix bug(#7971 ) change code style
2022-03-28 10:21:50 +08:00
Oliver
5a8c088a2f
remove unused variety and define constant ( #8010 )
...
* remove unused variety and define constant
* fix spelling error
2022-03-28 10:18:56 +08:00
Oliver
83aafb7e65
fix comment grammar ( #8011 )
...
* optimize method comment grammar
* format method comment
* fix spelling error
2022-03-28 10:18:13 +08:00
chenhao26
b4cc3fcddb
Optimize HTTP constants ( #7998 )
...
* Optimize HTTP constants
* check nacos style
* check nacos style2
* check nacos style3
* deleet Unused constants in UtilAndComs
2022-03-25 16:05:42 +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
zrlw
bc40318c66
[develop] set default connection lease request timeout and merge default config ( #7906 )
...
* set default connection lease request timeout and merge default config
* remove useless code
* correct comments of mergeDefaultConfig
2022-03-09 16:03:27 +08:00
chenhao26
4ceafbeb59
add junit for InstanceUtilTest and ServiceUtilTest ( #7909 )
2022-03-08 20:16:44 +08:00
胡俊
5d03898049
add DistroClientComponentRegistryTest ( #7855 )
2022-03-03 13:51:41 +08:00
chenhao26
74e421925b
InstanceUtil 分支判断优化 ( #7713 )
2022-02-09 15:43:13 +08:00
KomachiSion
232c667feb
Remove NamingResourceParser.java
2022-01-21 16:44:44 +08:00
KomachiSion
89cc6caade
Add plugin and auth-plugin module, and move class into module.
2022-01-21 15:06:09 +08:00
KomachiSion
79e7a95e62
Add SignType
2022-01-17 17:15:42 +08:00
KomachiSion
dc1c05d2dc
Repackage some auth classes.
2022-01-17 16:32:23 +08:00
KomachiSion
956df153d6
Add resource parser
2022-01-14 16:52:21 +08:00
KomachiSion
4e98013f8e
Solve conflicts.
2022-01-12 17:02:20 +08:00
KomachiSion
78de31dbdd
Merge remote-tracking branch 'upstream/develop' into issue#5696-merge-develop
...
# Conflicts:
# auth/src/main/java/com/alibaba/nacos/auth/common/AuthConfigs.java
# client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingMaintainService.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/AbstractNamingClientProxy.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/NamingClientProxyDelegate.java
# client/src/test/java/com/alibaba/nacos/client/naming/remote/AbstractNamingClientProxyTest.java
2022-01-12 16:52:14 +08:00
Catcher Wong
fdab51d663
[ISSUE # #7502 ] Fix ServiceList count ( #7503 )
2022-01-12 11:53:26 +08:00
胡俊
cdd83e2117
optimize NotifySubscriberRequest ( #7545 )
2022-01-07 18:08:22 +08:00
胡俊
fb43badea1
[ISSUE#7208] add InstanceControllerV2 ( #7543 )
...
* add InstanceControllerV2
* add InstanceControllerV2
2022-01-07 17:58:09 +08:00
杨翊 SionYang
8b88eaa69f
Add ephmeral attribute in v2 service query api. ( #7262 )
2021-11-19 11:38:48 +08:00
杨翊 SionYang
7ba2b7c566
[ISSUE#6846] Make one service keep one kind of instance (ephemeral or persistent). ( #7239 )
...
* Make one service keep one kind of instance (ephemeral or persistent).
* Fix IT error
2021-11-16 14:06:50 +08:00