annotate flys-artifacts/doc/conf/conf.xml @ 117:1a025ff0f7fd

Added a nodes for the user-factory and collection-factory to the configuration. flys-artifacts/trunk@1414 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 07 Mar 2011 14:43:14 +0000
parents 5864c41219db
children 888e3b1dcdd9
rev   line source
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
1 <artifact-database>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
2 <export-secret>YOUR_SECRET</export-secret>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
3 <factories>
106
5864c41219db Initializes a TransitionEngine storing all transitions for each artifact at the application start.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
4 <context-factory>de.intevation.flys.artifacts.context.FLYSContextFactory</context-factory>
117
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
5
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
6 <collection-factory
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
7 name="DefaultArtifactCollectionFactory"
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
8 description="The default artifact collection factory"
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
9 ttl="60000"
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
10 artifact-collection="de.intevation.artifactdatabase.DefaultArtifactCollection">de.intevation.artifactdatabase.DefaultArtifactCollectionFactory</collection-factory>
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
11
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
12 <artifact-factories>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
13 <!-- All Artifactfactories which are available in this Database.
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
14 Each Artifactfactory represents one river. -->
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
15 <artifact-factory name="winfo" description="Factory to create an artifact to be used in WINFO"
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
16 ttl="3600000"
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
17 artifact="de.intevation.flys.artifacts.WINFOArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
18 </artifact-factories>
117
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
19
1a025ff0f7fd Added a nodes for the user-factory and collection-factory to the configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
20 <user-factory name="default" description="Factory to create new users">de.intevation.artifactdatabase.DefaultUserFactory</user-factory>
105
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
21 </factories>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
22
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
23 <artifacts>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
24 <artifact name="winfo" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="${artifacts.config.dir}/artifacts/winfo.xml" />
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
25 </artifacts>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
26
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
27 <rest-server>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
28 <!-- at this Point it is possible to Change the Port the ArtifactDatabase will bind to.-->
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
29 <port>8181</port>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
30 <listen>localhost</listen>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
31 </rest-server>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
32 <!-- garbage collection of outdated artifacts -->
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
33 <cleaner>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
34 <sleep-time>60000</sleep-time>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
35 </cleaner>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
36 <database>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
37 <!-- This Section configures the Settings for connecting to the
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
38 Artifact-Database instance. e.g. SQLite -->
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
39 <user>SA</user>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
40 <password></password>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
41 <url>jdbc:h2:${artifacts.config.dir}/../artifactdb/artifacts.db</url>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
42 </database>
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
43
beb991dc4827 Added a first stub of an WINFO artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
44 </artifact-database>

http://dive4elements.wald.intevation.org