From ee9f6a171e16ec1e1f60596a15db021dec4831ea Mon Sep 17 00:00:00 2001 From: Kang Xi Date: Thu, 10 May 2018 14:50:39 -0400 Subject: Add preload templates Change-Id: Ic05e2282416920f30535621404866cf44271acc5 Issue-ID: INT-461 Signed-off-by: Kang Xi --- .../preload_templates/template_sniro_request.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/vcpe/preload_templates/template_sniro_request.json (limited to 'test/vcpe/preload_templates/template_sniro_request.json') 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" + } + } +} -- cgit 1.2.3-korg