1 <?xml version="1.0" encoding="ISO-8859-1" ?>
2 <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
6 This is a JSP fragment to be inserted into document, cannot be used alone
9 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
10 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
11 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
12 <%@ taglib uri="http://displaytag.sf.net" prefix="dt" %>
14 <c:import url="../template_header.jsp" >
15 <c:param name="title">Service Status</c:param>
16 <c:param name="html_custom_css"><link href="${pageContext.request.contextPath}/static/css/table.css"
17 rel="stylesheet"></c:param>
20 <div class="row" id="mainpage">
21 <div class="col-md-12">
22 <div class="panel panel-default">
23 <div class="panel panel-heading">
24 <h1 class="panel-title">JABAWS Service Status</h1>
26 <div class="panel-body">
28 <div style="margin: 20px ">
30 <c:set var="host" value="${pageContext.request.scheme}://${pageContext.request.serverName}:${pageContext.request.serverPort}${pageContext.request.contextPath}" />
34 This servlet tests if the web services are healthy on the tomcat instance on which JABAWS is deployed. <br/>
35 If the tomcat instance is mapped to another "proxy" web server, the servlet does not test availability of <br/>
36 the web services at the endpoints of this external web server.</li>
37 <%--<li>All the web services are tested while this page is being loaded.</li>--%>
38 <%--<li>If you want to test the services again, reload this page.</li>--%>
39 <li>Click on the service status to see the results of the testing.</li>
40 <li><strong>Server:</strong> <a href="${host}">${host}</a> </li>
41 <li><strong>Time of execution:</strong> ${timeexec} sec</li>
42 <li><strong>Service Status as of:</strong> ${timestamp}</li>
43 <li><a href="${pageContext.request.contextPath}/ServiceStatus" title="JABAWS web-services status."
44 id="show_hidden1"><i class="fa fa-cogs" aria-hidden="true"></i> Refresh Service Status</a></li>
45 <%--<li> Your IP is ${pageContext.request.remoteAddr}</li>--%>
48 <h3 style="text-align: center;color: green">
49 Alignment Web Services
54 <th title="Service name" width="100px">Service</th>
55 <th title="Service status">Version</th>
56 <th title="Service status">Status</th>
57 <th title="Service details">Reference and more details</th>
60 <c:forEach items="${results}" var="res" varStatus="status">
61 <c:if test="${res.group=='alignment'}">
62 <c:if test="${status.count%2==0}">
64 </c:if><c:if test="${status.count%2!=0}">
67 <td width="100px"><a href="${host}/${res.service}?wsdl">${res.service}</a></td>
68 <td>${res.version}</td>
69 <c:if test="${res.status}">
70 <td><div class="source">
71 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
72 title="Click to open/close"><span style="color: green">OK</span></div>
73 <div class="body collapsed" style="max-width: 400px;">
74 <pre>${res.details}</pre>
77 <c:if test="${!res.status}">
78 <td><div class="source">
79 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
80 title="Click to open/close"><span style="color: red">Fail</span></div>
81 <div class="body collapsed" style="max-width: 400px;">
82 <pre>${res.details}</pre>
85 <td><div class="source">
86 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
87 title="Click to open/close"><span style="color: brown">INFO</span></div>
88 <div class="body collapsed" style="max-width: 500px;">
89 <pre>${res.reference}</pre>
98 <h3 style="text-align: center;color: green;">
104 <th title="Service name" width="100px">Service</th>
105 <th title="Service status">Version</th>
106 <th title="Service status">Status</th>
107 <th title="Service details">Reference and more details</th>
110 <c:forEach items="${results}" var="res" varStatus="status">
111 <c:if test="${res.group=='disorder'}">
112 <c:if test="${status.count%2==0}">
114 </c:if><c:if test="${status.count%2!=0}">
117 <td width="100px"><a href="${host}/${res.service}?wsdl">${res.service}</a></td>
118 <td>${res.version}</td>
119 <c:if test="${res.status}">
120 <td><div class="source">
121 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
122 title="Click to open/close"><span style="color: green">OK</span></div>
123 <div class="body collapsed" style="max-width: 400px;">
124 <pre>${res.details}</pre>
127 <c:if test="${!res.status}">
128 <td><div class="source">
129 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
130 title="Click to open/close"><span style="color: red">Fail</span></div>
131 <div class="body collapsed" style="max-width: 400px;">
132 <pre>${res.details}</pre>
135 <td><div class="source">
136 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
137 title="Click to open/close"><span style="color: brown">INFO</span></div>
138 <div class="body collapsed" style="max-width: 500px;">
139 <pre>${res.reference}</pre>
148 <h3 style="text-align: center;color: green;">
154 <th title="Service name" width="100px">Service</th>
155 <th title="Service status">Version</th>
156 <th title="Service status">Status</th>
157 <th title="Service details">Reference and more details</th>
160 <c:forEach items="${results}" var="res" varStatus="status">
161 <c:if test="${res.group!='alignment' and res.group!='disorder'}">
162 <c:if test="${status.count%2==0}">
164 </c:if><c:if test="${status.count%2!=0}">
167 <td width="100px"><a href="${host}/${res.service}?wsdl">${res.service}</a></td>
168 <td>${res.version}</td>
169 <c:if test="${res.status}">
170 <td><div class="source">
171 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
172 title="Click to open/close"><span style="color: green">OK</span></div>
173 <div class="body collapsed" style="max-width: 400px;">
174 <pre>${res.details}</pre>
177 <c:if test="${!res.status}">
178 <td><div class="source">
179 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
180 title="Click to open/close"><span style="color: red">Fail</span></div>
181 <div class="body collapsed" style="max-width: 400px;">
182 <pre>${res.details}</pre>
185 <td><div class="source">
186 <div class="header collapsed" onclick="$(this).next('.body.collapsed').toggle();"
187 title="Click to open/close"><span style="color: brown">INFO</span></div>
188 <div class="body collapsed" style="max-width: 500px;">
189 <pre>${res.reference}</pre>
196 <p>If you would like to integrate JABAWS with automated health check system you may want to use
197 the HTTP code response service checker. It responds with HTTP status code depending on the status
199 For more information please refer to <a href="${pageContext.request.contextPath}/docs/advanced.html#testing-the-jabaws-server">
200 Testing JABAWS server</a> help page.</p>
201 </div><!-- margin div -->
207 <jsp:include page="../template_footer.jsp" />