summaryrefslogtreecommitdiffstats
path: root/cps-ri/src/main/resources/changelog/db/changes/data
diff options
context:
space:
mode:
authorNiamh Core <niamh.core@est.tech>2021-11-26 09:37:46 +0000
committerGerrit Code Review <gerrit@onap.org>2021-11-26 09:37:46 +0000
commit1a07fc039140525af388d6b8c30fbbce9e1ebf9f (patch)
tree402c67d8030b23db9fbefe7fb2a4c34593243078 /cps-ri/src/main/resources/changelog/db/changes/data
parenta84a4aa84fd22af9b89424d776a18a98d7515bd2 (diff)
parent20b4f9cf0b662de4a7665b2a82593ef0205f5e06 (diff)
Merge "Allow separate registration of DMIDataPlugin and DmiModelPugin"
Diffstat (limited to 'cps-ri/src/main/resources/changelog/db/changes/data')
-rw-r--r--cps-ri/src/main/resources/changelog/db/changes/data/dmi/schema_set_yang_resources@2021-10-20.csv3
-rw-r--r--cps-ri/src/main/resources/changelog/db/changes/data/dmi/yang_resource@2021-10-20.csv53
2 files changed, 56 insertions, 0 deletions
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