added updated dockerfiles and ric workflow
Change-Id: I28f4367307789418825deb5c81684d6fccbf3d32
Signed-off-by: Rohan Patel <rp5811@att.com>
diff --git a/oran-ric-test-head/ric-test-head.py b/oran-ric-test-head/ric-test-head.py
index f80d3d3..9057678 100644
--- a/oran-ric-test-head/ric-test-head.py
+++ b/oran-ric-test-head/ric-test-head.py
@@ -17,6 +17,7 @@
import json
import logging
from logging import FileHandler
+import os
import requests
from flask import Flask, request, jsonify
@@ -82,7 +83,7 @@
responseData['vthResponse']['resultData']['statusCode'] = res.status_code
responseData['vthResponse']['resultData']['resultOutput'] = res.json()
elif action == 'deploy':
- payload = {'name': requestData['name']}
+ payload = json.dumps({'name': requestData['name']})
res = requests.post(baseAddress+config['actions_path'][action], data=payload)
responseData['vthResponse']['resultData']['statusCode'] = res.status_code
responseData['vthResponse']['resultData']['resultOutput'] = res.json()