From 7cdd659c994607285bc8f5093905938a478d43c6 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Thu, 21 Sep 2023 14:04:29 +0100 Subject: CM Data Subscriptions PoC/Performance test - New model introduced in test can be ported to production code - Groovy test around the new use-cases can be used as a guid for actau production code solution - Current worst use-case about 10 secodn son windows laptop. is acceptable as per Requiremenyt of 30 second - TODO: update test limits/expectations based on CI results Issue-ID: CPS-1881 Signed-off-by: ToineSiebelink Change-Id: I05f3adf7f9cc4d9a9c94a8435a392ed76f9fad66 --- .../cm-data-subscriptions@2023-09-21.yang | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 integration-test/src/test/resources/data/cm-data-subscriptions/cm-data-subscriptions@2023-09-21.yang (limited to 'integration-test/src/test/resources/data/cm-data-subscriptions/cm-data-subscriptions@2023-09-21.yang') diff --git a/integration-test/src/test/resources/data/cm-data-subscriptions/cm-data-subscriptions@2023-09-21.yang b/integration-test/src/test/resources/data/cm-data-subscriptions/cm-data-subscriptions@2023-09-21.yang new file mode 100644 index 0000000000..552f13715b --- /dev/null +++ b/integration-test/src/test/resources/data/cm-data-subscriptions/cm-data-subscriptions@2023-09-21.yang @@ -0,0 +1,49 @@ +module cm-data-subscriptions { + yang-version 1.1; + namespace "org:onap:cps:ncmp"; + + prefix cmds; + + revision "2023-09-21" { + description + "First release, Proof of Concept & Performance"; + } + + 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