hunjipo
cdc276e829
To slightly improve performance, this commit switches to StringBuilder.append(char) instead of StringBuilder.append(String) whenever we append a single character to a StringBuilder. ( #6300 )
2021-07-12 13:51:14 +08:00
ZZQ的
3e67058362
[ISSUE #6252 ] replace *commons.lang3*.*Utils to com.alibaba.nacos.common.utils.*Utils ( #6259 )
2021-07-05 10:08:09 +08:00
realJackSun
ac3280aa5b
[fix5986] Fix unit tests in nacos-address ( #5997 )
2021-06-08 13:28:40 +08:00
孙继峰
15c71831e7
[ISSUE #5765 ] fix localhost not match ip ( #5852 )
...
* rename IPUitl to InternetAddressUtil
* move isDomain to InternetAddressUtil
* [ISSUE #5765 ] fix localhost not match ip
* fix typo
* delete the verification IP, follow the single responsibility principle
2021-05-27 19:01:39 +08:00
brotherlu-xcq
624646980c
[ISSUE #5766 ] improve the code quality of nacos-address ( #5790 )
...
* [code quality] [nacos-config] [all content] fix the ResponseEntity, the if nest optimize.
* [code quality] [nacos-address] [utils] rollback logic
2021-05-20 11:08:48 +08:00
KomachiSion
92da848375
Merge remote-tracking branch 'upstream/develop' into merge-1.X-to-2.0
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java
# client/src/main/java/com/alibaba/nacos/client/config/impl/CacheData.java
# client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java
# client/src/main/java/com/alibaba/nacos/client/naming/core/PushReceiver.java
# console/src/main/resources/static/css/main.css
# console/src/main/resources/static/js/main.js
# naming/src/main/java/com/alibaba/nacos/naming/core/SubscribeManager.java
# naming/src/test/java/com/alibaba/nacos/naming/core/SubscribeManagerTest.java
# test/src/test/java/com/alibaba/nacos/test/BaseTest.java
2021-04-27 15:57:24 +08:00
孙继峰
da3a1ea796
[ISSUE #5380 ] Use assert instead of System.out ( #5472 )
...
* use assert instead of System.out
* move test case, there is no file named ParamCheckUtil.java
2021-04-25 10:03:28 +08:00
KomachiSion
e56eb3680c
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# api/pom.xml
# client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# client/src/main/java/com/alibaba/nacos/client/naming/core/HostReactor.java
# client/src/main/java/com/alibaba/nacos/client/naming/remote/http/NamingHttpClientProxy.java
# client/src/test/java/com/alibaba/nacos/client/naming/core/HostReactorTest.java
# common/src/main/java/com/alibaba/nacos/common/notify/NotifyCenter.java
# core/pom.xml
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HttpHealthCheckProcessor.java
# naming/src/main/java/com/alibaba/nacos/naming/web/DistroFilter.java
# pom.xml
2020-11-20 17:13:49 +08:00
邪影oO
538509502f
IPv6 support ( #3773 )
...
* IPv6 support
* AddressServerParamCheckUtil 合并到 IpUtil 及一些修改
* 解决魔法值
* 修改隐患
* 调整使用了类似 ip.indexOf(":") 查找是否有端口的地方的逻辑, 一些 ":" 替换为常量
* 删除无用测试
* IpUtil 改名 为 IPUtil, 涉及IP的相关方法名修改,涉及到的调用修改,检测IP的地方调用的isIPv4改为isIP. 修改涉及IP的字段长度及相关升级更新的sql
* no message
* no message
* no message
* no message
* 获取本机IP时,如果本机IP是IPv6并且包含网卡信息(V6地址中最后面的百分号和百分号后面的内容)则去除网卡信息
* 解决 AvoidComplexConditionRule(请不要在条件中使用复杂的表达式)
* 移除无用代码
* 添加注释
* 调整code style, 调整获取本机IP的逻辑
2020-11-05 20:15:06 +08:00
nov.lzf
d83a4b12b3
ak auth support on long connection ( #3821 )
2020-09-14 16:47:59 +08:00
mai.jh
526e2bc130
[ISSUE #3566 ] move the permission code of nacos-core module to nacos-auth module ( #3593 )
...
* move the permission code of nacos-core module to nacos-auth module.
* Fix some code style issues
* address server module auth package name change.
* test change
* Incorrect package name correction
2020-08-14 09:50:05 +08:00
杨翊 SionYang
f377c199d5
[ISSUE#3091] Fix address server can't start up by implement an empty auth manager. ( #3456 )
...
* Fix #3091 by empty auth manager.
* Fix #3091 by empty auth manager.
* Use conditional to solve bean conflict
2020-07-31 14:53:12 +08:00
杨翊 SionYang
8c9622fbda
[ISSUE #2992 ] Use new code style for nacos-address module. ( #3239 )
...
* reformat with new code style for nacos-address
* Use new code style for nacos-address module.
2020-07-03 17:30:31 +08:00
KomachiSion
e44c86a1a0
For #2873 , unified copyrights for nacos-address.
2020-06-12 15:30:33 +08:00
zhouhailin
2efe317597
FIX ISSUE #3007 : MaxHistory字段名称和Nacos默认的命名风格不统一
2020-06-09 23:02:18 +08:00
KomachiSion
8c5bcd8715
Replace fastjson with jackson for health checker.
2020-05-25 16:12:04 +08:00
shenggangshu
1082539d89
refactor #2134 optimization code
2019-12-03 18:45:10 +08:00
nkorange
c431a852b5
#2018 Close inpuststream instead of connection.
2019-11-07 16:02:01 +08:00
nkorange
225f0cae51
Fix findbugs
2019-10-22 17:05:48 +08:00
得少
b2253301c3
1. Optimize code design and comment
...
2. Optimize address server repacakge
2019-07-05 11:05:37 +08:00
得少
48918cbbc7
change the design for nacos address
2019-07-04 21:50:43 +08:00
得少
c453e2130d
Compatible with stand-alone mode
2019-07-02 15:15:49 +08:00
得少
7336a8b7f5
fix #1458
...
support address server mode ,so nacos client will use the endpoint to initializer
2019-07-01 23:08:08 +08:00