diff options
Diffstat (limited to 'src/onaptests/steps')
-rw-r--r-- | src/onaptests/steps/instantiate/sdnc_service.py | 8 | ||||
-rw-r--r-- | src/onaptests/steps/instantiate/service_macro.py | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/onaptests/steps/instantiate/sdnc_service.py b/src/onaptests/steps/instantiate/sdnc_service.py index 6aea501..747251f 100644 --- a/src/onaptests/steps/instantiate/sdnc_service.py +++ b/src/onaptests/steps/instantiate/sdnc_service.py @@ -266,12 +266,12 @@ class CheckSdncHealthStep(BaseSdncStep, SdncElement): result = self.send_message_json( "POST", "SDNC SLI API Healthcheck", - f"{self.base_url}/restconf/operations/SLI-API:healthcheck") + f"{self.base_url}/rests/operations/SLI-API:healthcheck") message = "" - if result and result["output"]: - if result["output"]["response-code"] == "200": + if result and result["SLI-API:output"]: + if result["SLI-API:output"]["response-code"] == "200": return - message = result["output"]["response-message"] + message = result["SLI-API:output"]["response-message"] raise OnapTestException("SDNC is not healthy. %s" % message) diff --git a/src/onaptests/steps/instantiate/service_macro.py b/src/onaptests/steps/instantiate/service_macro.py index ed60e5b..047acb8 100644 --- a/src/onaptests/steps/instantiate/service_macro.py +++ b/src/onaptests/steps/instantiate/service_macro.py @@ -176,6 +176,7 @@ class YamlTemplateServiceMacroInstantiateBaseStep(YamlTemplateBaseStep): for vf_module_data in vnf_data.get("vf_module_parameters", [])] )) + skip_pnf_registration_event = False try: if settings.PNF_WITHOUT_VES: skip_pnf_registration_event = True |