annotate Changes @ 310:63122b9dee1d

Added interface to listen events in the backend. artifacts/trunk@2435 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 01 Aug 2011 09:41:40 +0000
parents bf787e8c4f78
children c53ec9fdc758
rev   line source
287
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
1 2011-06-27 RELEASE 1.3
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
2
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
3 NEW:
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
4
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
5 * Bumped Restlet to version 2.0.7.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
6
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
7 * Use a Jetty server by default to handle HTTP requests.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
8
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
9 * Introduced a config option that allows to switch the HTTP server
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
10 manually.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
11
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
12 * Introduced a config option that allows to limit the max number of
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
13 threads used by the Restlet server. Defaults to 1024.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
14
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
15 * New REST interface to set the time-to-live of a Collection. This
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
16 operation takes a java native long value or one of the strings "INF" -
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
17 which means a Collection lives forever - or "DEFAULT" which means to
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
18 reset the time-to-live to the default value configured in the artifact
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
19 server.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
20
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
21 * New REST interface to set the name of a Collection.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
22
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
23 * Improved the ClientProtocolUtils to create documents for the operation
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
24 to set the Collection's time-to-live.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
25
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
26 * The time-to-live of Collections is accessible in Collection objects.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
27
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
28 * Introduced a "creation" timestamp for CollectionItems.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
29
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
30 * Facets got a new property "index".
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
31
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
32
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
33 FIXED:
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
34
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
35 * A a new out() method is called that takes the "type" parameter specified in
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
36 the REST url to specify the concrete output type. This parameter has
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
37 not been used until now.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
38
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
39 * flys/issue75 Fixed SQL syntax error in trigger creation.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
40
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
41
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 259
diff changeset
42
259
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
43 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
44
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
45 NEW:
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
46
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
47 * 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
48 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
49 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
50 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
51
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
52 * 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
53
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
54 * 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
55 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
56 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
57
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
58 * DatabaseCleaner removes outdated ArtifactCollections.
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
59
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
60 * 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
61 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
62
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
63 * 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
64 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
65 artifact packages.
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
66
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
67 * 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
68 special xml documents
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
69
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
70
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
71 FIXED:
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
72
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
73 * 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
74
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
75 * 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
76
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
77
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 96
diff changeset
78 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
79
96
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
80 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
81
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
82 New:
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
83
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
84 * 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
85 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
86 root.
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
87
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
88 * 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
89
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
90 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
91 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
92 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
93 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
94
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
95 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
96 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
97 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
98
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
99 * 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
100 object.
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
101
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
102
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
103 Added:
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
104
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
105 * JavaDoc documentation
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
106
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
107
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
108
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
109 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
110
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 74
diff changeset
111
74
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
112 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
113
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
114 New:
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
115
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
116 * 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
117 * 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
118 via XML documents via /services
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
119
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
120
63
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
121 2009-12-17 RELEASE 0.3
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
122
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
123 New:
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
124
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
125 * Extended XML helper utilities a bit
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
126 * Added a new general proxy artifact.
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
127
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
128 FIXED:
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
129
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 57
diff changeset
130 * 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
131
57
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
132 2009-11-13 RELEASE 0.2
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
133
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
134 New:
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
135
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
136 * 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
137 ${artifacts.config.dir}
74
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 63
diff changeset
138
57
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
139 * 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
140 product.
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
141
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
142 * 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
143 artifact server
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 53
diff changeset
144
53
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
145 2009-10-07 RELEASE 0.1
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
146
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
147 New:
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
148
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
149 * Two sub projects: 'artifacts' and 'artifact-database'
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
150
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
151 - 'artifacts' is a set of generic interfaces modelling
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
152 the workflow to parameterize a process and producing
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
153 outputs.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
154
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
155 An artifact is created via factories. It describes
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
156 itself via 'describe', it is parameterized via
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
157 'feed' and brought to new states with 'advance'.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
158 Once able to produce output 'out' returns the
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
159 requested product.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
160
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
161 - 'artifact-database' is the default implemention
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
162 of the workflow described with 'artifact'.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
163
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
164 * artifact-database persists artifacts with a H2-database
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
165 [http://www.h2database.com] (default) or a
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
166 PostgeSQL 8.3+ database [http://www.postgresql.org/] (optional)
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
167
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
168 * 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
169 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
170 themselves to the artifact database.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
171
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
172 * artifact-database is accessible via an HTTP REST server
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
173 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
174 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
175
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
176 HTTP GET '/factories' returns list of available factories.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
177 HTTP GET '/create' creates new artifact.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
178 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
179 HTTP POST '/artifact/{uuid}' modifies an artifact ('feed', 'advance')
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
180 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
181
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
182 * 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
183 (default placement in directory $HOME/.artitactdb, directory
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 0
diff changeset
184 may be changed with system property "artifact.database.dir")

http://dive4elements.wald.intevation.org