view contrib/make_flys_release/confs/web.xml @ 4171:1d8faeedda0c

Sort calculation results of a historical discharge calculation based on their start date. Therefore, there are two new inner classes TimerangeItem and HistoricalTimerangeItem that wrap a W, Q, Timerange (and delta Q). WQTimerange and HistoricalWQTimerange now implement a sort() that return the results (TimerangeItem or HistoricalWQTimerangeItem) sorted by their start date.
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 18 Oct 2012 09:28:51 +0200
parents 9d404069f361
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

    <context-param>
        <param-name>server-url</param-name>
        <param-value>http://localhost:8999</param-value>
    </context-param>

    <context-param>
        <param-name>authentication</param-name>
        <param-value>GGInA</param-value>
    </context-param>

    <context-param>
        <param-name>features-file</param-name>
        <param-value>/WEB-INF/features.xml</param-value>
    </context-param>

    <context-param>
        <param-name>log4j-properties</param-name>
        <param-value>/WEB-INF/log4j.properties</param-value>
    </context-param>

    <listener>
        <listener-class>de.intevation.flys.client.server.BaseServletContextListener</listener-class>
    </listener>


  <!-- Servlets -->
  <servlet>
    <servlet-name>user</servlet-name>
    <servlet-class>de.intevation.flys.client.server.UserServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>user</servlet-name>
    <url-pattern>/flys/user</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>artifact</servlet-name>
    <servlet-class>de.intevation.flys.client.server.ArtifactServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>artifact</servlet-name>
    <url-pattern>/flys/artifact</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>getartifact</servlet-name>
    <servlet-class>de.intevation.flys.client.server.GetArtifactServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>getartifact</servlet-name>
    <url-pattern>/flys/getartifact</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>cross-section-km</servlet-name>
    <servlet-class>de.intevation.flys.client.server.CrossSectionKMServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>cross-section-km</servlet-name>
    <url-pattern>/flys/cross-section-km</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>create-collection</servlet-name>
    <servlet-class>de.intevation.flys.client.server.CreateCollectionServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>create-collection</servlet-name>
    <url-pattern>/flys/create-collection</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>rivers</servlet-name>
    <servlet-class>de.intevation.flys.client.server.RiverServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>rivers</servlet-name>
    <url-pattern>/flys/rivers</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>gaugeoverviewinfo</servlet-name>
    <servlet-class>de.intevation.flys.client.server.GaugeOverviewInfoServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>gaugeoverviewinfo</servlet-name>
    <url-pattern>/flys/gaugeoverviewinfo</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>forward</servlet-name>
    <servlet-class>de.intevation.flys.client.server.StepForwardServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>forward</servlet-name>
    <url-pattern>/flys/forward</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>feed</servlet-name>
    <servlet-class>de.intevation.flys.client.server.FeedServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>feed</servlet-name>
    <url-pattern>/flys/feed</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>fixings-overview</servlet-name>
    <servlet-class>de.intevation.flys.client.server.FixingsOverviewServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>fixings-overview</servlet-name>
    <url-pattern>/flys/fixings-overview</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>advance</servlet-name>
    <servlet-class>de.intevation.flys.client.server.AdvanceServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>advance</servlet-name>
    <url-pattern>/flys/advance</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>add-artifact</servlet-name>
    <servlet-class>de.intevation.flys.client.server.AddArtifactServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>add-artifact</servlet-name>
    <url-pattern>/flys/add-artifact</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>load-artifact</servlet-name>
    <servlet-class>de.intevation.flys.client.server.LoadArtifactServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>load-artifact</servlet-name>
    <url-pattern>/flys/load-artifact</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>describe-collection</servlet-name>
    <servlet-class>de.intevation.flys.client.server.DescribeCollectionServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>describe-collection</servlet-name>
    <url-pattern>/flys/describe-collection</url-pattern>
  </servlet-mapping>

    <servlet>
    <servlet-name>user-collections</servlet-name>
    <servlet-class>de.intevation.flys.client.server.UserCollectionsServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>user-collections</servlet-name>
    <url-pattern>/flys/user-collections</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>distanceinfo</servlet-name>
    <servlet-class>de.intevation.flys.client.server.DistanceInfoServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>distanceinfo</servlet-name>
    <url-pattern>/flys/distanceinfo</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>dischargeinfo</servlet-name>
    <servlet-class>de.intevation.flys.client.server.DischargeInfoServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>dischargeinfo</servlet-name>
    <url-pattern>/flys/dischargeinfo</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>DischargeInfoXML</servlet-name>
    <servlet-class>de.intevation.flys.client.server.DischargeInfoXML</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>DischargeInfoXML</servlet-name>
    <url-pattern>/flys/dischargeinfoxml</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>meta-data</servlet-name>
    <servlet-class>de.intevation.flys.client.server.MetaDataServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>meta-data</servlet-name>
    <url-pattern>/flys/meta-data</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>mainvalues</servlet-name>
    <servlet-class>de.intevation.flys.client.server.WQInfoServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>mainvalues</servlet-name>
    <url-pattern>/flys/mainvalues</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>gaugeinfo</servlet-name>
    <servlet-class>de.intevation.flys.client.server.GaugeInfoServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>gaugeinfo</servlet-name>
    <url-pattern>/flys/gaugeinfo</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>csv</servlet-name>
    <servlet-class>de.intevation.flys.client.server.CSVExportServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>csv</servlet-name>
    <url-pattern>/flys/csv</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>ChartOutputService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.ChartOutputServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>ChartOutputService</servlet-name>
    <url-pattern>/flys/chart</url-pattern>
  </servlet-mapping>

  <!-- MapFish Print -->
  <servlet>
    <servlet-name>MapOutputService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.MapOutputServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>MapOutputService</servlet-name>
    <url-pattern>/flys/map</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>mapfish.print</servlet-name>
    <servlet-class>org.mapfish.print.servlet.MapPrinterServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>WEB-INF/config.yaml</param-value>
    </init-param>
  </servlet>

  <servlet-mapping>
    <servlet-name>mapfish.print</servlet-name>
    <url-pattern>/flys/mapfish-print/*</url-pattern>
  </servlet-mapping>

  <!-- Servlet to bridge between MapFish Print and FLYS3 -->
  <servlet>
    <servlet-name>MapPrintService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.MapPrintServiceImpl</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>WEB-INF/config.yaml</param-value>
    </init-param>
    <init-param>
      <param-name>print-url</param-name>
      <param-value>http://localhost:8888/flys/mapfish-print</param-value>
    </init-param>
  </servlet>

  <servlet-mapping>
    <servlet-name>MapPrintService</servlet-name>
    <url-pattern>/flys/map-print</url-pattern>
  </servlet-mapping>


  <servlet>
    <servlet-name>FixingsKMChartService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.FixingsKMChartServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>FixingsKMChartService</servlet-name>
    <url-pattern>/flys/fixings-km-chart</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>DistanceInfoXML</servlet-name>
    <servlet-class>de.intevation.flys.client.server.DistanceInfoXML</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>DistanceInfoXML</servlet-name>
    <url-pattern>/flys/distanceinfoxml</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>ExportService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.ExportServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>ExportService</servlet-name>
    <url-pattern>/flys/export</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>CollectionAttributeService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.CollectionAttributeServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>CollectionAttributeService</servlet-name>
    <url-pattern>/flys/collection-attribute</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>CollectionItemAttributeService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.CollectionItemAttributeServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>CollectionItemAttributeService</servlet-name>
    <url-pattern>/flys/collection-item-attribute</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>ChartInfoService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.ChartInfoServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>ChartInfoService</servlet-name>
    <url-pattern>/flys/chart-info</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>ReportService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.ReportServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>ReportService</servlet-name>
    <url-pattern>/flys/report</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>SetCollectionNameService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.SetCollectionNameServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>SetCollectionNameService</servlet-name>
    <url-pattern>/flys/set-collectionname</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>SetCollectionTTLService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.SetCollectionTTLServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>SetCollectionTTLService</servlet-name>
    <url-pattern>/flys/set-collectionttl</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>DeleteCollectionService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.DeleteCollectionServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>DeleteCollectionService</servlet-name>
    <url-pattern>/flys/delete-collection</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>MapInfoService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.MapInfoServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>MapInfoService</servlet-name>
    <url-pattern>/flys/map-info</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>getfeatureinfo</servlet-name>
    <servlet-class>de.intevation.flys.client.server.GFIServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>getfeatureinfo</servlet-name>
    <url-pattern>/flys/getfeatureinfo</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>getcapabilities</servlet-name>
    <servlet-class>de.intevation.flys.client.server.GCServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>getcapabilities</servlet-name>
    <url-pattern>/flys/getcapabilities</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>DescribeArtifactService</servlet-name>
    <servlet-class>de.intevation.flys.client.server.DescribeArtifactServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>DescribeArtifactService</servlet-name>
    <url-pattern>/flys/describe</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>remove-artifact</servlet-name>
    <servlet-class>de.intevation.flys.client.server.RemoveArtifactServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>remove-artifact</servlet-name>
    <url-pattern>/flys/remove-artifact</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>GetWMSUrls</servlet-name>
    <servlet-class>de.intevation.flys.client.server.MapUrlServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>GetWMSUrls</servlet-name>
    <url-pattern>/flys/map-urls</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>FileUpload</servlet-name>
    <servlet-class>de.intevation.flys.client.server.FileUploadServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>FileUpload</servlet-name>
    <url-pattern>/flys/fileupload</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>themelisting</servlet-name>
    <servlet-class>de.intevation.flys.client.server.ThemeListingServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>themelisting</servlet-name>
    <url-pattern>/flys/themelisting</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>SQKMChart</servlet-name>
    <servlet-class>de.intevation.flys.client.server.SQKMChartServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>SQKMChart</servlet-name>
    <url-pattern>/flys/sq-km-chart</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>BedKMChart</servlet-name>
    <servlet-class>de.intevation.flys.client.server.BedKMChartServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>BedKMChart</servlet-name>
    <url-pattern>/flys/bed-km-chart</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>BedloadKMChart</servlet-name>
    <servlet-class>de.intevation.flys.client.server.BedloadKMChartServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>BedloadKMChart</servlet-name>
    <url-pattern>/flys/bedload-km-chart</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>login</servlet-name>
    <servlet-class>de.intevation.flys.client.server.LoginServlet</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>login</servlet-name>
    <url-pattern>/flys/login</url-pattern>
  </servlet-mapping>

  <servlet>
    <servlet-name>modules</servlet-name>
    <servlet-class>de.intevation.flys.client.server.ModuleServiceImpl</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>modules</servlet-name>
    <url-pattern>/flys/modules</url-pattern>
  </servlet-mapping>

  <filter>
    <filter-name>GGInAFilter</filter-name>
    <filter-class>de.intevation.flys.client.server.GGInAFilter</filter-class>
    <init-param>
        <param-name>deactivate</param-name>
        <param-value>false</param-value>
    </init-param>
  </filter>

  <filter-mapping>
    <filter-name>GGInAFilter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

  <!-- Default page to serve -->
  <welcome-file-list>
    <welcome-file>FLYS.html</welcome-file>
  </welcome-file-list>

</web-app>

http://dive4elements.wald.intevation.org