From 08486cf3a7972219c3d017d5e47a2c802b225794 Mon Sep 17 00:00:00 2001 From: JohnKeeney Date: Tue, 24 May 2022 12:34:49 +0100 Subject: [PATCH] Attempt to get stdout&stderr for CSIT tests Also small tweak for RTD documentation Issue-ID: CCSDK-3675 Change-Id: Idd8acca0e07dc45c6f76a78a321b1075f3ee31ef Signed-off-by: JohnKeeney --- a1-policy-management/api/pms-api.json | 6 +++--- a1-policy-management/api/pms-api.yaml | 23 ++++++++++++---------- csit/scripts/healthcheck/data/preparePmsData.sh | 25 +++++++++++++++++++++++- csit/tests/healthcheck/test1.robot | 11 +++++++---- csit/tests/healthcheck/test2.robot | 13 +++++++----- csit/tests/healthcheck/test3.robot | 13 +++++++----- docs/media/ONAP-A1ControllerArchitecture.png | Bin 75211 -> 85333 bytes docs/offeredapis/swagger/pms-api.json | 6 +++--- docs/offeredapis/swagger/pms-api.yaml | 23 ++++++++++++---------- 9 files changed, 79 insertions(+), 41 deletions(-) diff --git a/a1-policy-management/api/pms-api.json b/a1-policy-management/api/pms-api.json index 9fc8e7bb..5c5915c5 100644 --- a/a1-policy-management/api/pms-api.json +++ b/a1-policy-management/api/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 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.", + "description": "keep alive interval for the service. This is used to enable optional heartbeat supervision of the service. If set (> 0) the registered service should regularly invoke a 'keepalive' REST call. When a service fails to invoke this 'keepalive' call within the configured time, the service is considered unavailable. An unavailable service will be automatically deregistered and its policies will be deleted. Value 0 means timeout supervision is disabled.", "type": "integer" } } @@ -559,7 +559,7 @@ }, "/a1-policy/v2/services/{service_id}/keepalive": {"put": { "summary": "Heartbeat indicates that the service is running", - "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.", + "description": "A registered service should invoke this operation regularly to indicate that it is still alive. If a registered service fails to invoke this operation before the end of a timeout period the service will be deregistered and all its A1 policies wil be removed. (This timeout can be set or disabled when each service is initially registered)", "operationId": "keepAliveService", "responses": { "200": { @@ -868,7 +868,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "description": "

General<\/h2>

The O-RAN Non-RT RIC Policy Management Service provides a REST API for management of A1 policies.
The main tasks of the service are:<\/p>