Mercurial > dive4elements > framework
annotate Changes @ 263:c0fb96f88ad1
Make used HTTP server exchangeable.
artifacts/trunk@1974 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 22 May 2011 11:21:40 +0000 |
parents | 8c4c37ee0d57 |
children | bf787e8c4f78 |
rev | line source |
---|---|
259
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
1 2011-05-13 RELEASE 1.2 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
2 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
3 NEW: |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
4 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
5 * Introduced "facets" as a new concept to select only parts/concrete |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
6 types of an Artifact's output. E.g. a computation might return data |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
7 that is used to draw two curves into a chart. With a "facet", just a |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
8 single curve might be selected to be drawn into the chart. |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
9 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
10 * New REST interfaces to set/get attributes of an ArtifactCollection. |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
11 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
12 * Artifacts that live in ArtifactCollections don't die (because of their |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
13 last_access time). A database trigger is used to update their |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
14 last_access time if their owner ArtifactCollection is updated. |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
15 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
16 * DatabaseCleaner removes outdated ArtifactCollections. |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
17 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
18 * XML documents stored aside users, collections and collection items are |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
19 compressed to reduce i/o costs. |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
20 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
21 * Introduced a listener mechanism that is called if a context is |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
22 created/closed. This listener might be implemented in concrete |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
23 artifact packages. |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
24 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
25 * Improvements in the ClientProtocolUtils: new functions to create |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
26 special xml documents |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
27 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
28 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
29 FIXED: |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
30 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
31 * flys/issue8 (Cleanup des DatabaseCleaner schlägt fehl) |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
32 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
33 * flys/issue9 (Fehler beim Laden von Artefakten - NO SUCH ARTIFACT obwohl Artefakt in DB vorhanden) |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
34 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
35 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
36 2011-03-30 RELEASE 1.1 |
8c4c37ee0d57
Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
96
diff
changeset
|
37 |
96
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
38 2010-04-28 RELEASE 1.0 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
39 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
40 New: |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
41 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
42 * The path to database in the configuration can be relative to the |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
43 central configuration document using ${artifacts.config.dir} as |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
44 root. |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
45 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
46 * New interfaces to export and import artifacts: |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
47 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
48 HTTP GET '/export/{uuid}' returns an xml document representing |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
49 the state of an artifact |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
50 HTTP POST '/import' takes an xml document that have |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
51 been created by /export before |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
52 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
53 The export mechanism uses a secret configured in the configuration |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
54 to sign export documents. An artifact import fails if the |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
55 signature of the xml document is not valid. |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
56 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
57 * The time to live of an artifact is queriable at the CallContext |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
58 object. |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
59 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
60 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
61 Added: |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
62 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
63 * JavaDoc documentation |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
64 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
65 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
66 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
67 2010-03-08 RELEASE 0.5 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
68 |
f03a309a037f
Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
74
diff
changeset
|
69 |
74
66f43d1e69eb
Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents:
63
diff
changeset
|
70 2010-01-27 RELEASE 0.4 |
66f43d1e69eb
Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents:
63
diff
changeset
|
71 |
66f43d1e69eb
Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents:
63
diff
changeset
|
72 New: |
66f43d1e69eb
Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents:
63
diff
changeset
|
73 |
66f43d1e69eb
Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents:
63
diff
changeset
|
74 * Extended XML helper utilities a bit more |
66f43d1e69eb
Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents:
63
diff
changeset
|
75 * Added a new interface describing services |
66f43d1e69eb
Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents:
63
diff
changeset
|
76 via XML documents via /services |
66f43d1e69eb
Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents:
63
diff
changeset
|
77 |
66f43d1e69eb
Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents:
63
diff
changeset
|
78 |
63
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
79 2009-12-17 RELEASE 0.3 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
80 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
81 New: |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
82 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
83 * Extended XML helper utilities a bit |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
84 * Added a new general proxy artifact. |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
85 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
86 FIXED: |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
87 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
88 * 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
|
89 |
57
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
90 2009-11-13 RELEASE 0.2 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
91 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
92 New: |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
93 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
94 * 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
|
95 ${artifacts.config.dir} |
74
66f43d1e69eb
Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents:
63
diff
changeset
|
96 |
57
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
97 * 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
|
98 product. |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
99 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
100 * 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
|
101 artifact server |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
53
diff
changeset
|
102 |
53
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
103 2009-10-07 RELEASE 0.1 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
104 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
105 New: |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
106 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
107 * Two sub projects: 'artifacts' and 'artifact-database' |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
108 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
109 - 'artifacts' is a set of generic interfaces modelling |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
110 the workflow to parameterize a process and producing |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
111 outputs. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
112 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
113 An artifact is created via factories. It describes |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
114 itself via 'describe', it is parameterized via |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
115 'feed' and brought to new states with 'advance'. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
116 Once able to produce output 'out' returns the |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
117 requested product. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
118 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
119 - 'artifact-database' is the default implemention |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
120 of the workflow described with 'artifact'. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
121 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
122 * artifact-database persists artifacts with a H2-database |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
123 [http://www.h2database.com] (default) or a |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
124 PostgeSQL 8.3+ database [http://www.postgresql.org/] (optional) |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
125 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
126 * 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
|
127 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
|
128 themselves to the artifact database. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
129 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
130 * artifact-database is accessible via an HTTP REST server |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
131 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
|
132 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
|
133 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
134 HTTP GET '/factories' returns list of available factories. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
135 HTTP GET '/create' creates new artifact. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
136 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
|
137 HTTP POST '/artifact/{uuid}' modifies an artifact ('feed', 'advance') |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
138 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
|
139 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
140 * 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
|
141 (default placement in directory $HOME/.artitactdb, directory |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
0
diff
changeset
|
142 may be changed with system property "artifact.database.dir") |