shalk(xiao kun)
6d500c92ab
check group and dataId in groupKey ( #5100 )
2021-03-29 15:23:55 +08:00
shalk(xiao kun)
3dd7915aa6
fix MetricsHttpAgent metrics twice ( #5029 )
2021-03-10 11:24:03 +08:00
shalk(xiao kun)
63f7e337d9
fix TemplateUtils usage ( #5010 )
2021-03-05 09:33:53 +08:00
shalk(xiao kun)
f5a5fce4e1
Log4J2NacosLogging.loadConfiguration() return directly When location is blank ( #4980 )
2021-03-02 18:10:13 +08:00
JackSun-Developer
c455a900d9
[ISSUE #3876 ] [NA] failed to update serviceName: DEFAULT_GROUP@@prod-zipkin ( #4866 )
2021-02-04 11:46:48 +08:00
shalk(xiao kun)
d4d245f2cc
make SecurityProxy.accessToken threadsafe in single writer multi reader ( #4778 )
2021-01-26 19:37:27 +08:00
杨翊 SionYang
a67f6b5854
Use SafeConstructor to parse yaml configuration for AbstractConfigChangeListener ( #4753 )
2021-01-20 11:13:31 +08:00
杨翊 SionYang
1bd67269cd
Use revision to set version and upgrade to 1.4.2-SNAPSHOT ( #4711 )
...
* Use revision set version
* Use revision set version
* Add flatten plugin
2021-01-15 14:37:47 +08:00
杨翊 SionYang
67eb36976e
Upgrade to 1.4.1 ( #4695 )
2021-01-14 11:36:57 +08:00
赵延
e2f7796d3a
[ISSUE-#3880] NamingService Client support pushEmptyProtection. ( #4665 )
...
* NamingService Client support pushEmptyProtection.
* check hosts is null. if null, also invalid.
2021-01-12 09:48:27 +08:00
赵延
a4e3b7cbc7
[ISSUE-#4631] Free credential instance when serverHttpAgent shutdown. ( #4634 )
...
* free credential instance when serverHttpAgent shutdown.
* free credential instance when namingProxy shutdown.
* unify the code place
* cancel timer when CredentialWatcher stop
* ignore PMD.AvoidUseTimerRule.
2021-01-11 09:59:44 +08:00
horizonzy
8b6cb8c612
Just choose one between nacosDomain mode and servers mode.
2021-01-10 16:37:23 +08:00
onewe
79fddc36c2
[ISSUE-#4631] Remove timer,Use ScheduledThreadPoolExecutor replaced. ( #4635 )
...
* fix(CredentialWatcher): 使用ScheduledThreadPoolExecutor替代Timer
* enhance(CredentialWatcher): use ExecutorFactory replace ScheduledThreadPoolExecutor.
* enhance(CredentialWatcher): use ExecutorFactory.Managed replace ExecutorFactory.
* enhance(CredentialWatcher): remove Managed
2021-01-08 09:40:18 +08:00
mai.jh
2af6784f55
for #4594,#4594 Fix IO close problem. ( #4606 )
2020-12-31 15:48:26 +08:00
xujingfeng
5236287fdb
[ISSUE #4583 ] Fix DOMAIN mode retry logic ( #4584 )
...
* fix namingProxy domain retry logic; add retry param namingRequestDomainMaxRetryCount
* add maxRetry param
2020-12-28 09:40:10 +08:00
mai.jh
a2ea808b7d
[ISSUE-#4567] Refactor nacos-client Load Logging Configuration code. ( #4572 )
...
* for #4567 , refactor nacos-client logging load Configuration code.
* Modify exception handling.
* When customizing AbstractNacosLogging Load Configuration Fail, use the default Logging Load Configuration.
* NacosLogging has been modified to a single-column mode.
2020-12-26 13:18:30 +08:00
赵延
30a04f98ba
check illegal heart beat param when before register ( #4514 )
2020-12-21 10:07:43 +08:00
wangxw
350be0669e
cacheDataMap ( #4445 )
2020-12-12 17:00:41 +08:00
Gagharv
aa4737f4bc
[ISSUE-#4181] Normalize ContextPath value in client-side ( #4326 )
...
* [ISSUE-#4181] Just use ContextPathUtil normalize ContextPath value
* [ISSUE-#4181] add some test cases
2020-11-27 23:41:22 +08:00
shizhengxing
daf593823a
[ISSUE #4136 ] Fix the bug that cann't correctlly instantiate ServiceInfo from cache file #4249 ( #4272 )
2020-11-20 09:15:41 +08:00
赵延
5c38d0b5b8
[ISSUE-#4115] Refactor client naming event handle logic ( #4137 )
...
* refactor and supply api to async handle instances change event
* add async handle way to callback event listener
* refactor EventListener, supply getExecutor to handle event async and compatible old version.
* remove unnecessary code
* ignore abstract class name check
* fix EmptyLineSeparator
* remove unuseful import
* compatible old client sdk, add abstractEventListener to support async handle naming event.
* remove unuseful import
* refactor InstanceChangeListener. decouple AbstractEventListener's executor and InstanceChangeListener's executor
* 1.remove key if listeners is empty.
2.fix getSubscribeServices
* revert notify center code
* code quality enhance
* upgrade @since 1.4.0 -> 1.4.1
* change combineListenKey to ServiceInfo.getKey
* just deregisterSubscriber when hostReactor shutdown
* not export getSubscribers()
* add this key word, and move code place.
2020-11-13 11:58:12 +08:00
赵延
39a2f20d56
[ISSUE #3907 ] when publishConfig, if type is absent, set default value 'text' ( #3915 )
...
* when publishConfig, if type is absent, set default value 'text'
* 1.add publishConfig api(add param type)
2.check type is valid in nacos server
2020-11-09 11:36:50 +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
杨翊 SionYang
ccea6ee112
Upgrade to 1.4.1-SNAPSHOT ( #4135 )
2020-11-05 09:43:33 +08:00
mai.jh
796849b17d
refactor: delete the old http client code marked as @Deprecated ( #4122 )
2020-11-05 09:10:30 +08:00
KomachiSion
adbcb7549d
Upgrade to 1.4.0
2020-11-02 19:09:19 +08:00
杨翊 SionYang
164ad3a8b9
Revert "for #3621 ( #3668 )" ( #3999 )
...
This reverts commit 29ba11eb
to fix #3992
2020-10-16 11:19:52 +08:00
JackSun-Developer
7527d76743
[ISSUE #3576 ] [Enhancement] Adding the destroy lifecycle method on NamingMaintainService ( #3985 )
2020-10-14 10:17:06 +08:00
JackSun-Developer
714b9671a3
[ISSUE#3533] change cache dir with namespace -- part 2: unify the log dir ( #3882 )
2020-10-12 11:25:06 +08:00
JackSun-Developer
17be3984e7
[ISSUE#3533] change cache dir with namespace -- part 1: unify the cache dir ( #3859 )
2020-10-12 11:24:22 +08:00
赵延
f6c6a9f3b2
[ISSUE #3850 ] ignore socket exception when client destroy already ( #3906 )
...
* if client destroy already, ignore socket exception.
* remove the exception's judgement
* remove unuseful import
2020-09-30 13:14:42 +08:00
ljhrot
7902b22e05
Fix chinese string are truncated in ConcunrrentDiskUtil ( #3883 )
2020-09-22 20:42:13 +08:00
赵延
f01cd59bf7
[ISSUE #3867 ] replace the way which get version ( #3872 )
...
* replace the way which get version
* remove version sign application.properties in nacos-api
2020-09-21 19:11:21 +08:00
yanlinly
f423d39d10
Revert "[ #3368 ]Cancel empty Long polling thread to improve performance. (#ISSUE3432)" ( #3778 )
...
This reverts commit 95c8bf242b
.
2020-09-08 10:00:46 +08:00
Gagharv
da8fa57f99
[ISSUE#3315]Nacos client support https ( #3654 )
...
* [ISSUE #3315 ] nacos client support https
* common module add tls related classes
* JdkHttpClientRequest support https
* unified IpUtils
* [ISSUE #3315 ] nacos client support https
* common module add tls related classes
* JdkHttpClientRequest support https
* unified IpUtils
* [ISSUE #3315 ] nacos client support https
* format code
2020-08-24 18:35:38 +08:00
syapollo
29ba11eb88
for #3621 ( #3668 )
2020-08-24 13:25:29 +08:00
Gagharv
3428d8830e
[ISSUE #3671 ] move some tools class into common package ( #3672 )
2020-08-24 13:24:56 +08:00
赵延
6e4b0c9c86
[ISSUE #3628 ] set naming client updateTask interval more flexible ( #3637 )
...
* 1.use server cacheMillis event service deleted
2.naming client UpdateTask's interval will inc by failCount that connect with server
* 1.move failCount to updateTask
2.redefine the updateService method name. updateServiceNow -> updateService, wrap updateService in updateServiceNow when first getServiceInfo
* 1.create push client even service is not exist
2.serviceInfo's hosts is empty or can't connect to server both add the updateTsk interval
* format the indent
2020-08-20 14:35:30 +08:00
mai.jh
136b45610d
refactor: unified implementation of http client api adjustment. ( #3639 )
2020-08-20 09:09:21 +08:00
Xarrow
1e5a597654
[ISSUE #3613 ] Fix unit test method not be static
& update publish config listener in ConfigTest.java
( #3614 )
...
* fix `unit test method not be static` & update publish config listener in `ConfigTest.java`
* fix `unit test method not be static` & update publish config listener in `ConfigTest.java`
2020-08-18 09:24:34 +08:00
杨翊 SionYang
0b73cfc769
Upgrade version to 1.4.0-SNAPSHOT ( #3549 )
2020-08-12 09:32:06 +08:00
sanxun0325
95c8bf242b
[ #3368 ]Cancel empty Long polling thread to improve performance. (#ISSUE3432)
...
* update clientWorker
* Upgrade 1.3.1 (#3294 )
update clientWorker
* add ClientWorkerTest
* add remove taskFlagMap
* update clientworker
* update taskIdSet ConcurrentHashSet
2020-08-05 17:20:53 +08:00
杨翊 SionYang
df4b006b36
Upgrade version to 1.3.2 ( #3512 )
2020-08-04 12:58:45 +08:00
杨翊 SionYang
1a22ae4c47
Fix checkstyle error ( #3467 )
...
Fix checkstyle error (#3467 )
2020-07-29 16:09:35 +08:00
mai.jh
75a06834f5
unified implementation of http client package division ( #3400 )
2020-07-21 14:53:03 +08:00
杨翊 SionYang
e5f0c368c9
Hotfix client sdk depend jdk7 charset. ( #3376 )
2020-07-18 23:01:32 +08:00
杨翊 SionYang
cda3f14230
Hotfix client sdk depend jdk7 charset. ( #3374 )
2020-07-18 16:36:10 +08:00
mai.jh
63a4e30ae6
[ISSUE #3224 ]nacos-client module http client replace ( #3348 )
...
* nacos-client module http client replace
* fix code style problem
* add HashMap initialCapacity
* fix code style problem
* Modify the header object, keep the original response header to avoid modifying the original logic code
* fix code style problem
* naming http client request exception messages output change
* Merge code
2020-07-18 14:42:02 +08:00
Hu Zongtang
9f12f76d6c
[ISSUE#2859]fix no throw exception when publish event but no subsciber. ( #3364 )
2020-07-17 16:12:32 +08:00
mai.jh
0163d2d0c7
fix : #3324 , Move http client close method to NamingProxy.shutdown() ( #3333 )
2020-07-15 14:12:44 +08:00