summaryrefslogtreecommitdiffstats
path: root/integration-test/src/test/resources/data/bookstore/bookstore.yang
diff options
context:
space:
mode:
Diffstat (limited to 'integration-test/src/test/resources/data/bookstore/bookstore.yang')
-rw-r--r--integration-test/src/test/resources/data/bookstore/bookstore.yang20
1 files changed, 12 insertions, 8 deletions
diff --git a/integration-test/src/test/resources/data/bookstore/bookstore.yang b/integration-test/src/test/resources/data/bookstore/bookstore.yang
index 9c6c42e28..2abde656d 100644
--- a/integration-test/src/test/resources/data/bookstore/bookstore.yang
+++ b/integration-test/src/test/resources/data/bookstore/bookstore.yang
@@ -1,18 +1,22 @@
module stores {
yang-version 1.1;
- namespace "org:onap:ccsdk:sample";
+ namespace "org:onap:cps:sample";
prefix book-store;
- revision "2020-09-15" {
+ import bookstore-types {
+ prefix "types";
+ revision-date 2024-01-30;
+ }
+
+ revision "2024-01-30" {
description
- "Sample Model";
+ "Extracted bookstore types";
}
- typedef year {
- type uint16 {
- range "1000..9999";
- }
+ revision "2020-09-15" {
+ description
+ "Sample Model";
}
list bookstore-address {
@@ -106,7 +110,7 @@ module stores {
type string;
}
leaf-list editions {
- type year;
+ type types:year;
}
leaf price {
type uint64;