Commit Graph

29 Commits

Author SHA1 Message Date
阿魁
631babe1e2
[IT]Adjust config module base and auth ITs for Checkstyle compliance. (#12376)
* [IT]Adjust core module auth integration tests to meet checkstyle requirements.

* [IT]Adjust config module base integration tests to meet checkstyle requirements.
2024-07-24 16:10:16 +08:00
阿魁
c00d863242
[IT]Adjust config module config integration tests to meet checkstyle requirements. (#12377) 2024-07-24 16:09:51 +08:00
杨翊 SionYang
ed7bd03d4c
Close derby ops api default. (#12372)
* Close derby ops api default.

* Fix unit test.
2024-07-18 15:30:15 +08:00
shalk(xiao kun)
3b2f787d61
[ISSUE #12227] upgrade module test from junit4 to junit5 (#12251)
* upgrade module naocs-test from junit4 to junit5

* fix test/core-test

* fix some test

* fix ci
2024-06-24 09:38:38 +08:00
阿魁
5169f06654
Support TLS Grpc communication between clusters. (#11549)
* Fix exception code error.(#10925)

* [ISSUE #11456]Add RpcClusterClientTlsConfig.java.

* [ISSUE #11456]Add cluster rpc tls config.

* [ISSUE #11456]Add RpcClusterClientTlsConfig UT.

* [ISSUE #11456]Add cluster server tls.

* [ISSUE #11456]Remove supportCommunicationTypes.

* [ISSUE #11456]Fix unit testing and indentation handling

* [ISSUE #11456]Indentation handling

* [ISSUE #11456]Fix unit test and rpc constants.

* [ISSUE #11456]Fix unit test.

* [ISSUE #11456]Optimize code.

* [ISSUE #11456]Fix check style.

* [ISSUE #11456]Add unit test.

* [ISSUE #11456]Fix check style.

* [ISSUE #11456]Update unit test.

* [ISSUE #11456]Fix unit test.

* [ISSUE #11456]Add License.

* [ISSUE #11456]Fix unit test.

* [ISSUE #11456]Fix unit test.

* [ISSUE #11456]Rename class.

* [ISSUE #11456]Optimize code.

* [ISSUE #11456]Handling indentation issues.

* [ISSUE #11456]Handling indentation issues.

* [ISSUE #11456]Handling indentation issues.

* [ISSUE #11456]Optimize code.

* [ISSUE #11456]Fix unit test.

* [ISSUE #11456]Fix unit testing and compatibility handling.

* [ISSUE #11456]Support TLS GRPC communication between clusters.

* [ISSUE #11456] Fix bugs.

* [ISSUE #11456]Fix bugs.

* [ISSUE #11456]Adjusting parameter names (compatibility considerations).

* [ISSUE #11456]Resolve conflict.

* [ISSUE #11456]Remove ProtocolNegotiatorBuilderManager and abstract ProtocolNegotiatorBuilderSingleton.

* [ISSUE #11456]Remove CommunicationType.java.

* [ISSUE #11456]Optimize code.

* [ISSUE #11456]Revert author.

* Splitting RpcTlsConfigFactory.

* Split RpcConstants.

* Divided RpcTlsConfigFactory, adjusted cluster parameters to "nacos.remote.peer.rpc.tls".

* check style.

* check style.

* unit test.
2024-05-15 11:13:29 +08:00
hth
70ad2eb991
[ISSUE #11957] Remove default password (#11991)
* Remove default password

* admin role check fix

* remove tmp admin
2024-04-29 10:04:00 +08:00
blake.qiu
8f2150892a
build(11606): Make sql-schema consistent. (#11703) 2024-01-31 09:32:19 +08:00
喻世文
6587029851
[ISSUE #11544] Supplementary single test, when the prefix of dataId is cipher. (#11546)
* [ISSUE #11544] Supplementary single test, when the prefix of dataId is cipher.

* [ISSUE #11544] Supplementary single test, when the prefix of dataId is cipher. Adjusting code format.

* [ISSUE #11544] Supplementary single test, when the prefix of dataId is cipher. Change static code block to @Before annotation.

* [ISSUE #11544] Supplementary single test, when the prefix of dataId is cipher. run ci.
2023-12-27 11:08:23 +08:00
nov.lzf
ca9d55e264
fix config test case and remove useless code (#11521)
* 修复客户端cmsgc导致服务端推送积压直接内存oom问题

* 修复ut及bug

* 修复ut及bug,checkstyle

* 修复ut及bug

* 修复ut

* 修复覆盖率

* 修复测试用例

* 修复测试用例,覆盖率

* 修复测试用例,覆盖率,删除无用代码

* 修复测试用例,覆盖率,pmd&checkstyle

* fix test case
2023-12-18 13:42:28 +08:00
杨翊 SionYang
9069730a04
Refactor grpc tls (#10759)
* Move Tls negotiator to GrpcSdkServer.

* use protocol negotiator builder replace directly create.

* use SPI load negotiator and set tls as default negotiator.

* Remove tlsconfig in BaseRpcServer.

* Add some ut.

* For checkstyle.
2023-07-11 19:10:00 +08:00
KomachiSion
0555619b05 Merge remote-tracking branch 'upstream/develop' into develop#10361
# Conflicts:
#	config/src/main/java/com/alibaba/nacos/config/server/constant/Constants.java
2023-05-09 15:50:12 +08:00
nov.lzf
dbe3730d69
fix sslconf out of date (#10451)
* 更新证书文件

* fix test case

* update ssl conf
2023-05-09 10:09:21 +08:00
KomachiSion
841ce677d1 Move DerbySnapshotOperation and DistributedDatabaseOperateImpl to core module. 2023-05-08 19:29:14 +08:00
杨翊 SionYang
b8e3f688fb
Fix CI problem. (#10442)
* Fix CI problem.

* Fix CI problem.

* Fix CI problem.

* Fix CI problem.
2023-05-08 16:12:07 +08:00
KomachiSion
218fe4e732 Move some events and exception to persistence module 2023-04-25 11:29:11 +08:00
KomachiSion
326b82fb06 Move Embedded operate to persistence module. 2023-04-23 18:02:27 +08:00
KomachiSion
8dfd31a87d Move QueryType to persistence module. 2023-04-23 17:54:21 +08:00
KomachiSion
6acabeca67 Move some methods from EmbeddedStorageContextUtils to EmbeddedStorageContextHolder 2023-04-23 17:37:14 +08:00
KomachiSion
f83061f47d Move some datasource and relative classes into persistence module. 2023-04-23 16:00:42 +08:00
githubcheng2978
214e0c9077
nacos grpc connection supports TLS Encryption (#9980)
support tls encryption on grpc transport on client and server side

---------

Co-authored-by: githubcheng2978 <yeliang.cheng@freemud.com>
2023-03-15 09:41:25 +08:00
Karson
c8b04b03fa
[ISSUE #9783] 处理namespaceId=public 时 v2接口 无法创建与删除配置 (#9809)
* fix issue #9783

* fix issue #9783

* add it test for v2 config.

* fix ci problem.

* fix ci problem.

* fix ci problem.

* fix history process NamespaceParameter

* fix ci problem.

* add some unit test

* reformat code
2023-01-16 10:01:54 +08:00
gongzhongqiang
708387c277
fix:replace nacos website url to https. (#9797) 2023-01-10 09:47:52 +08:00
Weizhan Yun
c3c7e1ba1c
[ISSUE #9367] fix auth plugin's property 'token.secret.key' base64 decode error. (#9380)
* 1. 修复密钥编码问题--为了避免歧义,密钥必须为base64编码的字符串;不再支持原始明文密钥。
2. JwtParser是线程安全的,重构为成员变量。

* 配置项保持明文字符串
2022-11-03 13:40:26 +08:00
yjqg6666
cb3c78b93b
[#344] rename initialization sql files (#8969) 2022-08-25 16:54:18 +08:00
onewe
b6db08bdd4
[ISSUE #8528] update server.tomcat.basedir default value (#8529)
Close #8528
2022-06-07 15:22:16 +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
孙继峰
fb3e5ad290
simplify Assert (#6095) 2021-06-17 19:17:37 +08:00
KomachiSion
92da848375 Merge remote-tracking branch 'upstream/develop' into merge-1.X-to-2.0
# Conflicts:
#	client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/CacheData.java
#	client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
#	client/src/main/java/com/alibaba/nacos/client/naming/core/PushReceiver.java
#	console/src/main/resources/static/css/main.css
#	console/src/main/resources/static/js/main.js
#	naming/src/main/java/com/alibaba/nacos/naming/core/SubscribeManager.java
#	naming/src/test/java/com/alibaba/nacos/naming/core/SubscribeManagerTest.java
#	test/src/test/java/com/alibaba/nacos/test/BaseTest.java
2021-04-27 15:57:24 +08:00
杨翊 SionYang
6c064bfe41
For #5171, Fix all IT case (#5464) 2021-04-23 18:36:02 +08:00