diff options
author | leventecsanyi <levente.csanyi@est.tech> | 2023-12-07 14:02:14 +0100 |
---|---|---|
committer | leventecsanyi <levente.csanyi@est.tech> | 2023-12-14 12:50:07 +0100 |
commit | 28b41814dedc2c26c560edd869702ffbfb25d818 (patch) | |
tree | dc2da9a32411df353e232e32c3526122024f10e0 /integration-test/src | |
parent | 7e94b26a666907cc97d692b8dda8364bb0a0ef45 (diff) |
Update Model to allow Persisting of alternateId
- added new dmi model registry and modified tests
Issue-ID: CPS-1989
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Change-Id: I576a5a0704fe28924dcc304c276fec5665b52764
Diffstat (limited to 'integration-test/src')
-rw-r--r-- | integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy | 2 | ||||
-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 bef42248f9..12b04be2e0 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 77517968c6..e3152cb4a1 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 +} + |