aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-11-09 20:25:14 +0100
committermrichomme <morgan.richomme@orange.com>2020-11-09 20:25:14 +0100
commit1186e5a639393cb90c73dd9b1c7bcd503fb2af3b (patch)
tree81010ce174a4ca4fbf0c2c3bf89e1bd54860f635
parent87f9a552666526765733c14884816ccdef734bc1 (diff)
Add properties for new Clamp case
Issue-ID: TEST-251 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I613404382e2f9abab1aa9d30f6cba0c85c1c289e
-rw-r--r--src/onaptests/steps/loop/clamp.py10
-rw-r--r--src/onaptests/steps/onboard/clamp.py10
2 files changed, 20 insertions, 0 deletions
diff --git a/src/onaptests/steps/loop/clamp.py b/src/onaptests/steps/loop/clamp.py
index e601772..3a5c1ad 100644
--- a/src/onaptests/steps/loop/clamp.py
+++ b/src/onaptests/steps/loop/clamp.py
@@ -32,6 +32,16 @@ class ClampStep(YamlTemplateBaseStep):
self.loop_instance = None
@property
+ def description(self) -> str:
+ """Step description."""
+ return "Retrieve TCA, Policy then create a loop"
+
+ @property
+ def component(self) -> str:
+ """Component name."""
+ return "CLAMP"
+
+ @property
def yaml_template(self) -> dict:
"""Step YAML template.
diff --git a/src/onaptests/steps/onboard/clamp.py b/src/onaptests/steps/onboard/clamp.py
index f864463..1fc8ae0 100644
--- a/src/onaptests/steps/onboard/clamp.py
+++ b/src/onaptests/steps/onboard/clamp.py
@@ -27,6 +27,16 @@ class OnboardClampStep(YamlTemplateBaseStep):
# self.set_logger()
@property
+ def description(self) -> str:
+ """Step description."""
+ return "Onboard service in SDC including a TCA blueprint for CLAMP."
+
+ @property
+ def component(self) -> str:
+ """Component name."""
+ return "SDC"
+
+ @property
def yaml_template(self) -> dict:
"""Step YAML template.