From 33ffcd9a60f464ca2c4a55f9aac0cb35d7aeaa88 Mon Sep 17 00:00:00 2001 From: mpriyank Date: Mon, 12 Feb 2024 16:16:36 +0000 Subject: Update cm-data-subscriptions model - rename leaf-list subscribers to subscriptionIds - code using the same also updated - not creating a new version of model as nobody is using it at the moment Issue-ID: CPS-2088 Change-Id: I43d679047bdfc665b56f262757acc4bbaba2733f Signed-off-by: mpriyank --- .../models/cm-data-subscriptions@2023-11-13.yang | 49 ---------------------- .../models/cm-data-subscriptions@2024-02-12.yang | 49 ++++++++++++++++++++++ 2 files changed, 49 insertions(+), 49 deletions(-) delete mode 100644 cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang create mode 100644 cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang (limited to 'cps-ncmp-service/src/main/resources/models') diff --git a/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang b/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang deleted file mode 100644 index de675b117c..0000000000 --- a/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang +++ /dev/null @@ -1,49 +0,0 @@ -module cm-data-subscriptions { - yang-version 1.1; - namespace "org:onap:cps:ncmp"; - - prefix cmds; - - revision "2023-11-13" { - description - "First release of cm data (notification) subscriptions model"; - } - - container datastores { - - list datastore { - key "name"; - - leaf name { - type string; - } - - container cm-handles { - - list cm-handle { - key "id"; - - leaf id { - type string; - } - - container filters { - - list filter { - key "xpath"; - - leaf xpath { - type string; - } - - leaf-list subscribers { - type string; - } - - } - } - } - } - } - } -} diff --git a/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang b/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang new file mode 100644 index 0000000000..e9d9658eb1 --- /dev/null +++ b/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2024-02-12.yang @@ -0,0 +1,49 @@ +module cm-data-subscriptions { + yang-version 1.1; + namespace "org:onap:cps:ncmp"; + + prefix cmds; + + revision "2024-02-12" { + description + "First release of cm data (notification) subscriptions model"; + } + + container datastores { + + list datastore { + key "name"; + + leaf name { + type string; + } + + container cm-handles { + + list cm-handle { + key "id"; + + leaf id { + type string; + } + + container filters { + + list filter { + key "xpath"; + + leaf xpath { + type string; + } + + leaf-list subscriptionIds { + type string; + } + + } + } + } + } + } + } +} -- cgit 1.2.3-korg