Commit Graph

3866 Commits

Author SHA1 Message Date
杨翊 SionYang
7ba2b7c566
[ISSUE#6846] Make one service keep one kind of instance (ephemeral or persistent). (#7239)
* Make one service keep one kind of instance (ephemeral or persistent).

* Fix IT error
2021-11-16 14:06:50 +08:00
lpaz010
0ecb6e831a
[ISSUE #7163] remove useless service declaration "RequestStream" in grpc proto file (#7193) (#7197) 2021-11-16 13:07:36 +08:00
ethan
36f30dccd5
Add port offset configuration for the client when using reverse proxy to expose different nacos server ports (#7150) 2021-11-16 11:26:51 +08:00
MajorHe1
21ebf4c8ee
[ISSUE #5092] uniform name of HealthController to HealthControllerTest in nacos-config (#7201) 2021-11-16 11:23:36 +08:00
MajorHe1
604034d4d8
[ISSUE #5092] add unit test for ConfigServletInner in nacos-config (#7206)
* [ISSUE #5092] add unit test for ConfigServletInner in nacos-config

* [ISSUE #5092] update ConfigServletInnerTest in nacos-config
2021-11-16 11:16:32 +08:00
soulerror
921b0072d7
fix a wrong code annotation in com.alibaba.nacos.core.remote.ConnectionMeta (#7223) 2021-11-16 11:16:05 +08:00
onewe
e1487164ff
Ignore the WebServerInitializedEvent if the name space of the spring context is management (#7236)
Close#7230
2021-11-16 11:13:11 +08:00
siaron
62c778e995
Fix #6973 problem. customer istio sync hostname (#7167)
* Fix #6973 problem. customer istio sync hostname

* Fix #6973 problem. add domain suffix

* Fix #6973 problem. add domain suffix config

* Fix #6973 problem. run clean install and code format
2021-11-12 15:20:31 +08:00
onewe
d0b2c69d5e
fix: AuthConfigs illegal base64 character: '$' (#7209)
- Add catch block, return getBytes result if base64 decode failed
- Add JwtTokenManager unit test

Closes #7203
2021-11-12 11:02:45 +08:00
李晓双 Li Xiao Shuang
c6adbcaa20
replace with lambda (#7218) 2021-11-12 10:56:54 +08:00
MajorHe1
9e1b094985
[ISSUE #5092] add unit tests for ConfigOpsController in nacos-config (#7198) 2021-11-12 10:55:38 +08:00
MajorHe1
4fdba5f902
[ISSUE #5092] add unit tests for HistoryController in nacos-config (#7199) 2021-11-12 10:55:24 +08:00
MajorHe1
8016eb7003
[ISSUE #5092] add unit tests for ListenerController in nacos-config (#7200) 2021-11-12 10:55:09 +08:00
李晓双 Li Xiao Shuang
774fcf74ce
[ISSUE ##7214] replace with lambda (#7215)
* can be replaced with lambda

* can be replaced with <>

* replace with lambda

* delete unused import
2021-11-12 10:28:25 +08:00
李晓双 Li Xiao Shuang
80874749bf
[ISSUE #7220] replace with lambda (#7222)
* replace with lambda

* replace with lambda
2021-11-12 10:20:54 +08:00
杨翊 SionYang
0719200c38
[ISSUE#7210] Add service rest api for v2. (#7211)
* Add service rest api for v2.

* For PMD.
2021-11-11 10:14:14 +08:00
吴治国
87ddbeff90
[ISSUE #6970] Add rest api v2 in core module (#7085)
* Add rest api v2 in core module

* merge cluster listNodes methods

* ut

* add beta annotation
2021-11-10 14:11:40 +08:00
赵延
1778a84964
Fix PushAckRequest mismatch problem. (#7179)
* fix PushAckRequest mismatch problem.

* add doc.

* add doc.
2021-11-08 10:23:14 +08:00
MajorHe1
cc568a6ee9
[ISSUE #5092] add unit tests for ConfigController in nacos-config (#7186) 2021-11-08 09:52:52 +08:00
杨翊 SionYang
76aeb180d2
Refactor Server ability init login with SPI. (#7174)
* Move ability classes.

* Add ServerAbilityInitializer and RemoteAbilityInitializer

* Add NamingAbilityInitializer.

* Use ServerAbilityInitializer replace old init ability.

* For pmd.
2021-11-04 10:10:11 +08:00
brotherlu-xcq
f51985e0b1
[ISSUE #7504] fix the typos in TemplateUtils.java. (#7162) 2021-11-04 09:58:34 +08:00
赵延
290316d2ac
not publish server list change event when the servers is not change. (#7165) 2021-11-04 09:58:09 +08:00
onewe
ef5bb0a83d
[ISSUE #7114] Enhance the constants for auth module. (#7170)
- Create a Constants.java
- Move all the string literal to the Constants.java
- Delete the PropertiesConstant.java
2021-11-04 09:57:17 +08:00
赵延
0677323d59
remove useless grpc code. (#7163) 2021-11-03 10:23:38 +08:00
MajorHe1
d6b18120d2
[ISSUE #5092] add unit tests for CapacityController in nacos-config (#7140) 2021-11-03 10:21:58 +08:00
MajorHe1
e6ebad22d9
[ISSUE #5092] add unit tests for ClientMetricsController in nacos-config (#7143) 2021-11-03 10:21:27 +08:00
MajorHe1
093534c492
[ISSUE #5092] add unit tests for CommunicationController in nacos-config (#7144) 2021-11-03 10:21:09 +08:00
李晓双 Li Xiao Shuang
6121bc7e05
can be replaced with <> (#7137) 2021-10-28 10:14:27 +08:00
李晓双 Li Xiao Shuang
72bbd24c88
[ISSUE ##7131] replaced with lambda (#7136)
* can be replaced with lambda

* can be replaced with <>
2021-10-28 10:14:08 +08:00
MajorHe1
70f7c5674e
[ISSUE #5092] add unit tests for configuration in nacos-config (#7135) 2021-10-28 10:13:31 +08:00
MajorHe1
ca1dfa0c94
[ISSUE #5092] add unit tests for constant in nacos-config (#7133)
* [ISSUE #5092] add unit tests for constant in nacos-config

* [ISSUE #5092] add license for CounterModeTest.java
2021-10-28 10:13:09 +08:00
李晓双 Li Xiao Shuang
cc213884ff
fix type (#7132) 2021-10-28 10:12:27 +08:00
Roger3581321
0aeab6229f
Updated the copyright time (#7119) 2021-10-28 10:12:05 +08:00
Roger3581321
ea2a106160
Changed the "initialCapacity" of HashMap (#7074) 2021-10-21 11:39:42 +08:00
Geertjan Wielenga
41950966d8
Switch to fixed JDK versions (#7025) 2021-10-21 11:37:55 +08:00
brotherlu-xcq
9cf5dcb8f4
[ISSUE #7001] keep the count value in Nacos 2.x same with value Nacos 1.x . (#7064) 2021-10-18 11:17:30 +08:00
孙继峰
91706cf137
[ISSUE #6978] move unit test case that exist in integration test class (#7042)
* delete unit test case that already exist in HttpUtilsTest

* move unit test case to QueryTest

* move unit test case to ResponseHandlerTest

* delete empty test class
2021-10-11 09:50:31 +08:00
KomachiSion
6317a3fc89 Fix ram type plugin not login for config module. 2021-10-09 15:13:23 +08:00
KomachiSion
dd600537b0 For PMD and copyright. 2021-10-09 14:20:39 +08:00
KomachiSion
986b125a81 For PMD. 2021-10-09 14:08:04 +08:00
杨翊 SionYang
77afc50350
[ISSUE#5696] Move and repackage some ram class to ram package. (#7040)
* move client.identity package to auth.ram.identity.

* move SignUtil to ram.utils.

* Add shutdown for auth plugin.

* Move SpasAdapter to new package.
2021-10-09 11:38:43 +08:00
杨翊 SionYang
7ccd0773f1
[ISSUE#5695] Replace the usage of Ram in naming and config module. (#7038)
* Change SecurityProxy usage

* Replace ram usage in naming module

* Replace ram usage in naming module

* Replace ram usage in config module

* Remove unused field and fix unit test.
2021-10-09 10:32:45 +08:00
杨翊 SionYang
1cfbd45fda
[ISSUE#5696] Add Ram client auth service impl. (#7036)
* Add Resource abstract.

* Add Ram client auth service impl.
2021-10-08 16:59:08 +08:00
杨翊 SionYang
cbf80cd297
[ISSUE#5696] repackage client (#7029)
* Rename and move classes make them more readable.

* Rename and move test classes.
2021-10-08 10:03:36 +08:00
brotherlu-xcq
3960beb869
[ISSUE #7006] remove the unnecessary popup when delete namespace. (#7007) 2021-10-08 09:27:17 +08:00
Wuyunfan-BUPT
e3b7f0e79f
[ISSUE#5696] Fix auth server type (#7004)
* Add MySQL DataBase

* Add Derby Database

* Replace Auth Server

* Revise: change to AuthSystemType
2021-09-28 19:30:20 +08:00
Wuyunfan-BUPT
fea9d7271b
add derby database (#6996) 2021-09-27 13:41:44 +08:00
赵延
4efd0e7a7b
Fix response success (#6987)
* fix Response.success is false logic problem.

* fix Response.success is false logic problem.
2021-09-26 21:17:38 +08:00
Wuyunfan-BUPT
3c0508d2da
Add MySQL DataBase (#6968) 2021-09-23 20:13:47 +08:00
吴治国
a74eb55270
[ISSUE #5095] Add some testcases for common cache (#6950)
* add testcase for common cache

* license
2021-09-23 10:29:58 +08:00