summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/vcpeutils/template_sniro_request.json
diff options
context:
space:
mode:
Diffstat (limited to 'robot/assets/templates/vcpeutils/template_sniro_request.json')
-rw-r--r--robot/assets/templates/vcpeutils/template_sniro_request.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/robot/assets/templates/vcpeutils/template_sniro_request.json b/robot/assets/templates/vcpeutils/template_sniro_request.json
new file mode 100644
index 00000000..6fdbb707
--- /dev/null
+++ b/robot/assets/templates/vcpeutils/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" : " http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/SNIROResponse"
+ }
+ }
+}