summaryrefslogtreecommitdiffstats
path: root/src/test/resources
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
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')
-rw-r--r--src/test/resources/GetModules.json18
-rw-r--r--src/test/resources/application.yml7
2 files changed, 25 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
diff --git a/src/test/resources/application.yml b/src/test/resources/application.yml
index 8ef864bd..b7c5bab9 100644
--- a/src/test/resources/application.yml
+++ b/src/test/resources/application.yml
@@ -24,3 +24,10 @@ security:
auth:
username: cpsuser
password: cpsr0cks!
+
+sdnc:
+ baseUrl: http://test
+ topologyId: test-topology
+ auth:
+ username: test
+ password: test