变更
This commit is contained in:
+8
-18
@@ -17,17 +17,6 @@ return [
|
||||
],
|
||||
'events' => [
|
||||
Constant::RECEIVE => [RpcJsonp::class, 'onReceive']
|
||||
],
|
||||
|
||||
|
||||
'consumers' => [
|
||||
'class' => TestRpcService::class,
|
||||
'name' => 'test-rpc',
|
||||
'package' => 'test',
|
||||
'register' => [
|
||||
'host' => '',
|
||||
'port' => ''
|
||||
]
|
||||
]
|
||||
],
|
||||
|
||||
@@ -37,6 +26,7 @@ return [
|
||||
"datacenter" => "dc1",
|
||||
"id" => "40e4a748-2192-161a-0510-9bf59fe950b5",
|
||||
"node" => "FriendRpcService",
|
||||
'class' => TestRpc::class,
|
||||
"skipNodeUpdate" => false,
|
||||
"service" => [
|
||||
"id" => "redis1",
|
||||
@@ -58,13 +48,13 @@ return [
|
||||
"port" => 8000
|
||||
],
|
||||
"check" => [
|
||||
"node" => "t2.320",
|
||||
"checkId" => "service:redis1",
|
||||
"name" => "Redis health check",
|
||||
"Annotations" => "Script based health check",
|
||||
"status" => "passing",
|
||||
"serviceID" => "redis1",
|
||||
"definition" => [
|
||||
"node" => "t2.320",
|
||||
"checkId" => "service:redis1",
|
||||
"name" => "Redis health check",
|
||||
"Annotations" => "Script based health check",
|
||||
"status" => "passing",
|
||||
"serviceID" => "redis1",
|
||||
"definition" => [
|
||||
"http" => "172.26.221.211:9527",
|
||||
"interval" => "5s",
|
||||
"timeout" => "1s",
|
||||
|
||||
Reference in New Issue
Block a user