ReactorServiceManager reactorServiceManager = reactorServiceManagementMap.get(serviceName);
if (!reactorServiceManager.isServiceEnabled()) {
responder.sendString(HttpResponseStatus.FORBIDDEN, String.format("Service %s is not enabled", serviceName));
return;
}
<BUG>if (reactorServiceManager.canCheckStatus() && reactorServiceManager.isServiceAvailable()) {
responder.sendString(HttpResponseStatus.OK, STATUSOK);

} else if (reactorServiceManager.canCheckStatus()) {
responder.sendString(HttpResponseStatus.OK, STATUSNOTOK);
</BUG>
} else {

ReactorServiceManager reactorServiceManager = reactorServiceManagementMap.get(serviceName);
if (!reactorServiceManager.isServiceEnabled()) {
responder.sendString(HttpResponseStatus.FORBIDDEN, String.format("Service %s is not enabled", serviceName));
return;
}
if (reactorServiceManager.canCheckStatus() && reactorServiceManager.isServiceAvailable()) {
JsonObject json = new JsonObject();
json.addProperty("status", STATUSOK);
responder.sendJson(HttpResponseStatus.OK, json);
} else if (reactorServiceManager.canCheckStatus()) {
JsonObject json = new JsonObject();
json.addProperty("status", STATUSNOTOK);
responder.sendJson(HttpResponseStatus.OK, json);
} else {
