summaryrefslogtreecommitdiffstats
path: root/cps-service/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'cps-service/src/test/resources')
-rw-r--r--cps-service/src/test/resources/multiple-object-data.json8
-rw-r--r--cps-service/src/test/resources/multipleDataTree.yang23
2 files changed, 31 insertions, 0 deletions
diff --git a/cps-service/src/test/resources/multiple-object-data.json b/cps-service/src/test/resources/multiple-object-data.json
new file mode 100644
index 0000000000..a3c46763a7
--- /dev/null
+++ b/cps-service/src/test/resources/multiple-object-data.json
@@ -0,0 +1,8 @@
+{
+ "first-container": {
+ "a-leaf": "a-Value"
+ },
+ "last-container": {
+ "x-leaf": "x-value"
+ }
+} \ No newline at end of file
diff --git a/cps-service/src/test/resources/multipleDataTree.yang b/cps-service/src/test/resources/multipleDataTree.yang
new file mode 100644
index 0000000000..15fd04246a
--- /dev/null
+++ b/cps-service/src/test/resources/multipleDataTree.yang
@@ -0,0 +1,23 @@
+module multipleDataTree {
+ yang-version 1.1;
+ namespace "org:onap:ccsdk:multiDataTree";
+
+ prefix multiple-data-tree;
+
+ revision "2020-09-15" {
+ description
+ "Sample Model for multiple data tree";
+ }
+
+ container first-container {
+ leaf a-leaf {
+ type string;
+ }
+ }
+
+ container last-container {
+ leaf x-leaf {
+ type string;
+ }
+ }
+}