aboutsummaryrefslogtreecommitdiffstats
path: root/integration-test/src/test/resources/data/bookstore/bookstore.yang
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2023-04-11 14:36:31 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2023-04-12 16:46:24 +0100
commit4760869cc48115b79830dee10c20d4466110d716 (patch)
tree617cf12dae5c83d1b204dc8a0abad68132fb4a96 /integration-test/src/test/resources/data/bookstore/bookstore.yang
parentfabc72d633468d2f94346896bc8b09687248731e (diff)
Migrate query tests to integration-test module #5
- Migrate query tests for composite keys to integration-test - Add addresses with composite key to bookstore model Issue-ID: CPS-1597 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I6f8dfc2c44ae6ba3bac1cce804841671ef5a009d
Diffstat (limited to 'integration-test/src/test/resources/data/bookstore/bookstore.yang')
-rw-r--r--integration-test/src/test/resources/data/bookstore/bookstore.yang19
1 files changed, 19 insertions, 0 deletions
diff --git a/integration-test/src/test/resources/data/bookstore/bookstore.yang b/integration-test/src/test/resources/data/bookstore/bookstore.yang
index c3bfc50dc..62ebc7320 100644
--- a/integration-test/src/test/resources/data/bookstore/bookstore.yang
+++ b/integration-test/src/test/resources/data/bookstore/bookstore.yang
@@ -21,6 +21,25 @@ module stores {
type string;
}
+ container premises {
+ list addresses {
+ key "house-number street";
+
+ leaf house-number {
+ type uint16;
+ }
+ leaf street {
+ type string;
+ }
+ leaf town {
+ type string;
+ }
+ leaf county {
+ type string;
+ }
+ }
+ }
+
list categories {
key "code";