anchor.diff:  --%>
   
   <%--
  -  This page is included by other JSPs to create a box containing a treemap/heatmap of
  -  outages grouped by nodes, foreignSources or categories.
  +  This page is included by other JSPs to create a box containing a list of grafana dashboards.
   
     It expects that a <base> tag has been set in the including page
     that directs all URLs to be relative to the servlet context.
  
positive.code:             && !"".equals(grafanaHostname)
              && !"".equals(grafanaProtocol)
              && ("http".equals(grafanaProtocol) || "https".equals(grafanaProtocol))) {
          /**
           * Creating the Http client instance...
           */
          DefaultHttpClient httpclient = new DefaultHttpClient();
  
          HttpHost httpHost = new HttpHost(grafanaHostname, grafanaPort, grafanaProtocol);
  
          /**
           * ...using the search API url.
           */
          HttpGet httpGet = new HttpGet("/api/search/");
          httpGet.setHeader("Authorization", "Bearer " + grafanaApiKey);
  
          /**
           * Invoke the request to the Grafana host.
           */
          HttpResponse httpResponse = httpclient.execute(httpHost, httpGet);
  
          /**
           * Convert the complete response into a string...
           */
          responseString = IOUtils.toString(httpResponse.getEntity().getContent(), "UTF-8");
      }
  %>
  
  <div id="heatmap-box" class="panel panel-default">
      <div class="panel-heading">
          <h3 class="panel-title">Grafana Dashboards</h3>
      </div>
      <div class="panel-body">
          <script type="text/javascript" src="/opennms/js/jquery/jquery-1.8.2.min.js"></script>
          <script type="text/javascript" src="/opennms/js/jquery/ui/jquery-ui-1.8.2.custom.js"></script>
          <%
              if (responseString != null) {
          %>
  
negative.code:                 org.apache.http.HttpHost,
                  org.apache.http.HttpResponse,
                  org.apache.http.client.methods.HttpGet,
                  org.apache.http.conn.ConnectTimeoutException,
                  org.apache.http.impl.client.DefaultHttpClient,
                  org.apache.http.params.HttpConnectionParams,
                  org.apache.http.params.HttpParams,
                  org.apache.http.util.EntityUtils,
                  java.net.UnknownHostException" %>
  
  <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
  