Commit Graph

4420 Commits

Author SHA1 Message Date
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
nov.lzf
c4d7c33b98
fix cache removed when listeneradd delay (#9311)
* fix listener  miss

* fixed cache remove on add listener delay
2022-10-12 14:08:19 +08:00
MajorHe1
8aa2e0a746
[ISSUE #9305] fix bug in ClientWorker.resourceBuild (#9306) 2022-10-12 09:22:26 +08:00
MajorHe1
1a1ef02754
Merge pull request #9293 from KomachiSion/develop-issue#9091
[ISSUE#9091] build pure nacos-client when release.
2022-10-11 14:19:08 +08:00
无处不在
83e3e50b71
[impr]update Generate serialVersionUID Value to idea random (#9297) 2022-10-11 14:07:35 +08:00
zhouchunhai
3ca75cdc7f
fix bug #9263, lost page condition in configuration management page. (#9290) 2022-10-11 09:24:31 +08:00
Roger3581321
5647101f7d
Generate the serialVersionUID by IDEA (#9291) 2022-10-11 09:23:36 +08:00
KomachiSion
a1b705406a build pure nacos-client when release. 2022-10-10 15:36:49 +08:00
Karson
a78ee54007
[ISSUE #6876] Concurrent instance deregiste NullPointerException (#9287)
* fix issue #6876 .

* reset properties.
2022-10-10 15:20:17 +08:00
RapperCL
c3b38a0a87
remove redundant judgment (#9284) 2022-10-10 14:54:46 +08:00
Yann
c191d7a238
fix jraft npe log (#9271) (#9272) 2022-10-10 11:46:49 +08:00
Pixy Yuan
9c771cf2c3
[ISSUE #9277] publisherIndexes clean the service key when no instances anymore. (#9278) 2022-10-10 09:51:15 +08:00
The-Gamer-01
4c8130ce4e
[ISSUE #6112]Unified derby-data variables (#9260) 2022-10-10 09:47:10 +08:00
dependabot[bot]
e4510d67e0
Bump protobuf-java from 3.16.1 to 3.16.3 (#9259)
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.16.1 to 3.16.3.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.16.1...v3.16.3)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 09:46:34 +08:00
Roger3581321
bc180f0413
Fix a spelling mistake (#9258) 2022-10-10 09:45:40 +08:00
Karson
5396858cbc
修复Grpc反序列化不完整 (#9252) 2022-10-01 19:00:20 +08:00
杨翊 SionYang
f272c36df7
[ISSUE#9210] ConnectionBasedClient support add revision (#9239)
* ConnectionBasedClient support add revision

* getRevision when get verifydata.
2022-09-29 15:55:43 +08:00
DongYafei
94d812a269
fix api result (#9237) 2022-09-29 10:39:23 +08:00
Pixy Yuan
af22d35d6f
[ISSUE #9230] Fix missing dependency between event publisher and subs… (#9231)
* [ISSUE #9230] Fix missing dependency between event publisher and subscriber triggered on snapshot loading.

* [ISSUE #9230] Fix codestyle.

* [ISSUE #9230] Fix missing dependency between event publisher and subscriber triggered on persistent clients' snapshot loading.

* [ISSUE #9230] Fix import.
2022-09-29 09:42:03 +08:00
ruansheng
71d7d36951
[ISSUE #9227] fix subscriber scopeMatches (#9233) 2022-09-28 16:21:09 +08:00
杨翊 SionYang
45165f7c06
[ISSUE#8650] Make cluster/report both receive and send metadata. (#9228)
* cluster/report api return self information.

* Update metadata when received report response.

* Add UT for handle report member info response.

* For checkstyle.
2022-09-28 14:43:14 +08:00
Pixy Yuan
04fe7eab2f
Support client hash revision for DISTRO (#9214)
* [ISSUE #9210] Using hash as ephemeral clients' revision for DISTRO verification.

* [ISSUE #9210] Improve performance of ephemeral client hash calc.

* [ISSUE #9210] Remove calculation for ephemeral client's subscribers.

* [ISSUE #9210] Persist and sync revision for clients.

* [ISSUE #9210] Improve hash of ephemeral client.

* [ISSUE #9210] Improve performance of hash calc for clients.

* [ISSUE #9210] Make distro verification compatible with zero revision from old servers.

* [ISSUE #9210] Log clientId when VERIFY-FAILED.

* [ISSUE #9210] Fix long class cast exception to REVISION.

* [ISSUE #9210] Just renew clients when verify v2 clients on v1 mode.

* [ISSUE #9210] Add UTs for ephemeral client verification.

* [ISSUE #9210] Fix codestyle.

* [ISSUE #9210] Fix IpPortBasedClientTest.

* [ISSUE #9210] Fix codestyle.

* [ISSUE #9210] Fix license.

* [ISSUE #9210] Fix ConcurrentHashSetTest cases to verify concurrent modification properly.

* [ISSUE #9210] Fix codestyle.
2022-09-28 13:56:33 +08:00
杨翊 SionYang
2d84c0aea7
For #8611, Close old datasource connection. (#9212) 2022-09-26 15:51:08 +08:00
Alex
96f135a36d
GitHub Workflows security hardening (#9207)
* build: harden ci.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden it.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>

Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-26 10:34:33 +08:00
zhouchunhai
1d8e5d9443
Feature #8941 Support Fuzzy Query in Authority Control--for ui change. (#9127) 2022-09-26 10:33:45 +08:00
zhouchunhai
526c085b77
Feature #8941 Support Fuzzy Query in Authority Control--for api change. (#9128)
* Feature #8941 Support Fuzzy Query in Authority Control--for api change.

* fix check style error.

* fix unit test error.
2022-09-26 10:32:20 +08:00