aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/testcases/resources/robot_library/DcaeVariables.py
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-08-04 14:29:10 +0200
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-08-12 10:59:08 +0200
commit131d4dda822b637e816ef225d8a4c9981ccf56a7 (patch)
treea4ea4f3b350276b1da45033618f7ff7b74481a00 /tests/dcaegen2/testcases/resources/robot_library/DcaeVariables.py
parentbbd96bd93c8d3c773aee53a69c44b3ac9cc3696d (diff)
Refactor DMaaP simulator and add tests.
Issue-ID: DCAEGEN2-1771 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I65772f9cdaf546171941253abdf3977b41a3e50e
Diffstat (limited to 'tests/dcaegen2/testcases/resources/robot_library/DcaeVariables.py')
-rw-r--r--tests/dcaegen2/testcases/resources/robot_library/DcaeVariables.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/dcaegen2/testcases/resources/robot_library/DcaeVariables.py b/tests/dcaegen2/testcases/resources/robot_library/DcaeVariables.py
new file mode 100644
index 00000000..47d169f1
--- /dev/null
+++ b/tests/dcaegen2/testcases/resources/robot_library/DcaeVariables.py
@@ -0,0 +1,13 @@
+import os
+
+
+def get_environment_variable(env_varstr):
+ return os.environ.get(env_varstr)
+
+
+DCAE_HEALTH_CHECK_URL = "http://135.205.228.129:8500"
+DCAE_HEALTH_CHECK_URL1 = "http://135.205.228.170:8500"
+
+CommonEventSchema = get_environment_variable('WORKSPACE') + "/tests/dcaegen2/testcases/assets/json_events/CommonEventFormat_30.2_ONAP.json"
+
+IsRobotRun = False