赵延
508aa9302a
fix response desc always null ( #4504 )
2020-12-17 10:05:31 +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
杨翊 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
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
杨翊 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
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
杨翊 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
杨翊 SionYang
8f009b30bd
Add metadata dump and load jraft snapshot ( #4367 )
...
* Metadata support dump and load raft snapshot
* Fix metadata serialize error for hessian
* For checkstyle
2020-11-30 19:14:12 +08:00
nov.lzf
ad98020770
负载均衡bugfix;监听并发问题bugfix;direct memory泄漏bugfix ( #4365 )
...
* memory gc optimize ; string pool bugfix
* grpc executor
* grpc executor
* 负载均衡bugfix;监听并发问题bugfix;direct memory泄漏bugfix
* check style fix
2020-11-30 16:17:34 +08:00
paderlol
c1e4068dfe
Add the function of automatically clearing empty services ( #4363 )
...
* Add the function of automatically clearing empty services
* Fix checkstyle issue
* Delete the remove event of the service
* Fix checkstyle issue
2020-11-30 15:23:25 +08:00
iochenlei
149ba91966
fix styles at the button '新建命名空间' ( #4362 )
2020-11-30 09:58:25 +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
杨翊 SionYang
ba93573eb1
Refactor auto cleaner to adapt clean metadata ( #4354 )
...
* Add Auto clean expired metadata
* Refactor and move old EmptyServiceAutoCleaner
2020-11-27 17:03:17 +08:00
mai.jh
f78bef9665
[ISSUE-#4333]Add MapRowMapper to RowMapperManager ( #4334 )
...
* for #4311,Fixed Derby data source related SQL LIMIT exception.
* Revert "for #4311,Fixed Derby data source related SQL LIMIT exception."
This reverts commit 49188f14
* fix #4333 .
* Remove case conversion.
2020-11-27 10:10:11 +08:00
赵延
67a0ba3f8f
[ISSUE-#4342] Fix nacos.core.protocol.raft.data.read_index_type isn't effect ( #4343 )
...
* fix nacos.core.protocol.raft.data.read_index_type=ReadOnlyLeaseBased isn't effect and enhance log hint
* define ReadOnlyOption param name just by self
2020-11-26 23:56:42 +08:00
杨翊 SionYang
826450532e
Move namespace cache to ServiceManager ( #4345 )
2020-11-26 20:53:20 +08:00
邪影oO
85bdc1e644
Upgrade jraft to 1.3.5 ( #4339 )
...
* 升级jraft到1.3.5以支持IPv6, 调整 NamingUtilsTest 代码格式以解决checkstyle问题
* 删除测试类的类注释
2020-11-26 18:33:18 +08:00
赵延
dc266b03bc
[ISSUE-#4258] Fix wrong path when -Dspring.config.location not set ( #4259 )
...
* fix spring.config.location is nullapplication.properties when -Dspring.config.location is not set in env
* fix wrong path when -Dspring.config.location not set
* modify default file resource method name
* fix "/" magic value
* change the way of get file
* not judge pathSplit by self, use Paths.get(a, b);
* when spring.config.location is not set, use {nacos.home}/conf/application.properties to cover it.
* refactor code
* code quality enhance
* just use two level to load conf. {spring.config.location}/application.properties -> classpath:/application.properties
* code clean
2020-11-25 17:02:21 +08:00
Mark4z
6ad8da4f68
fix service list can not search by groupName only ( #4308 )
...
* fix service list can not search by groupName only
* fix service list can not search by groupName only
* fix checkStyle
* add ut for NamingUtils
2020-11-25 15:01:18 +08:00
liaochuntao
70a26959e3
[ISSUE #4320 ] Fixing the Naming consistency module could not start in cluster mode ( #4321 )
...
* refactor: refactor issue #4291
* fix: fixing the Naming consistency module could not start in cluster mode
2020-11-25 11:10:09 +08:00
孙继峰
c8d46a6046
[ISSUE-#4310] Delete the main function only for testing ( #4312 )
2020-11-24 13:22:22 +08:00
mai.jh
3bf8844992
[ISSUE #4311 ] Fix Derby data source related SQL LIMIT exception ( #4313 )
...
* for #4311,Fixed Derby data source related SQL LIMIT exception.
* fix code style.
* code format.
2020-11-24 13:21:15 +08:00
赵延
7f2a3307d6
[ISSUE-#4256] Just inject environment in StartingSpringApplicationRunListener ( #4257 )
...
* just inject environment in StartingSpringApplicationRunListener
* make nacosStartingListener is decoupling with springApplicationRunListener.
* add api doc
* refactor. transfer nacos listeners to SpringApplicationRunListener.
* remove unuseful import
* add doc info
2020-11-24 11:17:13 +08:00
赵延
3d97e36785
when auth open, use resource parser cache, not use reflect newInstance every time. ( #4287 )
2020-11-23 13:51:13 +08:00
zhuhao
b7b7b1975f
refactor issue #4275 ( #4299 )
2020-11-23 13:50:14 +08:00
赵延
a3597de1bc
remove env operation code in ApplicationUtils ( #4298 )
2020-11-23 13:44:28 +08:00
liaochuntao
a43bf8fcfb
refactor: refactor issue #4291 ( #4292 )
2020-11-23 09:49:08 +08:00
赵延
8500279c79
[ISSUE-#4294] Use EnvUtils.setEnvironment to replace ApplicationUtils.injectEnvironment ( #4295 )
...
* use EnvUtils.setEnvironment to replace ApplicationUtils.injectEnvironment.
* remove unuseful import
* remove unuseful import
2020-11-21 19:03:51 +08:00