summaryrefslogtreecommitdiffstats
path: root/csit/data
diff options
context:
space:
mode:
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-02-26 11:42:29 +0200
committerRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-03-03 17:28:20 +0200
commitd44fceebbd37108a15f45fbf5813d413efeb2ac6 (patch)
tree624fc224c5434996e7004c4d148e5e6da5397485 /csit/data
parent32446dce35b5bf9d2c84751718cb4ece7f96fa72 (diff)
CSIT: Integration tests for CPS Core
+ also fixes issue with fragment_id sequence not reflecting data loaded Issue-ID: CPS-261 Change-Id: If590d6a0859a1acc9005dd2da952b7dd93a23059 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Diffstat (limited to 'csit/data')
-rw-r--r--csit/data/test-tree.json28
-rw-r--r--csit/data/test-tree.yang24
-rw-r--r--csit/data/yang-resources.zipbin0 -> 17598 bytes
3 files changed, 52 insertions, 0 deletions
diff --git a/csit/data/test-tree.json b/csit/data/test-tree.json
new file mode 100644
index 0000000000..bc9cbd7cea
--- /dev/null
+++ b/csit/data/test-tree.json
@@ -0,0 +1,28 @@
+{
+ "test-tree": {
+ "branch": [
+ {
+ "name": "Left",
+ "nest": {
+ "name": "Small",
+ "birds": [
+ "Sparrow",
+ "Robin",
+ "Finch"
+ ]
+ }
+ },
+ {
+ "name": "Right",
+ "nest": {
+ "name": "Big",
+ "birds": [
+ "Owl",
+ "Raven",
+ "Crow"
+ ]
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/csit/data/test-tree.yang b/csit/data/test-tree.yang
new file mode 100644
index 0000000000..faba8a11d4
--- /dev/null
+++ b/csit/data/test-tree.yang
@@ -0,0 +1,24 @@
+module test-tree {
+ yang-version 1.1;
+
+ namespace "org:onap:cps:test:test-tree";
+ prefix tree;
+ revision "2020-02-02";
+
+ container test-tree {
+ list branch {
+ key "name";
+ leaf name {
+ type string;
+ }
+ container nest {
+ leaf name {
+ type string;
+ }
+ leaf-list birds {
+ type string;
+ }
+ }
+ }
+ }
+}
diff --git a/csit/data/yang-resources.zip b/csit/data/yang-resources.zip
new file mode 100644
index 0000000000..8e5808662a
--- /dev/null
+++ b/csit/data/yang-resources.zip
Binary files differ