Files
sailing-analytics/java/com.sap.sailing.server.gateway.test.support/WEB-INF/web.xml
T
D049941 3770632759 Test support for the SailingService added, which provides a method to
clear the state. This is necessary, since test needs a way to create a
well defined state.

The method is published via a Servlet. To avoid data loss, it is
protected by a check of the used database. Only if the database
winddbTest is used, the method call will be dispatched to the
SailingService.
2013-12-18 15:04:00 +01:00

17 lines
714 B
XML

<?xml version="1.0" encoding="utf-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<servlet>
<servlet-name>ClearSateServlet</servlet-name>
<servlet-class>com.sap.sailing.server.gateway.test.support.ClearStateServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ClearSateServlet</servlet-name>
<url-pattern>/clearState</url-pattern>
</servlet-mapping>
</web-app>