贾璞
a9d303cbe3
[ #11035 ] (PR-4/4) config module, alternate string method. ( #11155 )
2023-09-22 13:50:30 +08:00
杨翊 SionYang
0c44dce0cc
Refactor control plugin ( #11169 )
...
* Refactor control plugin.
* For checkstyle.
2023-09-21 13:47:28 +08:00
贾璞
7b2f7aa92a
[ISSUE#11035](PR-2/4) add two string methods & avoid null pointer ... ( #11065 )
...
* [#11035 ] (PR-2/4) add two String methods...
* [ISSUE#10908] edit test case, add blank line
* [ISSUE#11035] restore a method
2023-09-14 09:42:03 +08:00
MajorHe1
8c9934bf06
Update ConfigController.java, add srcUser when delete config by ids ( #11101 )
2023-09-14 09:39:53 +08:00
Guangdong Liu
0de88379bc
Remove some unnecessary code ( #11043 )
2023-09-06 17:07:27 +08:00
Sunrisea
828acd3b2b
For #10734,补全参数检验日志记录,将返回的状态码修改为400 ( #11073 )
2023-09-01 11:41:23 +08:00
brother-戎
ca34694f2b
fixup derby test case ( #11064 )
...
* fixup derby test case
* tiny fix
2023-09-01 09:32:08 +08:00
blake.qiu
84951e9c79
feat( #10963 ): In CacheItem, it's better to use the private and final keywords to modify the member variable rwLock. ( #10964 )
2023-08-31 15:38:42 +08:00
blake.qiu
46bee904dc
fix( #10980 ): After connectionIds.remove(connectionId) is executed, if connectionsIds is empty, clear the k-v corresponding to groupKeyContext. ( #10981 )
2023-08-31 13:46:33 +08:00
blake.qiu
595c07388f
fix( #10945 ): Remove invalid code in the LongPollingService class. ( #10946 )
2023-08-31 13:42:54 +08:00
blake.qiu
5c1e80d938
fix( #10940 ): The SQL statement should query the 'gmt_modified' field. ( #10941 )
2023-08-31 13:41:53 +08:00
brother-戎
b3b74b7219
[ISSUE#10908] Fix Bean injection in class of ConfigCacheService ( #10929 )
...
* fix:
1. derby syntax error
2. IllegalArgumentException:RowMapper is required
3. bean injection in Class of ConfigCacheService
* remove @Autowared
* recover properties
2023-08-31 13:40:20 +08:00
Sunrisea
d756cdc6de
[ISSUE #10734 ] Optimize the param check implementation logic ( #10955 )
...
* For #10734,优化实现逻辑,提高扩展性,为动态变更限流规则预留接口
* For #10734,优化实现逻辑,提高扩展性,为动态变更参数校验规则预留接口
2023-08-14 14:55:49 +08:00
E1se2t
003f192aa8
[ISSUE #10951 ]Autowired members must be defined in valid Spring bean ( #10951 ) ( #10961 )
2023-08-14 14:39:24 +08:00
blake.qiu
de87bb3e30
feat(10891): Provide a configuration item for the maximum number of push retries, instead of directly hardcoding it to 50 times in the code. ( #10895 )
2023-08-04 12:03:08 +08:00
Sunrisea
8adca685f6
[ISSUE #10734 ] Refactor the ParamChecker and ParamExtractor ( #10775 )
...
* For #10734,refactor the paramextractor and ParamChecker
* For #10734,alter the rules of ParamCheck
* For #10734,alter the rules of ParamCheck
* For #10734,fix bug
* For #10734,fix bug and alter the ParamCheckRules.java
* For #10734,fix code style
* For #10734,fix the param check rules
* For #10734,implement the server param check config
* For #10734,optimize the logic
* For #10734,optimize the logic
* For #10734,optimize the logic
2023-07-19 16:34:03 +08:00
blake.qiu
9561db324d
feat( #10539 ): When the operation configuration fails, log. ( #10804 )
2023-07-19 16:28:57 +08:00
nov.lzf
a83e2cc542
dump change check task submit ( #10755 )
...
* dump change check task submit
* delete config nid convert error fix
* fix test case
* checkstyle
2023-07-11 19:00:23 +08:00
Sunrisea
c7a20bd132
[ISSUE #10734 ] Implement http request param check filter and http param extractors ( #10758 )
...
* For #10734,Implement grpc server interceptor and grpc param extractors
* For #10734,add unit test for grpc server interceptor and grpc param extractors
* For #10734,alter the test case
* For #10734,delete the ConnectionSetupRequestParamExtractor
* For #10734,add the naming http request param check filter and implement the naming http request param extractors
* For #10734,add unit test for naming http request param extractors
* For #10734,Implement grpc server interceptor and grpc param extractors
* For #10734,add unit test for grpc server interceptor and grpc param extractors
* For #10734,delete the ConnectionSetupRequestParamExtractor
* For #10734,add the naming http request param check filter and implement the naming http request param extractors
* For #10734,add unit test for naming http request param extractors
* For #10734,add the config http request param check filter and implement the config http request param extractors and unit test
* For #10734,add the console http request param check filter and implement the console http request param extractors and unit test
* For #10734,fix code style
* For #10734,alter the logic of exception handle in filter
* For #10734,fix code style
2023-07-11 17:52:54 +08:00
zhanghong
38f461eb12
[ISSUE #10583 ]修复权限 ( #10587 )
...
* 修复权限
* 修改为console
* 修改为console
2023-06-05 17:21:05 +08:00
ZhangShenao
4c57517786
Use Generic Type in NacosConfigConfiguration
( #10549 )
2023-05-26 15:17:15 +08:00
nov.lzf
505c90b96d
uniform config lastmodified ts & refactor config disk storage. ( #10533 )
...
* uniform cache timestamp
* uniform cache timestamp
* uniform cache timestamp
* uniform cache timestamp
* checkstyle & pmd
* revert application properties
* remove duplicate code
* checkstyle and pmd
* bug fix
2023-05-26 09:53:25 +08:00
chenyiqin
62a106bc1c
remove dependence of package sun.security.action for ResponseUtilTest.java ( #10478 )
2023-05-16 10:21:06 +08:00
KomachiSion
dc79f05838
For pmd
2023-05-12 10:14:21 +08:00
KomachiSion
5897a61e8e
Fix start error.
2023-05-11 20:09:33 +08:00
KomachiSion
f0336b86e8
Remove useless method and field.
2023-05-11 17:19:27 +08:00
KomachiSion
23780d9b15
ConfigChangeAspect 去除对插件实现的感知。
2023-05-11 16:44:29 +08:00
KomachiSion
131dc643b3
Merge remote-tracking branch 'upstream/develop' into asoc2022_issue#8460-2
...
# Conflicts:
# persistence/src/test/java/com/alibaba/nacos/persistence/configuration/condition/ConfigChangeConfigsTest.java
2023-05-11 15:41:17 +08:00
KomachiSion
4198005529
For checkstyle and pmd.
2023-05-09 16:40:25 +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
KomachiSion
607074c877
Make HealthController not strongly depend config and naming module.
2023-05-09 14:43:25 +08:00
KomachiSion
cb65d53c7e
Move ExternalStoragePaginationHelperImpl to persistence module.
2023-05-09 10:15:22 +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
KomachiSion
3d4014a3d3
Move StandaloneDatabaseOperateImpl to persistent module.
2023-05-08 11:56:38 +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