X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fdocs%2Fapi.yaml;h=bd1ba6867e9f74149526edc683f77cd80be98316;hb=refs%2Fchanges%2F43%2F2843%2F3;hp=a2f1b57c47165200fb62f3c2cd18c6e70542c59d;hpb=136e826cabebb7e4188c68ec118bb11632f8139a;p=nonrtric.git diff --git a/policy-agent/docs/api.yaml b/policy-agent/docs/api.yaml index a2f1b57c..bd1ba686 100644 --- a/policy-agent/docs/api.yaml +++ b/policy-agent/docs/api.yaml @@ -425,7 +425,7 @@ paths: - name: type in: query description: type - required: true + required: false type: string responses: '200': @@ -444,10 +444,6 @@ paths: description: RIC or policy type is not found schema: type: string - '405': - description: Change is not allowed - schema: - type: string '423': description: RIC is locked schema: @@ -762,7 +758,7 @@ paths: post: tags: - Service registry and supervision - summary: Keep the policies alive for a service + summary: Heartbeat from a serice operationId: keepAliveServiceUsingPOST consumes: - application/json @@ -776,7 +772,7 @@ paths: type: string responses: '200': - description: Policies timeout supervision refreshed + description: 'Service supervision timer refreshed, OK' schema: type: string '201': @@ -874,11 +870,11 @@ definitions: properties: callbackUrl: type: string - description: callback for notifying of RIC recovery + description: callback for notifying of RIC synchronization keepAliveIntervalSeconds: type: integer format: int64 - description: keep alive interval for policies owned by the service. 0 means no timeout supervision. Polcies that are not refreshed within this time are removed + description: 'keep alive interval for the service. This is a heartbeat supervision of the service, which in regular intevals must invoke a ''keepAlive'' REST call. When a service does not invoke this call within the given time, it is considered unavailble. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means no timeout supervision.' serviceName: type: string description: identity of the service @@ -888,7 +884,7 @@ definitions: properties: callbackUrl: type: string - description: callback for notifying of RIC recovery + description: callback for notifying of RIC synchronization keepAliveIntervalSeconds: type: integer format: int64 @@ -896,9 +892,8 @@ definitions: serviceName: type: string description: identity of the service - timeSincePingSeconds: + timeSinceLastActivitySeconds: type: integer format: int64 description: time since last invocation by the service title: ServiceStatus -