diff options
author | 2020-10-07 09:02:51 +0000 | |
---|---|---|
committer | 2020-10-07 09:02:51 +0000 | |
commit | d1d44781c7d03c8794dd626184f77d9836264212 (patch) | |
tree | c4fd34da2631a3a775612946841bd7149b664f8c /src/onaptests/steps/onboard | |
parent | 9cd3c4fef7b7e980321486bfd1a86366a2221a16 (diff) | |
parent | 84a44a0cf70e2e55a13e4e994836ee074b7039aa (diff) |
Merge "Collect steps execution result"
Diffstat (limited to 'src/onaptests/steps/onboard')
-rw-r--r-- | src/onaptests/steps/onboard/service.py | 2 | ||||
-rw-r--r-- | src/onaptests/steps/onboard/vendor.py | 1 | ||||
-rw-r--r-- | src/onaptests/steps/onboard/vf.py | 2 | ||||
-rw-r--r-- | src/onaptests/steps/onboard/vsp.py | 2 |
4 files changed, 7 insertions, 0 deletions
diff --git a/src/onaptests/steps/onboard/service.py b/src/onaptests/steps/onboard/service.py index 42a1db4..87211bd 100644 --- a/src/onaptests/steps/onboard/service.py +++ b/src/onaptests/steps/onboard/service.py @@ -20,6 +20,7 @@ class ServiceOnboardStep(BaseStep): super().__init__(cleanup=cleanup) self.add_step(VfOnboardStep(cleanup=cleanup)) + @BaseStep.store_state def execute(self): """Onboard service. @@ -79,6 +80,7 @@ class YamlTemplateServiceOnboardStep(YamlTemplateBaseStep): else: return self.parent.service_name + @YamlTemplateBaseStep.store_state def execute(self): """Onboard service.""" super().execute() diff --git a/src/onaptests/steps/onboard/vendor.py b/src/onaptests/steps/onboard/vendor.py index 8a4cb48..49d721b 100644 --- a/src/onaptests/steps/onboard/vendor.py +++ b/src/onaptests/steps/onboard/vendor.py @@ -7,6 +7,7 @@ from ..base import BaseStep class VendorOnboardStep(BaseStep): """Vendor onboard step.""" + @BaseStep.store_state def execute(self): """Onboard vendor. diff --git a/src/onaptests/steps/onboard/vf.py b/src/onaptests/steps/onboard/vf.py index 2cda931..f26d66d 100644 --- a/src/onaptests/steps/onboard/vf.py +++ b/src/onaptests/steps/onboard/vf.py @@ -18,6 +18,7 @@ class VfOnboardStep(BaseStep): super().__init__(cleanup=cleanup) self.add_step(VspOnboardStep(cleanup=cleanup)) + @BaseStep.store_state def execute(self): """Onboard Vf. @@ -56,6 +57,7 @@ class YamlTemplateVfOnboardStep(YamlTemplateBaseStep): """ return self.parent.yaml_template[self.parent.service_name] + @YamlTemplateBaseStep.store_state def execute(self): """Onboard Vfs from YAML template.""" super().execute() diff --git a/src/onaptests/steps/onboard/vsp.py b/src/onaptests/steps/onboard/vsp.py index 8ac47b5..ba6020a 100644 --- a/src/onaptests/steps/onboard/vsp.py +++ b/src/onaptests/steps/onboard/vsp.py @@ -19,6 +19,7 @@ class VspOnboardStep(BaseStep): super().__init__(cleanup=cleanup) self.add_step(VendorOnboardStep(cleanup=cleanup)) + @BaseStep.store_state def execute(self): """Onboard Vsp. @@ -58,6 +59,7 @@ class YamlTemplateVspOnboardStep(YamlTemplateBaseStep): """ return self.parent.yaml_template + @YamlTemplateBaseStep.store_state def execute(self): """Onboard Vsps from YAML template. |