Little corrections in simulator
Change-Id: I31802dd243735b393a9f3c19abf0e270acb26a16
Issue-ID: NONRTRIC-158
Signed-off-by: maximesson <maxime.bonneau@est.tech>
diff --git a/near-rt-ric-simulator/src/1.1.x-alpha.2/main.py b/near-rt-ric-simulator/src/1.1.x-alpha.2/main.py
index 636ce13..1ea710c 100644
--- a/near-rt-ric-simulator/src/1.1.x-alpha.2/main.py
+++ b/near-rt-ric-simulator/src/1.1.x-alpha.2/main.py
@@ -41,7 +41,7 @@
data = data.replace("'", "\"")
data = json.loads(data)
policy_types[policyTypeId] = data
- return ('The policy type was either created or updated for policy type id: ' + policyTypeId)
+ return ('The policy type was either created or updated for policy type id: ' + policyTypeId, 200)
elif request.method == 'DELETE':
if policyTypeId in policy_types.keys():
policy_types.pop(policyTypeId)
diff --git a/near-rt-ric-simulator/src/STD_1.1.3/main.py b/near-rt-ric-simulator/src/STD_1.1.3/main.py
index 18798ab..83aaf4a 100644
--- a/near-rt-ric-simulator/src/STD_1.1.3/main.py
+++ b/near-rt-ric-simulator/src/STD_1.1.3/main.py
@@ -86,7 +86,7 @@
#Set status and reason
-#/status?policyid=<policyid>&status=<status>[reason=<reason>]
+#/status?policyid=<policyid>&status=<status>[&reason=<reason>]
@app.route('/status', methods=['PUT'])
def setstatus():