summaryrefslogtreecommitdiffstats
path: root/src/test/resources/GetModules.json
diff options
context:
space:
mode:
authorniamhcore <niamh.core@est.tech>2021-07-30 16:25:16 +0100
committerniamhcore <niamh.core@est.tech>2021-08-10 13:33:52 +0100
commit3139ece993c68ce7e40d166acdd5d9572a3a8a1e (patch)
tree4a9ee12234815d6f5bc14557d5228c53b66f3b81 /src/test/resources/GetModules.json
parent2270d76e4f33ad231cdae317e88ea1769297cfec (diff)
Retrieve yang-resources for one or more modules
Updating openapi to add a new rest endpoint Updating restconf client to support post with json Adding a ModuleResourceNotFound exception Adding a test util class Fixing merge conflict Refactoring SDNC operations Issue-ID: CPS-484 Signed-off-by: niamhcore <niamh.core@est.tech> Change-Id: Id76dfe4cb12053771883e0271153d7bf7cd98548
Diffstat (limited to 'src/test/resources/GetModules.json')
-rw-r--r--src/test/resources/GetModules.json18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/resources/GetModules.json b/src/test/resources/GetModules.json
new file mode 100644
index 00000000..23fe77c2
--- /dev/null
+++ b/src/test/resources/GetModules.json
@@ -0,0 +1,18 @@
+{
+ "operation": "read",
+ "data": {
+ "modules": [
+ {
+ "name": "ietf-yang-library",
+ "revision": "2016-06-21"
+ },
+ {
+ "name": "nc-notifications",
+ "revision": "2008-07-14"
+ }
+ ]
+ },
+ "cmHandleProperties": {
+ "subsystemId": "system-001"
+ }
+} \ No newline at end of file