comparison artifact-database/doc/example-conf/conf.xml @ 19:1259d192e3c3

* New configuration based on config directory * Artifact database launches REST web server at startup. artifacts/trunk@43 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 09 Sep 2009 07:55:44 +0000
parents
children 88972c6daa4f
comparison
equal deleted inserted replaced
18:63a8aa276693 19:1259d192e3c3
1 <?xml version="1.0" encoding="UTF-8"?>
2 <artifact-database>
3 <factories>
4 <context-factory>de.intevation.artifactdatabase.DefaultArtifactContextFactory</context-factory>
5 <artifact-factories>
6 <artifact-factory
7 name="dummy-1" description="dummy description 1" ttl="60000"
8 artifact="de.intevation.artifactdatabase.DefaultArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
9 <artifact-factory
10 name="dummy-2" description="dummy description 2" ttl="1800000"
11 artifact="de.intevation.artifactdatabase.DefaultArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
12 <artifact-factory
13 name="dummy-3" description="dummy description 3"
14 artifact="de.intevation.artifactdatabase.DefaultArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
15 </artifact-factories>
16 </factories>
17 <!-- configuration of the rest server -->
18 <rest-server>
19 <port>8181</port>
20 </rest-server>
21 <database>
22 <user></user>
23 <password></password>
24 <!-- <url>jdbc:h2:artifacts.db</url> -->
25 <!-- <driver>org.h2.Driver</driver> -->
26 <!-- <sql></sql> -->
27 </database>
28 </artifact-database>

http://dive4elements.wald.intevation.org