mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-23 12:33:53 +00:00
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.
17 lines
714 B
XML
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>
|