summaryrefslogtreecommitdiffstats
path: root/csit/data/cps-core
diff options
context:
space:
mode:
Diffstat (limited to 'csit/data/cps-core')
-rw-r--r--csit/data/cps-core/dataOperationRequest.json12
-rw-r--r--csit/data/cps-core/test-tree.json28
-rw-r--r--csit/data/cps-core/test-tree.yang24
-rw-r--r--csit/data/cps-core/testTreePatchExample.json11
-rw-r--r--csit/data/cps-core/yang-resources.zipbin0 -> 18013 bytes
5 files changed, 75 insertions, 0 deletions
diff --git a/csit/data/cps-core/dataOperationRequest.json b/csit/data/cps-core/dataOperationRequest.json
new file mode 100644
index 0000000000..1b94a299dc
--- /dev/null
+++ b/csit/data/cps-core/dataOperationRequest.json
@@ -0,0 +1,12 @@
+{
+ "operations": [
+ {
+ "operation": "read",
+ "operationId": "operational-12",
+ "datastore": "ncmp-datastore:passthrough-operational",
+ "options": "(fields=schemas/schema)",
+ "resourceIdentifier": "parent/child",
+ "targetIds": ["850117873c9a4936856a5081be96e6a8"]
+ }
+ ]
+} \ No newline at end of file
diff --git a/csit/data/cps-core/test-tree.json b/csit/data/cps-core/test-tree.json
new file mode 100644
index 0000000000..8f4b522799
--- /dev/null
+++ b/csit/data/cps-core/test-tree.json
@@ -0,0 +1,28 @@
+{
+ "test-tree": {
+ "branch": [
+ {
+ "name": "LEFT/left",
+ "nest": {
+ "name": "SMALL/small",
+ "birds": [
+ "SPARROW/sparrow",
+ "Robin",
+ "Finch"
+ ]
+ }
+ },
+ {
+ "name": "Right",
+ "nest": {
+ "name": "Big",
+ "birds": [
+ "Night Owl",
+ "Raven",
+ "Crow"
+ ]
+ }
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/csit/data/cps-core/test-tree.yang b/csit/data/cps-core/test-tree.yang
new file mode 100644
index 0000000000..faba8a11d4
--- /dev/null
+++ b/csit/data/cps-core/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/cps-core/testTreePatchExample.json b/csit/data/cps-core/testTreePatchExample.json
new file mode 100644
index 0000000000..31210b6289
--- /dev/null
+++ b/csit/data/cps-core/testTreePatchExample.json
@@ -0,0 +1,11 @@
+{
+ "name": "Right",
+ "nest": {
+ "name": "Bigger",
+ "birds": [
+ "Eagle",
+ "Falcon",
+ "Pigeon"
+ ]
+ }
+} \ No newline at end of file
diff --git a/csit/data/cps-core/yang-resources.zip b/csit/data/cps-core/yang-resources.zip
new file mode 100644
index 0000000000..42b110d5c6
--- /dev/null
+++ b/csit/data/cps-core/yang-resources.zip
Binary files differ