From 8090317460b8076f128fd8da46873135b007e2fd Mon Sep 17 00:00:00 2001 From: emaclee Date: Mon, 20 Nov 2023 09:25:40 +0000 Subject: Onboard merge subscriptions model -Add new model in subscription -Update unit tests for uploading models using modelLoader -Modify abstract model loaders to handle more than one yangResource in creating schema set -Modifying use of the basic subscription model to the new model will be on a seperate commit Issue-ID: CPS-1928 Signed-off-by: emaclee Change-Id: I5805ab8c721e8a63726fd210379e815b84b387a3 --- .../models/cm-data-subscriptions@2023-11-13.yang | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.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 new file mode 100644 index 0000000000..de675b117c --- /dev/null +++ b/cps-ncmp-service/src/main/resources/models/cm-data-subscriptions@2023-11-13.yang @@ -0,0 +1,49 @@ +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; + } + + } + } + } + } + } + } +} -- cgit 1.2.3-korg