aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/vcpeutils/template_sniro_request.jinja
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-01 13:47:56 -0400
committerDR695H <dr695h@att.com>2019-07-01 13:47:56 -0400
commit37529943e361704b159d4802c04307239c87b204 (patch)
treed29418c1941a968b2372ef03c7a63245d6088884 /robot/assets/templates/vcpeutils/template_sniro_request.jinja
parent97cb0371f819f9dafbbf41301e2f844beea0351f (diff)
use latest robotframework-onap keywords
Issue-ID: TEST-171 Change-Id: Ie1db142d2e44cfe10f84403754917b6ef5989caf Signed-off-by: DR695H <dr695h@att.com>
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"
+ }
+ }
+}