NIHVIVO-3209 Create two controllers: one will show the status of all living instances of VitroBackgroundThread (for system monitoring); the other will wait until they are idle (for Selenium tests).
This commit is contained in:
parent
e3db0778cb
commit
b4796c649a
4 changed files with 332 additions and 0 deletions
|
@ -0,0 +1,31 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Template viewing the authorization mechanisms: current identifiers, factories, policies, etc. -->
|
||||
|
||||
<style media="screen" type="text/css">
|
||||
table.threadInfo {
|
||||
margin: 10px 10px 10px 10px;
|
||||
border: medium groove black;
|
||||
text-align: left;
|
||||
}
|
||||
table.threadInfo th, td {
|
||||
padding: 4px 10px 4px 10px;
|
||||
}
|
||||
table.threadInfo th {
|
||||
font-weight: bolder;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<h2>Background Threads</h2>
|
||||
|
||||
<section id="show-threads" role="region">
|
||||
<#list threads as threadInfo>
|
||||
<table class="threadInfo ${threadInfo.workLevel}" summary="Thread ${threadInfo.name}">
|
||||
<tr><th>Name</th><td>${threadInfo.name}</td></tr>
|
||||
<tr><th>WorkLevel</th><td>${threadInfo.workLevel}</td></tr>
|
||||
<tr><th>Since</th><td>${threadInfo.since}</td></tr>
|
||||
<tr><th>Flags</th><td>${threadInfo.flags}</td></tr>
|
||||
</table>
|
||||
</#list>
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue