杨翊 SionYang
935e6a7f2b
Don't stopping startup for illegal token.secret.key when auth.enabled is false. ( #10273 )
2023-04-06 14:30:22 +08:00
杨翊 SionYang
89685a65ed
Don't stopping startup for illegal token.secret.key when auth.enabled is false. ( #10265 )
2023-04-03 18:36:43 +08:00
杨翊 SionYang
250f5c3708
Build console main.js. ( #10264 )
2023-04-03 16:29:28 +08:00
abuexclusive
da6863ccc3
[fix] 🐛 nacos login page && notice config ( #10262 )
2023-04-03 15:38:50 +08:00
Zhaohui Yu
dcb1017c07
[ISSUE #10206 ] Optimize nacos default application.properties configuration ( #10207 )
...
* Optimize nacos default application.properties configuration:
1. expose prometheus endpoint for metrics.
2. expose health endpoint for SLB healthcheck.
3. switch on mbean for tomcat, so we can collect tomcat metrics.
4. use one file per hour for tomcat access log
* comment prometheus and health endpoint
* enable rotate
2023-04-03 13:45:45 +08:00
yuhaowin
c1e5446733
[ISSUE #10210 ] init NamingGrpcClientProxy Configure appName label. ( #10234 )
...
* For #10210 , init NamingGrpcClientProxy Configure appName label.
* For #10210 , format code
2023-04-03 12:16:20 +08:00
杨翊 SionYang
ced2f1d9ed
Add unit test for api module ( #10241 )
...
* Add more situation UT for NetUtils
* Add UT for api module selector package
* Add UT for api module exception package
* Add UT for api module cmdb package
2023-03-31 16:41:11 +08:00
kanlon
2bca057137
[ISSUE #7698 ] refactor: remove httpasyncclient version dependency management, avoid version conflicts ( #10170 )
...
* refactor: remove httpasyncclient version dependency management, Avoid version conflicts
* refactor: remove httpasyncclient.version
2023-03-31 14:53:21 +08:00
Karson
7952543c43
Code optimization for NacosMeterRegistryCenter ( #10231 )
...
* optimize code
* add unit test
* reformat code style
2023-03-31 14:43:30 +08:00
varyuan
2dde125a51
clean code ( #10180 )
...
* clean code
* clean code
* clean code
* clean code
2023-03-29 14:25:22 +08:00
杨翊 SionYang
7ae2f0a22c
[ISSUE#10208] Remove DefaultSettingPropertySource.java and add some unit test for I… ( #10211 )
...
* Remove DefaultSettingPropertySource.java and add some unit test for InitUtils
* For pmd
2023-03-28 22:39:40 +08:00
zhanghong
953fa9e74b
修改mapperProxy单例 ( #10162 )
2023-03-28 09:41:46 +08:00
Wilson Wu
57a3a9dfe0
Add DaoCloud logo ( #10195 )
...
Signed-off-by: Wilson Wu <iwilsonwu@gmail.com>
2023-03-28 09:36:08 +08:00
杨翊 SionYang
5fffde5bde
[ISSUE#10153] Add auth state into /state api and add announcement api. ( #10203 )
...
* Add ModuleState and use ModuleState replace ServerStateController.
* Add AuthModuleStateBuilder
* state接口使用ModuleState.
* Add announcement api.
* skip rat scan for announcement.conf
* default plugin open login page when auth.enabled=true.
2023-03-27 19:00:22 +08:00
chenyiqin
e002cefb6e
Fix fs char ( #10101 )
...
* Add PathEncoder for OS to encode if dataId, ns, group contains illegal char for file system
* Add copyright
* Fix checkstyle
* Fix pmd
* fix PathEncoderManager as singleton
* fix ut
* fix checkstyle
2023-03-27 15:04:20 +08:00
悟空
f7756b7841
fix: typo: 秘钥->密钥 ( #10182 )
2023-03-27 09:49:02 +08:00
MajorHe1
a48d6ceda2
[ISSUE #10155 ] print connectionId when timeout in DefaultRequestFuture.java ( #10156 )
...
* [ISSUE #10155 ] print connectionId when timeout in DefaultRequestFuture.java
* fix checkstyle problem
2023-03-24 09:58:53 +08:00
varyuan
d291f24d88
fix bug, about Arrays.asList(new boolean[1]) ( #10129 )
2023-03-21 15:29:16 +08:00
Karson
fe5002f485
Add some unit test for V2Controller ( #10143 )
...
* add unit test for HealthController
* for rerun ci
* add unit test for CatalogControllerV2
2023-03-21 15:28:32 +08:00
nov.lzf
c39ba4a35c
ssl context reload spi ( #10150 )
2023-03-21 15:27:57 +08:00
nov.lzf
7df6f6d47c
dead lock on sending connection reset request on server over limit #10114 ( #10149 )
2023-03-21 15:13:45 +08:00
云野
68b8e61c1d
[ISSUE #10093 ]add unit tests for DiskUtils. ( #10094 )
...
* add unit tests for DiskUtils.
add unit tests for InetUtils.
add unit tests for MethodUtil.
* add unit tests for DiskUtils.
add unit tests for InetUtils.
add unit tests for MethodUtil.
2023-03-21 14:08:30 +08:00
云野
6bcae29cc5
add unit tests for AbstractObjectUtils. ( #10138 )
...
add unit tests for AbstractAssert.
add unit tests for GrpcUtils.
2023-03-21 13:48:21 +08:00
杨翊 SionYang
8ab205832d
Upgrade to 2.2.1 ( #10121 )
2023-03-17 17:32:32 +08:00
杨翊 SionYang
cdd2be65af
Remove identity default value. ( #10108 )
2023-03-16 11:08:33 +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
杨翊 SionYang
81dda26709
Upgrade snakeYaml to 2.0 ( #10092 )
...
* Upgrade snakeYaml to 2.0
* Fix unit.
2023-03-14 13:15:51 +08:00
杨翊 SionYang
34a29e71dd
Use async appender to print log for nacos-client. ( #10085 )
2023-03-13 19:05:46 +08:00
杨翊 SionYang
bff133f8f4
Re build console ui. ( #10083 )
2023-03-13 18:06:19 +08:00
mroldx
a2f17da911
Update application.properties ( #10078 )
...
Optimize datasource name configuration reading
2023-03-13 11:37:25 +08:00
杨翊 SionYang
1968b3fc98
Develop revert#9851 #9967 ( #10069 )
...
* Revert "[ISSUE #9821 ] Update ConfigInfoBetaMapper data-source-plugin input and output parameters (#9967 )"
This reverts commit d16023c1
* Revert "[ISSUE #9821 ] Update data-source-plugin input and output parameters (#9851 )"
This reverts commit 1ff7a3f6
2023-03-10 10:25:25 +08:00
杨翊 SionYang
383287c616
[ISSUE#10062] Naming support aliyun STS auth. ( #10063 )
...
* Naming support aliyun STS auth.
* Add UT for sts auth.
* Fix UT stability.
2023-03-10 09:18:41 +08:00
云野
02a5e38981
fix #10044 -- only update existed config. ( #10045 )
2023-03-09 15:20:36 +08:00
LeePui
22ff97d5d8
调整startup.sh关于gc log配置问题 ( #10050 )
...
startup.sh中对jdk9之前的gc log配置为十个gc文件,每个大小为100m,jdk9之后变为十个gc文件,每个大小为102400,实际上这里将每个gc文件大小设置为了100k
2023-03-09 11:06:01 +08:00
Gao Xuliang
5aa272c5e9
[ISSUE #10052 ] ServerLoaderController Code optimization ( #10058 )
2023-03-09 11:05:25 +08:00
毛文超
f9695957fa
[ISSUES #10014 ] clear confused logic about namespace properties ( #10023 )
...
* [ISSUES #10014 ] clear confused logic about namespace properties
- add getPropertyFrom method
- optimize some code logic
Close #10014
* fix ci error
2023-03-09 10:05:37 +08:00
云野
62ef024da4
[ISSUE #10038 ]load failover file. ( #10048 )
...
* load failover file.
* fix text unit error.
2023-03-09 09:57:20 +08:00
syyyj
000f943fd1
syntax error ( #10041 )
...
anyOne - anyone
2023-03-06 10:20:50 +08:00
chenyiqin
920fd4c211
Remove http data change ( #10043 )
...
* Remove http way to report data change
* Remove http controller method to receive data change
2023-03-06 10:20:25 +08:00
t8g
74b81be92c
fix:Utility classes should not have public constructors ( #10019 )
2023-03-06 09:39:43 +08:00
Karson
e58c4441f4
[ISSUE #9943 ] Resolve issue Config cas update not work ( #9952 )
...
* fix issue 9943
* add some description
* add some log for roll back transaction
* add some log for roll back transaction
* set default rollBackOnUpdateFail false.
* format style
* fix some bug
2023-03-03 11:14:08 +08:00
caixiaomao
acc8cbe698
编辑配置时代码支持折叠 ( #10022 )
2023-03-02 11:07:48 +08:00
WangLiang/王良
6ba05fa7a8
Replace flatten-maven-plugin
with easyj-maven-plugin
( #9985 )
...
* Replace `flatten-maven-plugin` with `easyj-maven-plugin`
* revert indent
* apache-rat-plugin exclude `.flattened-pom.xml`
* fix style
* optimize github action
* optimize github action
* fix dependencies
* upgrade easyj-maven-plugin to 1.1.5
* optimize github action
* optimize spring-boot-maven-plugin configuration
2023-03-02 10:43:08 +08:00
ZhangShenao
d5bbe9ebfd
[ISSUE #10020 ] Use Generic Type When Declaring authFilterRegistration
in com.alibaba.nacos.core.auth.AuthConfig ( #10021 )
...
* 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
2023-03-02 10:18:12 +08:00
毛文超
ec9e281f16
[ISSUES #10029 ] optimize SearchableProperties building code ( #10030 )
...
Close #10029
2023-03-02 10:08:52 +08:00
WangLiang/王良
a397c10a54
Optimize the nacos-client/pom.xml
for exclude google/**/*.proto
( #9982 )
...
* Optimize the pom.xml of the nacos-client
* optimize pom
* exclude `google/**/*.proto`
* tab
* Remove dependency `io.grpc:protoc-gen-grpc-java:${version}:pom`
* revert indent
* revert native-image
2023-03-01 09:42:15 +08:00
chenyiqin
5a8f6f5f6a
Fix cluster node state error ( #10011 )
...
* Fix cluster node state error
* Fix checkstyle
2023-03-01 09:40:30 +08:00
云野
aebe583049
fix #9954 -- timeunit. ( #10004 )
2023-02-27 10:54:33 +08:00
毛文超
7ca8c59580
[ISSUE #9448 ] use local font files ( #9995 )
...
- add some font files to local path
Close #9448
2023-02-23 14:20:53 +08:00
胡俊
579571ceb3
[ISSUE #9860 ] abstract the nacos logback configurator to solve the problem between different version ( #9934 )
...
* logback update
* update comment
* ident update
* comment update
* judge version
* remove logback-adapter
2023-02-22 11:20:46 +08:00