summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/vcpeutils/template_sniro_request.jinja
diff options
context:
space:
mode:
Diffstat (limited to 'robot/assets/templates/vcpeutils/template_sniro_request.jinja')
-rw-r--r--robot/assets/templates/vcpeutils/template_sniro_request.jinja20
1 files changed, 20 insertions, 0 deletions
diff --git a/robot/assets/templates/vcpeutils/template_sniro_request.jinja b/robot/assets/templates/vcpeutils/template_sniro_request.jinja
new file mode 100644
index 00000000..85eab530
--- /dev/null
+++ b/robot/assets/templates/vcpeutils/template_sniro_request.jinja
@@ -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"
+ }
+ }
+}