Commit Graph

4709 Commits

Author SHA1 Message Date
杨翊 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
XS
4242fc626a
fix LDAP login failed (#9932)
*  fix LDAP login failed
 fix LDAP AD login Ignore partial result exception

* 🎨 checkstyle reformat
2023-02-22 11:18:47 +08:00
t8g
90bfe0af9e
Fixed some minor bugs in CollectionUtils.java (#9989)
* fix:CollectionUtils下for循环中的字符串拼接改用StringBuilder

* fix:The LinkedHashSet in CollectionUtils.java lacks a generic

* docs:a is used before a consonant; an is used before a vowel
2023-02-22 11:17:36 +08:00
杨翊 SionYang
c04b0bbb44
Remove the default token.secret.key (#9992) 2023-02-22 10:52:13 +08:00
zhanghong
a6332b250d
[ISSUE #9276] 新增根据配置信息检索内容的功能 (#9925)
* 新增根据配置信息检索内容的功能

* use offer replace add

* use offer replace add

* use offer replace add

* update exception type and  limit some config as configurable

* update

* update params

* update params

* update params
2023-02-21 10:25:19 +08:00
贾璞
67d5acc892
[ISSUE #9965] Delete method getRemoteIp() from class NacosHttpTpsCont... (#9966)
* [ISSUE #9965] Delete method getRemoteIp() from class NacosHttpTpsControlInterceptor

* [ISSUE #9965] Supplementary deletes three extra strings
2023-02-20 10:29:16 +08:00
The-Gamer-01
d16023c156
[ISSUE #9821] Update ConfigInfoBetaMapper data-source-plugin input and output parameters (#9967)
* Add MapperContext and MapperResult.

* Update ConfigInfoAggrMapper by MapperContext and MapperResult.

Update ConfigInfoAggrMapper by MapperContext and MapperResult.

* resolve git conflicts.

* Added Map mapping refinement corresponding to UPDATE and WHERE.

* [ISSUE #9821] Fix API of return class of ConfigInfoAggrMapper.

* [ISSUE #9821] Update ConfigInfoBetaMapper data-source-plugin input and output parameters
2023-02-20 10:04:10 +08:00
hth
4e78a769e5
replaced report API to Grpc (#9976) 2023-02-20 09:55:34 +08:00
杨翊 SionYang
9ebf5aeade
Judge the message whether null for metadata processor. (#9951) 2023-02-15 10:39:39 +08:00
githubcheng2978
e736455713
display the namespace on add,edit,detail configuration page #(9827) (#9845)
* display the namespace on add,edit,detail configuration page and resolve junit test problem #(9827)

* delete duplicate UT code

---------

Co-authored-by: githubcheng2978 <yeliang.cheng@freemud.com>
2023-02-14 17:23:17 +08:00
Karson
0c9f08130e
[Enhancement] Add prometheus api exception handling (#9885)
* add prometheus api exceptionHandler and ut.

* fix style issue.

* return failure status。

* add it case.

* enhance exception handler

* enhance exception handler

* fix IT problem.

* delete it test
2023-02-13 14:57:00 +08:00
ZhangShenao
815197cdf1
[ISSUE #9930] fix word spelling error in com.alibaba.nacos.common.http.AbstractHttpClientFactory#ASYNC_IO_REACTOR_NAME (#9931)
* code optimization for `ConfigChangeHandler`

* [ISSUE #9930] fix word spelling error in com.alibaba.nacos.common.http.AbstractHttpClientFactory#ASYNC_IO_REACTOR_NAME
2023-02-13 09:45:59 +08:00
MajorHe1
5a8c567633
[ISSUE #9906] cache token to improve performance (#9914)
* [ISSUE #9906] cache token to improve performance

* [ISSUE #9906] add cache token enable switch to application.properties

* [ISSUE #9906] update javadoc

* [ISSUE #9906] update javadoc

* [ISSUE #9906] update unit test

* [ISSUE #9906] make ci rerun
2023-02-10 10:51:05 +08:00
The-Gamer-01
1ff7a3f6bd
[ISSUE #9821] Update data-source-plugin input and output parameters (#9851)
* Add MapperContext and MapperResult.

* Update ConfigInfoAggrMapper by MapperContext and MapperResult.

Update ConfigInfoAggrMapper by MapperContext and MapperResult.

* resolve git conflicts.
2023-02-10 09:45:14 +08:00
ZhangShenao
882c6edb64
code optimization for ConfigChangeHandler (#9923) 2023-02-10 09:41:04 +08:00
杨翊 SionYang
2faa5b58d0
Add Unit test for api module naming package. (#9918) 2023-02-08 15:55:41 +08:00
杨翊 SionYang
1ef245d058
Add Unit test for api naming remote request. (#9916)
* Add Unit test for api naming remote request.

* For checkstyle.
2023-02-08 13:30:38 +08:00
vivid
4e08d61c4a
[ISSUE #9710]prometheus-sd support basic auth. (#9912)
* [ISSUE #9710]prometheus-sd support basic auth.

* [ISSUE #9710]prometheus-sd support basic auth.
2023-02-08 11:23:43 +08:00
MajorHe1
30954dc612
[ISSUE #9816] check expected final state before remove redo data. (#9907)
* [ISSUE #9816] check expected final state before remove redo data.

* check expected final state before remove subscriber redo data.

* update NamingGrpcRedoServiceTest when test remove

* update NamingGrpcRedoService, set expect register status to false when subscribers deregister
2023-02-08 09:38:37 +08:00
杨翊 SionYang
428e0bc668
Develop add unit test api (#9910)
* Add some unit test for api.

* Add Unit test for api.naming.utils.

* Add Unit test for api.naming.ability.

* Add Unit test for some pojo.

* Add Unit test for naming.pojo.

* For checkstyle.
2023-02-07 17:05:35 +08:00
云野
98d3da4a48
fix typo 'curcuit';remove unused variable. (#9901) 2023-02-07 10:24:14 +08:00
陈浩 Nineteen
8c90f892b4
fix batchRegister authentication (#9899) 2023-02-05 16:06:53 +08:00
liu-xg
65da789215
fix(修复配置历史分页异常): 配置历史分页异常,所有页都是全部记录 (#9828)
* fix(修复配置历史分页异常): 配置历史分页异常,所有页都是全部记录

* fix(修复配置历史分页异常): 修复代码格式不满足nacos要求

* fix(修复配置历史分页异常): 修复代码格式不满足nacos要求
2023-02-03 15:41:13 +08:00
Frank Zhao
a1c7defa19
Update README.md (#9895)
Add contribution leaderboard badge into README file.

Signed-off-by: frank-zsy <syzhao1988@126.com>
2023-02-03 15:39:25 +08:00
云野
42b28f9bc0
[ISSUE #9859] 重构默认插件的登陆/鉴权逻辑 (#9889)
* refactor auth logic;fix conflict

* update unit test.
2023-02-03 14:47:06 +08:00
陈浩 Nineteen
35b98841ab
del no use code (#9892)
* del no use code

* check style
2023-02-03 14:31:14 +08:00
杨翊 SionYang
4db3e8c28f
[ISSUE #9816] Add expected final state for redo data. (#9893)
* Fix #9816, add expected final state to make redo task execute right finally.

* Upgrade version to 2.2.1-SNAPSHOT.
2023-02-03 14:13:08 +08:00
云野
71389b0f56
add feature -- list instance record which enabled was false (#9855) 2023-02-02 10:50:16 +08:00
云野
ade3f8295f
[ISSUE #9859]使用自定义的JWT生成/验证方法,而不依赖于jjwt. (#9873)
* 使用自定义jwt生成

* add unit test; fix log msg.

* add license
2023-02-02 10:47:27 +08:00