Mercurial > dive4elements > framework
comparison Changelog @ 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 | 63a8aa276693 |
children | ff666592c1c3 |
comparison
equal
deleted
inserted
replaced
18:63a8aa276693 | 19:1259d192e3c3 |
---|---|
1 2009-09-08 Tim Englich <tim.englich@intevation.de> | 1 2009-09-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 2 |
3 * src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java : Edited | 3 * artifact-database/doc/artifactdb-example-conf.xml: removed |
4 Constants for Namespace-URL and Namespace-Prefix added | 4 * artifact-database/doc/example-conf/conf.xml: Re-added here. |
5 | |
6 The configuration is now found in a subdirectory set by the | |
7 system property 'artifact.database.dir'. If this property is | |
8 not set '~/.artitactdb' is used. This directory should contain | |
9 a file 'conf.xml' with the configuration details. | |
10 If the artifact database is started as a standalone the config | |
11 directory is searched for 'log4j.properties' to configure the | |
12 logging. | |
13 The H2 database is also search in this directory with the | |
14 name 'artifacts.db' if the connection url in config.xml is | |
15 not overwritten. | |
16 | |
17 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java: | |
18 Refactored a bit to follow the new configuration policy. | |
19 | |
20 * artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java: | |
21 Build default connection url as described. | |
22 | |
23 * artifact-database/doc/example-conf/log4j.properties: New. | |
24 example logging config | |
25 | |
26 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java: | |
27 Added some more logging infos. | |
28 | |
29 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java: | |
30 Load the log4j configuration at startup and starts a REST standalone web server. | |
31 | |
32 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest: New. | |
33 Package for REST binding. | |
34 | |
35 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java: | |
36 Convenience wrapper to start a standalone REST web server. | |
37 | |
38 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java: | |
39 Concrete REST application. TODO: attach restlets to interact with artifact database. | |
40 | |
41 * contrib/run.sh: Little start script to launch artifact database for test | |
42 purpose from classes without the need to build packages. | |
43 Background: The maven exec:exec goal does not work consistently for me (slt). | |
44 At home it does, at work it doe not. Anyway. Usage: | |
45 | |
46 $ ./contrib/run.sh \ | |
47 -Dartifact.database.dir=artifact-database/doc/example-conf/ \ | |
48 de.intevation.artifactdatabase.App | |
49 | |
50 2009-09-08 Tim Englich <tim.englich@intevation.de> | |
51 | |
52 * src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java : Edited | |
53 Constants for Namespace-URL and Namespace-Prefix added | |
5 | 54 |
6 2009-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 55 2009-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
7 | 56 |
8 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java, | 57 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java, |
9 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java, | 58 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java, |