private static final Logger LOG = LoggerFactory
.getLogger(ConfigureNodeExecutor.class);
private static final String CAUGHT_EXCEPTION_MSG="Caught exception from ";
+ private static final String ALREADY_ACTIVE= "already-active";
+ private static final String NOT_FOUND= "not-found";
public SvcLogicNode execute(SvcLogicServiceBase svc, SvcLogicNode node,
SvcLogicContext ctx) throws SvcLogicException {
case SUCCESS:
break;
case ALREADY_ACTIVE:
- outValue = "already-active";
+ outValue = ALREADY_ACTIVE;
break;
case NOT_FOUND:
- outValue = "not-found";
+ outValue = NOT_FOUND;
break;
case NOT_READY:
outValue = "not-ready";
case SUCCESS:
break;
case ALREADY_ACTIVE:
- outValue = "already-active";
+ outValue = ALREADY_ACTIVE;
break;
case NOT_FOUND:
- outValue = "not-found";
+ outValue = NOT_FOUND;
break;
case NOT_READY:
outValue = "not-ready";
}
break;
case ALREADY_ACTIVE:
- outValue = "already-active";
+ outValue = ALREADY_ACTIVE;
break;
case NOT_FOUND:
- outValue = "not-found";
+ outValue = NOT_FOUND;
break;
case NOT_READY:
outValue = "not-ready";
outValue = "success";
break;
case ALREADY_ACTIVE:
- outValue = "already-active";
+ outValue = ALREADY_ACTIVE;
break;
case NOT_FOUND:
- outValue = "not-found";
+ outValue = NOT_FOUND;
break;
case NOT_READY:
outValue = "not-ready";
outValue = "success";
break;
case ALREADY_ACTIVE:
- outValue = "already-active";
+ outValue = ALREADY_ACTIVE;
break;
case NOT_FOUND:
- outValue = "not-found";
+ outValue = NOT_FOUND;
break;
case NOT_READY:
outValue = "not-ready";