Mercurial > dive4elements > framework
annotate Changes @ 71:c99da6837be0
Load service factories and services during bootstrap.
artifacts/trunk@598 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 22 Jan 2010 11:27:57 +0000 |
parents | 824dd614e647 |
children | 66f43d1e69eb |
rev | line source |
---|---|
63
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
1 2009-12-17 RELEASE 0.3 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
2 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
3 New: |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
4 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
5 * Extended XML helper utilities a bit |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
6 * Added a new general proxy artifact. |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
7 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
8 FIXED: |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
9 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
10 * issue106: Konfiguration der GNV-Chart-Templates gehört nicht in das Artefakt-Framework |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
11 |
57
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
12 2009-11-13 RELEASE 0.2 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
13 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
14 New: |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
15 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
16 * Configuration documents can be made relativ to |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
17 ${artifacts.config.dir} |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
18 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
19 * Splitting up configuration of artifacts in depence to the |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
20 product. |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
21 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
22 * Added a first HOWTO for setting up the environemt and the |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
23 artifact server |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
24 |
53
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
25 2009-10-07 RELEASE 0.1 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
26 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
27 New: |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
28 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
29 * Two sub projects: 'artifacts' and 'artifact-database' |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
30 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
31 - 'artifacts' is a set of generic interfaces modelling |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
32 the workflow to parameterize a process and producing |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
33 outputs. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
34 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
35 An artifact is created via factories. It describes |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
36 itself via 'describe', it is parameterized via |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
37 'feed' and brought to new states with 'advance'. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
38 Once able to produce output 'out' returns the |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
39 requested product. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
40 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
41 - 'artifact-database' is the default implemention |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
42 of the workflow described with 'artifact'. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
43 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
44 * artifact-database persists artifacts with a H2-database |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
45 [http://www.h2database.com] (default) or a |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
46 PostgeSQL 8.3+ database [http://www.postgresql.org/] (optional) |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
47 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
48 * artifacts may spawn background threads to copy with long running |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
49 processes. After finishing work they are able to re-synchronize |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
50 themselves to the artifact database. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
51 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
52 * artifact-database is accessible via an HTTP REST server |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
53 implemented on top of the Restlet API http://www.restlet.org/ |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
54 It has to be started as a service. Default TCP port: 8181 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
55 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
56 HTTP GET '/factories' returns list of available factories. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
57 HTTP GET '/create' creates new artifact. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
58 HTTP GET '/artifact/{uuid}' returns a description of an artifact. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
59 HTTP POST '/artifact/{uuid}' modifies an artifact ('feed', 'advance') |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
60 HTTP POST '/artifact/{uuid}/{out}' delivers output for an artifact. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
61 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
62 * artifact-database is configured with as XML file named conf.xml |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
63 (default placement in directory $HOME/.artitactdb, directory |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
64 may be changed with system property "artifact.database.dir") |