diff options
author | Filip Krzywka <filip.krzywka@nokia.com> | 2018-10-01 07:48:40 +0200 |
---|---|---|
committer | Filip Krzywka <filip.krzywka@nokia.com> | 2018-11-22 12:59:43 +0100 |
commit | c3bf03a32a404f86fdf03287a41a8d1b78822ecf (patch) | |
tree | 16730f3394f360ce403c74ab1f564b56e10f723b /tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py | |
parent | c933ab61debf85f97b3a344230d4ab1d298be676 (diff) |
Use raw configuration endpoint
- extracted variables shared in both collectors (encrypted/unencrypted)
to .env file
- change consul url to contain `?raw=true` parameter which
allows to avoid decoding configuration
Change-Id: Ib10cd8d0cb729a1231fa8a034698c824336b1b68
Issue-ID: DCAEGEN2-827
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
Diffstat (limited to 'tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py')
-rw-r--r-- | tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py b/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py index f091de1b..ec405a91 100644 --- a/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py +++ b/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py @@ -5,7 +5,9 @@ from robot.api import logger from time import sleep XNF_SIMULATOR_NAME = "xNF Simulator" -SIMULATOR_IMAGE_NAME = "onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-xnf-simulator" +HV_VES_COLLECTOR_NAMESPACE="onap" +HV_VES_GROUP_ID="org.onap.dcaegen2.collectors.hv-ves" +SIMULATOR_IMAGE_NAME = HV_VES_COLLECTOR_NAMESPACE + "/" + HV_VES_GROUP_ID + ".hv-collector-xnf-simulator" SIMULATOR_IMAGE_FULL_NAME = os.getenv("DOCKER_REGISTRY_PREFIX") + SIMULATOR_IMAGE_NAME + ":latest" WORKSPACE_ENV = os.getenv("WORKSPACE") certificates_dir_path = WORKSPACE_ENV + "/plans/dcaegen2-collectors-hv-ves/testsuites/ssl/" |