Distribute service for macro service instantiation 62/140862/1
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Fri, 9 May 2025 09:48:19 +0000 (11:48 +0200)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Fri, 9 May 2025 09:48:19 +0000 (11:48 +0200)
Use distribution step instead of onboard for instantitation

Issue-ID: TEST-404
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I8cbd8c6304662b957312e598212053b41d2b9e4a

src/onaptests/steps/instantiate/service_macro.py

index d81a369..e074a5e 100644 (file)
@@ -24,7 +24,7 @@ from onaptests.steps.cloud.customer_service_subscription_create import \
     CustomerServiceSubscriptionCreateStep
 from onaptests.steps.instantiate.sdnc_service import TestSdncStep
 from onaptests.steps.onboard.service import (VerifyServiceDistributionStep,
-                                             YamlTemplateServiceOnboardStep)
+                                             YamlTemplateServiceDistributionStep)
 
 
 class YamlTemplateServiceMacroInstantiateBaseStep(YamlTemplateBaseStep):
@@ -45,7 +45,7 @@ class YamlTemplateServiceMacroInstantiateBaseStep(YamlTemplateBaseStep):
         self._model_yaml_template: dict = None
         self._service_instance_name: str = None
         if not settings.ONLY_INSTANTIATE:
-            self.add_step(YamlTemplateServiceOnboardStep())
+            self.add_step(YamlTemplateServiceDistributionStep())
 
             if any(
                 filter(lambda x: x in self.yaml_template[self.service_name].keys(),