diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2022-10-07 07:32:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-10-07 07:32:03 +0000 |
commit | 63093a3a85d2444e54de5db17101810b2e66e21e (patch) | |
tree | 4f70b70172f1cb3d713db5965bf0ea03d6e0abb1 /cps-service/src/test/resources | |
parent | 984d1f2d90fee958d545da6924c3628f87fac840 (diff) | |
parent | e8299274db313f4f83a10b9f627d51d0b910377d (diff) |
Merge "Tests added for multiple data tree analysis"
Diffstat (limited to 'cps-service/src/test/resources')
-rw-r--r-- | cps-service/src/test/resources/multiple-object-data.json | 8 | ||||
-rw-r--r-- | cps-service/src/test/resources/multipleDataTree.yang | 23 |
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; + } + } +} |