import com.google.common.io.Resources;
import java.util.Comparator;
import org.sonar.api.server.ws.WebService;
+import org.sonar.process.ProcessProperties;
import org.sonar.process.cluster.health.NodeDetails;
import org.sonar.process.cluster.health.NodeHealth;
import org.sonar.server.health.ClusterHealth;
" <li>YELLOW: SonarQube is usable, but it needs attention in order to be fully operational</li>" +
" <li>RED: SonarQube is not operational</li>" +
" </ul>" +
- "</p>")
+ "</p><br>" +
+ "Requires the 'Administer System' permission or " +
+ "system passcode (see " + ProcessProperties.Property.WEB_SYSTEM_PASS_CODE + " in sonar.properties).<br>" +
+ "When SonarQube is in safe mode (waiting or running a database upgrade), only the authentication with a system passcode is supported.")
.setSince("6.6")
.setResponseExample(Resources.getResource(this.getClass(), "example-health.json"))
.setHandler(handler);