aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/preload_templates/template_sniro_request.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/vcpe/preload_templates/template_sniro_request.json')
-rw-r--r--test/vcpe/preload_templates/template_sniro_request.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/vcpe/preload_templates/template_sniro_request.json b/test/vcpe/preload_templates/template_sniro_request.json
new file mode 100644
index 000000000..565e14cd1
--- /dev/null
+++ b/test/vcpe/preload_templates/template_sniro_request.json
@@ -0,0 +1,20 @@
+{
+ "request" : {
+ "urlPath" : "/sniro/api/v2/placement",
+ "method" : "POST"
+ },
+ "response" : {
+ "status" : "202",
+ "body": "{\"requestId\": \"1111-111-11\"}"
+ },
+ "postServeActions" : {
+ "webhook" : {
+ "headers" : {
+ "Content-Type" : "application/json"
+ },
+ "method" : "POST",
+ "base64Body" : "${base64_sniro_data}",
+ "url" : "https://${sniro_ip}:8080/adapters/rest/SDNCNotify/SNIROResponse"
+ }
+ }
+}