diff options
author | JvD_Ericsson <jeff.van.dam@est.tech> | 2024-02-16 09:30:45 +0000 |
---|---|---|
committer | Jeff van Dam <jeff.van.dam@est.tech> | 2024-03-13 16:45:27 +0000 |
commit | a927b20ce1a6d5792ed41e0a98eb475606e8f35a (patch) | |
tree | ffc7df8c1108386a4865a80796861858d145a6a9 /integration-test | |
parent | 215b40aecaefdd8b523ea6ef72b14011adba3490 (diff) |
Provide support for data producer identifier during registration (CPS-1964 1)
- Added support for the dataProducerIdentifier to be added,
and updated from blank to something once
- The dataProducerIdentifier is persisted in the DB
Issue-ID: CPS-2105
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: I1c230be8f9402154a761e8c2ba4d8a6331965b3c
Diffstat (limited to 'integration-test')
-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@2024-02-23.yang (renamed from integration-test/src/test/resources/data/ncmp-registry/dmi-registry@2023-11-27.yang) | 8 |
2 files changed, 9 insertions, 1 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 19c96fd6f0..ab5c0efcee 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@2023-11-27.yang') + def modelAsString = readResourceDataFile('ncmp-registry/dmi-registry@2024-02-23.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@2023-11-27.yang b/integration-test/src/test/resources/data/ncmp-registry/dmi-registry@2024-02-23.yang index e3152cb4a1..d7b4ff7550 100644 --- a/integration-test/src/test/resources/data/ncmp-registry/dmi-registry@2023-11-27.yang +++ b/integration-test/src/test/resources/data/ncmp-registry/dmi-registry@2024-02-23.yang @@ -8,6 +8,11 @@ module dmi-registry { contact "toine.siebelink@est.tech"; + revision "2024-02-23" { + description + "Added data-producer-identifier"; + } + revision "2023-11-27" { description "Added alternateId"; @@ -91,6 +96,9 @@ module dmi-registry { leaf alternate-id { type string; } + leaf data-producer-identifier { + type string; + } list additional-properties { key "name"; |