summaryrefslogtreecommitdiffstats
path: root/integration-test/src/test/resources/data/bookstore/bookstore.yang
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2023-08-01 12:20:51 +0000
committerGerrit Code Review <gerrit@onap.org>2023-08-01 12:20:51 +0000
commit2a1e576e6d12456e43c47d4cd81be7f88d1a2a2b (patch)
tree5a0769d1520906c487cd3ce015b9ee2b55812201 /integration-test/src/test/resources/data/bookstore/bookstore.yang
parent77ef0b4e4ab1330a6e86ddb0ec57cafad0d6e513 (diff)
parent61f5e14c5cdebe659dfae0c7143a07d6f81cb06c (diff)
Merge "Fix: Make bookstore data consistent"
Diffstat (limited to 'integration-test/src/test/resources/data/bookstore/bookstore.yang')
-rw-r--r--integration-test/src/test/resources/data/bookstore/bookstore.yang29
1 files changed, 10 insertions, 19 deletions
diff --git a/integration-test/src/test/resources/data/bookstore/bookstore.yang b/integration-test/src/test/resources/data/bookstore/bookstore.yang
index ab384de1c..6f60f1981 100644
--- a/integration-test/src/test/resources/data/bookstore/bookstore.yang
+++ b/integration-test/src/test/resources/data/bookstore/bookstore.yang
@@ -15,31 +15,22 @@ module stores {
}
}
- list invoice {
- key "ProductID";
- leaf ProductID {
- type uint64;
- mandatory "true";
- description
- "Unique product ID. Example: 001";
- }
- leaf ProductName {
+ list bookstore-address {
+ key "bookstore-name";
+ leaf bookstore-name {
type string;
- mandatory "true";
description
- "Name of the Product";
+ "Name of bookstore. Example: My Bookstore";
}
- leaf price {
- type uint64;
- mandatory "true";
+ leaf address {
+ type string;
description
- "Price of book";
+ "Address of store";
}
- leaf stock {
- type boolean;
- default "false";
+ leaf postal-code {
+ type string;
description
- "Book in stock or not. Example value: true";
+ "Postal code of store";
}
}