changeset 6478:6e54f72b4caf

Enable ServerInfoService (!! CONFIG !!).
author Christian Lins <christian.lins@intevation.de>
date Thu, 27 Jun 2013 17:25:12 +0200
parents d1502b8dd091
children ac6c41fcae55
files artifacts/doc/conf/conf.xml gwt-client/src/main/webapp/WEB-INF/web.xml
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/doc/conf/conf.xml	Thu Jun 27 16:24:55 2013 +0200
+++ b/artifacts/doc/conf/conf.xml	Thu Jun 27 17:25:12 2013 +0200
@@ -144,6 +144,10 @@
 
         <service-factories>
             <service-factory
+                name="server-info"
+                service="org.dive4elements.river.artifacts.services.ServerInfoService"
+                description="This service provides generic information and configuration of the artifact server.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
+            <service-factory
                 name="rivers"
                 service="org.dive4elements.river.artifacts.services.RiverService"
                 description="This service returns a list of provided rivers by the artifact server.">org.dive4elements.artifactdatabase.DefaultServiceFactory</service-factory>
--- a/gwt-client/src/main/webapp/WEB-INF/web.xml	Thu Jun 27 16:24:55 2013 +0200
+++ b/gwt-client/src/main/webapp/WEB-INF/web.xml	Thu Jun 27 17:25:12 2013 +0200
@@ -53,6 +53,16 @@
   </servlet-mapping>
 
   <servlet>
+    <servlet-name>server-info</servlet-name>
+    <servlet-class>org.dive4elements.river.client.server.ServerInfoServiceImpl</servlet-class>
+  </servlet>
+
+  <servlet-mapping>
+    <servlet-name>server-info</servlet-name>
+    <url-pattern>/flys/server-info</url-pattern>
+  </servlet-mapping>
+
+  <servlet>
     <servlet-name>artifact</servlet-name>
     <servlet-class>org.dive4elements.river.client.server.ArtifactServiceImpl</servlet-class>
   </servlet>

http://dive4elements.wald.intevation.org