aboutsummaryrefslogtreecommitdiffstats
path: root/csit/data
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2021-09-13 18:01:11 +0100
committerputhuparambil.aditya <aditya.puthuparambil@bell.ca>2021-09-22 10:44:13 +0100
commit8d443ef01e1c85773a9c82910443199de85f24ab (patch)
tree8faefeb00fafec379a77cd0d7be458f5d908e320 /csit/data
parent564e5e96c4ee9a4ae9715865cf6491b4266c601f (diff)
CSIT for cps-temporal
Issue-ID: CPS-482 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I5069bdaf36ada7d2e5092669fd58404ed0a19063
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/update-test-tree.json1
3 files changed, 53 insertions, 0 deletions
diff --git a/csit/data/test-tree.json b/csit/data/test-tree.json
new file mode 100644
index 0000000..bc9cbd7
--- /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 0000000..faba8a1
--- /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/update-test-tree.json b/csit/data/update-test-tree.json
new file mode 100644
index 0000000..d9ce41b
--- /dev/null
+++ b/csit/data/update-test-tree.json
@@ -0,0 +1 @@
+{"nest": { "name": "Left_updated", "birds": ["bird"] } }