aboutsummaryrefslogtreecommitdiffstats
path: root/integration-test/src
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2023-12-18 10:56:47 +0000
committerGerrit Code Review <gerrit@onap.org>2023-12-18 10:56:47 +0000
commitc08b6d25f232907c51d84f0eb31ca8b977469e02 (patch)
tree8bfa44ed76e404a12582ed0988349d61349b60e9 /integration-test/src
parent183a22c664b4cd11072901ea3854c56e9256facc (diff)
parent28b41814dedc2c26c560edd869702ffbfb25d818 (diff)
Merge "Update Model to allow Persisting of alternateId"
Diffstat (limited to 'integration-test/src')
-rw-r--r--integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy2
-rw-r--r--integration-test/src/test/resources/data/ncmp-registry/dmi-registry@2023-11-27.yang (renamed from integration-test/src/test/resources/data/ncmp-registry/dmi-registry@2022-05-10.yang)19
2 files changed, 19 insertions, 2 deletions
diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy
index bef42248f..12b04be2e 100644
--- a/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy
+++ b/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy
@@ -72,7 +72,7 @@ class NcmpPerfTestBase extends PerfTestBase {
}
def createRegistrySchemaSet() {
- def modelAsString = readResourceDataFile('ncmp-registry/dmi-registry@2022-05-10.yang')
+ def modelAsString = readResourceDataFile('ncmp-registry/dmi-registry@2023-11-27.yang')
cpsModuleService.createSchemaSet(NCMP_PERFORMANCE_TEST_DATASPACE, REGISTRY_SCHEMA_SET, [registry: modelAsString])
}
diff --git a/integration-test/src/test/resources/data/ncmp-registry/dmi-registry@2022-05-10.yang b/integration-test/src/test/resources/data/ncmp-registry/dmi-registry@2023-11-27.yang
index 77517968c..e3152cb4a 100644
--- a/integration-test/src/test/resources/data/ncmp-registry/dmi-registry@2022-05-10.yang
+++ b/integration-test/src/test/resources/data/ncmp-registry/dmi-registry@2023-11-27.yang
@@ -8,6 +8,16 @@ module dmi-registry {
contact "toine.siebelink@est.tech";
+ revision "2023-11-27" {
+ description
+ "Added alternateId";
+ }
+
+ revision "2023-08-23" {
+ description
+ "Added ModuleSetTag";
+ }
+
revision "2022-05-10" {
description
"Added DataSyncEnabled, SyncState with State, LastSyncTime, DataStoreSyncState with Operational and Running syncstate";
@@ -75,6 +85,12 @@ module dmi-registry {
leaf dmi-model-service-name {
type string;
}
+ leaf module-set-tag {
+ type string;
+ }
+ leaf alternate-id {
+ type string;
+ }
list additional-properties {
key "name";
@@ -120,4 +136,5 @@ module dmi-registry {
}
}
}
-} \ No newline at end of file
+}
+