From 5fd0452387ccff6995c19ec5eeb7866328e34cbc Mon Sep 17 00:00:00 2001
From: sreeja gattagouni <sg00744975@techmahindra.com>
Date: Fri, 9 Sep 2022 16:16:30 +0530
Subject: Rollback Scenario for recursive  orchestration

-Child Services may fail in any of the BB's while creation of composite services, to handle in efficient manner, it is complied with existing rollback logic.
-In case of  Child Services >1 , when Workflow fails, the instantiated child remains in COMPLETED status, thus rollback changes ensure that such services are Deleted by triggering DeleteChildSvcBB.
-Parent Service is ROLLED-BACK in case of any child service failing in the workflow. Instantiated child services are Deleted from AAI as well.

Issue-ID: SO-3982
Change-ID:I73f97f986a817d423f92f8d922dcd9647b8a2503
Signed-off-by: sreeja gattagouni <sg00744975@techmahindra.com>
---
 .../src/main/resources/db/migration/R__MacroData.sql                   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'adapters/mso-catalog-db-adapter/src/main/resources/db/migration/R__MacroData.sql')

diff --git a/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/R__MacroData.sql b/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/R__MacroData.sql
index c1a67a5990..84c746e2f9 100644
--- a/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/R__MacroData.sql
+++ b/adapters/mso-catalog-db-adapter/src/main/resources/db/migration/R__MacroData.sql
@@ -908,4 +908,5 @@ VALUES
 ('VNFStopActivity',NULL,'VNFStartActivity',NULL),
 ('VNFQuiesceTrafficActivity',NULL,'VNFResumeTrafficActivity',NULL),
 ('EtsiVnfInstantiateBB',NULL,'EtsiVnfDeleteBB',NULL),
-('AddFabricConfigurationBB',NULL,'DeleteFabricConfigurationBB',NULL);
+('AddFabricConfigurationBB',NULL,'DeleteFabricConfigurationBB',NULL),
+('CreateChildServiceBB',NULL,'DeleteChildServiceBB',NULL);
\ No newline at end of file
-- 
cgit 1.2.3-korg

