Commit Graph

4831 Commits

Author SHA1 Message Date
KomachiSion
f96ebd3e9a RolePersistService add PageHelper. 2023-05-09 10:57:42 +08:00
KomachiSion
6067779974 PermissionPersistService add PageHelper. 2023-05-09 10:45:27 +08:00
KomachiSion
cb65d53c7e Move ExternalStoragePaginationHelperImpl to persistence module. 2023-05-09 10:15:22 +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
9d92b5122a Add NamespaceDetailInjector and move NamespaceOperationService to core module. 2023-05-09 10:05:26 +08:00
KomachiSion
e93d417de6 Move CommonPersistService impls to core module and rename to NamespacePersistService. 2023-05-08 20:42:29 +08:00
KomachiSion
a972e02b13 Move NACOS_PLUGIN_DATASOURCE_LOG to datasource plugin module. 2023-05-08 20:34:07 +08:00
KomachiSion
515ae912b2 Move some TenantInfo and NamespaceRowMapperInjector to core module. 2023-05-08 20:29:53 +08:00
KomachiSion
841ce677d1 Move DerbySnapshotOperation and DistributedDatabaseOperateImpl to core module. 2023-05-08 19:29:14 +08:00
zhanghong
5cf5829253
add configModuleState/raftModuleState/distroModuleState in branch develop#10153 (#10288)
* add configModuleState/raftModuleState/distroModuleState

* add configModuleState/raftModuleState/distroModuleState

* update TEST

* 修复test bug

* 移除ip暴露风险
2023-05-08 18:05:34 +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
3d4014a3d3 Move StandaloneDatabaseOperateImpl to persistent module. 2023-05-08 11:56:38 +08:00
xxc
3c51570393
Merge pull request #10390 from panxiaojun233/develop
Delete invalid log
2023-04-26 13:45:11 +08:00
panxiaojun233
2a79daa9a2 Delete invalid log 2023-04-26 13:28:47 +08:00
KomachiSion
576225485e Move TimerContext to sys module and add new one single thread to snapshot for derby. 2023-04-25 14:46:38 +08:00
KomachiSion
4622d0e1bf Split RowMapperManager and move to persistence module. 2023-04-25 14:23:43 +08:00
KomachiSion
66a2e2db4a Use apply hook replace ConfigDump depend. 2023-04-25 14:01:41 +08:00
KomachiSion
218fe4e732 Move some events and exception to persistence module 2023-04-25 11:29:11 +08:00
KomachiSion
77b7377826 Move Conditions to persistence module. 2023-04-23 20:06:22 +08:00
KomachiSion
8dffc3ac99 Move EmbeddedPaginationHelperImpl to persistence module. 2023-04-23 18:22:27 +08:00
KomachiSion
cf1b86a2b7 Move EmbeddedPaginationHelperImpl to persistence module. 2023-04-23 18:05:01 +08:00
KomachiSion
326b82fb06 Move Embedded operate to persistence module. 2023-04-23 18:02:27 +08:00
KomachiSion
6e8d6c532d Move DerbyUtils to persistence module. 2023-04-23 17:56:59 +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
11fc4792c4 Move namespace module to core module. 2023-04-23 16:41:43 +08:00
KomachiSion
aa6144aa80 Use Namespace.java replace NamespaceAllInfo.java 2023-04-23 16:38:47 +08:00
KomachiSion
f83061f47d Move some datasource and relative classes into persistence module. 2023-04-23 16:00:42 +08:00
KomachiSion
802bacafbe Add module enabled packages scan filter. 2023-04-23 15:57:46 +08:00
Mike
ce371be9fc
Specify the GC as the CMS when jdk version less 9. (#10343) 2023-04-21 11:35:05 +08:00
徐晓伟
68f172f831
🐛 default namespace resource matches (#10350) 2023-04-21 11:34:27 +08:00
杨翊 SionYang
0e0a73e025
Revert "[issue #10148]Replace sync forward request with async request (#10158)" (#10358)
This reverts commit a273705b8d.
2023-04-20 20:12:33 +08:00
Zhaohui Yu
a273705b8d
[issue #10148]Replace sync forward request with async request (#10158)
* Replace sync forward request with async request in DistroFilter. issue #10148

* extract method for config default headers

* add env switch for async distro forward.

* Fixed code review problems:
1. Move async forward switch from sys module to naming module.
2. use nacos code style to format code.

* Fixed nacos code checkstyle:
1. one import per Class
2. add javadoc

* In order to avoid additional overhead, move switch from GlobalConfig to ClientConfig and cache the env switch.

* Move switch from ClientConfig to DistroConfig.

* Removed unused import.

* Add test for async forward for DistroFilter

* Add license

* rename test method name

* Should enable async forward

* fixed test

* set async forward request switch to true in test

* fixed test: create and set property with MockEnvironment

* fixed check style

* move MockEnvironment init to BeforeClass

* add setter for asyncForwardRequest switch
2023-04-20 20:10:26 +08:00
杨翊 SionYang
bbf1bd8e6f
Supple unit tests for api module config package. (#10338)
* Supple unit tests for api module config.remote package.

* Supple unit tests for api module config package.
2023-04-19 10:34:47 +08:00
杨翊 SionYang
323a3c86ab
Add unit test for api module remote.request package. (#10330)
* Add unit test for api module remote.request package.

* For checkstyle.
2023-04-17 17:16:18 +08:00
杨翊 SionYang
260a3e6516
Merge pull request #10324 from alibaba/develop#9821
[ISSUE#9821] Use new datasource plugin mapper api to support mysql and derby.
2023-04-14 16:55:59 +08:00
杨翊 SionYang
c0dcbde91e
Develop add unit test for api remote and remote.response (#10322)
* Add UT for api module remote package

* Add UT for api module remote.response package

* For checkstyle.
2023-04-14 16:00:02 +08:00
vivid
5c4bbe85f7 补充完整剩余dataSource的MapperContext改造 (#10140) 2023-04-14 15:28:47 +08:00
KomachiSion
08f7c9ff2a Re-commit #9851 #9967. 2023-04-14 15:28:47 +08:00
wangshengji
aff7c49ed0
remove ambiguous comments (#10301)
* remove ambiguous comments

* remove ambiguous comments
2023-04-14 14:47:45 +08:00
zhanghong
1c97d715eb
[ISSUE #10318]fix import bug (#10319)
* fix import bug

* fix import bug
2023-04-14 14:43:37 +08:00
MajorHe1
fb8255c8b7
[ISSUE #10310] Update log output in RpcConfigChangeNotifier.java when push fail (#10312)
* [ISSUE #10310]Update log output in RpcConfigChangeNotifier.java when push fail

Update log output in RpcConfigChangeNotifier.java when push fail

* update indentation level

update indentation level
2023-04-13 19:14:45 +08:00
Karson
916534ecfc
Add unit test for api module (#10316)
* add some unit test for api module.

* fix code style error
2023-04-13 19:03:55 +08:00
ZhangShenao
1f28e28549
[ISSUE #10308] Use Generic Type (#10309)
* code optimization for `ConfigChangeHandler`

* [ISSUE #9930] fix word spelling error in com.alibaba.nacos.common.http.AbstractHttpClientFactory#ASYNC_IO_REACTOR_NAME

* [ISSUE #10020] Use Generic Type When Declaring `authFilterRegistration` in com.alibaba.nacos.core.auth.AuthConfig

* fix code format

* fix code format

* Fix Code Format

* Fix Code Format

* [ISSUE #10308] Use Generic Type
2023-04-13 18:01:51 +08:00
杨翊 SionYang
b3b5236cd4
Develop synced from 2.2.2 (#10307)
* Fix dynamic change token to illegal value will use old token.

* Add description in pom for release.

* Upgrade to 2.2.2

* Upgrade to 2.3.0-SNAPSHOT
2023-04-11 17:34:06 +08:00
lllwd
2bb2b9d21d
selector avalanche protection (#10184) 2023-04-10 10:46:15 +08:00
nov.lzf
c519922280
取消默认openssl (#10276)
* 取消默认openssl

* 连接上下文标签中添加tls.enable

* test fix

* checkstyle
2023-04-07 14:56:13 +08:00
杨翊 SionYang
e26dc2fb23
Merge pull request #10277 from alibaba/develop#10153
Develop#10153
2023-04-06 17:25:18 +08:00
chenyiqin
34cdb0890f
Expose way to add config filter (#10236)
* expose way to add config filter

* add @since

* fix since time
2023-04-06 15:21:21 +08:00
云野
06a2ea7004
failover file path should be like {user.home}/naming/{group}/failover/00-00---000-VIPSRV_FAILOVER_SWITCH-000---00-00. (#10272) 2023-04-06 15:07:16 +08:00