Mercurial > dive4elements > framework
annotate ChangeLog @ 58:39fec7d714dc
Added a real artifact proxy class to be more flexible with artifact replacements
in artifact databases.
artifacts/trunk@359 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 23 Nov 2009 11:15:44 +0000 |
parents | cf9848c85755 |
children | 8cd770330f1b |
rev | line source |
---|---|
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
|
1 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
|
2 |
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
|
3 * 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
|
4 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
|
5 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
|
6 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
|
7 |
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
|
8 * 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
|
9 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
|
10 |
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
|
11 * 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
|
12 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
|
13 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
|
14 |
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
|
15 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
|
16 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
|
17 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
|
18 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
|
19 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
|
20 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
|
21 |
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 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
|
23 |
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 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
|
25 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
|
26 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
|
27 |
57
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
28 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
|
29 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
30 RELEASE 0.2 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
31 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
32 * Changes, NEWS summarized |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
33 |
56
f027204baf5d
Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
55
diff
changeset
|
34 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
|
35 |
f027204baf5d
Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
55
diff
changeset
|
36 * 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
|
37 tomcat, gnv). |
f027204baf5d
Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
55
diff
changeset
|
38 |
55
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
39 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
|
40 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
41 * 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
|
42 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
|
43 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
44 * 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
|
45 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
|
46 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
47 * 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
|
48 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
|
49 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
50 * 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
|
51 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
|
52 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
53 * 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
|
54 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
|
55 XML. |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
56 |
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
|
57 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
|
58 |
57
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
59 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
|
60 |
55
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
61 * 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
|
62 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
|
63 |
53
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
64 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
|
65 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
66 RELEASE 0.1 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
67 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
68 * Changes, NEWS: Summaried changes. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
69 |
52
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
70 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
|
71 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
72 * 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
|
73 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
74 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
|
75 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
76 * 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
|
77 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
|
78 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
79 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
|
80 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
81 * 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
|
82 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
|
83 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
84 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
|
85 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
86 * 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
|
87 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
|
88 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
89 * 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
|
90 Trivial (and incorrect!) implementation. |
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-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
|
93 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
94 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
|
95 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
96 * 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
|
97 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
|
98 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
|
99 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
100 * 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
|
101 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
102 * 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
|
103 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
|
104 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
105 * 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
|
106 New. Model preferred languages. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
107 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
108 * 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
|
109 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
|
110 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
111 * 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
|
112 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
|
113 external meta data. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
114 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
115 * 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
|
116 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
|
117 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
118 * 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
|
119 New. Default implementation of PreferredLocale. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
120 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
121 * 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
|
122 New. Default implementation of CallMeta. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
123 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
124 * 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
|
125 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
|
126 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
127 * 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
|
128 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
|
129 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
130 * 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
|
131 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
|
132 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
|
133 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
|
134 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
135 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
|
136 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
137 * 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
|
138 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
|
139 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
|
140 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
|
141 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
|
142 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
|
143 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
|
144 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
|
145 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
|
146 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
|
147 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
|
148 Removed trailing whitespace. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
149 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
150 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
|
151 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
152 * 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
|
153 Removed needless imports. |
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/rest/Standalone.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
156 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
|
157 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
158 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
|
159 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
160 * 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
|
161 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
|
162 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
163 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
|
164 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
165 * 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
|
166 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
|
167 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
168 * 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
|
169 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
|
170 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
|
171 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
172 * 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
|
173 demo configuration. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
174 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
175 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
|
176 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
177 * 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
|
178 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
|
179 was broken. |
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-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
|
182 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
183 * 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
|
184 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
|
185 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
186 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
|
187 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
188 * 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
|
189 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
|
190 creating factory. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
191 |
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 !!! THIS BREAKS OLD ARTIFACT DATABASES! |
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 !!! 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
|
196 !!! 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
|
197 !!! |
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 * 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
|
200 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
|
201 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
|
202 into artifact relation. |
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 * 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
|
205 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
|
206 serializer for the artifacts. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
207 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
208 * 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
|
209 Add method to return ArtifactSerializer. |
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 * 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
|
212 Uses Java standard object serialisation. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
213 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
214 * 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
|
215 Uses th DefaultArtifactSerializer as ArtifactSerializer |
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/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
|
218 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
|
219 table. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
220 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
221 * 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
|
222 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
|
223 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
|
224 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
|
225 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
|
226 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
227 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
|
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/rest/BaseResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
230 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
|
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/rest/ArtifactResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
233 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
|
234 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
|
235 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
|
236 Adjusted to extend from BaseResource. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
237 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
238 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
|
239 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
240 * 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
|
241 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
242 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
|
243 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
244 * 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
|
245 * 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
|
246 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
247 * 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
|
248 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
249 * 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
|
250 SQL statements for PostgreSQL. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
251 |
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/DBConnection.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
253 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
|
254 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
255 * 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
|
256 Added some debug logging. |
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 * 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
|
259 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
260 * 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
|
261 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
262 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
|
263 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
264 * 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
|
265 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
|
266 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
267 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
|
268 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
269 * 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
|
270 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
|
271 of the advance Method. |
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 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
|
274 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
275 * 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
|
276 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
|
277 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
278 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
|
279 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
280 * 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
|
281 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
|
282 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
283 * 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
|
284 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
|
285 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
286 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
|
287 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
288 * 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
|
289 Make Objects Serializable |
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 * 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
|
292 Bug Fixed in SQL-Query |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
293 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
294 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
|
295 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
296 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
|
297 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
|
298 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
|
299 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
|
300 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
|
301 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
|
302 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
|
303 the specific call. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
304 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
305 The accepted values are: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
306 - NOTHING for doing nothing |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
307 - 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
|
308 - STORE for persisting the artifact. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
309 - 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
|
310 a background operation. |
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 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
|
313 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
|
314 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
|
315 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
316 !!! 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
|
317 !!! 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
|
318 !!! which prevents reclaiming resources |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
319 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
320 * 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
|
321 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
|
322 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
323 * 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
|
324 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
|
325 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
326 * 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
|
327 Adjusted. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
328 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
329 * 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
|
330 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
|
331 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
|
332 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
|
333 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
334 * 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
|
335 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
|
336 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
337 * 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
|
338 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
|
339 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
340 * 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
|
341 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
|
342 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
|
343 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
|
344 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
|
345 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
|
346 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
347 * 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
|
348 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
|
349 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
350 * 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
|
351 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
|
352 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
353 * 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
|
354 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
|
355 in ArtifactDatabaseImpl. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
356 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
357 * 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
|
358 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
|
359 database id. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
360 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
361 * 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
|
362 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
|
363 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
364 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
|
365 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
366 * 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
|
367 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
|
368 the output. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
369 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
370 * 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
|
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 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
|
373 Adjusted. |
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 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
|
376 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
377 * 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
|
378 sleep time for cleanup thread. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
379 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
380 * 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
|
381 Start cleanup thread at startup. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
382 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
383 * 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
|
384 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
|
385 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
|
386 is found by lookup. |
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/DatabaseCleaner.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
389 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
|
390 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
|
391 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
|
392 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
393 * 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
|
394 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
|
395 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
|
396 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
397 * 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
|
398 commons-pool version installed. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
399 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
400 * 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
|
401 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
|
402 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
403 * 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
|
404 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
|
405 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
|
406 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
|
407 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
|
408 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
409 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
|
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/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
|
412 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
|
413 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
414 * 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
|
415 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
|
416 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
417 * 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
|
418 Regrouped imports. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
419 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
420 * 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
|
421 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
|
422 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
423 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
|
424 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
425 * 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
|
426 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
|
427 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
428 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
|
429 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
430 * 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
|
431 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
|
432 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
433 * 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
|
434 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
|
435 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
436 * 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
|
437 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
|
438 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
439 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
|
440 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
441 * 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
|
442 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
|
443 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
444 * 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
|
445 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
|
446 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
447 * 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
|
448 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
|
449 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
450 * 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
|
451 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
|
452 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
453 * 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
|
454 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
|
455 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
456 * 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
|
457 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
|
458 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
459 * 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
|
460 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
461 * 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
|
462 create an artifact. Usage |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
463 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
464 $ 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
|
465 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
466 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
|
467 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
468 * 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
|
469 Removed needless import. |
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/Config.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
472 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
|
473 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
|
474 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
475 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
|
476 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
477 * 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
|
478 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
|
479 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
480 * 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
|
481 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
|
482 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
|
483 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
484 * 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
|
485 Call artifact.setup() with this. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
486 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
487 * 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
|
488 Removed namespace stuff. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
489 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
490 * 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
|
491 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
|
492 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
493 * 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
|
494 Use new namespace stuff. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
495 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
496 * 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
|
497 Added author. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
498 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
499 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
|
500 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
501 * 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
|
502 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
|
503 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
504 * 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
|
505 Uses new method from XMLUtils. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
506 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
507 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
|
508 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
509 * 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
|
510 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
|
511 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
|
512 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
513 * 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
|
514 Removed needless import. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
515 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
516 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
|
517 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
518 * 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
|
519 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
|
520 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
521 * 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
|
522 Attached create to web server. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
523 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
524 * 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
|
525 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
|
526 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
527 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
|
528 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
529 * 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
|
530 for XML handling in representations. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
531 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
532 * 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
|
533 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
534 * 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
|
535 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
|
536 into this file. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
537 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
538 * 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
|
539 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
540 * 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
|
541 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
|
542 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
543 * 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
|
544 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
|
545 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
546 * 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
|
547 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
|
548 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
549 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
|
550 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
551 * 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
|
552 * 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
|
553 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
554 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
|
555 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
|
556 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
|
557 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
|
558 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
|
559 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
|
560 logging. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
561 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
|
562 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
|
563 not overwritten. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
564 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
565 * 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
|
566 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
|
567 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
568 * 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
|
569 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
|
570 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
571 * 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
|
572 example logging config |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
573 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
574 * 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
|
575 Added some more logging infos. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
576 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
577 * 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
|
578 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
|
579 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
580 * 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
|
581 Package for REST binding. |
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/rest/Standalone.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
584 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
|
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/rest/RestApp.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
587 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
|
588 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
589 * 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
|
590 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
|
591 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
|
592 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
|
593 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
594 $ ./contrib/run.sh \ |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
595 -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
|
596 de.intevation.artifactdatabase.App |
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 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
|
599 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
600 * 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
|
601 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
|
602 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
603 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
|
604 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
605 * 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
|
606 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
|
607 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
|
608 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
|
609 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
|
610 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
|
611 Integrated log4j |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
612 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
613 * 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
|
614 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
615 * 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
|
616 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
617 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
|
618 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
619 * 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
|
620 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
|
621 be used instantiating the ArtifactFactory. |
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 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
|
624 |
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/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
626 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
|
627 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
|
628 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
629 * 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
|
630 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
|
631 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
632 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
|
633 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
634 * 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
|
635 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
|
636 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
|
637 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
|
638 '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
|
639 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
640 * 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
|
641 SQL statements for H2 database. |
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 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
|
645 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
|
646 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
|
647 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
|
648 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
|
649 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
650 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
|
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/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
653 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
|
654 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
655 * 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
|
656 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
|
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/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
|
659 Removed empty last line. |
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/App.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
662 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
|
663 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
664 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
|
665 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
666 * 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
|
667 Typo in XPath expression. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
668 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
669 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
|
670 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
671 * 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
|
672 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
|
673 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
674 * 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
|
675 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
|
676 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
|
677 the artifact is created. |
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/DefaultArtifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
680 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
|
681 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
682 * 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
|
683 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
|
684 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
|
685 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
|
686 for examples. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
687 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
688 * 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
|
689 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
|
690 database connections to artifact db. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
691 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
|
692 startable without building packages. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
693 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
694 * 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
|
695 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
|
696 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
|
697 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
|
698 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
699 * 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
|
700 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
|
701 documents and parts of. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
702 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
703 * 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
|
704 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
|
705 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
|
706 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
|
707 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
708 * 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
|
709 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
|
710 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
|
711 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
712 * 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
|
713 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
714 * 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
|
715 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
|
716 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
717 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
|
718 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
719 * 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
|
720 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
|
721 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
722 * 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
|
723 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
|
724 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
725 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
|
726 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
727 * 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
|
728 * 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
|
729 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
|
730 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
731 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
|
732 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
733 * pom.xml: Edited |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
734 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
|
735 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
736 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
|
737 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
738 * 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
|
739 configuration. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
740 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
741 * 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
|
742 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
|
743 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
744 * 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
|
745 New. Default implementation of ArtifactContext. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
746 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
747 * 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
|
748 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
|
749 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
750 * 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
|
751 factories. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
752 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
753 * 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
|
754 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
|
755 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
|
756 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
|
757 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
758 * 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
|
759 class for start up. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
760 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
761 * 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
|
762 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
763 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
|
764 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
765 * 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
|
766 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
|
767 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
|
768 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
769 * 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
|
770 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
|
771 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
|
772 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
|
773 global context more consistent. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
774 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
775 * 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
|
776 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
|
777 for details. |
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 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
|
780 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
781 * 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
|
782 in H2 databases. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
783 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
784 * 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
|
785 restlet. |
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 * 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
|
788 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
789 * 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
|
790 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
|
791 a unixoid system. |
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 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
|
794 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
795 * 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
|
796 database server. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
797 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
798 * 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
|
799 sub project, too. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
800 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
801 * 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
|
802 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
803 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
|
804 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
805 * 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
|
806 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
|
807 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
808 * 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
|
809 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
|
810 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
811 * 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
|
812 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
|
813 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
814 * 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
|
815 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
816 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
|
817 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
818 * README, Changelog, Changes, NEWS, TODO: New. Initial setup |