computeTargetCommand.doIt();
Target target = computeTargetCommand.getTarget();
if (target == null)
return HttpUtil.createErrorStatus(IStatus.WARNING, "CF-TargetNotSet", "Target not set"); //$NON-NLS-1$
return new GetServiceInstancesCommand(target).doIt();
} catch (Exception e) {
String msg = NLS.bind("Failed to handle request for {0}", path); //$NON-NLS-1$
ServerStatus status = new ServerStatus(IStatus.ERROR, HttpServletResponse.SC_INTERNAL_SERVER_ERROR, msg, e);
logger.error(msg, e);