Mercurial > dive4elements > framework
view Changelog @ 5:8f2de197bce2
Added config to artifact database and modelled bootstap of artifact factories on top of this.
artifacts/trunk@15 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 04 Sep 2009 12:04:12 +0000 |
parents | 13a12b607baf |
children | 48eb2367de2a |
line wrap: on
line source
2009-09-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> * artifact-database/doc/artifactdb-example-conf.xml: Example for artifact db configuration. * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContextFactory.java: New. Default implementation of ArtifactContextFactory. Creates a DefaultArtifactContext. * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContext.java: New. Default implementation of ArtifactContext. * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java: New. Class to bootstrap the context and the artifact factories. * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java: Bootstrap factories. * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java: New. Loads configuration as XML from a file. The file is specified by the system property "artifact.database.config" and defaults to "artifactdb-conf.xml". The configuration can be searched via XPath. * artifact-database/pom.xml: Made de.intevation.artifactdatabase.App the main class for start up. * TODO: Added remark to add logging to artifact database. 2009-09-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> * artifacts/src/main/java/de/intevation/artifacts/ArtifactContextFactory.java: New. Factory for a global context in the artifact data base. Useful to create shared ressources for artifacts like caches et al. * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java, artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java, artifacts/src/main/java/de/intevation/artifacts/ArtifactContextFactory.java, artifacts/src/main/java/de/intevation/artifacts/Artifact.java: Uses the global context more consistent. * artifact-database/doc/schema.sql: Using BINARY instead of BLOB to avoid external files for each artifact blob. See H2 documentation for details. 2009-09-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> * artifact-database/doc/schema.sql: Schema to store artifacts in H2 databases. * artifact-database/pom.xml: Added dependencies to H2 and restlet. * pom.xml: Added repository to fetch restlet. * README: Describe how to create a H2 database to store artifacts. TODO: Make it more general because description assumes usage of a unixoid system. 2009-09-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> * artifact-database/**: created new sub project for the artefact database server. * pom.xml: Registered new sub project and made artifacts a sub project, too. * artifacts/pom.xml: Adjusted to make a artifacts a sub project. 2009-09-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> * artifacts/src/main/java/de/intevation/artifacts/Artifact.java: Interface of the central component of the system. * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java: Central place to store artifacts in. * artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java: Factory to build artifacts. Works together with ArtifactDatabase. * artifacts/pom.xml: Simple maven file to compile the project. 2009-09-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> * README, Changelog, Changes, NEWS, TODO: New. Initial setup