<?xml version="1.0" encoding="ISO-8859-1"?>

<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
         version="4.0">
  <display-name>Look Aurora</display-name>
  <filter>
    <description>
      Automatically injects Matomo analytics tracking scripts into HTML responses generated by the application.
    </description>
    <filter-name>MatomoInjectionFilter</filter-name>
    <filter-class>org.silverpeas.looks.aurora.matomo.MatomoInjectionFilter</filter-class>
    <async-supported>true</async-supported>
  </filter>
  <filter-mapping>
    <filter-name>MatomoInjectionFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

  <servlet>
    <servlet-name>WeatherService</servlet-name>
    <servlet-class>org.silverpeas.looks.aurora.servlets.WeatherServiceAdapter</servlet-class>
  </servlet>
  <servlet>
    <servlet-name>GoToSpaceHomepageBackoffice</servlet-name>
    <servlet-class>org.silverpeas.looks.aurora.servlets.GoToSpaceHomepageBackOffice</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>WeatherService</servlet-name>
    <url-pattern>/RWeatherService/*</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>GoToSpaceHomepageBackoffice</servlet-name>
    <url-pattern>/AuroraSpaceHomepageBackoffice</url-pattern>
  </servlet-mapping>
</web-app>