comparison flys-artifacts/doc/conf/conf.xml @ 4656:442fbb290fa8

Introduce river mapfile generation (WARNING: Changes in config xml files required!). On startup the RiverMapfileGeneratorStarter is called by the server app. The starter invokes a call to RiverMapfileGenerator.generate() which reads all available rivers from the database and generates layers for each river (in theory...uncompleted) in a river.map file. The old MapfileGenerator which generates layers that have artifact dependencies is now in ArtifactMapfileGenerator.
author Christian Lins <christian.lins@intevation.de>
date Tue, 11 Dec 2012 15:24:24 +0100
parents 861c47e0a8a0
children a7d080347ac3
comparison
equal deleted inserted replaced
4655:cd44d28d0fbc 4656:442fbb290fa8
4 <!ENTITY datacage-db SYSTEM "datacage-db.xml"> 4 <!ENTITY datacage-db SYSTEM "datacage-db.xml">
5 <!ENTITY backend-db SYSTEM "backend-db.xml"> 5 <!ENTITY backend-db SYSTEM "backend-db.xml">
6 <!ENTITY seddb-db SYSTEM "seddb-db.xml"> 6 <!ENTITY seddb-db SYSTEM "seddb-db.xml">
7 <!ENTITY rest-server SYSTEM "rest-server.xml"> 7 <!ENTITY rest-server SYSTEM "rest-server.xml">
8 <!ENTITY floodmap SYSTEM "floodmap.xml"> 8 <!ENTITY floodmap SYSTEM "floodmap.xml">
9 <!ENTITY rivermap SYSTEM "rivermap.xml">
9 ]> 10 ]>
10 <artifact-database> 11 <artifact-database>
11 <export-secret>YOUR_SECRET</export-secret> 12 <export-secret>YOUR_SECRET</export-secret>
12 <factories> 13 <factories>
13 <context-factory>de.intevation.flys.artifacts.context.FLYSContextFactory</context-factory> 14 <context-factory>de.intevation.flys.artifacts.context.FLYSContextFactory</context-factory>
222 </factories> 223 </factories>
223 224
224 <lifetime-listeners> 225 <lifetime-listeners>
225 <listener>de.intevation.flys.artifacts.datacage.Datacage</listener> 226 <listener>de.intevation.flys.artifacts.datacage.Datacage</listener>
226 <listener>de.intevation.flys.wsplgen.SchedulerSetup</listener> 227 <listener>de.intevation.flys.wsplgen.SchedulerSetup</listener>
227 <listener>de.intevation.flys.map.RiverMapGeneratorStarter</listener> 228 <listener>de.intevation.flys.artifacts.map.RiverMapfileGeneratorStarter</listener>
228 </lifetime-listeners> 229 </lifetime-listeners>
229 230
230 <backend-listeners> 231 <backend-listeners>
231 <listener>de.intevation.flys.artifacts.datacage.DatacageBackendListener</listener> 232 <listener>de.intevation.flys.artifacts.datacage.DatacageBackendListener</listener>
232 </backend-listeners> 233 </backend-listeners>
369 <metadata> 370 <metadata>
370 <template>${artifacts.config.dir}/meta-data.xml</template> 371 <template>${artifacts.config.dir}/meta-data.xml</template>
371 </metadata> 372 </metadata>
372 373
373 &floodmap; 374 &floodmap;
375 &rivermap;
374 376
375 &rest-server; 377 &rest-server;
376 378
377 <!-- Garbage collection of outdated artifacts. --> 379 <!-- Garbage collection of outdated artifacts. -->
378 <cleaner> 380 <cleaner>

http://dive4elements.wald.intevation.org