aboutsummaryrefslogtreecommitdiffstats
path: root/test/vcpe/preload_templates/template_sniro_request.json
diff options
context:
space:
mode:
authorKang Xi <kang.xi@huawei.com>2018-05-10 14:50:39 -0400
committerKang Xi <kang.xi@huawei.com>2018-05-10 14:59:18 -0400
commitee9f6a171e16ec1e1f60596a15db021dec4831ea (patch)
tree3a928585ff558841a7642b9746e7a32e623f0313 /test/vcpe/preload_templates/template_sniro_request.json
parent4db256fbea582a546c701c51c2148505adf2851a (diff)
Add preload templates
Change-Id: Ic05e2282416920f30535621404866cf44271acc5 Issue-ID: INT-461 Signed-off-by: Kang Xi <kang.xi@huawei.com>
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"
+ }
+ }
+}