aboutsummaryrefslogtreecommitdiffstats
path: root/docs/offeredapis
diff options
context:
space:
mode:
authorJohnKeeney <john.keeney@est.tech>2022-05-12 22:15:14 +0100
committerJohnKeeney <john.keeney@est.tech>2022-05-12 22:15:25 +0100
commit069b469a3990f30b3a0012f3d9fde535ebf3149f (patch)
tree2e7964048e20c7e0c0c6b6bbfdb230d6d9ff2579 /docs/offeredapis
parentf5f34a552b1559d79a74ae9e3e79686d6b93af70 (diff)
Documentation updates
Updated RTD documentation, and fixed some typos in java files conatining annotations used to generate OpenAPI (json, yaml, html) specs & docs. Issue-ID: CCSDK-3616 Change-Id: Iefa905f4c0f13cb013872d4858232695fc107927 Signed-off-by: JohnKeeney <john.keeney@est.tech>
Diffstat (limited to 'docs/offeredapis')
-rw-r--r--docs/offeredapis/offeredapis.rst4
-rw-r--r--docs/offeredapis/swagger/a1-adapter-api.yaml2
-rw-r--r--docs/offeredapis/swagger/pms-api.json12
-rw-r--r--docs/offeredapis/swagger/pms-api.yaml30
4 files changed, 24 insertions, 24 deletions
diff --git a/docs/offeredapis/offeredapis.rst b/docs/offeredapis/offeredapis.rst
index 1ef7dd0c..28f00835 100644
--- a/docs/offeredapis/offeredapis.rst
+++ b/docs/offeredapis/offeredapis.rst
@@ -1,7 +1,7 @@
.. This work is licensed under a Creative Commons Attribution 4.0
International License.
.. http://creativecommons.org/licenses/by/4.0
-.. Copyright 2020 Nordix Foundation
+.. Copyright 2022 Nordix Foundation
.. _offered_apis:
@@ -12,7 +12,7 @@ Offered APIs
Introduction
------------
-The north bound REST API of the A1 Policy Management Service provides convenient methods to handle policies.
+The north-bound REST API of the A1 Policy Management Service provides convenient methods to handle A1 policies.
Overall architecture for O-RAN A1 Policy functions
diff --git a/docs/offeredapis/swagger/a1-adapter-api.yaml b/docs/offeredapis/swagger/a1-adapter-api.yaml
index 1db84156..65e1ebf5 100644
--- a/docs/offeredapis/swagger/a1-adapter-api.yaml
+++ b/docs/offeredapis/swagger/a1-adapter-api.yaml
@@ -8,7 +8,7 @@ info:
email: nonrtric@est.tech
description: >-
The O-RAN A1 Adapter provides an internal REST API for management of A1
- policices, useful for test and verification. <b>Note!</b> For production,
+ policies, useful for test and verification. <b>Note!</b> For production,
the
https://docs.onap.org/projects/onap-ccsdk-oran/en/latest/offeredapis/pms-api.html
should be used!
diff --git a/docs/offeredapis/swagger/pms-api.json b/docs/offeredapis/swagger/pms-api.json
index 2b8fb739..9fc8e7bb 100644
--- a/docs/offeredapis/swagger/pms-api.json
+++ b/docs/offeredapis/swagger/pms-api.json
@@ -79,7 +79,7 @@
},
"keep_alive_interval_seconds": {
"format": "int64",
- "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.",
+ "description": "keep alive interval for the service. This is a heartbeat supervision of the service, which in regular intervals must invoke a 'keepalive' REST call. When a service does not invoke this call within the given time, it is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means no timeout supervision.",
"type": "integer"
}
}
@@ -144,7 +144,7 @@
"description": "Policy type",
"type": "object",
"properties": {"policy_schema": {
- "description": "Policy type json scema. The schema is a json object following http://json-schema.org/draft-07/schema",
+ "description": "Policy type json schema. The schema is a json object following http://json-schema.org/draft-07/schema",
"type": "object"
}}
},
@@ -335,7 +335,7 @@
}},
"/a1-policy/v2/rics/ric": {"get": {
"summary": "Returns info for one Near-RT RIC",
- "description": "Either a Near-RT RIC identity or a Mananged Element identity can be specified.<br>The intention with Mananged Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).",
+ "description": "Either a Near-RT RIC identity or a Managed Element identity can be specified.<br>The intention with Managed Element identity is the ID used in O1 for accessing the traffical element (such as the ID of CU).",
"operationId": "getRic",
"responses": {
"200": {
@@ -559,7 +559,7 @@
},
"/a1-policy/v2/services/{service_id}/keepalive": {"put": {
"summary": "Heartbeat indicates that the service is running",
- "description": "A registerred service must call this in regular intervals to indicate that it is in operation. Absence of this call will lead to that the service will be deregisterred and all its policies are removed.",
+ "description": "A registered service must call this in regular intervals to indicate that it is in operation. Absence of this call will lead to that the service will be deregistered and all its policies are removed.",
"operationId": "keepAliveService",
"responses": {
"200": {
@@ -798,7 +798,7 @@
"content": {"application/json": {"schema": {"$ref": "#/components/schemas/service_callback_info_v2"}}},
"required": true
},
- "description": "The URL to this call is registerred at Service registration.",
+ "description": "The URL to this call is registered at Service registration.",
"operationId": "serviceCallback",
"responses": {"200": {
"description": "OK",
@@ -867,7 +867,7 @@
"name": "Copyright (C) 2020-2022 Nordix Foundation. Licensed under the Apache License.",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
},
- "description": "<h2>General<\/h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for management of A1 policices. <br/>The main tasks of the service are:<\/p><ul><li>A1 Policy creation, modification and deletion.<\/li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs<\/li><li>Maintaining a view of supported Near-RT RIC policy types<\/li><li>Supervision of using services (R-APPs). When a service is unavailble, its policies are removed.<\/li><\/ul><h2>APIs provided by the service<\/h2><h3>A1 Policy Management<\/h3><p>This is an API for management of A1 Policies.<\/p><ul><li>A1 Policy retrieval, creation, modification and deletion.<\/li><li>Retrieval of supported A1 Policy types for a Near-RT RIC<\/li><li>Retrieval of status for existing A1 policies<\/li><\/ul><h3>Management of configuration<\/h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.<\/p><h3>Callbacks<\/h3><p>These are endpoints that are invoked by this service. The callbacks are registerred in this service at service registration.<\/p><h3>NearRT-RIC Repository<\/h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.<\/p><h3>Health Check<\/h3><p>API used for supervision of the PMS component.<\/p><h3>Service Registry and Supervision<\/h3><p>API used for registerring services that uses PMS. Each A1 policy is owned by a service. PMS can supervise each registerred service and will automatically remove policies for unavailable services.<\/p>",
+ "description": "<h2>General<\/h2><p>The O-RAN Non-RT RIC Policy Management Service provides a REST API for management of A1 policies. <br/>The main tasks of the service are:<\/p><ul><li>A1 Policy creation, modification and deletion.<\/li><li>Monitoring and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs<\/li><li>Maintaining a view of supported Near-RT RIC policy types<\/li><li>Supervision of using services (R-APPs). When a service is unavailable, its policies are removed.<\/li><\/ul><h2>APIs provided by the service<\/h2><h3>A1 Policy Management<\/h3><p>This is an API for management of A1 Policies.<\/p><ul><li>A1 Policy retrieval, creation, modification and deletion.<\/li><li>Retrieval of supported A1 Policy types for a Near-RT RIC<\/li><li>Retrieval of status for existing A1 policies<\/li><\/ul><h3>Management of configuration<\/h3><p>API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.<\/p><h3>Callbacks<\/h3><p>These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.<\/p><h3>NearRT-RIC Repository<\/h3><p>This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one Near-RT RIC.<\/p><h3>Health Check<\/h3><p>API used for supervision of the PMS component.<\/p><h3>Service Registry and Supervision<\/h3><p>API used for registering services that uses PMS. Each A1 policy is owned by a service. PMS can supervise each registered service and will automatically remove policies for unavailable services.<\/p>",
"title": "A1 Policy management service",
"version": "1.1.0"
},
diff --git a/docs/offeredapis/swagger/pms-api.yaml b/docs/offeredapis/swagger/pms-api.yaml
index 958ec0d4..3fd496bd 100644
--- a/docs/offeredapis/swagger/pms-api.yaml
+++ b/docs/offeredapis/swagger/pms-api.yaml
@@ -2,23 +2,23 @@ openapi: 3.0.1
info:
title: A1 Policy management service
description: <h2>General</h2><p>The O-RAN Non-RT RIC Policy Management Service provides
- a REST API for management of A1 policices. <br/>The main tasks of the service
- are:</p><ul><li>A1 Policy creation, modification and deletion.</li><li>Monitoring
- and maintaining consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining
+ a REST API for management of A1 policies. <br/>The main tasks of the service are:</p><ul><li>A1
+ Policy creation, modification and deletion.</li><li>Monitoring and maintaining
+ consistency of the SMO view of A1 policies and the Near-RT RICs</li><li>Maintaining
a view of supported Near-RT RIC policy types</li><li>Supervision of using services
- (R-APPs). When a service is unavailble, its policies are removed.</li></ul><h2>APIs
+ (R-APPs). When a service is unavailable, its policies are removed.</li></ul><h2>APIs
provided by the service</h2><h3>A1 Policy Management</h3><p>This is an API for
management of A1 Policies.</p><ul><li>A1 Policy retrieval, creation, modification
and deletion.</li><li>Retrieval of supported A1 Policy types for a Near-RT RIC</li><li>Retrieval
of status for existing A1 policies</li></ul><h3>Management of configuration</h3><p>API
for updating and retrieval of the component configuration. Note that there other
ways to maintain the configuration.</p><h3>Callbacks</h3><p>These are endpoints
- that are invoked by this service. The callbacks are registerred in this service
+ that are invoked by this service. The callbacks are registered in this service
at service registration.</p><h3>NearRT-RIC Repository</h3><p>This is an API that
provides support for looking up a NearRT-RIC. Each A1 policy is targeted for one
Near-RT RIC.</p><h3>Health Check</h3><p>API used for supervision of the PMS component.</p><h3>Service
- Registry and Supervision</h3><p>API used for registerring services that uses PMS.
- Each A1 policy is owned by a service. PMS can supervise each registerred service
+ Registry and Supervision</h3><p>API used for registering services that uses PMS.
+ Each A1 policy is owned by a service. PMS can supervise each registered service
and will automatically remove policies for unavailable services.</p>
license:
name: Copyright (C) 2020-2022 Nordix Foundation. Licensed under the Apache License.
@@ -152,8 +152,8 @@ paths:
tags:
- NearRT-RIC Repository
summary: Returns info for one Near-RT RIC
- description: Either a Near-RT RIC identity or a Mananged Element identity can
- be specified.<br>The intention with Mananged Element identity is the ID used
+ description: Either a Near-RT RIC identity or a Managed Element identity can
+ be specified.<br>The intention with Managed Element identity is the ID used
in O1 for accessing the traffical element (such as the ID of CU).
operationId: getRic
parameters:
@@ -434,9 +434,9 @@ paths:
tags:
- Service Registry and Supervision
summary: Heartbeat indicates that the service is running
- description: A registerred service must call this in regular intervals to indicate
+ description: A registered service must call this in regular intervals to indicate
that it is in operation. Absence of this call will lead to that the service
- will be deregisterred and all its policies are removed.
+ will be deregistered and all its policies are removed.
operationId: keepAliveService
parameters:
- name: service_id
@@ -742,7 +742,7 @@ paths:
tags:
- Callbacks
summary: Callback for Near-RT RIC status
- description: The URL to this call is registerred at Service registration.
+ description: The URL to this call is registered at Service registration.
operationId: serviceCallback
requestBody:
content:
@@ -897,9 +897,9 @@ components:
keep_alive_interval_seconds:
type: integer
description: keep alive interval for the service. This is a heartbeat supervision
- of the service, which in regular intevals must invoke a 'keepalive' REST
+ of the service, which in regular intervals 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
+ it is considered unavailable. An unavailable service will be automatically
deregistered and its policies will be deleted. Value 0 means no timeout
supervision.
format: int64
@@ -955,7 +955,7 @@ components:
properties:
policy_schema:
type: object
- description: Policy type json scema. The schema is a json object following
+ description: Policy type json schema. The schema is a json object following
http://json-schema.org/draft-07/schema
description: Policy type
policytype_id_list_v2: