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