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:
j2blake 2012-10-15 19:23:05 +00:00
parent e3db0778cb
commit b4796c649a
4 changed files with 332 additions and 0 deletions

View file

@ -741,6 +741,24 @@
<url-pattern>/admin/restrictLogins</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>ShowBackgroundThreads</servlet-name>
<servlet-class>edu.cornell.mannlib.vitro.webapp.controller.admin.ShowBackgroundThreadsController</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ShowBackgroundThreads</servlet-name>
<url-pattern>/admin/showThreads</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>WaitForBackgroundThreads</servlet-name>
<servlet-class>edu.cornell.mannlib.vitro.webapp.controller.admin.WaitForBackgroundThreadsController</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>WaitForBackgroundThreads</servlet-name>
<url-pattern>/admin/wait</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>StatementChangeListingController</servlet-name>
<servlet-class>edu.cornell.mannlib.vitro.webapp.controller.edit.listing.jena.StatementChangeListingController</servlet-class>