States of the services about which to report events. If the event is
@@ -656,6 +657,7 @@ components:
-state
-transportInfo
-serializer
-_links
properties:
serInstanceId:
$ref:'#/components/schemas/SerInstanceId'
@@ -685,6 +687,21 @@ components:
Indicate whether the service is located in the same locality (as defined
by scopeOfLocality) as the consuming MEC application.
type:boolean
livenessInterval:
type:integer
description:Interval (in seconds) between two consecutive "heartbeat" messages (see clause 8.2.10.3.3).
If the service-producing application supports sending "heartbeat" messages, it shall include this attribute in the registration request. In this case, the application shall either set the value of this attribute to zero or shall use this attribute to propose a non-zero positive value for the liveness interval.
If the application has provided this attribute in the request and the MEC platform requires "heartbeat" messages, the MEC platform shall return this attribute value in the HTTP responses. The MEC platform may use the value proposed in the request or may choose a different value.
If the MEC platform does not require "heartbeat" messages for this service instance it shall omit the attribute in responses.
_links:
type:object
required:
-self
properties:
self:
$ref:'#/components/schemas/LinkType'
liveness:
$ref:'#/components/schemas/LinkType'
example:
serInstanceId:'rnisInstance1'
serName:'myRnis'
@@ -707,6 +724,36 @@ components:
-'https://my.callback.com/sandboxname/rni/v2/'
serializer:'JSON'
scopeOfLocality:'MEC_SYSTEM'
ServiceLivenessInfo:
type:object
required:
-state
-timeStamp
-interval
properties:
state:
$ref:'#/components/schemas/ServiceState'
timeStamp:
type:object
description:The time when the last "heartbeat" message was received by MEC platform
required:
-seconds
-nanoSeconds
properties:
seconds:
type:integer
nanoSeconds:
type:integer
interval:
type:integer
description:The interval (in seconds) between two consecutive "heartbeat" messages (see clause 8.2.10.3.3) that MEC platform has determined.