OSMENG-1088: NS Terminate Workflow
Add stub for workflow definition
Change-Id: I56d1807abc8c40ee7ea7b444b505220c4de3e329
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
diff --git a/osm_common/temporal/workflows/ns.py b/osm_common/temporal/workflows/ns.py
index 70e1e3d..ad21f01 100644
--- a/osm_common/temporal/workflows/ns.py
+++ b/osm_common/temporal/workflows/ns.py
@@ -75,3 +75,26 @@
@abstractmethod
async def run(self, workflow_input: Input) -> None:
pass
+
+
+class NsTerminateWorkflow(BaseWorkflow):
+ @dataclass
+ class Input:
+ """
+
+ Attributes:
+ -----------
+ ns_uuid : str
+ The UUID of the NS which is stored in the OSM nsrs
+ collection in Mongo.
+ vim_uuid : str
+ The UUID of the VIM account as stored in the OSM vim
+ collection in Mongo
+ """
+
+ ns_uuid: str
+ vim_uuid: str
+
+ @abstractmethod
+ async def run(self, workflow_input: Input) -> None:
+ pass