Alacarte Recreate Update 98/74298/1
authorSmokowski, Steve (ss835w) <ss835w@us.att.com>
Wed, 5 Dec 2018 19:56:24 +0000 (14:56 -0500)
committerSmokowski, Steve (ss835w) <ss835w@us.att.com>
Wed, 5 Dec 2018 19:56:24 +0000 (14:56 -0500)
Updated aLaCarte logic for recreate actions

Change-Id: I8f3cb8f53bbf9b0f77416ce09bba8313f5f58093
Issue-ID: SO-128
Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/ServiceInstances.java

index 0cd5d8d..79d2a86 100644 (file)
@@ -820,7 +820,7 @@ public class ServiceInstances {
                     .errorInfo(errorLoggerInfo).build();
         }
                
-               if(!requestScope.equalsIgnoreCase(ModelType.service.name())){
+               if(!requestScope.equalsIgnoreCase(ModelType.service.name()) && action != Action.recreateInstance){
                        aLaCarte = true;
                }else if(aLaCarte == null){
                        aLaCarte = false;