annotate Changes @ 189:fbaeb5931d10

Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database. artifacts/trunk@1419 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 07 Mar 2011 16:30:45 +0000
parents f03a309a037f
children 8c4c37ee0d57
rev   line source
96
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
1 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
2
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
3 New:
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
4
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
5 * 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
6 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
7 root.
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
8
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
9 * 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
10
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
11 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
12 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
13 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
14 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
15
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
16 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
17 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
18 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
19
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
20 * 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
21 object.
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
22
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
23
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
24 Added:
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
25
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
26 * JavaDoc documentation
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
27
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
28
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
29
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
30 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
31
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
32
74
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
33 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
34
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
35 New:
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
36
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
37 * 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
38 * 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
39 via XML documents via /services
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
40
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
41
63
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
42 2009-12-17 RELEASE 0.3
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
43
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
44 New:
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
45
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
46 * Extended XML helper utilities a bit
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
47 * Added a new general proxy artifact.
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
48
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
49 FIXED:
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
50
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
51 * 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
52
57
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
53 2009-11-13 RELEASE 0.2
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
54
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
55 New:
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
56
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
57 * 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
58 ${artifacts.config.dir}
74
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
59
57
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
60 * 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
61 product.
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
62
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
63 * 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
64 artifact server
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
65
53
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
66 2009-10-07 RELEASE 0.1
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
67
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
68 New:
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
69
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
70 * Two sub projects: 'artifacts' and 'artifact-database'
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
71
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
72 - 'artifacts' is a set of generic interfaces modelling
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
73 the workflow to parameterize a process and producing
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
74 outputs.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
75
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
76 An artifact is created via factories. It describes
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
77 itself via 'describe', it is parameterized via
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
78 'feed' and brought to new states with 'advance'.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
79 Once able to produce output 'out' returns the
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
80 requested product.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
81
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
82 - 'artifact-database' is the default implemention
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
83 of the workflow described with 'artifact'.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
84
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
85 * artifact-database persists artifacts with a H2-database
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
86 [http://www.h2database.com] (default) or a
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
87 PostgeSQL 8.3+ database [http://www.postgresql.org/] (optional)
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
88
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
89 * 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
90 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
91 themselves to the artifact database.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
92
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
93 * artifact-database is accessible via an HTTP REST server
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
94 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
95 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
96
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
97 HTTP GET '/factories' returns list of available factories.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
98 HTTP GET '/create' creates new artifact.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
99 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
100 HTTP POST '/artifact/{uuid}' modifies an artifact ('feed', 'advance')
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
101 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
102
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
103 * 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
104 (default placement in directory $HOME/.artitactdb, directory
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
105 may be changed with system property "artifact.database.dir")

http://dive4elements.wald.intevation.org