parameters:
- name: ric
in: query
- description: ric
+ description: The name of the Near-RT RIC to get policies for.
required: false
type: string
+ allowEmptyValue: false
- name: service
in: query
- description: service
+ description: The name of the service to get policies for.
required: false
type: string
+ allowEmptyValue: false
- name: type
in: query
- description: type
+ description: The name of the policy type to get policies for.
required: false
type: string
+ allowEmptyValue: false
responses:
'200':
description: Policies
parameters:
- name: id
in: query
- description: id
+ description: The ID of the policy instance.
required: true
type: string
+ allowEmptyValue: false
responses:
'200':
description: Policy found
parameters:
- name: id
in: query
- description: id
+ description: The ID of the policy instance.
required: true
type: string
+ allowEmptyValue: false
- in: body
name: jsonBody
description: jsonBody
type: object
- name: ric
in: query
- description: ric
+ description: The name of the Near-RT RIC where the policy will be created.
required: true
type: string
+ allowEmptyValue: false
- name: service
in: query
- description: service
+ description: The name of the service creating the policy.
required: true
type: string
+ allowEmptyValue: false
+ - name: transient
+ in: query
+ description: If the policy is transient or not (boolean defaulted to false). A policy is transient if it will be forgotten when the service needs to reconnect to the Near-RT RIC.
+ required: false
+ type: boolean
+ default: false
+ allowEmptyValue: false
+ x-example: false
- name: type
in: query
- description: type
+ description: The name of the policy type.
required: false
type: string
+ allowEmptyValue: false
responses:
'200':
description: Policy updated
schema:
type: string
'423':
- description: RIC is locked
+ description: RIC is not operational
schema:
type: string
deprecated: false
parameters:
- name: id
in: query
- description: id
+ description: The ID of the policy instance.
required: true
type: string
+ allowEmptyValue: false
responses:
'200':
description: OK
schema:
type: string
'423':
- description: RIC is locked
+ description: RIC is not operational
schema:
type: string
deprecated: false
parameters:
- name: ric
in: query
- description: ric
+ description: The name of the Near-RT RIC to get policies for.
required: false
type: string
+ allowEmptyValue: false
- name: service
in: query
- description: service
+ description: The name of the service to get policies for.
required: false
type: string
+ allowEmptyValue: false
- name: type
in: query
- description: type
+ description: The name of the policy type to get policies for.
required: false
type: string
+ allowEmptyValue: false
responses:
'200':
description: Policy ids
parameters:
- name: id
in: query
- description: id
+ description: The ID of the policy type to get the definition for.
required: true
type: string
+ allowEmptyValue: false
responses:
'200':
description: Policy schema
parameters:
- name: ric
in: query
- description: ric
+ description: The name of the Near-RT RIC to get the definitions for.
required: false
type: string
+ allowEmptyValue: false
responses:
'200':
description: Policy schemas
parameters:
- name: id
in: query
- description: id
+ description: The ID of the policy.
required: true
type: string
+ allowEmptyValue: false
responses:
'200':
description: Policy status
parameters:
- name: ric
in: query
- description: ric
+ description: The name of the Near-RT RIC to get types for.
required: false
type: string
+ allowEmptyValue: false
responses:
'200':
description: Policy type names
parameters:
- name: managedElementId
in: query
- description: managedElementId
- required: false
+ description: The ID of the Managed Element
+ required: true
type: string
+ allowEmptyValue: false
responses:
'200':
description: RIC is found
parameters:
- name: policyType
in: query
- description: policyType
+ description: The name of the policy type
required: false
type: string
+ allowEmptyValue: false
responses:
'200':
description: OK
schema:
type: string
'400':
- description: Cannot parse the ServiceRegistrationInfo
+ description: The ServiceRegistrationInfo is not accepted
schema:
type: string
'401':
parameters:
- name: name
in: query
- description: name
+ description: The name of the service
required: false
type: string
+ allowEmptyValue: false
responses:
'200':
description: OK
parameters:
- name: name
in: query
- description: name
+ description: The name of the service
required: true
type: string
+ allowEmptyValue: false
responses:
'200':
description: OK
type: string
deprecated: false
/services/keepalive:
- post:
+ put:
tags:
- Service registry and supervision
summary: Heartbeat from a serice
- operationId: keepAliveServiceUsingPOST
+ operationId: keepAliveServiceUsingPUT
consumes:
- application/json
produces:
parameters:
- name: name
in: query
- description: name
+ description: The name of the service
required: true
type: string
+ allowEmptyValue: false
responses:
'200':
description: 'Service supervision timer refreshed, OK'
ricName:
type: string
description: identity of the ric
+ state:
+ type: string
+ description: state info
title: RicInfo
ServiceRegistrationInfo:
type: object
format: int64
description: time since last invocation by the service
title: ServiceStatus
-