From: saul.gill The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies. Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.' This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management: API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration. These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration. This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC. API used for supervision of the A1 Policy Management Service. API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then its A1 Policies are removed. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use. The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies. Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.' This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management: API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration. These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration. This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC. API used for supervision of the A1 Policy Management Service. API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be optionally monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then it is removed and all its A1 Policies are deleted. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use. The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies. Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.' This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management: API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration. These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration. This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC. API used for supervision of the A1 Policy Management Service. API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then its A1 Policies are removed. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use. The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies. Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.' This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management: API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration. These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration. This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC. API used for supervision of the A1 Policy Management Service. API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be optionally monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then it is removed and all its A1 Policies are deleted. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use. A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke some operation, or this operation, before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. This operation is only intended for registered services. (This timeout can be set or disabled when each service is initially registered) A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke some operation, or this operation, before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed and the service is deleted. This operation is only intended for registered services. (This timeout can be set or disabled when each service is initially registered). Unregistered services do not need to invoke this operation, since the optional keep-alive monitoring feature can only be enabled for registered services. The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies. Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.' This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management: API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration. These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration. This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC. API used for supervision of the A1 Policy Management Service. API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then its A1 Policies are removed. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use. The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies. Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.' This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management: API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration. These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration. This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC. API used for supervision of the A1 Policy Management Service. API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be optionally monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then it is removed and all its A1 Policies are deleted. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use. The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies. Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.' This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management: API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration. These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration. This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC. API used for supervision of the A1 Policy Management Service. API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then its A1 Policies are removed. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use. The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies. Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.' This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management: API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration. These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration. This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC. API used for supervision of the A1 Policy Management Service. API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be optionally monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then it is removed and all its A1 Policies are deleted. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use.
General
This document describes the latest API set to perform tasks for: APIs provided or defined by the service
A1 Policy Management
Management of configuration
Service Callbacks
NearRT-RIC Repository (Older version)
Health Check
Service Registry and Supervision
General
This document describes the latest API set to perform tasks for: APIs provided or defined by the service
A1 Policy Management
Management of configuration
Service Callbacks
NearRT-RIC Repository (Older version)
Health Check
Service Registry and Supervision
General
This document describes the latest API set to perform tasks for: APIs provided or defined by the service
A1 Policy Management
Management of configuration
Service Callbacks
NearRT-RIC Repository (Older version)
Health Check
Service Registry and Supervision
General
This document describes the latest API set to perform tasks for: APIs provided or defined by the service
A1 Policy Management
Management of configuration
Service Callbacks
NearRT-RIC Repository (Older version)
Health Check
Service Registry and Supervision
diff --git a/a1-policy-management/api/offeredapis/swagger/custom/a1pms-api-custom-v3.json b/a1-policy-management/api/offeredapis/swagger/custom/a1pms-api-custom-v3.json
index 07f2ac42..7b221983 100644
--- a/a1-policy-management/api/offeredapis/swagger/custom/a1pms-api-custom-v3.json
+++ b/a1-policy-management/api/offeredapis/swagger/custom/a1pms-api-custom-v3.json
@@ -5,7 +5,7 @@
"email" : "discuss-list@onap.com",
"url" : "https://www.onap.org/"
},
- "description" : "/services/{serviceId}/keepalive
General
This document describes the latest API set to perform tasks for: APIs provided or defined by the service
A1 Policy Management
Management of configuration
Service Callbacks
NearRT-RIC Repository (Older version)
Health Check
Service Registry and Supervision
General
This document describes the latest API set to perform tasks for: APIs provided or defined by the service
A1 Policy Management
Management of configuration
Service Callbacks
NearRT-RIC Repository (Older version)
Health Check
Service Registry and Supervision
General
This document describes the latest API set to perform tasks for: APIs provided or defined by the service
A1 Policy Management
Management of configuration
Service Callbacks
NearRT-RIC Repository (Older version)
Health Check
Service Registry and Supervision
General
This document describes the latest API set to perform tasks for: APIs provided or defined by the service
A1 Policy Management
Management of configuration
Service Callbacks
NearRT-RIC Repository (Older version)
Health Check
Service Registry and Supervision
API used for supervision\ \ of the A1 Policy Management Service.
API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner.\ - \ If the owner service is registered, then the service can be monitored by a heart-beat supervision\ - \ mechanism, and if the registered service becomes unavailable, then its A1 Policies are removed. Note \ - \ that services do not need to be registered to create A1 Policies, but unregistered services are not \ - \ supervised. This is a feature that is optional to use.
" + \ If the owner service is registered, then the service can be optionally monitored by a heart-beat supervision\ + \ mechanism, and if the registered service becomes unavailable, then it is removed and all its A1 Policies are \ + \ deleted. Note that services do not need to be registered to create A1 Policies, but unregistered \ + \ services are not supervised. This is a feature that is optional to use." license: name: Copyright (C) 2024 - 2025 OpenInfra Foundation Europe. Licensed under the Apache 2 License. url: http://www.apache.org/licenses/LICENSE-2.0 @@ -678,8 +678,10 @@ paths: description: A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke some operation, or this operation, before the end of a timeout period the service will be deregistered - and all its A1 policies wil be removed. This operation is only intended for registered - services. (This timeout can be set or disabled when each service is initially registered) + and all its A1 policies wil be removed and the service is deleted. + This operation is only intended for registered services. (This timeout can be set or disabled when + each service is initially registered). Unregistered services do not need to invoke this operation, + since the optional keep-alive monitoring feature can only be enabled for registered services. summary: Heartbeat message from a service (keepAliveService) tags: - Service Registry and Supervision @@ -869,8 +871,9 @@ components: value: ricId: ricId1 managedElementIds: - - managedElementId1 - - managedElementId2 + - "Note #1" + - "Athlone small cells" + - "Some optional string" state: UNAVAILABLE policyTypeIds: - policyTypeId1 @@ -880,16 +883,17 @@ components: rics: - ricId: ricId1 managedElementIds: - - managedElementId1 - - managedElementId2 + - "Note #1" + - "Athlone small cells" + - "Fake Cells" state: UNAVAILABLE policyTypeIds: - policyTypeId1 - policyTypeId2 - ricId: ricId2 managedElementIds: - - managedElementId3 - - managedElementId4 + - "My test element" + - "Another test element" state: UNAVAILABLE policyTypeIds: - policyTypeId3 diff --git a/a1-policy-management/api/offeredapis/swagger/pms-api.json b/a1-policy-management/api/offeredapis/swagger/pms-api.json index 8434ba94..26fc1220 100644 --- a/a1-policy-management/api/offeredapis/swagger/pms-api.json +++ b/a1-policy-management/api/offeredapis/swagger/pms-api.json @@ -26,7 +26,7 @@ "description" : "Older API used to get information about registered Near-RT RICs.\n", "name" : "NearRT-RIC Repository" }, { - "description" : "Older API used to manage registered service, and control their keep-alive status via heart-beat messages.\n", + "description" : "Older API used to manage registered services, and control their keep-alive status via heart-beat messages.\n", "name" : "Service Registry and Supervision" }, { "description" : "API used to get the health status and statistics of this service\n", diff --git a/a1-policy-management/pom.xml b/a1-policy-management/pom.xml index 22142918..93c32377 100644 --- a/a1-policy-management/pom.xml +++ b/a1-policy-management/pom.xml @@ -26,7 +26,7 @@The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies.
This document describes the latest API set to perform tasks for:
Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.'
This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management:
API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.
These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.
This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC.
API used for supervision of the A1 Policy Management Service.
API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then its A1 Policies are removed. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use.
+The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies.
This document describes the latest API set to perform tasks for:
Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.'
This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management:
API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.
These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.
This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC.
API used for supervision of the A1 Policy Management Service.
API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be optionally monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then it is removed and all its A1 Policies are deleted. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use.
The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies.
This document describes the latest API set to perform tasks for:
Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.'
This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management:
API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.
These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.
This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC.
API used for supervision of the A1 Policy Management Service.
API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then its A1 Policies are removed. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use.
+The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies.
This document describes the latest API set to perform tasks for:
Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.'
This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management:
API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.
These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.
This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC.
API used for supervision of the A1 Policy Management Service.
API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be optionally monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then it is removed and all its A1 Policies are deleted. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use.
A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke some operation, or this operation, before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. This operation is only intended for registered services. (This timeout can be set or disabled when each service is initially registered)
+A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke some operation, or this operation, before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed and the service is deleted. This operation is only intended for registered services. (This timeout can be set or disabled when each service is initially registered). Unregistered services do not need to invoke this operation, since the optional keep-alive monitoring feature can only be enabled for registered services.
/services/{serviceId}/keepalive
diff --git a/docs/offeredapis/swagger/custom/a1pms-api-custom-v3.json b/docs/offeredapis/swagger/custom/a1pms-api-custom-v3.json
index 07f2ac42..7b221983 100644
--- a/docs/offeredapis/swagger/custom/a1pms-api-custom-v3.json
+++ b/docs/offeredapis/swagger/custom/a1pms-api-custom-v3.json
@@ -5,7 +5,7 @@
"email" : "discuss-list@onap.com",
"url" : "https://www.onap.org/"
},
- "description" : "The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies.
This document describes the latest API set to perform tasks for:
Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.'
This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management:
API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.
These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.
This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC.
API used for supervision of the A1 Policy Management Service.
API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then its A1 Policies are removed. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use.
", + "description" : "The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies.
This document describes the latest API set to perform tasks for:
Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.'
This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management:
API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.
These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.
This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC.
API used for supervision of the A1 Policy Management Service.
API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be optionally monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then it is removed and all its A1 Policies are deleted. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use.
", "license" : { "name" : "Copyright (C) 2024 - 2025 OpenInfra Foundation Europe. Licensed under the Apache 2 License.", "url" : "http://www.apache.org/licenses/LICENSE-2.0" @@ -35,7 +35,7 @@ "description" : "API used to get information about registered Near-RT RICs.\n", "name" : "NearRT-RIC Repository" }, { - "description" : "API used to manage registered service, and control their keep-alive status via heart-beat messages.\n", + "description" : "API used to manage registered services, and control their keep-alive status via heart-beat messages.\n", "name" : "Service Registry and Supervision" }, { "description" : "API used to get the health status and statistics of this service.\n", @@ -1511,7 +1511,7 @@ }, "/services/{serviceId}/keepalive" : { "put" : { - "description" : "A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke some operation, or this operation, before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. This operation is only intended for registered services. (This timeout can be set or disabled when each service is initially registered)", + "description" : "A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke some operation, or this operation, before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed and the service is deleted. This operation is only intended for registered services. (This timeout can be set or disabled when each service is initially registered). Unregistered services do not need to invoke this operation, since the optional keep-alive monitoring feature can only be enabled for registered services.", "operationId" : "keepAliveService", "parameters" : [ { "explode" : false, @@ -1791,13 +1791,13 @@ }, "StatusInfo" : { "value" : { - "status" : "status" + "status" : "success" } }, "RicInfo" : { "value" : { "ricId" : "ricId1", - "managedElementIds" : [ "managedElementId1", "managedElementId2" ], + "managedElementIds" : [ "Note #1", "Athlone small cells", "Some optional string" ], "state" : "UNAVAILABLE", "policyTypeIds" : [ "policyTypeId1", "policyTypeId2" ] } @@ -1806,12 +1806,12 @@ "value" : { "rics" : [ { "ricId" : "ricId1", - "managedElementIds" : [ "managedElementId1", "managedElementId2" ], + "managedElementIds" : [ "Note #1", "Athlone small cells", "Fake Cells" ], "state" : "UNAVAILABLE", "policyTypeIds" : [ "policyTypeId1", "policyTypeId2" ] }, { "ricId" : "ricId2", - "managedElementIds" : [ "managedElementId3", "managedElementId4" ], + "managedElementIds" : [ "My test element", "Another test element" ], "state" : "UNAVAILABLE", "policyTypeIds" : [ "policyTypeId3", "policyTypeId4" ] } ] diff --git a/docs/offeredapis/swagger/pms-api-v3.json b/docs/offeredapis/swagger/pms-api-v3.json index 07f2ac42..7b221983 100644 --- a/docs/offeredapis/swagger/pms-api-v3.json +++ b/docs/offeredapis/swagger/pms-api-v3.json @@ -5,7 +5,7 @@ "email" : "discuss-list@onap.com", "url" : "https://www.onap.org/" }, - "description" : "The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies.
This document describes the latest API set to perform tasks for:
Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.'
This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management:
API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.
These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.
This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC.
API used for supervision of the A1 Policy Management Service.
API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then its A1 Policies are removed. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use.
", + "description" : "The ONAP CCSDK A1 Policy Management Service provides a REST API for managing A1 policies.
This document describes the latest API set to perform tasks for:
Note: parts of this API are strongly based on extracts of the O-RAN Alliance R1 Interface specification for A1 Policy Management, and those parts should be considered '© O-RAN ALLIANCE - All rights reserved.'
This is the latest API for managing A1 Policies. This API is partially compliant with O-RAN Alliance R1 Interface specifications for A1 Policy Management:
API for updating and retrieval of the component configuration. Note that there other ways to maintain the configuration.
These are endpoints that are invoked by this service. The callbacks are registered in this service at service registration.
This is an API that provides support for looking up a NearRT-RIC. Each A1 policy is targeted towards one Near-RT RIC.
API used for supervision of the A1 Policy Management Service.
API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner. If the owner service is registered, then the service can be optionally monitored by a heart-beat supervision mechanism, and if the registered service becomes unavailable, then it is removed and all its A1 Policies are deleted. Note that services do not need to be registered to create A1 Policies, but unregistered services are not supervised. This is a feature that is optional to use.
", "license" : { "name" : "Copyright (C) 2024 - 2025 OpenInfra Foundation Europe. Licensed under the Apache 2 License.", "url" : "http://www.apache.org/licenses/LICENSE-2.0" @@ -35,7 +35,7 @@ "description" : "API used to get information about registered Near-RT RICs.\n", "name" : "NearRT-RIC Repository" }, { - "description" : "API used to manage registered service, and control their keep-alive status via heart-beat messages.\n", + "description" : "API used to manage registered services, and control their keep-alive status via heart-beat messages.\n", "name" : "Service Registry and Supervision" }, { "description" : "API used to get the health status and statistics of this service.\n", @@ -1511,7 +1511,7 @@ }, "/services/{serviceId}/keepalive" : { "put" : { - "description" : "A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke some operation, or this operation, before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. This operation is only intended for registered services. (This timeout can be set or disabled when each service is initially registered)", + "description" : "A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke some operation, or this operation, before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed and the service is deleted. This operation is only intended for registered services. (This timeout can be set or disabled when each service is initially registered). Unregistered services do not need to invoke this operation, since the optional keep-alive monitoring feature can only be enabled for registered services.", "operationId" : "keepAliveService", "parameters" : [ { "explode" : false, @@ -1791,13 +1791,13 @@ }, "StatusInfo" : { "value" : { - "status" : "status" + "status" : "success" } }, "RicInfo" : { "value" : { "ricId" : "ricId1", - "managedElementIds" : [ "managedElementId1", "managedElementId2" ], + "managedElementIds" : [ "Note #1", "Athlone small cells", "Some optional string" ], "state" : "UNAVAILABLE", "policyTypeIds" : [ "policyTypeId1", "policyTypeId2" ] } @@ -1806,12 +1806,12 @@ "value" : { "rics" : [ { "ricId" : "ricId1", - "managedElementIds" : [ "managedElementId1", "managedElementId2" ], + "managedElementIds" : [ "Note #1", "Athlone small cells", "Fake Cells" ], "state" : "UNAVAILABLE", "policyTypeIds" : [ "policyTypeId1", "policyTypeId2" ] }, { "ricId" : "ricId2", - "managedElementIds" : [ "managedElementId3", "managedElementId4" ], + "managedElementIds" : [ "My test element", "Another test element" ], "state" : "UNAVAILABLE", "policyTypeIds" : [ "policyTypeId3", "policyTypeId4" ] } ] diff --git a/docs/offeredapis/swagger/pms-api-v3.yaml b/docs/offeredapis/swagger/pms-api-v3.yaml index 9570cd46..0865ff2b 100644 --- a/docs/offeredapis/swagger/pms-api-v3.yaml +++ b/docs/offeredapis/swagger/pms-api-v3.yaml @@ -45,10 +45,10 @@ info: \ is targeted towards one Near-RT RIC.API used for supervision\ \ of the A1 Policy Management Service.
API used for registering services/clients/rApps. Each A1 Policy can be tagged with an owner.\ - \ If the owner service is registered, then the service can be monitored by a heart-beat supervision\ - \ mechanism, and if the registered service becomes unavailable, then its A1 Policies are removed. Note \ - \ that services do not need to be registered to create A1 Policies, but unregistered services are not \ - \ supervised. This is a feature that is optional to use.
" + \ If the owner service is registered, then the service can be optionally monitored by a heart-beat supervision\ + \ mechanism, and if the registered service becomes unavailable, then it is removed and all its A1 Policies are \ + \ deleted. Note that services do not need to be registered to create A1 Policies, but unregistered \ + \ services are not supervised. This is a feature that is optional to use." license: name: Copyright (C) 2024 - 2025 OpenInfra Foundation Europe. Licensed under the Apache 2 License. url: http://www.apache.org/licenses/LICENSE-2.0 @@ -74,7 +74,7 @@ tags: API used to get information about registered Near-RT RICs. - name: Service Registry and Supervision description: > - API used to manage registered service, and control their keep-alive status via heart-beat messages. + API used to manage registered services, and control their keep-alive status via heart-beat messages. - name: Health Check description: > API used to get the health status and statistics of this service. @@ -678,8 +678,10 @@ paths: description: A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke some operation, or this operation, before the end of a timeout period the service will be deregistered - and all its A1 policies wil be removed. This operation is only intended for registered - services. (This timeout can be set or disabled when each service is initially registered) + and all its A1 policies wil be removed and the service is deleted. + This operation is only intended for registered services. (This timeout can be set or disabled when + each service is initially registered). Unregistered services do not need to invoke this operation, + since the optional keep-alive monitoring feature can only be enabled for registered services. summary: Heartbeat message from a service (keepAliveService) tags: - Service Registry and Supervision @@ -864,13 +866,14 @@ components: timeSinceLastActivitySeconds: 401 StatusInfo: value: - status: status + status: success RicInfo: value: ricId: ricId1 managedElementIds: - - managedElementId1 - - managedElementId2 + - "Note #1" + - "Athlone small cells" + - "Some optional string" state: UNAVAILABLE policyTypeIds: - policyTypeId1 @@ -880,16 +883,17 @@ components: rics: - ricId: ricId1 managedElementIds: - - managedElementId1 - - managedElementId2 + - "Note #1" + - "Athlone small cells" + - "Fake Cells" state: UNAVAILABLE policyTypeIds: - policyTypeId1 - policyTypeId2 - ricId: ricId2 managedElementIds: - - managedElementId3 - - managedElementId4 + - "My test element" + - "Another test element" state: UNAVAILABLE policyTypeIds: - policyTypeId3 diff --git a/docs/offeredapis/swagger/pms-api.json b/docs/offeredapis/swagger/pms-api.json index 8434ba94..26fc1220 100644 --- a/docs/offeredapis/swagger/pms-api.json +++ b/docs/offeredapis/swagger/pms-api.json @@ -26,7 +26,7 @@ "description" : "Older API used to get information about registered Near-RT RICs.\n", "name" : "NearRT-RIC Repository" }, { - "description" : "Older API used to manage registered service, and control their keep-alive status via heart-beat messages.\n", + "description" : "Older API used to manage registered services, and control their keep-alive status via heart-beat messages.\n", "name" : "Service Registry and Supervision" }, { "description" : "API used to get the health status and statistics of this service\n", diff --git a/docs/offeredapis/swagger/pms-api.yaml b/docs/offeredapis/swagger/pms-api.yaml index c8c1b089..ea6d5d1e 100644 --- a/docs/offeredapis/swagger/pms-api.yaml +++ b/docs/offeredapis/swagger/pms-api.yaml @@ -69,7 +69,7 @@ tags: Older API used to get information about registered Near-RT RICs. - name: Service Registry and Supervision description: > - Older API used to manage registered service, and control their keep-alive status via heart-beat messages. + Older API used to manage registered services, and control their keep-alive status via heart-beat messages. - name: Health Check description: > API used to get the health status and statistics of this service diff --git a/pom.xml b/pom.xml index 367330f0..96c19553 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@