[PATCH] Enable ServerInfoService (!! CONFIG !!)

Wald Commits scm-commit at wald.intevation.org
Thu Jun 27 17:25:21 CEST 2013


# HG changeset patch
# User Christian Lins <christian.lins at intevation.de>
# Date 1372346712 -7200
# Node ID 6e54f72b4caf93d15b570518f25b12744d9629dd
# Parent  d1502b8dd0918e5627e46c13fcae4b9b554eb648
Enable ServerInfoService (!! CONFIG !!).

diff -r d1502b8dd091 -r 6e54f72b4caf artifacts/doc/conf/conf.xml
--- 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>
diff -r d1502b8dd091 -r 6e54f72b4caf gwt-client/src/main/webapp/WEB-INF/web.xml
--- 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>


More information about the Dive4elements-commits mailing list