Commit Graph

3742 Commits

Author SHA1 Message Date
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
赵延
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
brotherlu-xcq
3960beb869
[ISSUE #7006] remove the unnecessary popup when delete namespace. (#7007) 2021-10-08 09:27:17 +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
吴治国
a74eb55270
[ISSUE #5095] Add some testcases for common cache (#6950)
* add testcase for common cache

* license
2021-09-23 10:29:58 +08:00
吴治国
cdd2a8f5b8
[ISSUE #5095] Add testcase for common base64 (#6952)
* add testcase for common base64

* testcase

* license
2021-09-23 10:29:15 +08:00
吴治国
cf2b4a541a
[ISSUE #5095] Add some testcases for common executor (#6959)
* add some testcases for common executor

* style
2021-09-23 10:28:17 +08:00
孙继峰
c61440f32c
fix unit test fail (#6958) 2021-09-23 09:58:38 +08:00
Roger3581321
6b568119c2
add final to modify the utility class (#6951) 2021-09-22 09:42:47 +08:00
brotherlu-xcq
dd388e4d05
[ISSUE #6894] add the unit test of com.alibaba.nacos.naming.remote.rpc.handler. (#6916) 2021-09-22 09:40:01 +08:00
realJackSun
e1978d33f3
Add Nacos-on-cloud information (#6909)
* Add Nacos-on-cloud information

* Update README.md
2021-09-18 20:01:43 +08:00
brotherlu-xcq
90567c7da4
[ISSUE #6894] add the unit test of com.alibaba.nacos.naming.remote.udp. (#6895) 2021-09-17 19:30:20 +08:00
brotherlu-xcq
11cdba81b3
[ISSUE #6894] add the unit test of com.alibaba.nacos.naming.remote.rpc.filter. (#6905) 2021-09-17 19:28:46 +08:00
andotorg
99e6ce9c81
support issues #6645 (#6903)
* add ldap print error log

* update history dataId and group filter is select

* fix select add showSearch properties

* To avoid unexpected NPE

* add security annotation on controller configs method
2021-09-17 19:28:26 +08:00
Catcher Wong
bfa94e318d
[ISSUE #6817] sample code add C# (#6818) 2021-09-09 09:30:32 +08:00
brotherlu-xcq
6df0f22244
[ISSUE #6430] [TASK 3] Integrate this workflow to Nacos 2.0, integrate the new Selector logic into 2.x. (#6720)
* [ISSUE #6301] [TASK 3] integrate Selector into Nacos 2.x.

* new compute logic in 2.x

* [ISSUE #6301] the compute logic.

* [ISSUE #6430] remove the unused code and remove the cache logic in Udp push task.
2021-09-09 09:17:06 +08:00
brotherlu-xcq
3c95021c24
[ISSUE #6793] synchronize the betaIps in header and form data. (#6799) 2021-09-07 11:32:09 +08:00
Yang
e3a18c6631
[#6798] Support to merge nacos resource update events to avoid more computation. (#6795)
* Support to merge nacos resource update events to avoid more computation

* Fix import

* remove mcp and xds aync
2021-09-05 00:49:27 +08:00
brotherlu-xcq
9658d23b07
[ISSUE #6767] optimize the push data logic. (#6773)
* [ISSUE #6767] optimize the push logic.

* [ISSUE #6767] move the service to PushDataWrapper.

* [ISSUE #6767] optimize the ServiceMetadata.

* [ISSUE #6767] format the javadoc.

* [ISSUE #6767] format the javadoc.

* [ISSUE #6767] fix ci issue.

* [ISSUE #6767] fix ci issue.

* [ISSUE #6767] fix ci issue.
2021-09-02 14:54:17 +08:00
brotherlu-xcq
fa0ef3df53
[ISSUE #6783] Add unit tests for package com.alibaba.nacos.naming.core.v2.upgrade. (#6785)
* [ISSUE #6793] add UpgradeStatesTest.

* [ISSUE #6793] add DoubleWriteEventListenerTest.
2021-09-02 10:48:10 +08:00
Yang
4ac1a9b0ed
Fix empty watched status for mcp service (#6765) 2021-08-29 12:41:33 +08:00
Yang
c41ddc06c1
Improve mcp and mcp-over-xds (#6746)
* Improve mcp and mcp-over-xds

* fix style check
2021-08-27 10:05:30 +08:00
brotherlu-xcq
05b0116b1b
[ISSUE #6749] fix the batch delete has no permission problem. (#6754) 2021-08-27 09:41:39 +08:00
brotherlu-xcq
d2267d7bf3
[ISSUE #6609] fix the startup.sh problem. (#6739)
* [ISSUE #6737] fix the shell issue.

* [ISSUE #6737] fix the shell issue.
2021-08-27 09:33:47 +08:00