Commit Graph

4345 Commits

Author SHA1 Message Date
KomachiSion
68d7f042d1 Fix update config info cas error. 2022-10-27 14:08:11 +08:00
KomachiSion
f56dedc7fe Fix sync connection client not removed. 2022-10-27 12:11:06 +08:00
KomachiSion
0428fe98a3 Make default naming async query subscribe as false. 2022-10-26 16:51:01 +08:00
The-Gamer-01
af897bc656
[ISSUE #8312]Fix Persist Service Implementation。 (#9395) 2022-10-25 22:24:37 +08:00
杨翊 SionYang
0293af3329
Remove upd and beat codes in nacos-client. (#9394) 2022-10-25 17:22:47 +08:00
杨翊 SionYang
a0816b5534
Merge pull request #9390 from alibaba/asoc2022_issue#8461
Merge Asoc2022#8461 into 2.2.0
2022-10-25 15:45:50 +08:00
KomachiSion
8410fbccf3 Merge remote-tracking branch 'upstream/2.2.0' into asoc2022_issue#8461
# Conflicts:
#	config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigController.java
2022-10-25 14:52:32 +08:00
杨翊 SionYang
ee79d1b060
Merge pull request #9389 from alibaba/2.2.0-summer2022#8312
Merge summer2022#8312 into 2.2
2022-10-25 14:32:23 +08:00
KomachiSion
7c36c36201 Fix checkstyle. 2022-10-25 14:31:15 +08:00
李晓双 Li Xiao Shuang
284acbfd02
[ISSUE #8312] Fixed some problems with configuration sql (#9388)
* fix sql

* fix history sql

* fix clone sql

* fix beta sql
2022-10-25 13:02:13 +08:00
Liu Yixiao
03345fd923
[ISSUE #8461] Enhance Nacos monitor observability system (#9038)
* Enhance MetricsMonitor with several new metrics

* Add config read and write rt

* Add ServiceEvent publisher queue size

* Add fuzzy search count

* Add naming subscriber and publisher count with v1 or v2 version tag

* Add config subscriber count with v1 or v2 version tag

* Add pending push task count and empty push count metrics

* collect pending push task count by scheduled task

* add unit test for increment metrics in NacosMonitorPushResultHook

* Add topn counter container and topn config change

* Create private MeterRegistry for config change

* Add scheduled clear for config change count, add removeAll for TopnCounterMetricsContainer

* Add topn service change

* Reconstruct metrics monitor with NacosMeterRegistryCenter.

* divide globalRegistry to different modules' CompositeMeterRegistry

* Add dynamic meters refresh service for config and naming module

* fix unit test

* Add try catch when init NacosMeterRegistryCenter
2022-10-25 11:31:29 +08:00
李晓双 Li Xiao Shuang
97ca821cee
fix sql (#9386) 2022-10-25 00:58:34 +08:00
The-Gamer-01
7a4897830b
[ISSUE #8312]Merge sql. (#9385)
* [ISSUE #8312]Merge sql.

* [ISSUE #8312]Fix bugs.
2022-10-24 23:07:05 +08:00
KomachiSion
469c43dddc Add console default resource server.port as 8848. 2022-10-24 20:06:53 +08:00
KomachiSion
3cf00c7ccb Fix some derby datasource plugin sql problem. 2022-10-24 19:53:44 +08:00
杨翊 SionYang
b637b63bd8
Merge pull request #9381 from KomachiSion/2.2.0-summer#8312
Merge summer#8312 into 2.2.0
2022-10-24 16:12:12 +08:00
KomachiSion
3863ede017 Change datasource plugin version as revision. 2022-10-24 16:09:50 +08:00
KomachiSion
696d489423 Merge remote-tracking branch 'upstream/2.2.0' into 2.2.0-summer#8312
# Conflicts:
#	plugin/pom.xml
2022-10-24 15:37:47 +08:00
The-Gamer-01
398959d931 [ISSUE #8312]Finish the datasource plugin. (#9226)
* [ISSUE #8312]Finish the datasource plugin.

* [ISSUE #8312]Update derby PersistService impl.
2022-10-24 15:34:40 +08:00
The-Gamer-01
a8d63609f2 [ISSUE #8312]Finish all mappers. (#9199)
* [ISSUE #8312]Finish all mappers.

* [ISSUE #8312]Fix some bugs about mapper.
2022-10-24 15:34:39 +08:00
The-Gamer-01
6a871b316f [ISSUE #8312]Update the mappers. (#9190)
* [ISSUE #8312]Update the mappers.

* [ISSUE #8312]Update derby mappers.
2022-10-24 15:34:38 +08:00
The-Gamer-01
6416e217a8 [ISSUE #8312]Update the ConfigInfoMapperByMySql and some derby mappers. (#9181) 2022-10-24 15:34:37 +08:00
The-Gamer-01
56c2a5954c [ISSUE #8312]Update the mappers. (#9171) 2022-10-24 15:34:35 +08:00
The-Gamer-01
30a9431bfc [ISSUE #8312]Update the mysql implementation of ConfigInfoAggrMapper and ConfigInfoBetaMapper. (#9159) 2022-10-24 15:34:35 +08:00
The-Gamer-01
77eb1915c9 [ISSUE #8312]Update all mapper. (#9145) 2022-10-24 15:34:33 +08:00
The-Gamer-01
0432b95c12 [ISSUE #8312] Add more mapper. (#9119)
* [ISSUE #8312] Create ConfigInfoTagMapper, HisConfigInfoMapper and TenantInfoMapper.

* [ISSUE #8312] Add more mapper.

* [ISSUE #8312]Let mappers extend Mapper.
2022-10-24 15:34:32 +08:00
The-Gamer-01
f44b28461a [ISSUE #8312] Create ConfigInfoBetaMapper.(#8312) (#9118) 2022-10-24 15:34:30 +08:00
The-Gamer-01
3ebd3b74ff [ISSUE#8312] Update ConfigInfoMapper and create ConfigInfoAggrMapper. (#9112)
* Commit ConfigInfoMapper.

* Update ConfigInfoMapper and create ConfigInfoAggrMapper.
2022-10-24 15:34:29 +08:00
The-Gamer-01
a8b4615754 Commit ConfigInfoMapper. (#9084) 2022-10-24 15:34:23 +08:00
The-Gamer-01
aa6cd4450f Create data source plugin framework. (#9063) 2022-10-24 15:34:22 +08:00
陈浩 Nineteen
308d772a9a
feat/support Batch DeRegister (#9330)
* support Batch DeRegister

* Adjust the de registration method

* use batchRegisterService
2022-10-24 10:01:06 +08:00
Karson
1076d5cf61
[ISSUE #9366] Support Ldaps authentication (#9371)
* support ldaps auth

* add ldaps IT test.

* add ldaps IT test.

* add ldaps IT test.

* add ldaps IT test.
2022-10-24 09:34:47 +08:00
杨翊 SionYang
7a23c56822
[ISSUE#7930] 2.2.0 remove some deprecated codes (#9368)
* Remove double write switch and upgrade from 1.X switch.

* Remove IFilterConfig.java

* Remove some deprecated constants and methods

* Remove some deprecated classes in nacos-core

* Remove some deprecated config

* Remove some deprecated codes in naming module

* Remove some deprecated codes in sys module

* Fix unit test

* Try to make UdpConnectorTest pass more easier.
2022-10-21 17:44:26 +08:00
杨翊 SionYang
44d9e0d2f4
Merge pull request #9361 from alibaba/summer2022_issue#8308
[ISSUE#8308] Add v2 openAPI for nacos 2.0.
2022-10-21 15:38:25 +08:00
KomachiSion
f4438ac202 Follow 2.2.0 branch. 2022-10-21 15:33:04 +08:00
KomachiSion
aa6816b69f Merge remote-tracking branch 'upstream/2.2.0' into summer2022_issue#8308
# Conflicts:
#	naming/src/main/java/com/alibaba/nacos/naming/controllers/v2/InstanceControllerV2.java
#	naming/src/main/java/com/alibaba/nacos/naming/controllers/v2/ServiceControllerV2.java
#	naming/src/main/java/com/alibaba/nacos/naming/misc/UtilsAndCommons.java
2022-10-21 14:16:18 +08:00
Karson
864b1f1852
add ldap auth it test case. (#9354) 2022-10-21 09:46:45 +08:00
BoyuLi4
68811a7ad9
Update JacksonUtilsTest.java (#9340) 2022-10-21 09:43:54 +08:00
陈浩 Nineteen
83855da734
buf fix ip count metrics (#9355)
* buf fix ip count metrics

* run ci

* run ci
2022-10-21 09:26:20 +08:00
胡俊
0bd589cb6d
[ISSUE#8857] collect client info (#9202)
* collect client info #8857

* collect client info #8857

* collect client info #8857

* collect client info #8857

* collect client info #8857

* collect client info #8857
2022-10-19 09:40:34 +08:00
Karson
99b7390a97
fix bug #9341 (#9342) 2022-10-19 09:30:37 +08:00
杨翊 SionYang
b1ac88be78
[ISSUE#8481] Add Trace Event SPI for Naming. (#9336)
* Add Trace plugin spi.

* Add NacosCombinedTraceSubscriber

* Subscribe NamingTraceEvent when start up cluster.

* Fix test error.
2022-10-18 09:30:37 +08:00
KomachiSion
ebe81f86c0 Upgrade to 2.2.0-SNAPSHOT 2022-10-17 19:25:31 +08:00
KomachiSion
6eae075a48 Solve conflict. 2022-10-17 19:23:13 +08:00
KomachiSion
22169055ed Merge remote-tracking branch 'upstream/develop' into 2.2.0
# Conflicts:
#	naming/src/main/java/com/alibaba/nacos/naming/core/Cluster.java
2022-10-17 19:17:31 +08:00
胡俊
0834641825
[ISSUE#9323]1.x http接口服务名校验问题 (#9324)
* 1.x http接口服务名校验问题

* 1.x http接口服务名校验问题 for #9323
2022-10-14 14:34:50 +08:00
杨翊 SionYang
0bfd75252b
Add switch for naming async query. (#9325) 2022-10-14 14:01:01 +08:00
杨翊 SionYang
ee3ae0034f
Fix #9269, RpcClient support parse ipv6 address. (#9312) 2022-10-13 09:45:22 +08:00
nov.lzf
0fdda8c3fc
[ISSUE#7929] minijar pom update ,to reduce nacos-client jar size (#9299)
* minijar

* minijar,add google shaded

* fix naming response miss

* not shaded promethus snakeyaml

* release-sign-artifacts minijar
2022-10-12 14:13:28 +08:00
无处不在
2051855117
Update Generate serialVersionUID Value to idea random (#9304)
* update Generate serialVersionUID Value to idea random

* update Generate serialVersionUID Value to idea random
2022-10-12 14:12:11 +08:00