Mercurial > dive4elements > framework
annotate artifact-database/doc/example-conf/conf.xml @ 456:afbe26bb9895
Do not try to look for . and .. while fixing paths
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 01 Mar 2013 12:02:25 +0100 |
parents | 28dea2714e90 |
children |
rev | line source |
---|---|
19
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2 <artifact-database> |
79
f69e5b87f05f
Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
71
diff
changeset
|
3 <!-- Change this! It's a very important security meassure to identify imports. --> |
f69e5b87f05f
Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
71
diff
changeset
|
4 <export-secret>dMFhRZP4CYePgb1BSuVAhTnnh4kGGeENfe2YFyaq</export-secret> |
19
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
5 <factories> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
6 <context-factory>de.intevation.artifactdatabase.DefaultArtifactContextFactory</context-factory> |
155
f797093c60bd
Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
126
diff
changeset
|
7 <collection-factory |
f797093c60bd
Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
126
diff
changeset
|
8 name="dummy-1" description="dummy description 1" ttl="60000" |
163
28dea2714e90
Fixed a wrong node in the demo configuration used for the ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
155
diff
changeset
|
9 artifact-collection="de.intevation.artifactdatabase.DefaultArtifactCollection">de.intevation.artifactdatabase.DefaultArtifactCollectionFactory</collection-factory> |
19
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
10 <artifact-factories> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
11 <artifact-factory |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
12 name="dummy-1" description="dummy description 1" ttl="60000" |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
13 artifact="de.intevation.artifactdatabase.DefaultArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
14 <artifact-factory |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
15 name="dummy-2" description="dummy description 2" ttl="1800000" |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
16 artifact="de.intevation.artifactdatabase.DefaultArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
17 <artifact-factory |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
18 name="dummy-3" description="dummy description 3" |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
19 artifact="de.intevation.artifactdatabase.DefaultArtifact">de.intevation.artifactdatabase.DefaultArtifactFactory</artifact-factory> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
20 </artifact-factories> |
71
c99da6837be0
Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
45
diff
changeset
|
21 <service-factories> |
c99da6837be0
Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
45
diff
changeset
|
22 <service-factory |
c99da6837be0
Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
45
diff
changeset
|
23 name="first service" |
c99da6837be0
Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
45
diff
changeset
|
24 service="de.intevation.artifactdatabase.DefaultService" |
c99da6837be0
Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
45
diff
changeset
|
25 description="This is the first service">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory> |
c99da6837be0
Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
45
diff
changeset
|
26 <service-factory |
c99da6837be0
Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
45
diff
changeset
|
27 name="second service" |
c99da6837be0
Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
45
diff
changeset
|
28 service="de.intevation.artifactdatabase.DefaultService" |
c99da6837be0
Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
45
diff
changeset
|
29 description="This is the second service">de.intevation.artifactdatabase.DefaultServiceFactory</service-factory> |
c99da6837be0
Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
45
diff
changeset
|
30 </service-factories> |
126
76744dcbe826
Added a user-factory configuration to the demo-config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
79
diff
changeset
|
31 <user-factory |
76744dcbe826
Added a user-factory configuration to the demo-config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
79
diff
changeset
|
32 name="default-user-factory" |
76744dcbe826
Added a user-factory configuration to the demo-config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
79
diff
changeset
|
33 description="Factory to create new users">de.intevation.artifactdatabase.DefaultUserFactory</user-factory> |
19
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
34 </factories> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
35 <!-- configuration of the rest server --> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
36 <rest-server> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
37 <port>8181</port> |
44
86d2a843e588
Allow REST server to bind to configurable interface.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
30
diff
changeset
|
38 <listen>localhost</listen> |
19
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
39 </rest-server> |
30
88972c6daa4f
Added a cleanup thread which periodically removes
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
19
diff
changeset
|
40 <!-- garbage collection of outdated artifacts --> |
88972c6daa4f
Added a cleanup thread which periodically removes
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
19
diff
changeset
|
41 <cleaner> |
88972c6daa4f
Added a cleanup thread which periodically removes
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
19
diff
changeset
|
42 <sleep-time>60000</sleep-time> |
88972c6daa4f
Added a cleanup thread which periodically removes
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
19
diff
changeset
|
43 </cleaner> |
19
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
44 <database> |
45
9449f296cd54
Fixed inconsistencies in documentation after changes in h2-config
Hans Plum <hans.plum@intevation.de>
parents:
44
diff
changeset
|
45 <user>USER</user> |
9449f296cd54
Fixed inconsistencies in documentation after changes in h2-config
Hans Plum <hans.plum@intevation.de>
parents:
44
diff
changeset
|
46 <password>PASSWORD</password> |
19
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
47 <!-- <url>jdbc:h2:artifacts.db</url> --> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
48 <!-- <driver>org.h2.Driver</driver> --> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
49 <!-- <sql></sql> --> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
50 </database> |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
51 </artifact-database> |