From 20b4f9cf0b662de4a7665b2a82593ef0205f5e06 Mon Sep 17 00:00:00 2001 From: JosephKeenan Date: Tue, 23 Nov 2021 12:18:28 +0000 Subject: Allow separate registration of DMIDataPlugin and DmiModelPugin Moved relevant code from NetworkCmProxyDataServiceImp to DmiOperations Split DmiOperations into DMiData... and DMIModelOperations Merged update-operation changes Added tests for error message validation in NetworkCmProxyDataServiceImplSpec Removede @Service from DMIOperations and added @component to DmiDataOperations & DmiModelOperations Verify sync robot test is now hardened Added exitonfailure so robot tests stop after first encountered failed test Issue-ID: CPS-736 Change-Id: I0b40931cc8cd4fc0452328a0a7e0f60e6fc38d0a Signed-off-by: JosephKeenan Signed-off-by: ToineSiebelink Signed-off-by: DylanB95EST --- .../dmi/schema_set_yang_resources@2021-10-20.csv | 3 ++ .../changes/data/dmi/yang_resource@2021-10-20.csv | 53 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 cps-ri/src/main/resources/changelog/db/changes/data/dmi/schema_set_yang_resources@2021-10-20.csv create mode 100644 cps-ri/src/main/resources/changelog/db/changes/data/dmi/yang_resource@2021-10-20.csv (limited to 'cps-ri/src/main/resources/changelog/db/changes/data') diff --git a/cps-ri/src/main/resources/changelog/db/changes/data/dmi/schema_set_yang_resources@2021-10-20.csv b/cps-ri/src/main/resources/changelog/db/changes/data/dmi/schema_set_yang_resources@2021-10-20.csv new file mode 100644 index 0000000000..d419fc92b4 --- /dev/null +++ b/cps-ri/src/main/resources/changelog/db/changes/data/dmi/schema_set_yang_resources@2021-10-20.csv @@ -0,0 +1,3 @@ +schema_set_id|yang_resource_id +(select id from schema_set where name='ncmp-dmi-registry-model')|(select id from yang_resource where name='dmi-registry@2021-10-20.yang') + diff --git a/cps-ri/src/main/resources/changelog/db/changes/data/dmi/yang_resource@2021-10-20.csv b/cps-ri/src/main/resources/changelog/db/changes/data/dmi/yang_resource@2021-10-20.csv new file mode 100644 index 0000000000..80caea2142 --- /dev/null +++ b/cps-ri/src/main/resources/changelog/db/changes/data/dmi/yang_resource@2021-10-20.csv @@ -0,0 +1,53 @@ +name|content|checksum +dmi-registry@2021-10-20.yang|"module dmi-registry { + + yang-version 1.1; + + namespace \"org:onap:cps:ncmp\"; + + prefix dmi-reg; + + organization \"Nordix Foundation\"; + + contact \"rahul.tyagi@est.tech\"; + + revision \"2021-10-20\" { + description + \"Added dmi-data-service-name & dmi-model-service-name to allow separate DMI instances for each responsibility\"; + } + + container dmi-registry { + + list cm-handles { + + key \"id\"; + + leaf id { + type string; + } + + leaf dmi-service-name { + type string; + } + + leaf dmi-data-service-name { + type string; + } + + leaf dmi-model-service-name { + type string; + } + + list additional-properties { + key \"name\"; + leaf name { + type string; + } + leaf value { + type string; + } + } + } + } +} +"|f9145662dfc97363297dc1c06b8bde3a8621c658abefd56946faaab240714181 -- cgit 1.2.3-korg