Merge "Add APPC-related Activities for WFD"
authorSteve Smokowski <ss835w@att.com>
Thu, 14 Mar 2019 12:59:48 +0000 (12:59 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 14 Mar 2019 12:59:48 +0000 (12:59 +0000)
1  2 
bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/infrastructure/appc/tasks/AppcRunTasks.java

@@@ -68,6 -68,7 +68,7 @@@ public class AppcRunTasks 
                execution.setVariable("actionResumeTraffic", Action.ResumeTraffic);             
                execution.setVariable("actionStop", Action.Stop);
                execution.setVariable("actionStart", Action.Start);
+               execution.setVariable("actionHealthCheck", Action.HealthCheck);
                execution.setVariable("rollbackVnfStop", false);
                execution.setVariable("rollbackVnfLock", false);
                execution.setVariable("rollbackQuiesceTraffic", false);
                        mapRollbackVariables(execution, action, appcCode);
                }
                catch (Exception e) {
 -                      logger.error("{} {} {} {} {} {}", MessageEnum.BPMN_GENERAL_EXCEPTION.toString(),
 -                              "Caught exception in runAppcCommand", "BPMN", MsoLogger.getServiceName(),
 +                      logger.error("{} {} {} {} {}", MessageEnum.BPMN_GENERAL_EXCEPTION.toString(),
 +                              "Caught exception in runAppcCommand", "BPMN",
                                MsoLogger.ErrorCode.UnknownError.getValue(), "APPC Error", e);
                        appcMessage = e.getMessage();
                }