Mercurial > dive4elements > framework
annotate ChangeLog @ 69:498bb84334d0
Added base class for services and service factories.
artifacts/trunk@595 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 22 Jan 2010 10:19:27 +0000 |
parents | 541814404822 |
children | ce488c1d3fc4 |
rev | line source |
---|---|
69
498bb84334d0
Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
68
diff
changeset
|
1 2010-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
498bb84334d0
Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
68
diff
changeset
|
2 |
498bb84334d0
Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
68
diff
changeset
|
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultService.java: |
498bb84334d0
Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
68
diff
changeset
|
4 Default implementation of a service. Useful as a base class. |
498bb84334d0
Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
68
diff
changeset
|
5 |
498bb84334d0
Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
68
diff
changeset
|
6 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultServiceFactory.java: |
498bb84334d0
Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
68
diff
changeset
|
7 Default implementation of a service factory. Modelled right after |
498bb84334d0
Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
68
diff
changeset
|
8 DefaultArtifactFactory. Useful as a base class. |
498bb84334d0
Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
68
diff
changeset
|
9 |
68
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
10 2010-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
11 |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
12 * artifacts/src/main/java/de/intevation/artifacts/Service.java: New. |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
13 Interface to describe a service. It takes XML documents and produces |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
14 XML documents. |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
15 |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
16 * artifacts/src/main/java/de/intevation/artifacts/ServiceFactory.java: |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
17 Factory to create services. Setup at startup. |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
18 |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
19 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java: |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
20 Added methods to describe the available services and call them. |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
21 |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
22 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
23 Implemented new ArtifactDatabase interface trivial. TODO: |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
24 Setting it up from configuration, do the processing, register |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
25 urls in REST server and so on. |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
26 |
541814404822
Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
67
diff
changeset
|
27 2010-01-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
67
ed03cc0e5800
Added method to XMLUtils to copy an XML document to an output stream.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
66
diff
changeset
|
28 |
ed03cc0e5800
Added method to XMLUtils to copy an XML document to an output stream.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
66
diff
changeset
|
29 * artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java: |
ed03cc0e5800
Added method to XMLUtils to copy an XML document to an output stream.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
66
diff
changeset
|
30 Added method 'toStream()' to copy a document into an output stream. |
ed03cc0e5800
Added method to XMLUtils to copy an XML document to an output stream.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
66
diff
changeset
|
31 |
66
89e3de0ee05f
Implemented some methods to get access to ArtifactFactories which are stored in the ArtifactDatabase.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
65
diff
changeset
|
32 2010-01-15 Ingo Weinzierl <ingo.weinzierl@intevation.de> |
89e3de0ee05f
Implemented some methods to get access to ArtifactFactories which are stored in the ArtifactDatabase.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
65
diff
changeset
|
33 |
89e3de0ee05f
Implemented some methods to get access to ArtifactFactories which are stored in the ArtifactDatabase.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
65
diff
changeset
|
34 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java, |
89e3de0ee05f
Implemented some methods to get access to ArtifactFactories which are stored in the ArtifactDatabase.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
65
diff
changeset
|
35 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: |
89e3de0ee05f
Implemented some methods to get access to ArtifactFactories which are stored in the ArtifactDatabase.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
65
diff
changeset
|
36 Added a method 'getInternalArtifactFactory' to get an ArtifactFactory by |
89e3de0ee05f
Implemented some methods to get access to ArtifactFactories which are stored in the ArtifactDatabase.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
65
diff
changeset
|
37 its name. |
89e3de0ee05f
Implemented some methods to get access to ArtifactFactories which are stored in the ArtifactDatabase.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
65
diff
changeset
|
38 |
89e3de0ee05f
Implemented some methods to get access to ArtifactFactories which are stored in the ArtifactDatabase.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
65
diff
changeset
|
39 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java: Added |
89e3de0ee05f
Implemented some methods to get access to ArtifactFactories which are stored in the ArtifactDatabase.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
65
diff
changeset
|
40 'getDatabase' method to get access to the ArtifactDatabase from context. |
89e3de0ee05f
Implemented some methods to get access to ArtifactFactories which are stored in the ArtifactDatabase.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
65
diff
changeset
|
41 |
65
82f62ef25a8f
Create namespace aware documents for 'create' and 'out' targets. Adapted XPath expressions for this.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
64
diff
changeset
|
42 2010-01-12 Ingo Weinzierl <ingo.weinzierl@intevation.de> |
82f62ef25a8f
Create namespace aware documents for 'create' and 'out' targets. Adapted XPath expressions for this.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
64
diff
changeset
|
43 |
82f62ef25a8f
Create namespace aware documents for 'create' and 'out' targets. Adapted XPath expressions for this.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
64
diff
changeset
|
44 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java, |
82f62ef25a8f
Create namespace aware documents for 'create' and 'out' targets. Adapted XPath expressions for this.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
64
diff
changeset
|
45 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java: |
82f62ef25a8f
Create namespace aware documents for 'create' and 'out' targets. Adapted XPath expressions for this.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
64
diff
changeset
|
46 Create document namespace aware and adapted XPath expressions for this. |
82f62ef25a8f
Create namespace aware documents for 'create' and 'out' targets. Adapted XPath expressions for this.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
64
diff
changeset
|
47 |
64
8b72676698b5
Create a namespace aware document out of the request. We consider namespaces now. Adapted xpath to find action.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
63
diff
changeset
|
48 2010-01-09 Ingo Weinzierl <ingo.weinzierl@intevation.de> |
8b72676698b5
Create a namespace aware document out of the request. We consider namespaces now. Adapted xpath to find action.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
63
diff
changeset
|
49 |
8b72676698b5
Create a namespace aware document out of the request. We consider namespaces now. Adapted xpath to find action.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
63
diff
changeset
|
50 * artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java: |
8b72676698b5
Create a namespace aware document out of the request. We consider namespaces now. Adapted xpath to find action.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
63
diff
changeset
|
51 Added convenient method to add attributes to nodes. Attributes have no |
8b72676698b5
Create a namespace aware document out of the request. We consider namespaces now. Adapted xpath to find action.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
63
diff
changeset
|
52 prefix as default. |
8b72676698b5
Create a namespace aware document out of the request. We consider namespaces now. Adapted xpath to find action.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
63
diff
changeset
|
53 |
8b72676698b5
Create a namespace aware document out of the request. We consider namespaces now. Adapted xpath to find action.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
63
diff
changeset
|
54 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java: |
8b72676698b5
Create a namespace aware document out of the request. We consider namespaces now. Adapted xpath to find action.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
63
diff
changeset
|
55 Adapted xpath (added prefix) to find action and made the document which is |
8b72676698b5
Create a namespace aware document out of the request. We consider namespaces now. Adapted xpath to find action.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
63
diff
changeset
|
56 created by this resource namespace aware. |
8b72676698b5
Create a namespace aware document out of the request. We consider namespaces now. Adapted xpath to find action.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
63
diff
changeset
|
57 |
63
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
62
diff
changeset
|
58 2009-12-17 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
62
diff
changeset
|
59 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
62
diff
changeset
|
60 RELEASE 0.3 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
62
diff
changeset
|
61 |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
62
diff
changeset
|
62 * Changes, NEWS, ChangeLog: summarized activities. |
824dd614e647
Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
62
diff
changeset
|
63 |
62
76abf0c64d3b
Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
61
diff
changeset
|
64 2009-12-16 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
76abf0c64d3b
Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
61
diff
changeset
|
65 |
76abf0c64d3b
Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
61
diff
changeset
|
66 * artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java: |
76abf0c64d3b
Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
61
diff
changeset
|
67 Added static method parseDocument(File) to load document from |
76abf0c64d3b
Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
61
diff
changeset
|
68 file. |
76abf0c64d3b
Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
61
diff
changeset
|
69 |
61
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
70 2009-12-15 Ingo Weinzierl <ingo.weinzierl@intevation.de> |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
71 |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
72 Issue106 |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
73 |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
74 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java: |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
75 Removed path to chart template which doesn't belong here. |
911c684c8a1c
Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
60
diff
changeset
|
76 |
60
85d996328c8a
Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
59
diff
changeset
|
77 2009-12-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
85d996328c8a
Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
59
diff
changeset
|
78 |
85d996328c8a
Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
59
diff
changeset
|
79 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java: |
85d996328c8a
Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
59
diff
changeset
|
80 Removed needless import. |
85d996328c8a
Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
59
diff
changeset
|
81 |
59
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
82 2009-11-23 Ingo Weinzierl <ingo.weinzierl@intevation.de> |
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
83 |
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
84 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java: |
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
85 Added path to chart template file and a new method to retrieve the |
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
86 configuration. |
8cd770330f1b
Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
58
diff
changeset
|
87 |
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
|
88 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
|
89 |
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
|
90 * 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
|
91 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
|
92 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
|
93 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
|
94 |
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
|
95 * 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
|
96 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
|
97 |
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
|
98 * 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
|
99 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
|
100 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
|
101 |
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
|
102 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
|
103 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
|
104 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
|
105 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
|
106 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
|
107 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
|
108 |
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
|
109 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
|
110 |
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
|
111 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
|
112 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
|
113 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
|
114 |
57
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
115 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
|
116 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
117 RELEASE 0.2 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
118 |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
119 * Changes, NEWS summarized |
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
120 |
56
f027204baf5d
Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
55
diff
changeset
|
121 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
|
122 |
f027204baf5d
Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
55
diff
changeset
|
123 * 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
|
124 tomcat, gnv). |
f027204baf5d
Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
55
diff
changeset
|
125 |
55
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
126 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
|
127 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
128 * 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
|
129 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
|
130 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
131 * 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
|
132 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
|
133 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
134 * 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
|
135 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
|
136 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
137 * 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
|
138 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
|
139 |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
140 * 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
|
141 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
|
142 XML. |
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
143 |
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
|
144 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
|
145 |
57
cf9848c85755
RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents:
56
diff
changeset
|
146 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
|
147 |
55
9a29899b31e5
describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
54
diff
changeset
|
148 * 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
|
149 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
|
150 |
53
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
151 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
|
152 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
153 RELEASE 0.1 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
154 |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
155 * Changes, NEWS: Summaried changes. |
fecd142b6856
RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
52
diff
changeset
|
156 |
52
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
157 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
|
158 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
159 * 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
|
160 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
161 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
|
162 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
163 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
164 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
|
165 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
166 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
|
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/DefaultCallMeta.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
169 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
|
170 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
171 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
|
172 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
173 * 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
|
174 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
|
175 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
176 * 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
|
177 Trivial (and incorrect!) implementation. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
178 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
179 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
|
180 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
181 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
|
182 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
183 * 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
|
184 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
|
185 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
|
186 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
187 * 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
|
188 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
189 * 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
|
190 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
|
191 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
192 * 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
|
193 New. Model preferred languages. |
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 * 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
|
196 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
|
197 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
198 * 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
|
199 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
|
200 external meta data. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
201 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
202 * 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
|
203 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
|
204 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
205 * 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
|
206 New. Default implementation of PreferredLocale. |
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 * 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
|
209 New. Default implementation of CallMeta. |
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/ArtifactDatabaseImpl.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
212 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
|
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/rest/BaseResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
215 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
|
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/rest/ArtifactResource.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
218 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
|
219 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
|
220 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
|
221 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
222 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
|
223 |
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/SQL.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
225 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
|
226 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
|
227 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
|
228 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
|
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 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
|
231 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
|
232 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
|
233 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
|
234 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
|
235 Removed trailing whitespace. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
236 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
237 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
|
238 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
239 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
240 Removed needless imports. |
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 * 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
|
243 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
|
244 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
245 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
|
246 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
247 * 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
|
248 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
|
249 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
250 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
|
251 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
252 * 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
|
253 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
|
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/rest/Standalone.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
256 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
|
257 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
|
258 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
259 * 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
|
260 demo configuration. |
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-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
|
263 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
264 * 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
|
265 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
|
266 was broken. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
267 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
268 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
|
269 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
270 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
271 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
|
272 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
273 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
|
274 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
275 * 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
|
276 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
|
277 creating factory. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
278 |
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 !!! THIS BREAKS OLD ARTIFACT DATABASES! |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
281 !!! |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
282 !!! 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
|
283 !!! 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
|
284 !!! |
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 * 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
|
287 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
|
288 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
|
289 into artifact relation. |
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 * 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
|
292 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
|
293 serializer for the artifacts. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
294 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
295 * 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
|
296 Add method to return ArtifactSerializer. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
297 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
298 * 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
|
299 Uses Java standard object serialisation. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
300 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
301 * 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
|
302 Uses th DefaultArtifactSerializer as ArtifactSerializer |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
303 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
304 * 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
|
305 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
|
306 table. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
307 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
308 * 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
|
309 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
|
310 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
|
311 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
|
312 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
|
313 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
314 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
|
315 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
316 * 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
|
317 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
|
318 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
319 * 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
|
320 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
|
321 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
|
322 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
|
323 Adjusted to extend from BaseResource. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
324 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
325 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
|
326 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
327 * 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
|
328 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
329 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
|
330 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
331 * 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
|
332 * 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
|
333 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
334 * 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
|
335 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
336 * 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
|
337 SQL statements for PostgreSQL. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
338 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
339 * 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
|
340 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
|
341 |
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/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
343 Added some debug logging. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
344 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
345 * 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
|
346 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
347 * 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
|
348 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
349 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
|
350 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
351 * 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
|
352 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
|
353 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
354 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
|
355 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
356 * 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
|
357 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
|
358 of the advance Method. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
359 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
360 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
|
361 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
362 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
363 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
|
364 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
365 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
|
366 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
367 * 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
|
368 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
|
369 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
370 * 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
|
371 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
|
372 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
373 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
|
374 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
375 * 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
|
376 Make Objects Serializable |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
377 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
378 * 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
|
379 Bug Fixed in SQL-Query |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
380 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
381 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
|
382 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
383 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
|
384 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
|
385 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
|
386 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
|
387 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
|
388 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
|
389 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
|
390 the specific call. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
391 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
392 The accepted values are: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
393 - NOTHING for doing nothing |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
394 - 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
|
395 - STORE for persisting the artifact. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
396 - 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
|
397 a background operation. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
398 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
399 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
|
400 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
|
401 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
|
402 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
403 !!! 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
|
404 !!! 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
|
405 !!! which prevents reclaiming resources |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
406 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
407 * 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
|
408 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
|
409 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
410 * 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
|
411 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
|
412 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
413 * 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
|
414 Adjusted. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
415 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
416 * 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
|
417 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
|
418 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
|
419 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
|
420 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
421 * 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
|
422 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
|
423 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
424 * 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
|
425 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
|
426 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
427 * 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
|
428 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
|
429 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
|
430 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
|
431 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
|
432 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
|
433 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
434 * 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
|
435 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
|
436 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
437 * 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
|
438 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
|
439 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
440 * 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
|
441 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
|
442 in ArtifactDatabaseImpl. |
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/Id.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
445 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
|
446 database id. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
447 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
448 * artifact-database/src/main/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
|
449 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
|
450 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
451 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
|
452 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
453 * 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
|
454 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
|
455 the output. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
456 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
457 * 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
|
458 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
|
459 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
|
460 Adjusted. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
461 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
462 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
|
463 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
464 * 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
|
465 sleep time for cleanup thread. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
466 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
467 * 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
|
468 Start cleanup thread at startup. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
469 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
470 * 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
|
471 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
|
472 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
|
473 is found by lookup. |
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 * 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
|
476 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
|
477 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
|
478 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
|
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/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
|
481 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
|
482 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
|
483 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
484 * 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
|
485 commons-pool version installed. |
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 * 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
|
488 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
|
489 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
490 * 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
|
491 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
|
492 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
|
493 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
|
494 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
|
495 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
496 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
|
497 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
498 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
499 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
|
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/rest/OutRepresentation.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
502 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
|
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/rest/ArtifactResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
505 Regrouped imports. |
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 * 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
|
508 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
|
509 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
510 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
|
511 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
512 * 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
|
513 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
|
514 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
515 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
|
516 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
517 * 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
|
518 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
|
519 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
520 * 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
|
521 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
|
522 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
523 * 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
|
524 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
|
525 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
526 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
|
527 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
528 * 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
|
529 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
|
530 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
531 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
532 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
|
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/ArtifactDatabaseImpl.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
535 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
|
536 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
537 * 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
|
538 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
|
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/CreateResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
541 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
|
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/Backend.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
544 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
|
545 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
546 * 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
|
547 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
548 * 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
|
549 create an artifact. Usage |
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 $ 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
|
552 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
553 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
|
554 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
555 * 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
|
556 Removed needless import. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
557 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
558 * artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java, |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
559 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
|
560 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
|
561 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
562 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
|
563 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
564 * 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
|
565 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
|
566 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
567 * 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
|
568 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
|
569 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
|
570 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
571 * 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
|
572 Call artifact.setup() with this. |
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/DefaultArtifact.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
575 Removed namespace stuff. |
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 * 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
|
578 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
|
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/FactoriesResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
581 Use new namespace stuff. |
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 Added author. |
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 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
|
587 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
588 * 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
|
589 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
|
590 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
591 * 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
|
592 Uses new method from XMLUtils. |
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 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
|
595 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
596 * 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
|
597 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
|
598 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
|
599 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
600 * 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
|
601 Removed needless import. |
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-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
|
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/rest/CreateResource.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
606 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
|
607 |
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/rest/RestApp.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
609 Attached create to web server. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
610 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
611 * 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
|
612 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
|
613 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
614 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
|
615 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
616 * 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
|
617 for XML handling in representations. |
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 * 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
|
620 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
621 * 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
|
622 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
|
623 into this file. |
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 * 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
|
626 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
627 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
628 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
|
629 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
630 * 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
|
631 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
|
632 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
633 * 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
|
634 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
|
635 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
636 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
|
637 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
638 * 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
|
639 * 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
|
640 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
641 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
|
642 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
|
643 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
|
644 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
|
645 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
|
646 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
|
647 logging. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
648 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
|
649 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
|
650 not overwritten. |
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/Config.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
653 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
|
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/DBConnection.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
656 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
|
657 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
658 * 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
|
659 example logging config |
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/FactoryBootstrap.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
662 Added some more logging infos. |
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 * 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
|
665 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
|
666 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
667 * 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
|
668 Package for REST binding. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
669 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
670 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
671 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
|
672 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
673 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
674 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
|
675 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
676 * 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
|
677 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
|
678 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
|
679 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
|
680 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
681 $ ./contrib/run.sh \ |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
682 -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
|
683 de.intevation.artifactdatabase.App |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
684 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
685 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
|
686 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
687 * 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
|
688 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
|
689 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
690 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
|
691 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
692 * 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
|
693 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
|
694 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
|
695 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
|
696 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
|
697 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
|
698 Integrated log4j |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
699 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
700 * artifact-database/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
|
701 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
702 * 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
|
703 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
704 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
|
705 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
706 * 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
|
707 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
|
708 be used instantiating the ArtifactFactory. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
709 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
710 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
|
711 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
712 * 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
|
713 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
|
714 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
|
715 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
716 * 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
|
717 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
|
718 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
719 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
|
720 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
721 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
722 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
|
723 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
|
724 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
|
725 '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
|
726 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
727 * 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
|
728 SQL statements for H2 database. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
729 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
730 * 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
|
731 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
|
732 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
|
733 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
|
734 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
|
735 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
|
736 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
737 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
|
738 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
739 * 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
|
740 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
|
741 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
742 * 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
|
743 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
|
744 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
745 * 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
|
746 Removed empty last line. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
747 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
748 * 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
|
749 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
|
750 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
751 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
|
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/DBConnection.java: |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
754 Typo in XPath expression. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
755 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
756 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
|
757 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
758 * 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
|
759 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
|
760 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
761 * 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
|
762 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
|
763 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
|
764 the artifact is created. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
765 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
766 * 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
|
767 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
|
768 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
769 * 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
|
770 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
|
771 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
|
772 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
|
773 for examples. |
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/pom.xml: Cleaned up XML. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
776 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
|
777 database connections to artifact db. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
778 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
|
779 startable without building packages. |
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: 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
|
782 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
|
783 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
|
784 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
|
785 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
786 * 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
|
787 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
|
788 documents and parts of. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
789 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
790 * 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
|
791 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
|
792 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
|
793 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
|
794 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
795 * 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
|
796 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
|
797 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
|
798 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
799 * 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
|
800 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
801 * 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
|
802 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
|
803 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
804 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
|
805 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
806 * 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
|
807 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
|
808 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
809 * 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
|
810 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
|
811 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
812 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
|
813 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
814 * 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
|
815 * 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
|
816 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
|
817 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
818 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
|
819 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
820 * pom.xml: Edited |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
821 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
|
822 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
823 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
|
824 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
825 * 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
|
826 configuration. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
827 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
828 * 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
|
829 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
|
830 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
831 * 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
|
832 New. Default implementation of ArtifactContext. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
833 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
834 * 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
|
835 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
|
836 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
837 * 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
|
838 factories. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
839 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
840 * 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
|
841 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
|
842 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
|
843 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
|
844 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
845 * 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
|
846 class for start up. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
847 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
848 * 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
|
849 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
850 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
|
851 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
852 * 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
|
853 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
|
854 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
|
855 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
856 * 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
|
857 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
|
858 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
|
859 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
|
860 global context more consistent. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
861 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
862 * 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
|
863 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
|
864 for details. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
865 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
866 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
|
867 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
868 * 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
|
869 in H2 databases. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
870 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
871 * 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
|
872 restlet. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
873 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
874 * 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
|
875 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
876 * 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
|
877 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
|
878 a unixoid system. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
879 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
880 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
|
881 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
882 * 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
|
883 database server. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
884 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
885 * 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
|
886 sub project, too. |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
887 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
888 * 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
|
889 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
890 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
|
891 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
892 * 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
|
893 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
|
894 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
895 * 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
|
896 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
|
897 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
898 * 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
|
899 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
|
900 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
901 * 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
|
902 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
903 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
|
904 |
9293af6b0a0f
Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
905 * README, Changelog, Changes, NEWS, TODO: New. Initial setup |