Mercurial > dive4elements > framework
changeset 53:fecd142b6856 0.1
RELEASE 0.1
artifacts/trunk@201 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 07 Oct 2009 10:59:19 +0000 |
parents | 9293af6b0a0f |
children | c2fc85e55f9f |
files | ChangeLog Changes NEWS |
diffstat | 3 files changed, 52 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Oct 06 14:51:28 2009 +0000 +++ b/ChangeLog Wed Oct 07 10:59:19 2009 +0000 @@ -1,3 +1,9 @@ +2009-10-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + RELEASE 0.1 + + * Changes, NEWS: Summaried changes. + 2009-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> * Changelog -> ChangeLog: Renamed to make eclipse happy.
--- a/Changes Tue Oct 06 14:51:28 2009 +0000 +++ b/Changes Wed Oct 07 10:59:19 2009 +0000 @@ -0,0 +1,40 @@ +2009-10-07 RELEASE 0.1 + + New: + + * Two sub projects: 'artifacts' and 'artifact-database' + + - 'artifacts' is a set of generic interfaces modelling + the workflow to parameterize a process and producing + outputs. + + An artifact is created via factories. It describes + itself via 'describe', it is parameterized via + 'feed' and brought to new states with 'advance'. + Once able to produce output 'out' returns the + requested product. + + - 'artifact-database' is the default implemention + of the workflow described with 'artifact'. + + * artifact-database persists artifacts with a H2-database + [http://www.h2database.com] (default) or a + PostgeSQL 8.3+ database [http://www.postgresql.org/] (optional) + + * artifacts may spawn background threads to copy with long running + processes. After finishing work they are able to re-synchronize + themselves to the artifact database. + + * artifact-database is accessible via an HTTP REST server + implemented on top of the Restlet API http://www.restlet.org/ + It has to be started as a service. Default TCP port: 8181 + + HTTP GET '/factories' returns list of available factories. + HTTP GET '/create' creates new artifact. + HTTP GET '/artifact/{uuid}' returns a description of an artifact. + HTTP POST '/artifact/{uuid}' modifies an artifact ('feed', 'advance') + HTTP POST '/artifact/{uuid}/{out}' delivers output for an artifact. + + * artifact-database is configured with as XML file named conf.xml + (default placement in directory $HOME/.artitactdb, directory + may be changed with system property "artifact.database.dir")