杨翊 SionYang
d8b52d188a
Add callback, simple retry and metric for naming push ( #4533 )
...
* Re-plan the package structure of naming.push
* Add callback and simple retry for push
* Add rpc push metric and refactor MetricsMonitor
2020-12-21 19:28:56 +08:00
赵延
638d89b70a
[ISSUE-3917] Enhance service detail console web, add metadata filter ( #4439 )
...
* add metadata filter at back-end of nacos naming console
* code enhance
* 添加input,tag等组件,初步布局
* 实现页面交互,可添加,删除filter
* 更新filter向后端发起请求获取数据
* 实现更新更改过滤条件,刷新表格
* 添加国际化配置
* 输入完后按空格直接添加,没输入的input给出响应
* 提交单元测试,更新打包后的静态资源
* 修改配置 解决生产环境上sourcemap不生效的问题
* 用hook重构组件InstanceFilter
* 多个集群各自使用过滤
* 解决多集群时,元数据过滤无法单独使用的问题
* revert backend code
* revert metadata filter test
* 只从客户端已获取到的实例中过滤
* 变动更新到打包后的mian.js
Co-authored-by: jzhishu <john1994@foxmail.com>
2020-12-21 10:19:42 +08:00
赵延
30a04f98ba
check illegal heart beat param when before register ( #4514 )
2020-12-21 10:07:43 +08:00
haoyann
1bc350b99a
fix derbyOps interface security problem ( #4517 )
2020-12-21 09:55:49 +08:00
neighbor-uncleWang
2f50f53da6
Fixed issue where null values could not be converted to base parameters ( #4527 )
2020-12-21 09:43:16 +08:00
赵延
c72cb016b4
Enhance log info and fix code checkstyle ( #4529 )
...
* 1.fix code checkstyle check
2.enhance disconnect log info
* log enhance
* revert line
2020-12-21 09:42:11 +08:00
赵延
04c5056f13
1.When the integer reach Integer.MAX, reset it. ( #4506 )
...
2.Format some log
3.Fix some typo
2020-12-17 10:12:48 +08:00
赵延
898c8fb3c8
Optimize PayloadRegistry#init ( #4505 )
...
* 1.remove unnecessary scan packages.
2.split request and response scan packages.
* append naming module package
2020-12-17 10:11:02 +08:00
赵延
508aa9302a
fix response desc always null ( #4504 )
2020-12-17 10:05:31 +08:00
liaochuntao
5b2d76fb34
[ISSUE #4364 ] Fix Cluster member state isn't updated to 'DOWN' after the node becomes down ( #4371 )
...
* fix: fix issue #4364
* refactor: fixed node changes that could not trigger event publishing
* fix: fixed a problem with frequent releases of events
2020-12-16 18:30:41 +08:00
杨翊 SionYang
7d9c103f0d
Fix can't query non-default-group problem for catalog API ( #4502 )
2020-12-16 17:28:36 +08:00
赵延
617c5e16b1
Fix RpcClientStatus description. ( #4497 )
...
* fix RpcClientStatus description.
* fix check style.
* revert it's doc
2020-12-16 17:02:46 +08:00
赵延
ba0c04dd3a
Format some log info ( #4495 )
...
* fix tb remoting name
* format log info
2020-12-16 10:44:36 +08:00
geek
97efd23b3e
refactor(console): add fuzzy tips ( #4488 )
...
* refactor(console): add fuzzy tips
add fuzzy tips ,add * in placeholder
Closes #4476
* refactor(console): add fuzzy tips for en-us
add fuzzy tips for en-us ,add * in placeholder
Closes #4476
* refactor(console): add better fuzzy tips for zh-cn and en-us
add better fuzzy tips for zh-cn and en-us in placeholder
Closes #4476
2020-12-16 09:52:51 +08:00
杨翊 SionYang
791d872073
Refactor udp push service ( #4492 )
...
* Rename PushExecuteService -> PushExecutor
* Move remote.handler to remote.rpc.handler
* Move out AckEntry and AckPacket
* Add UdpConnector in remoting
* Use new udp push to push service from v2.x to client v1.x
* Fix client v1.x subscriber status error in v2.x
2020-12-15 18:10:32 +08:00
赵延
2546f052e4
[ISSUE-#4467] Fix snowflake id problem ( #4468 )
...
* fix snowflake id problem
* revert code format
2020-12-15 12:56:05 +08:00
haoyann
ec99590500
fix service/list fromIndex > toIndex ( #4486 )
2020-12-15 12:55:46 +08:00
nov.lzf
caffec2d5b
rsocket parse bugfix; auth bugfix;some checkstyle and basic spell fix. ( #4473 )
...
* rsocket parse bugfix; auth bugfix;some checkstyle and basic spell fix.
* auth bugfix
2020-12-14 19:31:33 +08:00
赵延
6bf46e9c4d
[ISSUE-#4436] Fix parse label expression error problem ( #4465 )
...
* fix parse label expression error problem
* ignore VariableDeclarationUsageDistance checkstyle
* fix check style
2020-12-14 10:23:29 +08:00
liaochuntao
19a04bf90f
Merge pull request #4469 from haoyann/fix-4415
...
[ISSUE #4415 ] fix NOW_WATCH_JOB_CNT record WatchDirJob count
2020-12-13 21:38:22 +08:00
haoyann
b25b23e5f5
fix NOW_WATCH_JOB_CNT record WatchDirJob count
2020-12-13 19:51:33 +08:00
wangxw
350be0669e
cacheDataMap ( #4445 )
2020-12-12 17:00:41 +08:00
赵延
16fc8c5876
fix memberAddressInfos not right problem when memberChange ( #4451 )
2020-12-11 23:54:13 +08:00
杨翊 SionYang
91082afe37
Refactor PushService to separate subscriber logic. ( #4461 )
...
* Add Subscriber Service
* Remove deprecated method and classes
* Refactor PushService to separate subscriber logic.
2020-12-11 23:28:30 +08:00
杨翊 SionYang
93ef110998
Adapt all openAPI in for InstanceController. ( #4441 )
...
* Adapt get instance detail openAPI
* Adapt list statuses openAPI
* Adapt patch instance API
* For checkstyle.
2020-12-09 23:43:15 +08:00
杨翊 SionYang
81762c9817
Merge pull request #4438 from KomachiSion/feature_support_grpc_core
...
Adapt create service and delete service in ServiceController
2020-12-09 15:10:26 +08:00
KomachiSion
8d4397d54b
Save ephemeral status in service metadata.
2020-12-09 15:06:35 +08:00
KomachiSion
3026120c2b
Adapt create service and delete service in ServiceController
2020-12-09 15:06:35 +08:00
KomachiSion
8877bd3460
Fix the error in determining the type of deleted metadata
2020-12-09 15:06:35 +08:00
KomachiSion
cd7a2d0ce6
Fix the error in determining the type of deleted metadata
2020-12-09 15:06:35 +08:00
KomachiSion
59f38019a6
Fix Double instance when client reconnect
2020-12-09 15:06:35 +08:00
Brent
b8b57dc980
fix: 修复参数类型注释及单词拼写错误 ( #4419 )
2020-12-07 19:42:05 +08:00
KomachiSion
26c6720f4e
For checkstyle
2020-12-05 02:02:45 +08:00
liaochuntao
81d4a6d2fd
fix: fix bug ( #4411 )
2020-12-05 01:57:17 +08:00
KomachiSion
c8edd7de2e
revert distributionManagement
2020-12-04 23:39:24 +08:00
杨翊 SionYang
93a3ac7816
Upgrade to 2.0.0-ALPHA.1 ( #4410 )
...
* Add some new server config parameters
* Upgrade to 2.0.0-ALPHA.1
2020-12-04 18:46:24 +08:00
luoos
24b99aa16b
Fix an order-dependent flaky test ( #4384 )
...
[Problem]
testSerializeExtend add an item to a static mapper,
and testDeserializeExtend read that item from that static mapper.
So if testDeserializeExtend runs before testSerializeExtend,
testDeserializeExtend will fail.
@Ignore testSerializeExtend can stably reproduce this issue.
[Solution]
Add that item to the static mapper in @BeforeClass method
(Even though using static variables in unit tests is a bad practice)
2020-12-04 09:18:55 +08:00
赵延
0a07c0e788
code refactor ( #4394 )
2020-12-04 09:15:21 +08:00
赵延
1e39f39a91
when deleteFile, just check the file is exists. ( #4402 )
2020-12-04 09:12:54 +08:00
杨翊 SionYang
123d5f07f3
Merge pull request #4400 from KomachiSion/feature_support_grpc_core
...
Sync code from upstream/develop
2020-12-03 20:09:38 +08:00
KomachiSion
049b4e4e61
Sync code from upstream/develop
2020-12-03 20:06:12 +08:00
KomachiSion
d6fcac85c5
Merge remote-tracking branch 'upstream/develop' into feature_support_grpc_core
...
# Conflicts:
# client/src/main/java/com/alibaba/nacos/client/config/http/ServerHttpAgent.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingMaintainService.java
# client/src/main/java/com/alibaba/nacos/client/naming/NacosNamingService.java
# config/src/main/java/com/alibaba/nacos/config/server/auth/ConfigResourceParser.java
# config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigController.java
# config/src/main/java/com/alibaba/nacos/config/server/result/ResultBuilder.java
# core/src/main/java/com/alibaba/nacos/core/listener/StartingApplicationListener.java
# naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/ClientBeatCheckTask.java
# naming/src/main/java/com/alibaba/nacos/naming/healthcheck/HealthCheckCommon.java
# naming/src/main/java/com/alibaba/nacos/naming/web/NamingResourceParser.java
# sys/src/main/java/com/alibaba/nacos/sys/utils/ApplicationUtils.java
# test/src/test/java/com/alibaba/nacos/test/naming/AutoDeregisterInstance_ITCase.java
2020-12-03 18:41:41 +08:00
KomachiSion
f1ee1ba968
Fix some compatible problem for 1.x client ( #4397 )
...
* Adapt list service v1 open API
* Adapt push all logic
* Fix NPE if register Instance without metadata for v1.x.
* Add some comment for Metadata event
* Fix can't auto register instance after auto deregister when different service with same ip port.
2020-12-03 18:30:53 +08:00
杨翊 SionYang
37a6dd991d
Fix 1.X openAPI query can't auto add default group problem ( #4387 )
2020-12-02 16:30:29 +08:00
paderlol
4e0e6c6f97
Upgrade Nacos Api/Client modules to support JDK 1.8 compilation ( #4383 )
2020-12-02 10:49:07 +08:00
赵延
95c61beb6a
reuse cliClientService ( #4375 )
2020-12-01 23:16:18 +08:00
杨翊 SionYang
2728df72f2
Fix some bugs for naming module ( #4381 )
...
* use instance id get instance metadata
* Fix Disconnection can't notify to naming module.
* Support subscribe specified cluster instance for 1.x
* Fix 2.0 client subscribe service can't be notify problem
* Fix only can search the first service problem
* Fix auto clean empty service can't work problem
2020-12-01 21:31:18 +08:00
paderlol
0462644a3c
Naming global config unified use EnvUtils tool ( #4376 )
...
* Add the function of automatically clearing empty services
* Fix checkstyle issue
* Delete the remove event of the service
* Fix checkstyle issue
* Add some task configurations for cleaning
* Adjust the configuration to the Naming module
* Naming global config unified use EnvUtils tool
2020-12-01 20:16:20 +08:00
paderlol
f9826d3c9d
Add some task configurations for cleaning ( #4369 )
...
* Add the function of automatically clearing empty services
* Fix checkstyle issue
* Delete the remove event of the service
* Fix checkstyle issue
* Add some task configurations for cleaning
* Adjust the configuration to the Naming module
2020-12-01 12:03:54 +08:00
赵延
6ac6a6c7ed
[ISSUE-#4346] Fix import code ( #4347 )
...
* remove import.*
* transfer first_pre to final static variable
* use NamingBase.Xxx to replace constant
2020-11-30 19:17:27 +08:00