aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Kuleshov <evn@att.com>2020-05-20 12:08:36 -0400
committerElena Kuleshov <evn@att.com>2020-05-20 12:24:20 -0400
commitac5a3083e7493dbd405d33ed63d98fd5ae9c2998 (patch)
treec206cdc85c15f765eabb52ffb78ff4d9fbe4aa7c
parent5d2800f466ddd98c34d0b1d583a0ebb140cb61c7 (diff)
Use VnfInPlaceUpdate for inPlaceSoftwareUpdate requests
Point to the legacy VnfInPlaceUpdate flow for inPlaceSoftwareUpdate until so-appc-orchestrator is available in ONAP Issue-ID: SO-2947 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: Icb78416c36daccf9a48d5e32cf763a0d35bb03b1
-rw-r--r--adapters/mso-catalog-db-adapter/src/main/resources/db/migration/R__MacroData.sql3
1 files changed, 3 insertions, 0 deletions
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 e27ec2ef27..9e3deaf612 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
@@ -915,3 +915,6 @@ VALUES
('VNFUnsetInMaintFlagActivity','*','*','*','*','Manual','Abort','*', '*'),
('VNFUnsetClosedLoopDisabledActivity','*','*','*','*','Manual','Abort','*', '*');
+UPDATE vnf_recipe
+SET ORCHESTRATION_URI = '/mso/async/services/VnfInPlaceUpdate'
+WHERE NF_ROLE = 'GR-API-DEFAULT' AND ACTION = 'inPlaceSoftwareUpdate';