Mercurial > dive4elements > framework
annotate ChangeLog @ 61:911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
artifacts/trunk@432 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 15 Dec 2009 15:47:16 +0000 |
parents | 85d996328c8a |
children | 76abf0c64d3b |
rev | line source |
---|---|
61
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
1 2009-12-15 Ingo Weinzierl <ingo.weinzierl@intevation.de> |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
2 |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
3 Issue106 |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
4 |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
5 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java: |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
6 Removed path to chart template which doesn't belong here. |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
7 |
60
85d996328c8a
Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
59
diff
changeset
|
8 2009-12-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
85d996328c8a
Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
59
diff
changeset
|
9 |
85d996328c8a
Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
59
diff
changeset
|
10 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java: |
85d996328c8a
Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
59
diff
changeset
|
11 Removed needless import. |
85d996328c8a
Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
59
diff
changeset
|
12 |
59
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
13 2009-11-23 Ingo Weinzierl <ingo.weinzierl@intevation.de> |
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
14 |
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
15 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java: |
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
16 Added path to chart template file and a new method to retrieve the |
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
17 configuration. |
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
18 |
58
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
19 2009-11-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
20 |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
21 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java: |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
22 Added a context dictionary accessible through putContextValue(key, value) |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
23 and getContextValue(key). Purpose is make artifact calls stackable and |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
24 transfer information through the call level transparently. |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
25 |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
26 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
27 Adjusted default implementation of CallContext. |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
28 |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
29 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java: |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
30 New. A general proxy class for artifacts in artifact databases. This class uses |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
31 the extended call context semantics. |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
32 |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
33 The artifact calls (feed, describe, out, ...) are passed to a proxied artifact. |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
34 If the proxied artifact decides to be replaced by some other artifact it has to |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
35 to store a reference to the replacement artifact in the call context with |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
36 putContextValue(ProxyArtifact.REPLACE_PROXY, my_new_artifact). After the call |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
37 is finished the proxied object will change. This indirect callback mechanism is |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
38 used to minimize side effects. |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
39 |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
40 The identifier() call is not forwarded to the proxied artifact to have a stable id. |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
41 |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
42 Limitations: This mechanism does not let you build real matroska (multi level) |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
43 like artifact structures. This would only be possible if a kind of call context |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
44 stack is introduced. |
39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
57
diff
changeset
|
45 |
57
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
46 2009-11-13 Hans Plum <hans@intevation.de> |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
47 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
48 RELEASE 0.2 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
49 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
50 * Changes, NEWS summarized |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
51 |
56
f027204baf5d
Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
55
diff
changeset
|
52 2009-11-11 Ingo Weinzierl <ingo.weinzierl@intevation.de> |
f027204baf5d
Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
55
diff
changeset
|
53 |
f027204baf5d
Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
55
diff
changeset
|
54 * HOWTO: Added HOWTO describing the setup of the environment (apache, |
f027204baf5d
Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
55
diff
changeset
|
55 tomcat, gnv). |
f027204baf5d
Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
55
diff
changeset
|
56 |
55
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
57 2009-11-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
58 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
59 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java: describe() now may |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
60 given an input XML document (which can be null to indicate that no input is given). |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
61 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
62 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java: |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
63 Adjusted to implemented the Artifact interface. |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
64 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
65 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java: Pass through |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
66 the optional XML input document to describe(). |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
67 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
68 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
69 Implements the adjusted ArtifactDatabase interface. |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
70 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
71 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java: |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
72 Now its also possible to send describe() as a POST request. The request body is handled as |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
73 XML. |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
74 |
54
c2fc85e55f9f
Applied patch from slt to set the Configuration Folder into the AbsoluteFileName issue59
Tim Englich <tim.englich@intevation.de>
parents:
53
diff
changeset
|
75 2009-10-21 Tim Englich <tim.englich@intevation.de> |
c2fc85e55f9f
Applied patch from slt to set the Configuration Folder into the AbsoluteFileName issue59
Tim Englich <tim.englich@intevation.de>
parents:
53
diff
changeset
|
76 |
57
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
77 Issue 59: Make paths in configuration relativ |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
78 |
55
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
79 * src/main/java/de/intevation/artifactdatabase/Config.java (replaceConfigDir): |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
80 Applied patch from slt to set the Configuration Folder into the AbsoluteFileName issue59 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
81 |
53
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
82 2009-10-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
83 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
84 RELEASE 0.1 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
85 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
86 * Changes, NEWS: Summaried changes. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
87 |
52
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
88 2009-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
89 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
90 * Changelog -> ChangeLog: Renamed to make eclipse happy. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
91 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
92 2009-10-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
93 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
94 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
95 Initial instance variable with given languages in constructor. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
96 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
97 2009-10-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
98 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
99 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
100 Better implementation for fetching the preferred locale. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
101 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
102 2009-10-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
103 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
104 * artifacts/src/main/java/de/intevation/artifacts/CallMeta.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
105 Added method to fetch preferred locale. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
106 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
107 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
108 Trivial (and incorrect!) implementation. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
109 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
110 2009-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
111 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
112 Add i18n support via "Accept-Language" HTTP headers. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
113 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
114 * artifact-database/pom.xml: Using restlet 2.0 snapshot. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
115 M3 does not implement the required API, M4 is not in maven repo yet. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
116 TODO: Bring to M4 as soon it is released in maven repository. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
117 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
118 * contrib/run.sh: Adjusted to use the snapshot. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
119 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
120 * artifacts/src/main/java/de/intevation/artifacts/CallMeta.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
121 New. Meta information of a call, languages, e.g. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
122 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
123 * artifacts/src/main/java/de/intevation/artifacts/PreferredLocale.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
124 New. Model preferred languages. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
125 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
126 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
127 Has now a reference to the meta information. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
128 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
129 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
130 describe, feed, advance and out call contexts are now enriched with |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
131 external meta data. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
132 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
133 * artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
134 Additional debug output how long the cleaner slept between cleanups. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
135 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
136 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultPreferredLocale.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
137 New. Default implementation of PreferredLocale. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
138 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
139 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
140 New. Default implementation of CallMeta. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
141 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
142 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
143 Adjusted to take the additional meta information. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
144 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
145 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
146 Added a method to create a CallMeta object from web client information. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
147 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
148 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
149 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
150 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
151 Call the artifact database with the meta data from there base class BaseResoure. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
152 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
153 2009-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
154 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
155 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
156 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
157 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
158 artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
159 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
160 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
161 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
162 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
163 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
164 artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
165 artifacts/src/main/java/de/intevation/artifacts/Artifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
166 Removed trailing whitespace. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
167 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
168 2009-10-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
169 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
170 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
171 Removed needless imports. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
172 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
173 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
174 Be more verbose on output on which host the REST server is bound. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
175 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
176 2009-09-30 Hans Plum <hans@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
177 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
178 * artifact-database/doc/example-conf/conf.xml, README: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
179 Fixed inconsistencies after changes in h2-configuraton. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
180 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
181 2009-09-29 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
182 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
183 * pom.xml, artifacts/pom.xml, artifact-database/pom.xml: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
184 Set source encoding to UTF-8. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
185 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
186 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
187 If '/artifact-database/rest-server/listen/text()' is given in conf.xml |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
188 the value is used to bind REST server to that interface. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
189 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
190 * artifact-database/doc/example-conf/conf.xml: Added 'listen' to |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
191 demo configuration. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
192 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
193 2009-09-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
194 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
195 * artifact-database/src/main/resources/sql/org-h2-driver.properties: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
196 Time delta calculation in SQL statement to figure out outdated artifacts |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
197 was broken. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
198 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
199 2009-09-24 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
200 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
201 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
202 Added debug output to make tracing of artifact lifecyle easier. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
203 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
204 2009-09-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
205 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
206 * artifact-database/doc/schema-pg.sql, artifact-database/doc/schema-h2.sql: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
207 Added column 'factory' to artifacts table to store the name of the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
208 creating factory. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
209 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
210 !!! |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
211 !!! THIS BREAKS OLD ARTIFACT DATABASES! |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
212 !!! |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
213 !!! To update old databases issue at database prompt: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
214 !!! ALTER TABLE artifacts ADD COLUMN factory VARCHAR(256) NOT NULL; |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
215 !!! |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
216 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
217 * artifact-database/src/main/resources/sql/org-h2-driver.properties, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
218 artifact-database/src/main/resources/sql/org-postgresql-driver.properties: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
219 Fixed issue in SQL statements for touching artifacts. Fill factory name |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
220 into artifact relation. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
221 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
222 * artifacts/src/main/java/de/intevation/artifacts/ArtifactSerializer.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
223 To allow different serialization models each ArtifactFactory has |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
224 serializer for the artifacts. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
225 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
226 * artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
227 Add method to return ArtifactSerializer. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
228 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
229 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactSerializer.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
230 Uses Java standard object serialisation. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
231 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
232 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
233 Uses th DefaultArtifactSerializer as ArtifactSerializer |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
234 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
235 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
236 The serialisation method is select via the 'factory' column of the 'artifacts' |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
237 table. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
238 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
239 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
240 artifact-database/src/main/java/de/intevation/artifactdatabase/App.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
241 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
242 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
243 Adjusted to fit the new serialisation model. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
244 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
245 2009-09-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
246 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
247 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
248 New. Base class to log RuntimeExceptions to log4j error log. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
249 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
250 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
251 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
252 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
253 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
254 Adjusted to extend from BaseResource. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
255 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
256 2009-09-21 Tim Englich <tim.englich@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
257 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
258 * Added some IDE-specific files to the Ignorelist. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
259 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
260 2009-09-18 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
261 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
262 * artifact-database/doc/schema.sql: removed. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
263 * artifact-database/doc/schema-h2.sql: re-added here. It is H2 specific. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
264 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
265 * artifact-database/doc/schema-pg.sql: New. Schema for PostgreSQL 8.3 + |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
266 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
267 * artifact-database/src/main/resources/sql/org-postgresql-driver.properties: New. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
268 SQL statements for PostgreSQL. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
269 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
270 * artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
271 XPath expressions to access config were wrong. Added some debug logging. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
272 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
273 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
274 Added some debug logging. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
275 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
276 * artifact-database/pom.xml: Added dependency to postgresql JDBC driver |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
277 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
278 * contrib/run.sh: Added postgresql JDBC to CLASSPATH. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
279 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
280 2009-09-16 Tim Englich <tim.englich@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
281 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
282 * src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java (represent) Edited: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
283 Switched from Get to Post communication. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
284 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
285 2009-09-16 Tim Englich <tim.englich@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
286 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
287 * src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java (feed) Edited: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
288 Bug fixed: Now the method will call the feed Method of the used Artifact instead |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
289 of the advance Method. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
290 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
291 2009-09-15 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
292 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
293 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
294 More warning log output in POST case. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
295 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
296 2009-09-15 Tim Englich <tim.englich@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
297 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
298 * src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
299 Bug Fixed: Comparation for outdated Artifacts was Wrong. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
300 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
301 * src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java (represent): |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
302 Warn-Logging Integrated for Exception analysys. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
303 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
304 2009-09-14 Tim Englich <tim.englich@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
305 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
306 * src/main/java/de/intevation/artifacts/ArtifactFactory.java Edited: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
307 Make Objects Serializable |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
308 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
309 * src/main/resources/sql/org-h2-driver.properties: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
310 Bug Fixed in SQL-Query |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
311 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
312 2009-09-13 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
313 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
314 Refactored the persistent handling of the artifacts in the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
315 artifact database. When an artifact is called (describe, feed, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
316 advance, out) a new CallContext is given instead of the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
317 old Object context. CallContext.globalContext() returns the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
318 old Object context now. CallContext.afterCall() may be |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
319 called from inside describe, feed, advance and out to tell |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
320 the artifact database what to do after the processing of |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
321 the specific call. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
322 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
323 The accepted values are: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
324 - NOTHING for doing nothing |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
325 - TOUCH for just update the last access time |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
326 - STORE for persisting the artifact. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
327 - BACKGROUND to signal that the artifact has started |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
328 a background operation. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
329 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
330 After the background operation the artifact has to call |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
331 CallContext.fromBackground() to signal the artifact |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
332 database that the artifact needs to be touched or stored. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
333 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
334 !!! Without this call the artifact database assumes there |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
335 !!! is still some background operation on this artifact |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
336 !!! which prevents reclaiming resources |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
337 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
338 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
339 New. New API to cope with background processing. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
340 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
341 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
342 Replaced old Object context with CallContext context. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
343 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
344 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
345 Adjusted. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
346 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
347 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
348 For a better encapsulation of the persistence operations of the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
349 artifacts the database does not return artifacts any more. It delegates |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
350 the describe, feed, advance and out call to internal structures. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
351 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
352 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabaseException.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
353 New. Simplifies handling of error conditions inside of artifact database. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
354 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
355 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
356 Adjusted to new interface. Internally it handles the background API. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
357 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
358 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
359 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
360 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/OutRepresentation.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
361 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
362 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
363 Adjusted to new artifact database interface (which greatly simplifies things) |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
364 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
365 * artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
366 Artifacts in background are not removed from database any longer. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
367 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
368 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java: Little |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
369 re-wirering need for new cleanup. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
370 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
371 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
372 Simplified to do the SQL stuff only. The most infrastructure stuff is now done |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
373 in ArtifactDatabaseImpl. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
374 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
375 * artifact-database/src/main/java/de/intevation/artifactdatabase/Id.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
376 New. Helper base class to enable filtering of background artifacts by there |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
377 database id. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
378 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
379 * artifact-database/src/main/resources/sql/org-h2-driver.properties: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
380 Modified the INSERT statement to write the serialized artifact, too. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
381 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
382 2009-09-12 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
383 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
384 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java(out): |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
385 out() is now called with an java.io.Outputstream to place |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
386 the output. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
387 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
388 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
389 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
390 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/OutRepresentation.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
391 Adjusted. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
392 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
393 2009-09-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
394 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
395 * artifact-database/doc/example-conf/conf.xml: Added |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
396 sleep time for cleanup thread. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
397 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
398 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
399 Start cleanup thread at startup. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
400 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
401 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
402 Make artifact restoring bit more robust, added ref to |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
403 cleanup thread to do an immediate cleanup when dead artifact |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
404 is found by lookup. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
405 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
406 * artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
407 New. The cleanup thread. It cleans up the artifact database |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
408 perodically and calls the endOfLife() methods of the dead |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
409 artifacts. Default cleanup interval is 5 minutes. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
410 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
411 * artifact-database/src/main/resources/sql/org-h2-driver.properties: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
412 Tuned SQL a bit to fetch only a 50 artifacts in search for |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
413 outdated artifacts to avoid too much memory consumption. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
414 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
415 * contrib/run.sh: Little tweak to work with more than one |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
416 commons-pool version installed. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
417 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
418 * TODO: Removed remarks about the now implemented killer |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
419 thread and the moves XML stuff. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
420 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
421 * README: Changed text how to create a H2 database from |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
422 command line only. XXX: This is still broken. The best |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
423 way to set up the database by now is to start the Console |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
424 client, connect to the database, c&p the schema.sql |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
425 into the SQL text area and execute it. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
426 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
427 2009-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
428 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
429 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
430 New. Handler for 'out'. Reachable via HTTP GET '/artifact/{uuid}/{type}'. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
431 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
432 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/OutRepresentation.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
433 New. Special representation for out. TODO: use streaming API. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
434 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
435 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
436 Regrouped imports. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
437 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
438 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java: Added |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
439 handler for 'out' to routing table. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
440 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
441 2009-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
442 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
443 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
444 Added handler for 'advance' and 'feed' to be called by HTTP POST '/artifact/{uuid}'. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
445 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
446 2009-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
447 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
448 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
449 Added handler for 'describe' to be fetched by HTTP GET '/artifact/{uuid}'. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
450 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
451 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
452 Add route to new describe handler. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
453 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
454 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: Fixed |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
455 problems with serialization of artifacts to backing database. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
456 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
457 2009-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
458 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
459 * artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
460 Added method to get strings from XML documents via XPath. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
461 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
462 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
463 Used XMLUtils to create new XML documents. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
464 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
465 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
466 Forgot to store backend in instance variable. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
467 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
468 * artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
469 Added static instance of this class. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
470 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
471 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
472 Forward call to ArtifactDatabase, do some error handling. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
473 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
474 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
475 Treat problems with database errors more gracefully. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
476 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
477 * contrib/run.sh: Added dependencies to common-pool and common-dbcp. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
478 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
479 * artifact-database/doc/data/create-artifact.xml: New. example data set to |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
480 create an artifact. Usage |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
481 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
482 $ curl --data-binary @doc/data/create-artifact.xml -D - http://localhost:8181/create |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
483 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
484 2009-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
485 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
486 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
487 Removed needless import. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
488 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
489 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
490 artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
491 Moved some XPath stuff from Config into XMLUtils. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
492 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
493 2009-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
494 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
495 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java(setup): Added |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
496 callback parameter in form of the creating factory. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
497 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
498 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
499 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
500 Adjusted to match new Artifact interface. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
501 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
502 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
503 Call artifact.setup() with this. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
504 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
505 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
506 Removed namespace stuff. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
507 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
508 * artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
509 Created namespace stuff, need for XPath for e.g. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
510 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
511 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
512 Use new namespace stuff. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
513 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
514 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
515 Added author. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
516 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
517 2009-09-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
518 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
519 * artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
520 Added method newXPath() to create XPaths with namespace binding. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
521 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
522 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
523 Uses new method from XMLUtils. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
524 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
525 2009-09-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
526 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
527 * trunk/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
528 trunk/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
529 Removed meta data from resources. They prevented serving the right results. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
530 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
531 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
532 Removed needless import. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
533 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
534 2009-09-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
535 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
536 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
537 New. Resource to create an artifact. Not working on artifact database yet. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
538 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
539 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
540 Attached create to web server. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
541 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
542 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
543 Added meta data to Get annotation. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
544 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
545 2009-09-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
546 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
547 * artifact-database/pom.xml: Added dependency to restlet.ext.xml |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
548 for XML handling in representations. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
549 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
550 * contrib/run.sh: Adjusted to fit new dependency. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
551 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
552 * artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
553 New. Handle some boiler plate XML stuff. Move more stuff of this kind |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
554 into this file. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
555 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
556 * TODO: Added remark to move more XML stuff into XMLUtils. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
557 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
558 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
559 Tell at startup on which port we are listing. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
560 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
561 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
562 Representation to list the available factories. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
563 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
564 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
565 Attach new factory listing to web app. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
566 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
567 2009-09-09 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
568 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
569 * artifact-database/doc/artifactdb-example-conf.xml: removed |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
570 * artifact-database/doc/example-conf/conf.xml: Re-added here. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
571 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
572 The configuration is now found in a subdirectory set by the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
573 system property 'artifact.database.dir'. If this property is |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
574 not set '~/.artitactdb' is used. This directory should contain |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
575 a file 'conf.xml' with the configuration details. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
576 If the artifact database is started as a standalone the config |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
577 directory is searched for 'log4j.properties' to configure the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
578 logging. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
579 The H2 database is also search in this directory with the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
580 name 'artifacts.db' if the connection url in config.xml is |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
581 not overwritten. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
582 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
583 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
584 Refactored a bit to follow the new configuration policy. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
585 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
586 * artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
587 Build default connection url as described. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
588 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
589 * artifact-database/doc/example-conf/log4j.properties: New. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
590 example logging config |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
591 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
592 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
593 Added some more logging infos. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
594 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
595 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
596 Load the log4j configuration at startup and starts a REST standalone web server. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
597 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
598 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest: New. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
599 Package for REST binding. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
600 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
601 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
602 Convenience wrapper to start a standalone REST web server. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
603 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
604 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
605 Concrete REST application. TODO: attach restlets to interact with artifact database. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
606 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
607 * contrib/run.sh: Little start script to launch artifact database for test |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
608 purpose from classes without the need to build packages. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
609 Background: The maven exec:exec goal does not work consistently for me (slt). |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
610 At home it does, at work it doe not. Anyway. Usage: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
611 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
612 $ ./contrib/run.sh \ |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
613 -Dartifact.database.dir=artifact-database/doc/example-conf/ \ |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
614 de.intevation.artifactdatabase.App |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
615 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
616 2009-09-08 Tim Englich <tim.englich@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
617 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
618 * src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java : Edited |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
619 Constants for Namespace-URL and Namespace-Prefix added |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
620 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
621 2009-09-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
622 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
623 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
624 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
625 artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
626 artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
627 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
628 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
629 Integrated log4j |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
630 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
631 * artifact-database/pom.xml: Added dependency to log4j |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
632 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
633 * TODO: Removed remark to integrate logging. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
634 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
635 2009-09-07 Tim Englich <tim.englich@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
636 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
637 * src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java: edited |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
638 Bug fixed in XPath Expression. Now the Nodes and not the Text of the Nodes will |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
639 be used instantiating the ArtifactFactory. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
640 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
641 2009-09-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
642 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
643 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
644 Implemented loading of artifacts from database. If the last access of an |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
645 artifact is too long ago for its time to life, null is returned. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
646 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
647 * TODO: Added remark to implement a "killer" thread which periodically cleans the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
648 database from outdated artifacts and calls the endOfLife() method on those. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
649 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
650 2009-09-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
651 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
652 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
653 Properties wrapper for SQL statements. The properties are looked up |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
654 in resorces /sql/DRIVER.properties (DRIVER is the name of the db driver class, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
655 lowercased and '.' replaced by '-'. 'org.h2.Driver' turns to |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
656 'org-h2-driver.properties', e.g. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
657 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
658 * artifact-database/src/main/resources/sql/org-h2-driver.properties: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
659 SQL statements for H2 database. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
660 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
661 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
662 Artifacts are proxies/wrapped by an special Artifact implementation |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
663 to bound db activities transparentely to the Artifact. XXX: It has |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
664 to be evaluated if a more direct concept like extending the Artifact API |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
665 to store itself would be more robust for future implementations. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
666 TODO: Loading Artifact from db is not implemented yet. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
667 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
668 2009-09-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
669 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
670 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
671 New. Used to wrap database presentations of artifacts into artifacts. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
672 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
673 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
674 New. Implements a ArtifactDatabase backed by Backend. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
675 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
676 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
677 Removed empty last line. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
678 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
679 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
680 Wired together Backend, ArtifactDatabaseImpl and FactoryBootstrap. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
681 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
682 2009-09-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
683 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
684 * artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
685 Typo in XPath expression. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
686 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
687 2009-09-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
688 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
689 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java(setup): |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
690 Added the setup() method to have symmetric counter part to endOfLife(). |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
691 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
692 * artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java(timeToLiveUntouched): |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
693 Added this method to let the factory decide how long an artifact should live in ms. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
694 This is not a part of the Artifact itself because this is only evaluated once when |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
695 the artifact is created. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
696 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
697 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
698 New. Simple base class implementation of the Artifact interface. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
699 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
700 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
701 New. Simple base class implementation of the ArtifactFactory interface. When setup() |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
702 on instances of this class is called, it pull ttl, name, description and |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
703 the artifact class name from the node given. See artifactdb-example-conf.xml |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
704 for examples. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
705 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
706 * artifact-database/pom.xml: Cleaned up XML. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
707 Introduced dependency to apache commons dbcp, used for pooling of the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
708 database connections to artifact db. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
709 Added parameters for the exec:exec goal to make the project |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
710 startable without building packages. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
711 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
712 * artifact-database/doc/schema.sql: Removed AUTO_INCREMENT from primary key |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
713 to avoid compatibility issues with other non-H2 databases (PostgreSQL, Oracle, ...) |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
714 which have no or limited support for generated keys in the JDBC driver. Now |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
715 using an explicit sequence. TTL ist now big int to bring the resolution to ms. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
716 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
717 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
718 Refactored a bit to make the XPath access function usable on arbitrary XML |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
719 documents and parts of. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
720 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
721 * artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
722 New. Exposes DataSource from a apache dbcp connection pool configured by the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
723 global configuration file. See artifactdb-example-conf.xml for examples. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
724 TODO: Write some documentation about this. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
725 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
726 * artifact-database/doc/artifactdb-example-conf.xml: Adjusted to be a more realistic |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
727 example config file. Added references to DefaultArtifact/DefaultArtifactFactory and |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
728 demonstrate how to configure the connection pool. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
729 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
730 * TODO: Add remark to document the connection file. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
731 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
732 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
733 Do not crash when config does not contain any factories. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
734 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
735 2009-09-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
736 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
737 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java (getNodeXPath): |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
738 New method to get a single node from configuration. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
739 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
740 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java (endOfLife): |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
741 New method called when artifact is going to be removed from artifact data base. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
742 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
743 2009-09-04 Tim Englich <tim.englich@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
744 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
745 * src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java (loa, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
746 * src/main/java/de/intevation/artifacts/ArtifactFactory.java (setup): |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
747 New Parameter for Setop to put the ArtifactFactoryNode into the setup routine. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
748 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
749 2009-09-04 Tim Englich <tim.englich@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
750 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
751 * pom.xml: Edited |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
752 Buildplugins for Maven-Compiler and Maven-Eclipse Plugin integrated. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
753 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
754 2009-09-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
755 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
756 * artifact-database/doc/artifactdb-example-conf.xml: Example for artifact db |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
757 configuration. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
758 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
759 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContextFactory.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
760 New. Default implementation of ArtifactContextFactory. Creates a DefaultArtifactContext. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
761 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
762 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContext.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
763 New. Default implementation of ArtifactContext. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
764 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
765 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
766 New. Class to bootstrap the context and the artifact factories. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
767 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
768 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java: Bootstrap |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
769 factories. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
770 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
771 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java: New. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
772 Loads configuration as XML from a file. The file is specified by the system |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
773 property "artifact.database.config" and defaults to "artifactdb-conf.xml". |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
774 The configuration can be searched via XPath. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
775 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
776 * artifact-database/pom.xml: Made de.intevation.artifactdatabase.App the main |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
777 class for start up. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
778 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
779 * TODO: Added remark to add logging to artifact database. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
780 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
781 2009-09-04 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
782 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
783 * artifacts/src/main/java/de/intevation/artifacts/ArtifactContextFactory.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
784 New. Factory for a global context in the artifact data base. Useful to |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
785 create shared ressources for artifacts like caches et al. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
786 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
787 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
788 artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
789 artifacts/src/main/java/de/intevation/artifacts/ArtifactContextFactory.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
790 artifacts/src/main/java/de/intevation/artifacts/Artifact.java: Uses the |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
791 global context more consistent. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
792 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
793 * artifact-database/doc/schema.sql: Using BINARY instead of BLOB to |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
794 avoid external files for each artifact blob. See H2 documentation |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
795 for details. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
796 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
797 2009-09-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
798 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
799 * artifact-database/doc/schema.sql: Schema to store artifacts |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
800 in H2 databases. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
801 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
802 * artifact-database/pom.xml: Added dependencies to H2 and |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
803 restlet. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
804 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
805 * pom.xml: Added repository to fetch restlet. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
806 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
807 * README: Describe how to create a H2 database to store artifacts. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
808 TODO: Make it more general because description assumes usage of |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
809 a unixoid system. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
810 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
811 2009-09-03 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
812 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
813 * artifact-database/**: created new sub project for the artefact |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
814 database server. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
815 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
816 * pom.xml: Registered new sub project and made artifacts a |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
817 sub project, too. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
818 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
819 * artifacts/pom.xml: Adjusted to make a artifacts a sub project. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
820 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
821 2009-09-02 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
822 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
823 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
824 Interface of the central component of the system. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
825 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
826 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
827 Central place to store artifacts in. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
828 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
829 * artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
830 Factory to build artifacts. Works together with ArtifactDatabase. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
831 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
832 * artifacts/pom.xml: Simple maven file to compile the project. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
833 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
834 2009-09-01 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
835 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
836 * README, Changelog, Changes, NEWS, TODO: New. Initial setup |