commit | e731118eca0540792a140803f18c298fb3be132d | [log] [tgz] |
---|---|---|
author | ToineSiebelink <toine.siebelink@est.tech> | Tue Nov 10 16:32:50 2020 +0000 |
committer | ToineSiebelink <toine.siebelink@est.tech> | Thu Nov 19 12:47:36 2020 +0000 |
tree | 11359438ed6dae45dfb0b7a71c02c134075e1109 | |
parent | 4576674e59ab3cc1126ee0422049e112904b8831 [diff] [blame] |
Adding & Testing method for breaking JSON Data into 'fragments' Improving Bookstore test model https://jira.onap.org/browse/CPS-32 Issue-ID: CPS-32 Change-Id: Ie03e03c041233aa908ab55902c1b387f96eb1c2e Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
diff --git a/cps-service/src/test/resources/bookstore.yang b/cps-service/src/test/resources/bookstore.yang index 01eac5f..2179fb9 100644 --- a/cps-service/src/test/resources/bookstore.yang +++ b/cps-service/src/test/resources/bookstore.yang
@@ -1,6 +1,5 @@ -module bookstore { +module stores { yang-version 1.1; - namespace "org:onap:ccsdk:sample"; prefix book-store; @@ -18,9 +17,17 @@ container bookstore { + leaf bookstore-name { + type string; + } + list categories { - key name; + key "code"; + + leaf code { + type string; + } leaf name { type string;