From 6ddbe4af2b73a306dec89e55b8350c09b8c5766b Mon Sep 17 00:00:00 2001 From: DylanB95EST Date: Tue, 19 Jul 2022 11:36:10 +0100 Subject: Enable/Disable Data Sync for Cm Handle -Create API Which will enable/disable data sync enabled flag -Default functionality of module sync watchdog is to set to false -Remove global config param -Will set initial sync state based on data sync enabled flag -Throws an Exception if the same data sync enabled flag tries to be set -Throws Exception if state is not in READY -Data Sync enabled must be true to complete data sync process - Delete all resource data within fragment table related to synced cm handle when data sync is set to false Issue-ID: CPS-1133 Change-Id: Ib47bbd8293f083c1d705d91bd0def74e6a105c72 Signed-off-by: DylanB95EST --- cps-ncmp-rest/docs/openapi/openapi.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cps-ncmp-rest/docs/openapi/openapi.yml') diff --git a/cps-ncmp-rest/docs/openapi/openapi.yml b/cps-ncmp-rest/docs/openapi/openapi.yml index 35be59a38c..8e020668a0 100755 --- a/cps-ncmp-rest/docs/openapi/openapi.yml +++ b/cps-ncmp-rest/docs/openapi/openapi.yml @@ -52,3 +52,6 @@ paths: /v1/ch/{cm-handle}/state: $ref: 'ncmp.yml#/getCmHandleStateById' + + /v1/ch/{cm-handle}/data-sync: + $ref: 'ncmp.yml#/setDataSyncEnabledFlag' -- cgit 1.2.3-korg