Use env variable for DMaaP read and write topics
Change-Id: I9ab2456b94b6ad5a9203071dd9708f3bfa34a186
Isue-ID: NONRTRIC-476
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
diff --git a/test/mrstub/app/main.py b/test/mrstub/app/main.py
index db13fc0..40707d6 100644
--- a/test/mrstub/app/main.py
+++ b/test/mrstub/app/main.py
@@ -168,7 +168,7 @@
### MR-stub interface, for MR control
# Send a message to MR
-# URI and parameters (GET): /send-request?operation=<GET|PUT|POST|DELETE>&url=<url>
+# URI and parameters (PUT or POST): /send-request?operation=<GET|PUT|POST|DELETE>&url=<url>
# response: <correlation-id> (http 200) o4 400 for parameter error or 500 for other errors
@app.route(APP_WRITE_URL,
methods=['PUT','POST'])
@@ -421,4 +421,4 @@
print("No env variables - OK")
if __name__ == "__main__":
- app.run(port=HOST_PORT, host=HOST_IP)
\ No newline at end of file
+ app.run(port=HOST_PORT, host=HOST_IP)