Code Review
/
cps.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Merge "Migrate query tests to integration-test module #2"
[cps.git]
/
integration-test
/
src
/
test
/
resources
/
data
/
bookstore
/
bookstore.yang
1
module stores {
2
yang-version 1.1;
3
namespace "org:onap:ccsdk:sample";
4
5
prefix book-store;
6
7
revision "2020-09-15" {
8
description
9
"Sample Model";
10
}
11
12
typedef year {
13
type uint16 {
14
range "1000..9999";
15
}
16
}
17
18
container bookstore {
19
20
leaf bookstore-name {
21
type string;
22
}
23
24
list categories {
25
26
key "code";
27
28
leaf code {
29
type string;
30
}
31
32
leaf name {
33
type string;
34
}
35
36
list books {
37
key title;
38
39
leaf title {
40
type string;
41
}
42
leaf lang {
43
type string;
44
}
45
leaf-list authors {
46
type string;
47
}
48
leaf-list editions {
49
type year;
50
}
51
leaf price {
52
type uint64;
53
}
54
}
55
}
56
}
57
}