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