summaryrefslogtreecommitdiffstats
path: root/cps-service/src/test/resources/bookstore.yang
diff options
context:
space:
mode:
Diffstat (limited to 'cps-service/src/test/resources/bookstore.yang')
-rw-r--r--cps-service/src/test/resources/bookstore.yang13
1 files changed, 10 insertions, 3 deletions
diff --git a/cps-service/src/test/resources/bookstore.yang b/cps-service/src/test/resources/bookstore.yang
index 01eac5f339..2179fb93d9 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 @@ module bookstore {
container bookstore {
+ leaf bookstore-name {
+ type string;
+ }
+
list categories {
- key name;
+ key "code";
+
+ leaf code {
+ type string;
+ }
leaf name {
type string;