annotate ChangeLog @ 215:a9c8fa38ba03

Added new collection specific sql statements. artifacts/trunk@1554 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 24 Mar 2011 11:28:26 +0000
parents fc435da7f471
children 2d90d5cfe8f9
rev   line source
215
a9c8fa38ba03 Added new collection specific sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 214
diff changeset
1 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
a9c8fa38ba03 Added new collection specific sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 214
diff changeset
2
a9c8fa38ba03 Added new collection specific sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 214
diff changeset
3 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
a9c8fa38ba03 Added new collection specific sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 214
diff changeset
4 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
a9c8fa38ba03 Added new collection specific sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 214
diff changeset
5 Added new statement to retrieve a single collection by GID and repaired
a9c8fa38ba03 Added new collection specific sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 214
diff changeset
6 a statement in the postgres properties.
a9c8fa38ba03 Added new collection specific sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 214
diff changeset
7
214
fc435da7f471 Enhanced the ClientProtocolUtils with a method that creates a document that is used to add an artifact to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 213
diff changeset
8 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
fc435da7f471 Enhanced the ClientProtocolUtils with a method that creates a document that is used to add an artifact to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 213
diff changeset
9
fc435da7f471 Enhanced the ClientProtocolUtils with a method that creates a document that is used to add an artifact to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 213
diff changeset
10 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
fc435da7f471 Enhanced the ClientProtocolUtils with a method that creates a document that is used to add an artifact to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 213
diff changeset
11 Added a method that creates a document that is used to add an artifact
fc435da7f471 Enhanced the ClientProtocolUtils with a method that creates a document that is used to add an artifact to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 213
diff changeset
12 to a collection.
fc435da7f471 Enhanced the ClientProtocolUtils with a method that creates a document that is used to add an artifact to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 213
diff changeset
13
213
199f0e553e3a Bugfix: Repaired broken SQL statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 212
diff changeset
14 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
199f0e553e3a Bugfix: Repaired broken SQL statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 212
diff changeset
15
199f0e553e3a Bugfix: Repaired broken SQL statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 212
diff changeset
16 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
199f0e553e3a Bugfix: Repaired broken SQL statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 212
diff changeset
17 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
199f0e553e3a Bugfix: Repaired broken SQL statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 212
diff changeset
18 Bugfix: Repaired broken SQL statement.
199f0e553e3a Bugfix: Repaired broken SQL statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 212
diff changeset
19
212
d7042094f7b7 Bugfix: Repaired a broken XPath.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 211
diff changeset
20 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
d7042094f7b7 Bugfix: Repaired a broken XPath.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 211
diff changeset
21
d7042094f7b7 Bugfix: Repaired a broken XPath.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 211
diff changeset
22 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
d7042094f7b7 Bugfix: Repaired a broken XPath.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 211
diff changeset
23 Bugfix: Repaired a broken XPath.
d7042094f7b7 Bugfix: Repaired a broken XPath.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 211
diff changeset
24
211
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
25 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
26
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
27 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProtocolUtils.java:
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
28 Added a method to append an <outputmodes> section to a document that
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
29 describes the output modes of a state.
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
30
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
31 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
32 Added a method to retrieve a list of output modes from DESCRIBE
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
33 document.
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
34
210
b75fca1ac215 Enhanced the State interface to retrieve its output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 209
diff changeset
35 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
b75fca1ac215 Enhanced the State interface to retrieve its output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 209
diff changeset
36
b75fca1ac215 Enhanced the State interface to retrieve its output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 209
diff changeset
37 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java:
b75fca1ac215 Enhanced the State interface to retrieve its output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 209
diff changeset
38 The State interface defines a method to retrieve the state's output
b75fca1ac215 Enhanced the State interface to retrieve its output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 209
diff changeset
39 modes now.
b75fca1ac215 Enhanced the State interface to retrieve its output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 209
diff changeset
40
209
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
41 2011-03-22 Ingo Weinzierl <ingo@intevation.de>
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
42
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
43 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java,
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
44 artifact-database/src/main/java/de/intevation/artifactdatabase/state/Output.java:
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
45 New. An interface and its default implementation to describe an output
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
46 mode of a state. Currently, the information 'name', 'description' and
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
47 'mime-type' are provided.
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
48
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
49 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
50 The abstract state reads the output modes available for the state now.
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
51
208
8ea4d0824d8f Changed a return type of a ClientProtocolUtils method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 207
diff changeset
52 2011-03-21 Ingo Weinzierl <ingo@intevation.de>
8ea4d0824d8f Changed a return type of a ClientProtocolUtils method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 207
diff changeset
53
8ea4d0824d8f Changed a return type of a ClientProtocolUtils method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 207
diff changeset
54 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
8ea4d0824d8f Changed a return type of a ClientProtocolUtils method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 207
diff changeset
55 Changed the return type of a method, so that more nodes will be
8ea4d0824d8f Changed a return type of a ClientProtocolUtils method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 207
diff changeset
56 retrieved.
8ea4d0824d8f Changed a return type of a ClientProtocolUtils method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 207
diff changeset
57
207
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
58 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
59
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
60 !!! THIS BREAKS THE GNV ARTIFACTS. !!! TODO: Adjust the imports there.
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
61
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
62 * artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java,
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
63 artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java:
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
64 Deleted. The copies from the commons package are use now.
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
65
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
66 * artifact-database/src/main/java/de/intevation/artifactdatabase/**/*.java:
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
67 Adjusted imports.
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
68
206
33f58a847fc4 Added a copy of Config in the commons package. TODO: Remove it from artifacts-database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 205
diff changeset
69 2011-03-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
33f58a847fc4 Added a copy of Config in the commons package. TODO: Remove it from artifacts-database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 205
diff changeset
70
33f58a847fc4 Added a copy of Config in the commons package. TODO: Remove it from artifacts-database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 205
diff changeset
71 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/Config.java:
33f58a847fc4 Added a copy of Config in the commons package. TODO: Remove it from artifacts-database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 205
diff changeset
72 New. Copy of Config in artifacts-database. Part of moving configuration to
33f58a847fc4 Added a copy of Config in the commons package. TODO: Remove it from artifacts-database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 205
diff changeset
73 the commons package. TODO: Remove XMLUtils and Config from artifact-database.
33f58a847fc4 Added a copy of Config in the commons package. TODO: Remove it from artifacts-database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 205
diff changeset
74
33f58a847fc4 Added a copy of Config in the commons package. TODO: Remove it from artifacts-database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 205
diff changeset
75 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
33f58a847fc4 Added a copy of Config in the commons package. TODO: Remove it from artifacts-database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 205
diff changeset
76 Trivial fix. Forgot to commit some time ago.
33f58a847fc4 Added a copy of Config in the commons package. TODO: Remove it from artifacts-database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 205
diff changeset
77
205
2a9591f76270 Changed the return type of a State's describe() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 204
diff changeset
78 2011-03-14 Ingo Weinzierl <ingo@intevation.de>
2a9591f76270 Changed the return type of a State's describe() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 204
diff changeset
79
2a9591f76270 Changed the return type of a State's describe() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 204
diff changeset
80 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java,
2a9591f76270 Changed the return type of a State's describe() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 204
diff changeset
81 artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
2a9591f76270 Changed the return type of a State's describe() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 204
diff changeset
82 The describe() method of a state will now return an Element.
2a9591f76270 Changed the return type of a State's describe() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 204
diff changeset
83
204
5c93fb142970 Implemented a new method in the ClientProtocolUtils that creates the document for a ADVANCE operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 203
diff changeset
84 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
5c93fb142970 Implemented a new method in the ClientProtocolUtils that creates the document for a ADVANCE operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 203
diff changeset
85
5c93fb142970 Implemented a new method in the ClientProtocolUtils that creates the document for a ADVANCE operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 203
diff changeset
86 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
5c93fb142970 Implemented a new method in the ClientProtocolUtils that creates the document for a ADVANCE operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 203
diff changeset
87 New method that creates the document for a ADVANCE operation.
5c93fb142970 Implemented a new method in the ClientProtocolUtils that creates the document for a ADVANCE operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 203
diff changeset
88
203
b5e1949bc255 Implemented a new method in the ClientProtocolUtils that creates the document for a FEED operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 202
diff changeset
89 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
b5e1949bc255 Implemented a new method in the ClientProtocolUtils that creates the document for a FEED operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 202
diff changeset
90
b5e1949bc255 Implemented a new method in the ClientProtocolUtils that creates the document for a FEED operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 202
diff changeset
91 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
b5e1949bc255 Implemented a new method in the ClientProtocolUtils that creates the document for a FEED operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 202
diff changeset
92 New method that creates the document for a FEED operation.
b5e1949bc255 Implemented a new method in the ClientProtocolUtils that creates the document for a FEED operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 202
diff changeset
93
202
c03d3a872cd2 Fixed a bug in the ElementCreator of the XMLUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 201
diff changeset
94 2011-03-10 Ingo Weinzierl <ingo@intevation.de>
c03d3a872cd2 Fixed a bug in the ElementCreator of the XMLUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 201
diff changeset
95
c03d3a872cd2 Fixed a bug in the ElementCreator of the XMLUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 201
diff changeset
96 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
c03d3a872cd2 Fixed a bug in the ElementCreator of the XMLUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 201
diff changeset
97 Bugfix: The ElementCreator's method addAttr() will no longer add the
c03d3a872cd2 Fixed a bug in the ElementCreator of the XMLUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 201
diff changeset
98 namespace to an attribute although the 'addPrefix' parameter was set to
c03d3a872cd2 Fixed a bug in the ElementCreator of the XMLUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 201
diff changeset
99 false.
c03d3a872cd2 Fixed a bug in the ElementCreator of the XMLUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 201
diff changeset
100
201
973f244ed568 Improved the TransitionEngine with a method that determines if a State B is reachable from a State A.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 200
diff changeset
101 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
973f244ed568 Improved the TransitionEngine with a method that determines if a State B is reachable from a State A.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 200
diff changeset
102
973f244ed568 Improved the TransitionEngine with a method that determines if a State B is reachable from a State A.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 200
diff changeset
103 * artifact-database/src/main/java/de/intevation/artifactdatabase/transition/TransitionEngine.java:
973f244ed568 Improved the TransitionEngine with a method that determines if a State B is reachable from a State A.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 200
diff changeset
104 New method to determine if a state B is reachable from a state A.
973f244ed568 Improved the TransitionEngine with a method that determines if a State B is reachable from a State A.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 200
diff changeset
105
200
62dd8438885f Added a further constructor to the DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 199
diff changeset
106 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
62dd8438885f Added a further constructor to the DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 199
diff changeset
107
62dd8438885f Added a further constructor to the DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 199
diff changeset
108 * artifact-database/src/main/java/de/intevation/artifactdatabase/data/DefaultStateData.java:
62dd8438885f Added a further constructor to the DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 199
diff changeset
109 Added a further constructor that takes even the value.
62dd8438885f Added a further constructor to the DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 199
diff changeset
110
199
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
111 2011-03-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
112
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
113 * artifact-database/doc/schema-pg.sql, artifact-database/doc/schema-h2.sql:
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
114 Fixed broken schemas.
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
115
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
116 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
117 Insert collection attribute into database, too.
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
118
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
119 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
120 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
121 Adjusted SQL statements to insert attribute into collection table.
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
122
198
6370369412e9 Parse the collection attribute of the incoming document of a create-collection call and store this in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 197
diff changeset
123 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
6370369412e9 Parse the collection attribute of the incoming document of a create-collection call and store this in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 197
diff changeset
124
6370369412e9 Parse the collection attribute of the incoming document of a create-collection call and store this in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 197
diff changeset
125 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
6370369412e9 Parse the collection attribute of the incoming document of a create-collection call and store this in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 197
diff changeset
126 Parse the collection attribute that is contained in the incoming
6370369412e9 Parse the collection attribute of the incoming document of a create-collection call and store this in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 197
diff changeset
127 document while creating a new collection and use this document as parameter
6370369412e9 Parse the collection attribute of the incoming document of a create-collection call and store this in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 197
diff changeset
128 for calling createCollection() of the Backend.
6370369412e9 Parse the collection attribute of the incoming document of a create-collection call and store this in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 197
diff changeset
129
197
94654cbf8db2 Fixed a typo in the sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 196
diff changeset
130 2011-03-09 Ingo Weinzierl <ingo@intevation.de>
94654cbf8db2 Fixed a typo in the sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 196
diff changeset
131
94654cbf8db2 Fixed a typo in the sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 196
diff changeset
132 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
94654cbf8db2 Fixed a typo in the sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 196
diff changeset
133 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
94654cbf8db2 Fixed a typo in the sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 196
diff changeset
134 Fixed a typo.
94654cbf8db2 Fixed a typo in the sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 196
diff changeset
135
196
171b6200d26d Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 195
diff changeset
136 2011-03-08 Ingo Weinzierl <ingo@intevation.de>
171b6200d26d Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 195
diff changeset
137
171b6200d26d Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 195
diff changeset
138 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
171b6200d26d Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 195
diff changeset
139 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
171b6200d26d Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 195
diff changeset
140 New method describeCollection() that might be used to retrieve a list of
171b6200d26d Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 195
diff changeset
141 items in the collection and the facets supported by those items.
171b6200d26d Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 195
diff changeset
142
171b6200d26d Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 195
diff changeset
143 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionResource.java:
171b6200d26d Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 195
diff changeset
144 Enabled the describeCollection() method with an action 'describe' equal
171b6200d26d Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 195
diff changeset
145 to the implementation of describe of an artifact.
171b6200d26d Added a describe() action for collections - the implementation in the artifact server is currently just a stub that throws an not implemented exception.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 195
diff changeset
146
195
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
147 2011-03-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
148
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
149 * artifact-database/src/main/resources/sql/org-h2-driver.properties
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
150 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
151 The cleaner job is scanning the artifact database for outdated artifacts.
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
152 artifacts are aging independent from the collections they are in.
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
153 So the cleaner wants to delete artifacts that are still in
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
154 collections which violates a foreign key constraint and renders
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
155 the cleaner inop because this condition remains.
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
156
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
157 The fix prevents this behavior by only deleting artifacts that
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
158 are not in a collection.
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
159
193
949d69ad3756 Fixed issue with outdating an artifact if it is removed from a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 192
diff changeset
160 2011-03-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
949d69ad3756 Fixed issue with outdating an artifact if it is removed from a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 192
diff changeset
161
949d69ad3756 Fixed issue with outdating an artifact if it is removed from a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 192
diff changeset
162 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
949d69ad3756 Fixed issue with outdating an artifact if it is removed from a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 192
diff changeset
163 Fixed issue with outdating artifact if it is removed from a collection.
949d69ad3756 Fixed issue with outdating an artifact if it is removed from a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 192
diff changeset
164
949d69ad3756 Fixed issue with outdating an artifact if it is removed from a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 192
diff changeset
165 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
949d69ad3756 Fixed issue with outdating an artifact if it is removed from a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 192
diff changeset
166 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
949d69ad3756 Fixed issue with outdating an artifact if it is removed from a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 192
diff changeset
167 Fixed statements.
949d69ad3756 Fixed issue with outdating an artifact if it is removed from a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 192
diff changeset
168
192
dad6071c9072 Implemented the getCollectionAttribute() and setCollectionAttribute() methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 191
diff changeset
169 2011-03-08 Ingo Weinzierl <ingo@intevation.de>
dad6071c9072 Implemented the getCollectionAttribute() and setCollectionAttribute() methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 191
diff changeset
170
dad6071c9072 Implemented the getCollectionAttribute() and setCollectionAttribute() methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 191
diff changeset
171 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
dad6071c9072 Implemented the getCollectionAttribute() and setCollectionAttribute() methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 191
diff changeset
172 Implemented the setCollectionAttribute() and getCollectionAttribute()
dad6071c9072 Implemented the getCollectionAttribute() and setCollectionAttribute() methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 191
diff changeset
173 methods.
dad6071c9072 Implemented the getCollectionAttribute() and setCollectionAttribute() methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 191
diff changeset
174
191
3bce5556a2e5 Fixed some sql statements that contained typos.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 190
diff changeset
175 2011-03-08 Ingo Weinzierl <ingo@intevation.de>
3bce5556a2e5 Fixed some sql statements that contained typos.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 190
diff changeset
176
3bce5556a2e5 Fixed some sql statements that contained typos.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 190
diff changeset
177 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
3bce5556a2e5 Fixed some sql statements that contained typos.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 190
diff changeset
178 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
3bce5556a2e5 Fixed some sql statements that contained typos.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 190
diff changeset
179 Fixed some SQL statements that contained typos.
3bce5556a2e5 Fixed some sql statements that contained typos.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 190
diff changeset
180
190
7acf4a325bfe Implemented removeCollectionArtifact() method of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 189
diff changeset
181 2011-03-08 Ingo Weinzierl <ingo@intevation.de>
7acf4a325bfe Implemented removeCollectionArtifact() method of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 189
diff changeset
182
7acf4a325bfe Implemented removeCollectionArtifact() method of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 189
diff changeset
183 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
7acf4a325bfe Implemented removeCollectionArtifact() method of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 189
diff changeset
184 Implemented removeCollectionArtifact() method.
7acf4a325bfe Implemented removeCollectionArtifact() method of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 189
diff changeset
185
189
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
186 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
187
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
188 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
189 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
190 Modified the method signature of addCollectionArtifact(). This method
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
191 got the incoming document as further parameter.
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
192 Furthermore, listCollectionArtifacts() and addCollectionArtifact() are
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
193 implemented now.
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
194
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
195 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionResource.java:
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
196 Adapted the method call of addCollectionArtifact().
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
197
188
946e2245a6c0 Fixed broken constructor of DefaultCollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 187
diff changeset
198 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
946e2245a6c0 Fixed broken constructor of DefaultCollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 187
diff changeset
199
946e2245a6c0 Fixed broken constructor of DefaultCollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 187
diff changeset
200 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCollectionItem.java:
946e2245a6c0 Fixed broken constructor of DefaultCollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 187
diff changeset
201 Fixed broken constructor.
946e2245a6c0 Fixed broken constructor of DefaultCollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 187
diff changeset
202
187
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
203 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
204
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
205 * artifact-database/doc/schema-pg.sql,
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
206 artifact-database/doc/schema-h2.sql: Renamed a SEQUENCE - schema
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
207 definition and sql statements did not fit to each other.
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
208
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
209 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
210 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
211 Fixed wrong table names in sql statements.
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
212
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
213 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
214 Fixed SQL constants.
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
215
186
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
216 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
217
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
218 * artifacts/src/main/java/de/intevation/artifacts/CollectionItem.java:
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
219 New. An interface that wraps artifacts and its attributes in collections.
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
220
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
221 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCollectionItem.java,
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
222 artifact-database/src/main/java/de/intevation/artifactdatabase/CollectionItem.java:
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
223 Moved. The CollectionItem has been moved to DefaultCollectionItem and
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
224 implements the new interface CollectionItem.
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
225
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
226 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
227 The listCollectionArtifacts() method instantiates DefaultCollectionItem
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
228 objects now.
15c7638511dc Added an interface for CollectionItems and renamed the CollectionItem class from the artifact-database package to DefaultCollectionItem - because this is the default implementation of the interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 185
diff changeset
229
185
afd5945ff8d1 Added missing class.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 184
diff changeset
230 2011-03-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
afd5945ff8d1 Added missing class.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 184
diff changeset
231
afd5945ff8d1 Added missing class.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 184
diff changeset
232 * artifact-database/src/main/java/de/intevation/artifactdatabase/CollectionItem.java:
afd5945ff8d1 Added missing class.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 184
diff changeset
233 Add missing class.
afd5945ff8d1 Added missing class.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 184
diff changeset
234
184
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
235 2011-03-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
236
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
237 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
238 Added code to list the collection items in a collection.
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
239
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
240 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
241 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
242 Added SQL statements to list the collection item
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
243 via a given collection uuid.
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
244
183
9b8923043a38 Repaired the namespaces of the xml element attributes in the collecton context of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 182
diff changeset
245 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
9b8923043a38 Repaired the namespaces of the xml element attributes in the collecton context of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 182
diff changeset
246
9b8923043a38 Repaired the namespaces of the xml element attributes in the collecton context of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 182
diff changeset
247 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
9b8923043a38 Repaired the namespaces of the xml element attributes in the collecton context of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 182
diff changeset
248 Repaired the namespaces of attributes in the xml documents created in
9b8923043a38 Repaired the namespaces of the xml element attributes in the collecton context of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 182
diff changeset
249 the collection context.
9b8923043a38 Repaired the namespaces of the xml element attributes in the collecton context of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 182
diff changeset
250
182
7eebe707a034 Added helper to be return in Backend.listCollectionArtifacts()
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 181
diff changeset
251 2011-03-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7eebe707a034 Added helper to be return in Backend.listCollectionArtifacts()
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 181
diff changeset
252
7eebe707a034 Added helper to be return in Backend.listCollectionArtifacts()
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 181
diff changeset
253 * artifact-database/src/main/java/de/intevation/artifactdatabase/CollectionItem.java:
7eebe707a034 Added helper to be return in Backend.listCollectionArtifacts()
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 181
diff changeset
254 New. Helper to be returned in Backend.listCollectionArtifacts()
7eebe707a034 Added helper to be return in Backend.listCollectionArtifacts()
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 181
diff changeset
255
7eebe707a034 Added helper to be return in Backend.listCollectionArtifacts()
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 181
diff changeset
256 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
7eebe707a034 Added helper to be return in Backend.listCollectionArtifacts()
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 181
diff changeset
257 Copyright adjusted to 2010, 2011
7eebe707a034 Added helper to be return in Backend.listCollectionArtifacts()
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 181
diff changeset
258
181
116482169b44 Adapted the sql statements for fetching all collections and all user collections from database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 180
diff changeset
259 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
116482169b44 Adapted the sql statements for fetching all collections and all user collections from database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 180
diff changeset
260
116482169b44 Adapted the sql statements for fetching all collections and all user collections from database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 180
diff changeset
261 * artifact-database/src/main/resources/sql/org-h2-driver.properties:
116482169b44 Adapted the sql statements for fetching all collections and all user collections from database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 180
diff changeset
262 Adapted the sql statement to fetch all collections and all user
116482169b44 Adapted the sql statements for fetching all collections and all user collections from database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 180
diff changeset
263 collections from database (see rev1399 for more details).
116482169b44 Adapted the sql statements for fetching all collections and all user collections from database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 180
diff changeset
264 s/OUTER LEFT/LEFT OUTER/ solves the collection listing problem.
116482169b44 Adapted the sql statements for fetching all collections and all user collections from database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 180
diff changeset
265
180
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
266 2011-03-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
267
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
268 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
269 Added code to delete a collection item. Fixed typo in SQL lookup.
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
270
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
271 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
272 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
273 Added SQL statements to removed an artifact from a collection given
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
274 a collection id and an artifact id.
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
275
179
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
276 2011-03-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
277
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
278 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
279 Added code to set the attribute of a collection item.
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
280
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
281 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
282 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
283 Added SQL statements to set the attribute column of a collection item
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
284 given a collection id and an artifact id.
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
285
178
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
286 2011-03-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
287
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
288 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
289 Added code to get the attribute of a collection item.
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
290
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
291 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
292 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
293 Added SQL statements to get the attribute column of a collection item
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
294 given the collection and the artifact uuid.
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
295
177
77cd37a93fca Backend: isIdentifierValid more symmetric to new newIndentifier
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 176
diff changeset
296 2011-03-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
77cd37a93fca Backend: isIdentifierValid more symmetric to new newIndentifier
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 176
diff changeset
297
77cd37a93fca Backend: isIdentifierValid more symmetric to new newIndentifier
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 176
diff changeset
298 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
77cd37a93fca Backend: isIdentifierValid more symmetric to new newIndentifier
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 176
diff changeset
299 Added new method isValidIdentifier() to check if identifier
77cd37a93fca Backend: isIdentifierValid more symmetric to new newIndentifier
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 176
diff changeset
300 is valid. Its a wrapper around StringUtils.checkUUID() to
77cd37a93fca Backend: isIdentifierValid more symmetric to new newIndentifier
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 176
diff changeset
301 make it more symmetric to newIdentifier() which wraps
77cd37a93fca Backend: isIdentifierValid more symmetric to new newIndentifier
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 176
diff changeset
302 StringUtils.newUUID().
77cd37a93fca Backend: isIdentifierValid more symmetric to new newIndentifier
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 176
diff changeset
303
176
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
304 2011-03-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
305
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
306 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
179
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
307 TODO: Parse incoming document for an initial attribute of a
176
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
308 collection item.
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
309
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
310 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
311 Added code to add a collection item to a collection.
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
312
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
313 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
314 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
315 Added SQL statements to handle creation of collection items.
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
316
175
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
317 2011-03-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
318
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
319 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
320 Added code to delete a collection.
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
321
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
322 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
323 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
324 Added SQL statements to delete collections.
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
325
174
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
326 2011-03-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
327
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
328 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQLExecutor.java:
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
329 New. Helper class to simplify the database connection stuff like
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
330 get a connection, prepare statements, commit, rollback in
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
331 error cases and so on. This reduces the code repetition
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
332 and complexity in the backend significantly.
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
333
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
334 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
335 Use the new helper. (Should really have done this before!)
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
336
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
337 * artifacts/src/main/java/de/intevation/artifacts/ArtifactCollectionFactory.java:
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
338 Removed empty line at end of file.
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
339
173
940ed629419f Solve the SQL problem with the collection listings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 172
diff changeset
340 2011-03-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
940ed629419f Solve the SQL problem with the collection listings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 172
diff changeset
341
940ed629419f Solve the SQL problem with the collection listings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 172
diff changeset
342 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
940ed629419f Solve the SQL problem with the collection listings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 172
diff changeset
343 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
940ed629419f Solve the SQL problem with the collection listings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 172
diff changeset
344 Argh! s/OUTER LEFT/LEFT OUTER/ solves the collection listing problem.
940ed629419f Solve the SQL problem with the collection listings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 172
diff changeset
345
172
8ce06db80857 Added a new method to the ProtocolUtils that creates the necessary CREATE document for creating new artifact collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 171
diff changeset
346 2011-03-04 Ingo Weinzierl <ingo@intevation.de>
8ce06db80857 Added a new method to the ProtocolUtils that creates the necessary CREATE document for creating new artifact collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 171
diff changeset
347
8ce06db80857 Added a new method to the ProtocolUtils that creates the necessary CREATE document for creating new artifact collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 171
diff changeset
348 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
8ce06db80857 Added a new method to the ProtocolUtils that creates the necessary CREATE document for creating new artifact collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 171
diff changeset
349 Added a method that creates the CREATE document for creating new
8ce06db80857 Added a new method to the ProtocolUtils that creates the necessary CREATE document for creating new artifact collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 171
diff changeset
350 artifact collections.
8ce06db80857 Added a new method to the ProtocolUtils that creates the necessary CREATE document for creating new artifact collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 171
diff changeset
351
171
401dd251fbf4 Lifted H2 to version 1.3.152.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 170
diff changeset
352 2011-03-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
401dd251fbf4 Lifted H2 to version 1.3.152.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 170
diff changeset
353
401dd251fbf4 Lifted H2 to version 1.3.152.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 170
diff changeset
354 * artifact-database/pom.xml: Lifted H2 to version 1.3.152.
401dd251fbf4 Lifted H2 to version 1.3.152.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 170
diff changeset
355 This hopefully eliminates the problem with the left outer join
401dd251fbf4 Lifted H2 to version 1.3.152.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 170
diff changeset
356 in listing of the user collections.
401dd251fbf4 Lifted H2 to version 1.3.152.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 170
diff changeset
357
170
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
358 2011-03-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
359
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
360 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
361 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
362 Added new statement to extract the creation time for a given collection.
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
363 XXX: listing of collection does not. Need to look at that.
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
364
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
365 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java,
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
366 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollectionFactory.java,
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
367 artifacts/src/main/java/de/intevation/artifacts/ArtifactCollectionFactory.java
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
368 artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java:
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
369 Repaired parameter propagation of creation times and collection names.
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
370
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
371 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
372 Adjusted the backend to propagate the creation time and the collection names.
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
373
169
2f575d594fdb The document returned by the createCollection() method will now contain the uuid of the created collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 168
diff changeset
374 2011-03-04 Ingo Weinzierl <ingo@intevation.de>
2f575d594fdb The document returned by the createCollection() method will now contain the uuid of the created collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 168
diff changeset
375
2f575d594fdb The document returned by the createCollection() method will now contain the uuid of the created collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 168
diff changeset
376 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
2f575d594fdb The document returned by the createCollection() method will now contain the uuid of the created collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 168
diff changeset
377 The createCollection() method returns a document that will now contain
2f575d594fdb The document returned by the createCollection() method will now contain the uuid of the created collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 168
diff changeset
378 the uuid of the created artifact collection.
2f575d594fdb The document returned by the createCollection() method will now contain the uuid of the created collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 168
diff changeset
379
168
f70977cf2faf Avoid Nullpointer exception in listCollections() when no creation time of the collection is returned.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 167
diff changeset
380 2011-03-04 Ingo Weinzierl <ingo@intevation.de>
f70977cf2faf Avoid Nullpointer exception in listCollections() when no creation time of the collection is returned.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 167
diff changeset
381
f70977cf2faf Avoid Nullpointer exception in listCollections() when no creation time of the collection is returned.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 167
diff changeset
382 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
f70977cf2faf Avoid Nullpointer exception in listCollections() when no creation time of the collection is returned.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 167
diff changeset
383 If there is no creation time of a collection, we just add an empty
f70977cf2faf Avoid Nullpointer exception in listCollections() when no creation time of the collection is returned.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 167
diff changeset
384 string to the collection node in listCollections(). A
f70977cf2faf Avoid Nullpointer exception in listCollections() when no creation time of the collection is returned.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 167
diff changeset
385 NullPointerException is avoided!
f70977cf2faf Avoid Nullpointer exception in listCollections() when no creation time of the collection is returned.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 167
diff changeset
386
167
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
387 2011-03-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
388
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
389 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
390 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
391 Added SQL statements to list collections.
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
392
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
393 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
394 Added code to make collections accessible.
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
395
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
396 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
397 Bind backend functionality to REST.
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
398
166
89db80380f7f Implemented the method addCollectionArtifact() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 165
diff changeset
399 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
89db80380f7f Implemented the method addCollectionArtifact() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 165
diff changeset
400
89db80380f7f Implemented the method addCollectionArtifact() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 165
diff changeset
401 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
89db80380f7f Implemented the method addCollectionArtifact() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 165
diff changeset
402 Implemented the interface method addCollectionArtifact().
89db80380f7f Implemented the method addCollectionArtifact() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 165
diff changeset
403
165
81ad657569e1 Added Helper for lazy loading users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 164
diff changeset
404 2011-03-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
81ad657569e1 Added Helper for lazy loading users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 164
diff changeset
405
81ad657569e1 Added Helper for lazy loading users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 164
diff changeset
406 * artifact-database/src/main/java/de/intevation/artifactdatabase/LazyBackendUser.java:
81ad657569e1 Added Helper for lazy loading users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 164
diff changeset
407 New: Helper for lazy loading users.
81ad657569e1 Added Helper for lazy loading users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 164
diff changeset
408
164
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
409 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
410
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
411 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
412 Introduced the ArtifactCollectionFactory as parameter of
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
413 listCollections().
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
414
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
415 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
416 Implemented the interface method listCollections().
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
417
163
28dea2714e90 Fixed a wrong node in the demo configuration used for the ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
418 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
28dea2714e90 Fixed a wrong node in the demo configuration used for the ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
419
28dea2714e90 Fixed a wrong node in the demo configuration used for the ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
420 * artifact-database/doc/example-conf/conf.xml: Corrected the attribute
28dea2714e90 Fixed a wrong node in the demo configuration used for the ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
421 name of the artifact collection in the example node for the artifact
28dea2714e90 Fixed a wrong node in the demo configuration used for the ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
422 collection factory.
28dea2714e90 Fixed a wrong node in the demo configuration used for the ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
423
162
4ac91485b4e0 Implemented the deleteCollection() interface method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 161
diff changeset
424 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
4ac91485b4e0 Implemented the deleteCollection() interface method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 161
diff changeset
425
4ac91485b4e0 Implemented the deleteCollection() interface method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 161
diff changeset
426 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
4ac91485b4e0 Implemented the deleteCollection() interface method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 161
diff changeset
427 Two things: the collection get names specified in the incoming document
4ac91485b4e0 Implemented the deleteCollection() interface method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 161
diff changeset
428 of the POST request, and the deleteCollection() interface method is now
4ac91485b4e0 Implemented the deleteCollection() interface method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 161
diff changeset
429 implemented.
4ac91485b4e0 Implemented the deleteCollection() interface method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 161
diff changeset
430
161
e4a1562dfc21 Bugfixed the collection creation in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 160
diff changeset
431 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
e4a1562dfc21 Bugfixed the collection creation in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 160
diff changeset
432
e4a1562dfc21 Bugfixed the collection creation in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 160
diff changeset
433 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
e4a1562dfc21 Bugfixed the collection creation in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 160
diff changeset
434 Bugfixes while collection creation: Create a Connection object before
e4a1562dfc21 Bugfixed the collection creation in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 160
diff changeset
435 setting its attributes and corrected the order of the values inserted
e4a1562dfc21 Bugfixed the collection creation in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 160
diff changeset
436 into the SQL statement.
e4a1562dfc21 Bugfixed the collection creation in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 160
diff changeset
437
160
dc687827439f Enabled the artifact database to store and load roles of users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
438 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
dc687827439f Enabled the artifact database to store and load roles of users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
439
dc687827439f Enabled the artifact database to store and load roles of users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
440 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
dc687827439f Enabled the artifact database to store and load roles of users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
441 The roles of users are stored into and loaded from database now.
dc687827439f Enabled the artifact database to store and load roles of users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
442
159
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
443 2011-03-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
444
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
445 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
446 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
447 Added SQL statements to create collections.
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
448
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
449 * artifacts/src/main/java/de/intevation/artifacts/ArtifactCollectionFactory.java,
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
450 artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java:
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
451 Added name to collection.
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
452
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
453 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java,
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
454 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollectionFactory.java:
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
455 Adjusted factory api to cope with names.
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
456
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
457 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
458 Implemented create collection.
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
459
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
460 * database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
461 Adjusted the backend call.
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
462
158
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
463 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
464
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
465 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
466 Changed the method signature of createCollection(). The Backend needs
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
467 the ArtifactCollectionFactory to create new instances of artifact
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
468 collections.
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
469
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
470 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
471 Implemented the interface method createCollection().
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
472
157
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
473 2011-03-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
474
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
475 * artifacts/src/main/java/de/intevation/artifacts/UserFactory.java:
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
476 Throw out useless stuff from interface.
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
477
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
478 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java:
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
479 Adjusted default implementation.
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
480
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
481 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
482 Use user factory to create new users.
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
483
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
484 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
485 Call the backend with the new semantic.
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
486
156
a76de72ad6d1 Added stubs for the collection handling in db backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 155
diff changeset
487 2011-03-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
a76de72ad6d1 Added stubs for the collection handling in db backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 155
diff changeset
488
a76de72ad6d1 Added stubs for the collection handling in db backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 155
diff changeset
489 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
a76de72ad6d1 Added stubs for the collection handling in db backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 155
diff changeset
490 Added stubs for the collection handling.
a76de72ad6d1 Added stubs for the collection handling in db backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 155
diff changeset
491
a76de72ad6d1 Added stubs for the collection handling in db backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 155
diff changeset
492 * artifact-database/doc/schema-pg.sql, artifact-database/doc/schema-h2.sql:
a76de72ad6d1 Added stubs for the collection handling in db backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 155
diff changeset
493 Added missing attribute column to the collection item table.
a76de72ad6d1 Added stubs for the collection handling in db backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 155
diff changeset
494
155
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
495 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
496
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
497 * artifact-database/doc/example-conf/conf.xml: Added a node that
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
498 configures a default artifact collection factory.
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
499
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
500 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
501 The artifact collection factory (currently just a single one) is read
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
502 from configuration and setup with its parameters.
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
503
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
504 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
505 Fetch the configured artifact collection factory from bootstrap.
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
506
154
1a72f08ce8d7 Propagate delete user errors correctly.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 153
diff changeset
507 2011-03-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1a72f08ce8d7 Propagate delete user errors correctly.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 153
diff changeset
508
1a72f08ce8d7 Propagate delete user errors correctly.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 153
diff changeset
509 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
1a72f08ce8d7 Propagate delete user errors correctly.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 153
diff changeset
510 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java,
1a72f08ce8d7 Propagate delete user errors correctly.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 153
diff changeset
511 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
1a72f08ce8d7 Propagate delete user errors correctly.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 153
diff changeset
512 artifacts/src/main/java/de/intevation/artifacts/UserFactory.java:
1a72f08ce8d7 Propagate delete user errors correctly.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 153
diff changeset
513 Propagate delete user errors correctly.
1a72f08ce8d7 Propagate delete user errors correctly.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 153
diff changeset
514
153
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
515 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
516
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
517 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java,
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
518 artifacts/src/main/java/de/intevation/artifacts/UserFactory.java,
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
519 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
520 Adapted the signature of deleteUser(). These methods don't await a User
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
521 object any longer but just its identifier.
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
522
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
523 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
524 Performance improvement: there is no need to fetch the user that we want
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
525 to delete from database before deleting it. Now, we just call the
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
526 deleteUser() method of the UserFactory with the identifier of the user.
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
527
152
7e5619115d5b Implemented the deleteUser() method in the artifact server.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 151
diff changeset
528 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
7e5619115d5b Implemented the deleteUser() method in the artifact server.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 151
diff changeset
529
7e5619115d5b Implemented the deleteUser() method in the artifact server.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 151
diff changeset
530 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
7e5619115d5b Implemented the deleteUser() method in the artifact server.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 151
diff changeset
531 Implemented the deleteUser() interface method. This operation will now
7e5619115d5b Implemented the deleteUser() method in the artifact server.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 151
diff changeset
532 remove the specified user, its collections and the artifacts stored in
7e5619115d5b Implemented the deleteUser() method in the artifact server.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 151
diff changeset
533 these collections.
7e5619115d5b Implemented the deleteUser() method in the artifact server.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 151
diff changeset
534
151
3d70de111af1 Bugfix: Replaced wrong SQL statements with the correct ones.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 150
diff changeset
535 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
3d70de111af1 Bugfix: Replaced wrong SQL statements with the correct ones.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 150
diff changeset
536
3d70de111af1 Bugfix: Replaced wrong SQL statements with the correct ones.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 150
diff changeset
537 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
3d70de111af1 Bugfix: Replaced wrong SQL statements with the correct ones.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 150
diff changeset
538 Bugfix: Replaced wrong SQL statements with the correct ones.
3d70de111af1 Bugfix: Replaced wrong SQL statements with the correct ones.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 150
diff changeset
539
150
78a27a6b3f1f Implemented the listUsers() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 149
diff changeset
540 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
78a27a6b3f1f Implemented the listUsers() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 149
diff changeset
541
78a27a6b3f1f Implemented the listUsers() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 149
diff changeset
542 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
78a27a6b3f1f Implemented the listUsers() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 149
diff changeset
543 Implemented the listUsers() interface method. This operation will now
78a27a6b3f1f Implemented the listUsers() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 149
diff changeset
544 return a list of users as document.
78a27a6b3f1f Implemented the listUsers() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 149
diff changeset
545
149
c69abd07bdd0 Implemented the createUser() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 148
diff changeset
546 2011-03-03 Ingo Weinzierl <ingo@intevation.de>
c69abd07bdd0 Implemented the createUser() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 148
diff changeset
547
c69abd07bdd0 Implemented the createUser() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 148
diff changeset
548 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
c69abd07bdd0 Implemented the createUser() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 148
diff changeset
549 Implemented the createUser() interface method. Calling this method will
c69abd07bdd0 Implemented the createUser() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 148
diff changeset
550 trigger the backend to create a new user described in the document given
c69abd07bdd0 Implemented the createUser() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 148
diff changeset
551 in the POST request.
c69abd07bdd0 Implemented the createUser() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 148
diff changeset
552
148
101a52d3ad08 Added code to load all users from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 147
diff changeset
553 2011-03-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
101a52d3ad08 Added code to load all users from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 147
diff changeset
554
101a52d3ad08 Added code to load all users from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 147
diff changeset
555 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
101a52d3ad08 Added code to load all users from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 147
diff changeset
556 Added code to load all users from database.
101a52d3ad08 Added code to load all users from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 147
diff changeset
557
147
9a64e0c1c737 Added code to load user from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 144
diff changeset
558 2011-03-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9a64e0c1c737 Added code to load user from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 144
diff changeset
559
9a64e0c1c737 Added code to load user from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 144
diff changeset
560 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
9a64e0c1c737 Added code to load user from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 144
diff changeset
561 Added code to load user from database.
9a64e0c1c737 Added code to load user from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 144
diff changeset
562
9a64e0c1c737 Added code to load user from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 144
diff changeset
563 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
9a64e0c1c737 Added code to load user from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 144
diff changeset
564 Added method to reconstruct XML documents from byte arrays and input streams
9a64e0c1c737 Added code to load user from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 144
diff changeset
565
144
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
566 2011-03-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
567
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
568 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
569 Added code to delete a user, his/her collections and quarantee that
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
570 the artifacts exclusivly owner by the user are going to be deleted
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
571 from the artifact database.
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
572
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
573 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
574 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
575 Various SQL statements to cope with outdating artifacts and deleting
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
576 users and collections.
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
577
143
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
578 2011-03-02 Ingo Weinzierl <ingo@intevation.de>
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
579
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
580 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseOutResource.java:
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
581 New. Abstract class that should be used as the base class for the
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
582 artifact and collection out resource. The most stuff to handle the
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
583 output is done in this class. Concrete subclasses are needed to call the
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
584 correct methods in the artifact database.
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
585
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
586 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionOutResource.java:
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
587 New. The OUT Resource for collections. It implements the two abstract
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
588 methods of BaseOutResource.
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
589
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
590 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java:
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
591 This class inherits from BaseOutResource now. The most code has been
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
592 removed. Just the two abstract methods of BaseOutResource are
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
593 implemented here.
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
594
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
595 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
596 Added the CollectionOutResource.
7e20702a90ed Implemented an abstract class for the output of artifacts and collections. Added a CollectionOutResource.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 142
diff changeset
597
142
e986e32bc7d4 Added a Rest resource that handles operations specific to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 141
diff changeset
598 2011-03-02 Ingo Weinzierl <ingo@intevation.de>
e986e32bc7d4 Added a Rest resource that handles operations specific to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 141
diff changeset
599
e986e32bc7d4 Added a Rest resource that handles operations specific to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 141
diff changeset
600 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionResource.java:
e986e32bc7d4 Added a Rest resource that handles operations specific to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 141
diff changeset
601 New. A Rest resource that handles operations for a specific collection.
e986e32bc7d4 Added a Rest resource that handles operations specific to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 141
diff changeset
602
e986e32bc7d4 Added a Rest resource that handles operations specific to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 141
diff changeset
603 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
e986e32bc7d4 Added a Rest resource that handles operations specific to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 141
diff changeset
604 Added the CollectionResource.
e986e32bc7d4 Added a Rest resource that handles operations specific to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 141
diff changeset
605
141
5d40faf1484d Added a Rest resource that lists all collections of a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 140
diff changeset
606 2011-03-02 Ingo Weinzierl <ingo@intevation.de>
5d40faf1484d Added a Rest resource that lists all collections of a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 140
diff changeset
607
5d40faf1484d Added a Rest resource that lists all collections of a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 140
diff changeset
608 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ListCollectionsResource.java:
5d40faf1484d Added a Rest resource that lists all collections of a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 140
diff changeset
609 New. A Rest resource that lists all collections of a specific user.
5d40faf1484d Added a Rest resource that lists all collections of a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 140
diff changeset
610
5d40faf1484d Added a Rest resource that lists all collections of a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 140
diff changeset
611 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
5d40faf1484d Added a Rest resource that lists all collections of a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 140
diff changeset
612 Added the ListCollectionsResource.
5d40faf1484d Added a Rest resource that lists all collections of a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 140
diff changeset
613
140
f141ae401a00 Added a Rest resource that might be used to create new collections owned by a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 139
diff changeset
614 2011-03-02 Ingo Weinzierl <ingo@intevation.de>
f141ae401a00 Added a Rest resource that might be used to create new collections owned by a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 139
diff changeset
615
f141ae401a00 Added a Rest resource that might be used to create new collections owned by a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 139
diff changeset
616 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateCollectionResource.java:
f141ae401a00 Added a Rest resource that might be used to create new collections owned by a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 139
diff changeset
617 New. A Rest resource that might be used to create new collection that
f141ae401a00 Added a Rest resource that might be used to create new collections owned by a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 139
diff changeset
618 are owned by a specific user.
f141ae401a00 Added a Rest resource that might be used to create new collections owned by a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 139
diff changeset
619
f141ae401a00 Added a Rest resource that might be used to create new collections owned by a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 139
diff changeset
620 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
f141ae401a00 Added a Rest resource that might be used to create new collections owned by a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 139
diff changeset
621 Added the CreateCollectionResource.
f141ae401a00 Added a Rest resource that might be used to create new collections owned by a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 139
diff changeset
622
139
320a81983c8d Removed needless imports
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 138
diff changeset
623 2011-03-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
320a81983c8d Removed needless imports
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 138
diff changeset
624
320a81983c8d Removed needless imports
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 138
diff changeset
625 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java,
320a81983c8d Removed needless imports
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 138
diff changeset
626 artifacts/src/main/java/de/intevation/artifacts/UserFactory.java:
320a81983c8d Removed needless imports
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 138
diff changeset
627 Removed needless imports.
320a81983c8d Removed needless imports
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 138
diff changeset
628
138
b90e831d3dfe Call database to create a new user.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 137
diff changeset
629 2011-03-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
b90e831d3dfe Call database to create a new user.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 137
diff changeset
630
b90e831d3dfe Call database to create a new user.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 137
diff changeset
631 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
b90e831d3dfe Call database to create a new user.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 137
diff changeset
632 Call database to create a new user.
b90e831d3dfe Call database to create a new user.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 137
diff changeset
633
137
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
634 2011-03-02 Ingo Weinzierl <ingo@intevation.de>
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
635
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
636 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/UserResource.java:
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
637 New. A Rest resource that handles actions for a specific user.
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
638
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
639 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
640 Added the UserResource.
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
641
136
e2aad8d8ebd7 Added a Rest resource that lists all users provided by the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 135
diff changeset
642 2011-03-02 Ingo Weinzierl <ingo@intevation.de>
e2aad8d8ebd7 Added a Rest resource that lists all users provided by the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 135
diff changeset
643
e2aad8d8ebd7 Added a Rest resource that lists all users provided by the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 135
diff changeset
644 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ListUsersResource.java:
e2aad8d8ebd7 Added a Rest resource that lists all users provided by the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 135
diff changeset
645 New. A Rest resource that lists all users provided by the artifact
e2aad8d8ebd7 Added a Rest resource that lists all users provided by the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 135
diff changeset
646 database.
e2aad8d8ebd7 Added a Rest resource that lists all users provided by the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 135
diff changeset
647
e2aad8d8ebd7 Added a Rest resource that lists all users provided by the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 135
diff changeset
648 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
e2aad8d8ebd7 Added a Rest resource that lists all users provided by the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 135
diff changeset
649 Added the ListUsersResource.
e2aad8d8ebd7 Added a Rest resource that lists all users provided by the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 135
diff changeset
650
135
a48882c9e096 Added a convinience method to transform an document into a byte array.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 134
diff changeset
651 2011-03-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
a48882c9e096 Added a convinience method to transform an document into a byte array.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 134
diff changeset
652
a48882c9e096 Added a convinience method to transform an document into a byte array.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 134
diff changeset
653 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
a48882c9e096 Added a convinience method to transform an document into a byte array.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 134
diff changeset
654 Added a convinience method to transform an document
a48882c9e096 Added a convinience method to transform an document into a byte array.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 134
diff changeset
655 into a byte array. Useful for storing documents as blob database columns.
a48882c9e096 Added a convinience method to transform an document into a byte array.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 134
diff changeset
656
134
19267b9960c3 Wired Backend with DefaultUserFactory via the singleton.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 133
diff changeset
657 2011-03-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
19267b9960c3 Wired Backend with DefaultUserFactory via the singleton.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 133
diff changeset
658
19267b9960c3 Wired Backend with DefaultUserFactory via the singleton.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 133
diff changeset
659 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java:
19267b9960c3 Wired Backend with DefaultUserFactory via the singleton.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 133
diff changeset
660 Wired Backend with DefaultUserFactory via the singleton.
19267b9960c3 Wired Backend with DefaultUserFactory via the singleton.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 133
diff changeset
661
133
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
662 2011-03-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
663
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
664 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
665 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
666 Fixed typo in keys.
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
667
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
668 * artifacts/src/main/java/de/intevation/artifacts/UserFactory.java,
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
669 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java:
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
670 Removed superfluous identifier in createUser().
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
671
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
672 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
673 Added stubs for handling of users.
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
674
132
6f1e8c08f747 Removed duplicated method to list users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 131
diff changeset
675 2011-03-02 Ingo Weinzierl <ingo@intevation.de>
6f1e8c08f747 Removed duplicated method to list users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 131
diff changeset
676
6f1e8c08f747 Removed duplicated method to list users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 131
diff changeset
677 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
6f1e8c08f747 Removed duplicated method to list users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 131
diff changeset
678 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
6f1e8c08f747 Removed duplicated method to list users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 131
diff changeset
679 Removed duplicated method to list users.
6f1e8c08f747 Removed duplicated method to list users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 131
diff changeset
680
131
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
681 2011-03-02 Ingo Weinzierl <ingo@intevation.de>
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
682
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
683 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java:
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
684 Added a new method getArtifactDatabase() that retrieves the artifact
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
685 database which is used in all subclasses of this resource.
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
686
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
687 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateUserResource.java:
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
688 Use getArtifactDatabase() to retrieve the artifact database.
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
689
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
690 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java:
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
691 New. A resource that is used to create new users. The information about
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
692 the user need to be included in the POST data of the request.
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
693
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
694 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
695 Added the CreateUserResource.
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
696
130
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
697 2011-03-02 Ingo Weinzierl <ingo@intevation.de>
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
698
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
699 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java,
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
700 artifacts/src/main/java/de/intevation/artifacts/UserFactory.java: Added
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
701 a setup method like the artifact factories have.
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
702
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
703 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
704 Added an import statement for the UserFactory that was missing here.
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
705
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
706 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
707 The setup() method of the UserFactory is called after the concrete
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
708 factory class has been instantiated.
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
709
129
10d726907419 Bugfix: The artifacts package can be compiled with local modifications again.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 128
diff changeset
710 2011-03-02 Ingo Weinzierl <ingo@intevation.de>
10d726907419 Bugfix: The artifacts package can be compiled with local modifications again.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 128
diff changeset
711
10d726907419 Bugfix: The artifacts package can be compiled with local modifications again.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 128
diff changeset
712 * artifacts/pom.xml: Bugfix: We are able to compile the artifacts package
10d726907419 Bugfix: The artifacts package can be compiled with local modifications again.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 128
diff changeset
713 with local modifications again.
10d726907419 Bugfix: The artifacts package can be compiled with local modifications again.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 128
diff changeset
714
128
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
715 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
716
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
717 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
718 Made it a singleton.
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
719
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
720 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java:
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
721 Use the singleton Backend.
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
722
127
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
723 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
724
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
725 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
726 Setup the user factory.
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
727
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
728 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
729 New method to retrieve the user factory.
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
730
126
76744dcbe826 Added a user-factory configuration to the demo-config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 125
diff changeset
731 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
76744dcbe826 Added a user-factory configuration to the demo-config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 125
diff changeset
732
76744dcbe826 Added a user-factory configuration to the demo-config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 125
diff changeset
733 * artifact-database/doc/example-conf/conf.xml: Added a user-factory
76744dcbe826 Added a user-factory configuration to the demo-config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 125
diff changeset
734 configuration.
76744dcbe826 Added a user-factory configuration to the demo-config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 125
diff changeset
735
125
cee54e52000c Added the registration of the UserFactory to the bootstrap process.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 124
diff changeset
736 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
cee54e52000c Added the registration of the UserFactory to the bootstrap process.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 124
diff changeset
737
cee54e52000c Added the registration of the UserFactory to the bootstrap process.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 124
diff changeset
738 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
cee54e52000c Added the registration of the UserFactory to the bootstrap process.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 124
diff changeset
739 Added the registration of the UserFactory to the bootstrap process.
cee54e52000c Added the registration of the UserFactory to the bootstrap process.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 124
diff changeset
740
124
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
741 2011-03-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
742
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
743 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
744 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
745 Added SQL statements to handle users in database.
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
746
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
747 * artifact-database/doc/schema-pg.sql,
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
748 artifact-database/doc/schema-h2.sql: Added missing UNIQUE constraints.
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
749
123
9187abefba8b Added a default implementation of a UserFactory and a new constructor to create new DefaultUsers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 122
diff changeset
750 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
9187abefba8b Added a default implementation of a UserFactory and a new constructor to create new DefaultUsers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 122
diff changeset
751
9187abefba8b Added a default implementation of a UserFactory and a new constructor to create new DefaultUsers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 122
diff changeset
752 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUser.java:
9187abefba8b Added a default implementation of a UserFactory and a new constructor to create new DefaultUsers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 122
diff changeset
753 Added a new constructor to create new DefaultUsers with an identifier, a
9187abefba8b Added a default implementation of a UserFactory and a new constructor to create new DefaultUsers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 122
diff changeset
754 name and a role.
9187abefba8b Added a default implementation of a UserFactory and a new constructor to create new DefaultUsers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 122
diff changeset
755
9187abefba8b Added a default implementation of a UserFactory and a new constructor to create new DefaultUsers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 122
diff changeset
756 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java:
9187abefba8b Added a default implementation of a UserFactory and a new constructor to create new DefaultUsers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 122
diff changeset
757 New. A default implementation of a UserFactory that creates
9187abefba8b Added a default implementation of a UserFactory and a new constructor to create new DefaultUsers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 122
diff changeset
758 DefaultUsers.
9187abefba8b Added a default implementation of a UserFactory and a new constructor to create new DefaultUsers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 122
diff changeset
759
122
c9cf5f33a230 Added a default implementation of an ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 121
diff changeset
760 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
c9cf5f33a230 Added a default implementation of an ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 121
diff changeset
761
c9cf5f33a230 Added a default implementation of an ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 121
diff changeset
762 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollectionFactory.java:
c9cf5f33a230 Added a default implementation of an ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 121
diff changeset
763 A default implementation of an ArtifactCollectionFactory.
c9cf5f33a230 Added a default implementation of an ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 121
diff changeset
764
121
720d65bbba13 Extended db scheme to cope with collections, collection items and users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 120
diff changeset
765 2011-03-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
720d65bbba13 Extended db scheme to cope with collections, collection items and users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 120
diff changeset
766
720d65bbba13 Extended db scheme to cope with collections, collection items and users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 120
diff changeset
767 * artifact-database/doc/schema-pg.sql,
720d65bbba13 Extended db scheme to cope with collections, collection items and users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 120
diff changeset
768 artifact-database/doc/schema-h2.sql: Extended db scheme to
720d65bbba13 Extended db scheme to cope with collections, collection items and users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 120
diff changeset
769 cope with collections, collection items and users.
720d65bbba13 Extended db scheme to cope with collections, collection items and users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 120
diff changeset
770
120
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
771 2011-03-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
772
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
773 * artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java:
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
774 Typo fix.
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
775
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
776 * artifacts/src/main/java/de/intevation/artifacts/ArtifactCollectionFactory.java:
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
777 Added method to figure out TTL of a collection.
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
778
119
3bb121d5b0b7 Added a default implementation of an ArtifactCollection and a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 118
diff changeset
779 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
3bb121d5b0b7 Added a default implementation of an ArtifactCollection and a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 118
diff changeset
780
3bb121d5b0b7 Added a default implementation of an ArtifactCollection and a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 118
diff changeset
781 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java:
3bb121d5b0b7 Added a default implementation of an ArtifactCollection and a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 118
diff changeset
782 A default implementation of a ArtifactCollection.
3bb121d5b0b7 Added a default implementation of an ArtifactCollection and a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 118
diff changeset
783
3bb121d5b0b7 Added a default implementation of an ArtifactCollection and a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 118
diff changeset
784 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUser.java:
3bb121d5b0b7 Added a default implementation of an ArtifactCollection and a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 118
diff changeset
785 A default implementation of a User.
3bb121d5b0b7 Added a default implementation of an ArtifactCollection and a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 118
diff changeset
786
118
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
787 2011-03-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
788
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
789 * artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java:
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
790 Added creation time.
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
791
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
792 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
793 Typo fixes.
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
794
117
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
795 2011-03-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
796
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
797 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
798 Added external API for users and collections.
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
799
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
800 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
801 Trivial implementation.
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
802
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
803 2011-03-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
804
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
805 * src/main/java/de/intevation/artifacts/UserFactory.java,
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
806 src/main/java/de/intevation/artifacts/ArtifactCollection.java: Added
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
807 missing call contexts to API.
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
808
115
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
809 2011-03-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
810
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
811 * artifacts/src/main/java/de/intevation/artifacts/ArtifactCollectionFactory.java:
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
812 New: factory to create new collections.
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
813
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
814 * artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java:
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
815 New: Bundles artifacts to be owned by a user.
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
816
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
817 * artifacts/src/main/java/de/intevation/artifacts/UserFactory.java:
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
818 New: Creates a new user.
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
819
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
820 * artifacts/src/main/java/de/intevation/artifacts/User.java:
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
821 New: Model of a user.
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
822
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
823 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java: Typo fix.
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
824
114
19b86e27d0c3 New XPath constants and methods that retrieve important nodes of the DESCRIBE document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
825 2011-02-18 Ingo Weinzierl <ingo@intevation.de>
19b86e27d0c3 New XPath constants and methods that retrieve important nodes of the DESCRIBE document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
826
19b86e27d0c3 New XPath constants and methods that retrieve important nodes of the DESCRIBE document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
827 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
19b86e27d0c3 New XPath constants and methods that retrieve important nodes of the DESCRIBE document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
828 Added XPath constants and some method that retrieve important nodes of the
19b86e27d0c3 New XPath constants and methods that retrieve important nodes of the DESCRIBE document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
829 DESCRIBE document.
19b86e27d0c3 New XPath constants and methods that retrieve important nodes of the DESCRIBE document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
830
113
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
831 2011-02-16 Ingo Weinzierl <ingo@intevation.de>
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
832
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
833 * artifacts-common/src/main/java/de/intevation/artifacts/common/ArtifactNamespaceContext.java:
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
834 New. Added the namespace context here to make it available in clients as
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
835 well.
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
836
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
837 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
838 New. This class provides functions that help working with the artifact
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
839 protocol. Currently, there is just a single function to create a new
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
840 CREATE document.
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
841
112
2f35e8a84004 The common package is now ready to be included as module in a GWT based client application.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 111
diff changeset
842 2011-02-10 Ingo Weinzierl <ingo@intevation.de>
2f35e8a84004 The common package is now ready to be included as module in a GWT based client application.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 111
diff changeset
843
2f35e8a84004 The common package is now ready to be included as module in a GWT based client application.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 111
diff changeset
844 * artifacts-common/src/main/resources/de/intevation/artifacts/common/Common.gwt.xml:
2f35e8a84004 The common package is now ready to be included as module in a GWT based client application.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 111
diff changeset
845 A module description that is used by GWT.
2f35e8a84004 The common package is now ready to be included as module in a GWT based client application.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 111
diff changeset
846
2f35e8a84004 The common package is now ready to be included as module in a GWT based client application.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 111
diff changeset
847 * artifacts-common/pom.xml: The resulting jar archive of the 'package'
2f35e8a84004 The common package is now ready to be included as module in a GWT based client application.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 111
diff changeset
848 target will now contain the compiled classes as well as the source files.
2f35e8a84004 The common package is now ready to be included as module in a GWT based client application.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 111
diff changeset
849 Furthermore, the sources are compiled with Java-1.6. These two things are
2f35e8a84004 The common package is now ready to be included as module in a GWT based client application.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 111
diff changeset
850 required for the jar to be included by GWT as module.
2f35e8a84004 The common package is now ready to be included as module in a GWT based client application.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 111
diff changeset
851
111
901f384ddad9 Added an interface and its default implementation for a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 110
diff changeset
852 2011-02-10 Ingo Weinzierl <ingo@intevation.de>
901f384ddad9 Added an interface and its default implementation for a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 110
diff changeset
853
901f384ddad9 Added an interface and its default implementation for a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 110
diff changeset
854 * artifacts-common/src/main/java/de/intevation/artifacts/common/model/User.java,
901f384ddad9 Added an interface and its default implementation for a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 110
diff changeset
855 artifacts-common/src/main/java/de/intevation/artifacts/common/model/DefaultUser.java:
901f384ddad9 Added an interface and its default implementation for a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 110
diff changeset
856 The interface description and a default implementation of a user.
901f384ddad9 Added an interface and its default implementation for a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 110
diff changeset
857
110
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
858 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
859
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
860 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java:
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
861 Added a method to add new StateData objects to the State.
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
862
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
863 * artifact-database/src/main/java/de/intevation/artifactdatabase/data/StateData.java:
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
864 Added a new method to the StateData interface to set the value of the
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
865 object.
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
866
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
867 * artifact-database/src/main/java/de/intevation/artifactdatabase/data/DefaultStateData.java:
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
868 New. A default implementation of the StateData.
33271242e303 Prepared the State and StateData interfaces with methods to add new data to a State and implemented a DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 109
diff changeset
869
109
ab646e0f5569 Improved the ProtocolUtils - there are new functions to append a current state and the reachable states to a root node.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
870 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
ab646e0f5569 Improved the ProtocolUtils - there are new functions to append a current state and the reachable states to a root node.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
871
ab646e0f5569 Improved the ProtocolUtils - there are new functions to append a current state and the reachable states to a root node.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
872 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProtocolUtils.java:
ab646e0f5569 Improved the ProtocolUtils - there are new functions to append a current state and the reachable states to a root node.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
873 Added new methods to append the current state and the reachable states to
ab646e0f5569 Improved the ProtocolUtils - there are new functions to append a current state and the reachable states to a root node.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
874 a root node.
ab646e0f5569 Improved the ProtocolUtils - there are new functions to append a current state and the reachable states to a root node.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 108
diff changeset
875
108
9ece61d918b1 Improved the StateEngine and the TransitionEngine to retrieve the reachable states of a current state.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 107
diff changeset
876 2011-02-07 Ingo Weinzierl <ingo@intevation.de>
9ece61d918b1 Improved the StateEngine and the TransitionEngine to retrieve the reachable states of a current state.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 107
diff changeset
877
9ece61d918b1 Improved the StateEngine and the TransitionEngine to retrieve the reachable states of a current state.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 107
diff changeset
878 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java:
9ece61d918b1 Improved the StateEngine and the TransitionEngine to retrieve the reachable states of a current state.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 107
diff changeset
879 There is a new method that returns a state based on its ID.
9ece61d918b1 Improved the StateEngine and the TransitionEngine to retrieve the reachable states of a current state.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 107
diff changeset
880
9ece61d918b1 Improved the StateEngine and the TransitionEngine to retrieve the reachable states of a current state.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 107
diff changeset
881 * artifact-database/src/main/java/de/intevation/artifactdatabase/transition/TransitionEngine.java:
9ece61d918b1 Improved the StateEngine and the TransitionEngine to retrieve the reachable states of a current state.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 107
diff changeset
882 There is a new method that retrieves the reachable states of a specific
9ece61d918b1 Improved the StateEngine and the TransitionEngine to retrieve the reachable states of a current state.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 107
diff changeset
883 state.
9ece61d918b1 Improved the StateEngine and the TransitionEngine to retrieve the reachable states of a current state.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 107
diff changeset
884
107
39d9391059bd Added a ProtocolUtils class that provides functions that help creating the artifact protocol documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
885 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
39d9391059bd Added a ProtocolUtils class that provides functions that help creating the artifact protocol documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
886
39d9391059bd Added a ProtocolUtils class that provides functions that help creating the artifact protocol documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
887 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProtocolUtils.java:
39d9391059bd Added a ProtocolUtils class that provides functions that help creating the artifact protocol documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
888 New. This class provides functions that should help creating the artifact
39d9391059bd Added a ProtocolUtils class that provides functions that help creating the artifact protocol documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
889 protocol documents of the services describe, feed, advance and out.
39d9391059bd Added a ProtocolUtils class that provides functions that help creating the artifact protocol documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 106
diff changeset
890
106
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
891 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
892
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
893 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
894 Implements the method setup() - the ID and the description of the state
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
895 are extracted at this place.
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
896
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
897 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java:
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
898 Added a method to retrieve the states of a specified artifact.
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
899
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
900 * artifact-database/pom.xml: Added a dependency to the artifacts-common
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
901 package.
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
902
105
265f150f4f7f Added an abstract implementation of a State.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 104
diff changeset
903 2011-02-04 Ingo Weinzierl <ingo@intevation.de>
265f150f4f7f Added an abstract implementation of a State.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 104
diff changeset
904
265f150f4f7f Added an abstract implementation of a State.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 104
diff changeset
905 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
265f150f4f7f Added an abstract implementation of a State.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 104
diff changeset
906 New. An abstract implementation of a State. Some basic getter and setter
265f150f4f7f Added an abstract implementation of a State.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 104
diff changeset
907 methods are implemented - setup() and describe() need to be implemented by
265f150f4f7f Added an abstract implementation of a State.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 104
diff changeset
908 concrete subclasses.
265f150f4f7f Added an abstract implementation of a State.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 104
diff changeset
909
104
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
910 2011-02-03 Ingo Weinzierl <ingo@intevation.de>
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
911
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
912 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java,
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
913 artifact-database/src/main/java/de/intevation/artifactdatabase/transition/TransitionEngine.java:
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
914 Implementations to store the provided states and transitions of the
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
915 artifact server. These engines should be filled at bootstrap.
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
916
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
917 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java,
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
918 artifact-database/src/main/java/de/intevation/artifactdatabase/transition/Transition.java,
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
919 artifact-database/src/main/java/de/intevation/artifactdatabase/data/StateData.java:
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
920 Interface descriptions for states, transitions and user inserted data.
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
921
103
1282cf96d3eb Corrected a package definition in the artifacts-common package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 102
diff changeset
922 2011-02-02 Ingo Weinzierl <ingo@intevation.de>
1282cf96d3eb Corrected a package definition in the artifacts-common package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 102
diff changeset
923
1282cf96d3eb Corrected a package definition in the artifacts-common package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 102
diff changeset
924 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
1282cf96d3eb Corrected a package definition in the artifacts-common package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 102
diff changeset
925 Corrected the package definition.
1282cf96d3eb Corrected a package definition in the artifacts-common package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 102
diff changeset
926
102
4122dbc9711b Added a new package artifacts-common for classes and utilities used in several packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 101
diff changeset
927 2011-02-02 Ingo Weinzierl <ingo@intevation.de>
4122dbc9711b Added a new package artifacts-common for classes and utilities used in several packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 101
diff changeset
928
4122dbc9711b Added a new package artifacts-common for classes and utilities used in several packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 101
diff changeset
929 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java,
4122dbc9711b Added a new package artifacts-common for classes and utilities used in several packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 101
diff changeset
930 artifacts-common/pom.xml: New package. It will serve some classes and
4122dbc9711b Added a new package artifacts-common for classes and utilities used in several packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 101
diff changeset
931 utilities that are used in the artifact-database package as well as in
4122dbc9711b Added a new package artifacts-common for classes and utilities used in several packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 101
diff changeset
932 concrete artifact packages.
4122dbc9711b Added a new package artifacts-common for classes and utilities used in several packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 101
diff changeset
933
4122dbc9711b Added a new package artifacts-common for classes and utilities used in several packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 101
diff changeset
934 * pom.xml: Added the artifacts-common package to be able to build all
4122dbc9711b Added a new package artifacts-common for classes and utilities used in several packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 101
diff changeset
935 packages using just the upper level pom file.
4122dbc9711b Added a new package artifacts-common for classes and utilities used in several packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 101
diff changeset
936
101
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
937 2011-02-01 Ingo Weinzierl <ingo@intevation.de>
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
938
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
939 * artifact-database/pom.xml: Upgraded Restlet from version 2.0-SNAPSHOT
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
940 to the current stable version 2.0.4.
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
941
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
942 * pom.xml: The SCM plugin will not check for local changes any longer.
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
943 Otherwise, we aren't able to build the project with outstanding
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
944 modifications.
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
945
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
946 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java:
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
947 Set the max number of threads available for the REST server to 512. This
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
948 is a _WORKAROUND_ for Restlet-2.0.4 which seems to have a bug while
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
949 handling threads.
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
950
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
951 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ImportResource.java,
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
952 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java,
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
953 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ServiceResource.java,
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
954 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ExportResource.java,
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
955 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java,
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
956 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java:
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
957 Renamed the packages of the Request and Response class that have been
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
958 changed from Restlet 2.0-SNAPSHOT to 2.0.4.
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
959
100
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
960 2010-11-02 Ingo Weinzierl <ingo@intevation.de>
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
961
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
962 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContextFactory.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
963 artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
964 artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
965 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
966 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultPreferredLocale.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
967 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
968 artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
969 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultService.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
970 artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
971 artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
972 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContext.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
973 artifact-database/src/main/java/de/intevation/artifactdatabase/App.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
974 artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
975 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
976 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
977 artifact-database/src/main/java/de/intevation/artifactdatabase/StringUtils.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
978 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
979 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactSerializer.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
980 artifact-database/src/main/java/de/intevation/artifactdatabase/Id.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
981 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
982 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ImportResource.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
983 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
984 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
985 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ServiceResource.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
986 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
987 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ExportResource.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
988 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/OutRepresentation.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
989 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
990 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ServicesResource.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
991 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
992 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
993 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultServiceFactory.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
994 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
995 artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
996 artifacts/src/main/java/de/intevation/artifacts/CallContext.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
997 artifacts/src/main/java/de/intevation/artifacts/Service.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
998 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabaseException.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
999 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
1000 artifacts/src/main/java/de/intevation/artifacts/CallMeta.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
1001 artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
1002 artifacts/src/main/java/de/intevation/artifacts/ArtifactSerializer.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
1003 artifacts/src/main/java/de/intevation/artifacts/ServiceFactory.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
1004 artifacts/src/main/java/de/intevation/artifacts/ArtifactContextFactory.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
1005 artifacts/src/main/java/de/intevation/artifacts/Artifact.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
1006 artifacts/src/main/java/de/intevation/artifacts/PreferredLocale.java,
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
1007 contrib/run.sh: Added a license header to each of these files.
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
1008
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
1009 * LGPL.txt: License file for the GNU LGPL v2.1
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
1010
99
0efa3e8e46d4 Write revision to MANIFEST files while creating jar archives.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 98
diff changeset
1011 2010-06-14 Ingo Weinzierl <ingo_weinzierl@web.de>
0efa3e8e46d4 Write revision to MANIFEST files while creating jar archives.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 98
diff changeset
1012
0efa3e8e46d4 Write revision to MANIFEST files while creating jar archives.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 98
diff changeset
1013 * artifacts/pom.xml,
0efa3e8e46d4 Write revision to MANIFEST files while creating jar archives.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 98
diff changeset
1014 pom.xml: Write svn revision to MANIFEST files while creating jar archives.
0efa3e8e46d4 Write revision to MANIFEST files while creating jar archives.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 98
diff changeset
1015
97
de401cf3a89a ChangeLog: Tagging version 1.0
Hans Plum <hans.plum@intevation.de>
parents: 96
diff changeset
1016 2010-04-28 Hans Plum <hans@intevation.de>
de401cf3a89a ChangeLog: Tagging version 1.0
Hans Plum <hans.plum@intevation.de>
parents: 96
diff changeset
1017
98
a24ab98f858d ChangeLog: Tagging version 1.0; explaining the reason for 1.0
Hans Plum <hans.plum@intevation.de>
parents: 97
diff changeset
1018 * Tagging Version 1.0:
a24ab98f858d ChangeLog: Tagging version 1.0; explaining the reason for 1.0
Hans Plum <hans.plum@intevation.de>
parents: 97
diff changeset
1019 Because of finishing all functional requirements, rename to 1.0
a24ab98f858d ChangeLog: Tagging version 1.0; explaining the reason for 1.0
Hans Plum <hans.plum@intevation.de>
parents: 97
diff changeset
1020 instead of 0.6
97
de401cf3a89a ChangeLog: Tagging version 1.0
Hans Plum <hans.plum@intevation.de>
parents: 96
diff changeset
1021
96
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 95
diff changeset
1022 2010-04-28 Ingo Weinzierl <ingo.weinzierl@intevation.de>
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 95
diff changeset
1023
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 95
diff changeset
1024 * Changes, NEWS, ChangeLog: Summarized activities.
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 95
diff changeset
1025
95
0edcaf5b5c78 The path to database can be configured with a path relative to the configuration directory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 94
diff changeset
1026 2010-04-27 Ingo Weinzierl <ingo.weinzierl@intevation.de>
0edcaf5b5c78 The path to database can be configured with a path relative to the configuration directory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 94
diff changeset
1027
0edcaf5b5c78 The path to database can be configured with a path relative to the configuration directory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 94
diff changeset
1028 * artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java:
0edcaf5b5c78 The path to database can be configured with a path relative to the configuration directory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 94
diff changeset
1029 The path to database can be configured with a relative path now.
0edcaf5b5c78 The path to database can be configured with a path relative to the configuration directory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 94
diff changeset
1030
94
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
1031 2010-04-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
1032
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
1033 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java,
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
1034 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
1035 artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java,
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
1036 artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java,
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
1037 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java,
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
1038 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java,
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
1039 artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java:
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
1040 Brought all line lengths of non Javadoc lines below 80.
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
1041
93
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1042 2010-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1043
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1044 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1045 artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1046 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContextFactory.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1047 artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1048 artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1049 artifact-database/src/main/java/de/intevation/artifactdatabase/App.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1050 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1051 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1052 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1053 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactSerializer.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1054 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1055 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1056 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1057 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1058 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ServiceResource.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1059 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/OutRepresentation.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1060 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1061 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1062 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultServiceFactory.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1063 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1064 artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java:
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1065 Sorted imports.
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
1066
91
730ff077a58c More javadoc, some code formatting.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 90
diff changeset
1067 2010-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
730ff077a58c More javadoc, some code formatting.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 90
diff changeset
1068
92
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1069 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1070 artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java,
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1071 TODO:
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1072 Last bunch of javadoc. Possible TODO: check for typos and cross reference problems
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1073 but the main work should be done with this commit.
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1074
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1075 2010-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1076
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1077 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContextFactory.java,
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1078 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java,
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1079 artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java,
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1080 artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java,
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1081 artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java,
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1082 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java,
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1083 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java,
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1084 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java,
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1085 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java,
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1086 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
1087 More javadoc, some code formatting.
91
730ff077a58c More javadoc, some code formatting.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 90
diff changeset
1088
90
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1089 2010-03-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1090
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1091 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1092 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultPreferredLocale.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1093 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultService.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1094 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContext.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1095 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1096 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1097 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultServiceFactory.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1098 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1099 Even more javadoc.
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
1100
89
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1101 2010-03-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1102
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1103 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1104 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultPreferredLocale.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1105 artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1106 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultService.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1107 artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1108 artifact-database/src/main/java/de/intevation/artifactdatabase/Id.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1109 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ImportResource.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1110 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1111 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1112 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ServiceResource.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1113 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ExportResource.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1114 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1115 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ServicesResource.java,
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1116 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultServiceFactory.java:
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1117 More javadoc (fixes small glitches, too).
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
1118
88
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1119 2010-03-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1120
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1121 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java,
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1122 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ImportResource.java,
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1123 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java,
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1124 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java,
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1125 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ServiceResource.java,
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1126 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java,
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1127 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ExportResource.java,
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1128 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/OutRepresentation.java,
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1129 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java,
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1130 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ServicesResource.java,
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1131 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java,
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1132 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1133 Added javadoc to the REST package (complete). TODO: Add javadoc to the remaining classes
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1134 of the 'artifactdatabase'.
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1135
87
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1136 2010-03-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1137
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1138 * artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java,
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1139 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContextFactory.java,
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1140 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java,
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1141 artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java,
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1142 artifact-database/src/main/java/de/intevation/artifactdatabase/App.java,
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1143 artifact-database/src/main/java/de/intevation/artifactdatabase/StringUtils.java,
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1144 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java,
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1145 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactSerializer.java:
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1146 Added javadoc.
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1147
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1148 * artifact-database/src/main/java/de/intevation/artifactdatabase/package.html,
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1149 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/package.html: New.
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
1150 Package descriptions.
88
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
1151
86
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1152 2010-03-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1153
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1154 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java,
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1155 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java,
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1156 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1157 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1158 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java,
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1159 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java,
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1160 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java,
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1161 artifacts/src/main/java/de/intevation/artifacts/CallContext.java,
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1162 artifacts/src/main/java/de/intevation/artifacts/Artifact.java:
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1163 Removed trailing whitespace:
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1164 find -name \*.java | xargs sed -i 's/[ \t]\+$//'
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
1165
85
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1166 2010-03-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1167
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1168 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java,
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1169 artifacts/src/main/java/de/intevation/artifacts/Artifact.java:
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1170 Completed Javadoc of sub module 'artifacts'. TODO: add Javadoc to
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1171 module 'artifact-database'
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1172
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1173 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java,
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1174 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabaseException.java,
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1175 artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java,
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1176 artifacts/src/main/java/de/intevation/artifacts/ArtifactSerializer.java,
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1177 artifacts/src/main/java/de/intevation/artifacts/ArtifactContextFactory.java,
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1178 artifacts/src/main/java/de/intevation/artifacts/PreferredLocale.java:
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1179 Fixed vim modeline.
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
1180
84
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1181 2010-03-25 Ingo Weinzierl <ingo.weinzierl@intevation.de>
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1182
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1183 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java: Added a
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1184 method 'getTimeToLive()' which retrieves the current artifact's time to
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1185 live. The ttl of an artifact is available where ever a CallContext object
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1186 is existing.
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1187
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1188 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1189 Added new field ttl of an artifact to an PersistentArtifact.
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1190
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1191 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1192 Implemented 'getTimeToLive()' in CallContextImpl.
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
1193
83
8c4638abd518 Installed a SLF4J bridge to route incoming jul logs (used by restlet) to log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 82
diff changeset
1194 2010-03-22 Ingo Weinzierl <ingo.weinzierl@intevation.de>
8c4638abd518 Installed a SLF4J bridge to route incoming jul logs (used by restlet) to log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 82
diff changeset
1195
8c4638abd518 Installed a SLF4J bridge to route incoming jul logs (used by restlet) to log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 82
diff changeset
1196 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java:
8c4638abd518 Installed a SLF4J bridge to route incoming jul logs (used by restlet) to log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 82
diff changeset
1197 Install a SLF4JBridgeHandler after logging is configured. This handler is
8c4638abd518 Installed a SLF4J bridge to route incoming jul logs (used by restlet) to log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 82
diff changeset
1198 used to route incoming java.util.logging logs to SLF4J. In our case, we
8c4638abd518 Installed a SLF4J bridge to route incoming jul logs (used by restlet) to log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 82
diff changeset
1199 route this incoming log to our log4j logger.
8c4638abd518 Installed a SLF4J bridge to route incoming jul logs (used by restlet) to log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 82
diff changeset
1200
8c4638abd518 Installed a SLF4J bridge to route incoming jul logs (used by restlet) to log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 82
diff changeset
1201 * artifact-database/pom.xml: Added dependencies for SLF4J 1.5.11.
8c4638abd518 Installed a SLF4J bridge to route incoming jul logs (used by restlet) to log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 82
diff changeset
1202
82
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1203 2010-03-22 Ingo Weinzierl <ingo.weinzierl@intevation.de>
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1204
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1205 Issue208 (Remove special data of an 'out'-target before exporting
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1206 artifacts)
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1207
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1208 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java: Added a
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1209 'cleanup(Object context)' method to the interface definition of artifacts.
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1210 This method should be called before exporting an artifact and should
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1211 remove data stored on an artifact (or its current state) which have been
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1212 written by an 'out'.
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1213
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1214 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java:
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1215 Default implementation of cleanup method - nothing is done here yet.
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1216 Override this method if an artifact needs to be cleaned before an export.
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1217
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1218 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java:
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1219 Call cleanup method on the proxied artifact if proxied is existing.
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1220
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1221 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1222 Call cleanup method before exporting an artifact as xml.
efe752c4f8b2 Call cleanup method to remove special data stored by an 'out'-target before exporting an artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 81
diff changeset
1223
81
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1224 2010-03-19 Ingo Weinzierl <ingo.weinzierl@intevation.de>
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1225
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1226 Issue208 (Artifact gets a new identifier after being imported)
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1227
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1228 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java: Added a new
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1229 method setIdentifier(String identifier).
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1230
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1231 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java:
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1232 Default implementation of setIdentifier(String identifier) to give an
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1233 artifact a new identifier.
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1234
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1235 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1236 Set a new identifier on an artifact after deserializing it.
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1237
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1238 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java:
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1239 Set the identifier of the proxied artifact right after setting its own
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1240 identifier.
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
1241
80
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1242 2010-03-19 Ingo Weinzierl <ingo.weinzierl@intevation.de>
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1243
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1244 Issue208 (Artifact import)
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1245
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1246 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ImportResource.java:
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1247 New server resource to import an artifact from an incoming xml document.
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1248 The resource is available as /import and accepts xml documents send via
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1249 HTTP POST.
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1250
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1251 * artifact-database/src/main/resources/sql/org-postgresql-driver.properties,
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1252 artifact-database/src/main/resources/sql/org-h2-driver.properties: New sql
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1253 statements to update an existing artifact.
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1254
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1255 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1256 New method to import an artifact from an incoming xml document. The data
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1257 contained in this document is decoded using the secret.
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1258
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1259 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1260 New method to store an artifact into database or replace it if an artifact
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1261 with the given id is already existing.
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1262
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1263 * artifact-database/src/main/java/de/intevation/artifactdatabase/StringUtils.java:
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1264 Removed method to convert a byte array into a string (this is done by
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1265 Apache's Hex class in commons codec) and added a new method to convert a
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1266 string into a byte array using Apache commons codec as well.
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1267
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1268 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1269 Register ImportResource to webserver.
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1270
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1271
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1272 * artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java,
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1273 artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java,
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1274 artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java,
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1275 artifact-database/src/main/java/de/intevation/artifactdatabase/Id.java:
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1276 Converted the author javadocs.
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1277
79
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1278 2010-03-16 Ingo Weinzierl <ingo.weinzierl@intevation.de>
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1279
80
8447467cef86 Implementation to import artifacts from incoming xml documents (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 79
diff changeset
1280 Issue208 (Artifact export)
79
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1281
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1282 * artifact-database/doc/example-conf/conf.xml: Added a section to configure
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1283 a secret string used to identify artifact imports for security reason.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1284 Incoming artifact imports need to be identified with this secret, otherwise
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1285 the import should be blocked.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1286 Xpath for this secret: '/artifact-database/export-secret/text()'
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1287
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1288 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1289 New attribute 'exportSecret' and some code to read the secret from
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1290 configuration while application startup.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1291
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1292 * artifact-database/pom.xml: Added Apache Commons Codec library used to
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1293 encode/decode artifact data.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1294
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1295 * artifact-database/src/main/java/de/intevation/artifactdatabase/StringUtils.java:
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1296 New utilities class for frequently used string operations.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1297
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1298 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1299 Added some methods for exporting artifacts as xml documents. The data part
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1300 is base64 encoded. A secret key is used while encoding this data to verify
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1301 artifact imports, later.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1302
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1303 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1304 Added an artifact loader interface used to deserialize artifacts.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1305 getArtifact() implements such an ArtifactLoader to return
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1306 PersistentArtifacts.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1307
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1308 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ExportResource.java:
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1309 New. ServerResource to export artifacts (innerGet). This resource is
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1310 available under "/export/{uuid}" via HTTP-GET request and returns an
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1311 artifact specified by uuid as xml document.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1312
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1313 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1314 Register ExportResource to webserver.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1315
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1316 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1317 Added method to export artifacts.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1318
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1319 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java:
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1320 Reset bootstrap after application startup.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
1321
78
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1322 2010-03-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1323
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1324 * artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java,
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1325 artifacts/src/main/java/de/intevation/artifacts/CallContext.java,
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1326 artifacts/src/main/java/de/intevation/artifacts/Service.java,
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1327 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabaseException.java,
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1328 artifacts/src/main/java/de/intevation/artifacts/CallMeta.java,
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1329 artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java,
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1330 artifacts/src/main/java/de/intevation/artifacts/ArtifactSerializer.java,
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1331 artifacts/src/main/java/de/intevation/artifacts/ServiceFactory.java,
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1332 artifacts/src/main/java/de/intevation/artifacts/ArtifactContextFactory.java,
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1333 artifacts/src/main/java/de/intevation/artifacts/Artifact.java,
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1334 artifacts/src/main/java/de/intevation/artifacts/PreferredLocale.java:
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1335 Repaired the javadoc stuff.
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
1336
77
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1337 2010-02-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1338
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1339 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1340 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContextFactory.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1341 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1342 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultPreferredLocale.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1343 artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1344 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContext.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1345 artifact-database/src/main/java/de/intevation/artifactdatabase/App.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1346 artifact-database/src/main/java/de/intevation/artifactdatabase/XMLUtils.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1347 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1348 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1349 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactSerializer.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1350 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseResource.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1351 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1352 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FactoriesResource.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1353 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1354 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ServiceResource.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1355 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/OutRepresentation.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1356 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1357 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ServicesResource.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1358 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1359 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1360 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultServiceFactory.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1361 artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1362 artifacts/src/main/java/de/intevation/artifacts/Service.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1363 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabaseException.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1364 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1365 artifacts/src/main/java/de/intevation/artifacts/CallMeta.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1366 artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1367 artifacts/src/main/java/de/intevation/artifacts/ArtifactSerializer.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1368 artifacts/src/main/java/de/intevation/artifacts/ServiceFactory.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1369 artifacts/src/main/java/de/intevation/artifacts/ArtifactContextFactory.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1370 artifacts/src/main/java/de/intevation/artifacts/Artifact.java,
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1371 artifacts/src/main/java/de/intevation/artifacts/PreferredLocale.java:
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1372 find -name \*.java | \
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1373 xargs sed -i \
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1374 -e 's/@author[ ]\+\([^(<]\+\)[<(]\([^>)]\+\)[>)]/@author <a href="mailto:\2">\1<\/a>/g' \
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1375 -e 's@[ ]\+</a>@</a>@g'
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1376
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1377 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1378 to make the sources to be able to be formatted with jalopy (http://jalopy.sourceforge.net).
48d1a9a082c2 Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 76
diff changeset
1379
76
5b1ca000483c Changed log4j version to 1.2.14
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 75
diff changeset
1380 2010-02-05 Ingo Weinzierl <ingo.weinzierl@intevation.de>
5b1ca000483c Changed log4j version to 1.2.14
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 75
diff changeset
1381
5b1ca000483c Changed log4j version to 1.2.14
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 75
diff changeset
1382 Issue170
5b1ca000483c Changed log4j version to 1.2.14
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 75
diff changeset
1383
5b1ca000483c Changed log4j version to 1.2.14
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 75
diff changeset
1384 * artifact-database/pom.xml: Changed log4j version to 1.2.14 (later version
5b1ca000483c Changed log4j version to 1.2.14
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 75
diff changeset
1385 causes errors and breaks while maven build process).
5b1ca000483c Changed log4j version to 1.2.14
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 75
diff changeset
1386
75
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1387 2010-02-01 Tim Englich <tim.englich@intevation.de>
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1388
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1389 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CreateResource.java (innerPost):
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1390 Put the XML-Document which was send by the client to the
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1391 ArtifactDatabase.createArtifactWithFactory-Method.
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1392
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1393 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java (createArtifact),
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1394 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java (createArtifactWithFactory),
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1395 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java (setup),
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1396 artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java (setup),
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1397 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java (createArtifactWithFactory),
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1398 artifacts/src/main/java/de/intevation/artifacts/Artifact.java (setup):
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1399 Changed Method signatures so that it is possible to put the Document
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1400 which will be send during the create Step of an Artifact to the Setup-Routine
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1401 of an Artifact.
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1402 Now it is possible to send further Informations to the Artifact using the
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1403 XML-Document.
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1404 This is nessesary for manipoulating the Artifact e.g. setting Parameters
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1405 which should only be displaied or e.g. put an Geometry-Object into the
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1406 Artifact which should limit the displayed results.
d4c4c23847f5 Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
Tim Englich <tim.englich@intevation.de>
parents: 74
diff changeset
1407
74
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 73
diff changeset
1408 2010-01-27 Hans Plum <hans@intevation.de>
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 73
diff changeset
1409
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 73
diff changeset
1410 RELEASE 0.4
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 73
diff changeset
1411
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 73
diff changeset
1412 * Changes, NEWS, ChangeLog: summarized activities.
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 73
diff changeset
1413
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
1414 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
1415
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
1416 * 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
1417 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
1418 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
1419
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
1420 * 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
1421 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
1422
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
1423 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
1424
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
1425 * 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
1426 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
1427 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
1428
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
1429 * 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
1430 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
1431
71
c99da6837be0 Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 70
diff changeset
1432 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
1433
c99da6837be0 Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 70
diff changeset
1434 * 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
1435 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
1436
c99da6837be0 Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 70
diff changeset
1437 * 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
1438
70
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1439 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
1440
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1441 * 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
1442 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
1443
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1444 * 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
1445 Fixed indention.
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1446
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1447 * 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
1448 Implemented service factory loading trivial. TODO: Load
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1449 them from the configuration.
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1450
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1451 * 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
1452 Serve the services.
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1453
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1454 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
1455
498bb84334d0 Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 68
diff changeset
1456 * 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
1457 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
1458
498bb84334d0 Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 68
diff changeset
1459 * 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
1460 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
1461 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
1462
70
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1463 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
1464
541814404822 Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 67
diff changeset
1465 * 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
1466 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
1467 XML documents.
541814404822 Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 67
diff changeset
1468
541814404822 Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 67
diff changeset
1469 * 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
1470 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
1471
541814404822 Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 67
diff changeset
1472 * 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
1473 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
1474
541814404822 Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 67
diff changeset
1475 * 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
1476 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
1477 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
1478 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
1479
70
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
1480 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
1481
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
1482 * 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
1483 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
1484
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
1485 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
1486
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
1487 * 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
1488 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
1489 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
1490 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
1491
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
1492 * 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
1493 '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
1494
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
1495 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
1496
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
1497 * 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
1498 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
1499 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
1500
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
1501 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
1502
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
1503 * 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
1504 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
1505 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
1506
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
1507 * 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
1508 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
1509 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
1510
63
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 62
diff changeset
1511 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
1512
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 62
diff changeset
1513 RELEASE 0.3
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 62
diff changeset
1514
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 62
diff changeset
1515 * Changes, NEWS, ChangeLog: summarized activities.
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 62
diff changeset
1516
62
76abf0c64d3b Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 61
diff changeset
1517 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
1518
76abf0c64d3b Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 61
diff changeset
1519 * 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
1520 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
1521 file.
76abf0c64d3b Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 61
diff changeset
1522
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
1523 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
1524
911c684c8a1c Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 60
diff changeset
1525 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
1526
911c684c8a1c Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 60
diff changeset
1527 * 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
1528 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
1529
60
85d996328c8a Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 59
diff changeset
1530 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
1531
85d996328c8a Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 59
diff changeset
1532 * 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
1533 Removed needless import.
85d996328c8a Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 59
diff changeset
1534
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
1535 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
1536
8cd770330f1b Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 58
diff changeset
1537 * 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
1538 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
1539 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
1540
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
1541 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
1542
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
1543 * 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
1544 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
1545 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
1546 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
1547
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
1548 * 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
1549 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
1550
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
1551 * 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
1552 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
1553 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
1554
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
1555 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
1556 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
1557 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
1558 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
1559 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
1560 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
1561
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
1562 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
1563
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
1564 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
1565 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
1566 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
1567
57
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
1568 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
1569
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
1570 RELEASE 0.2
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
1571
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
1572 * Changes, NEWS summarized
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
1573
56
f027204baf5d Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 55
diff changeset
1574 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
1575
f027204baf5d Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 55
diff changeset
1576 * 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
1577 tomcat, gnv).
f027204baf5d Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 55
diff changeset
1578
55
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
1579 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
1580
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
1581 * 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
1582 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
1583
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
1584 * 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
1585 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
1586
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
1587 * 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
1588 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
1589
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
1590 * 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
1591 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
1592
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
1593 * 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
1594 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
1595 XML.
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
1596
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
1597 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
1598
57
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
1599 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
1600
55
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
1601 * 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
1602 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
1603
53
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 52
diff changeset
1604 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
1605
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 52
diff changeset
1606 RELEASE 0.1
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 52
diff changeset
1607
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 52
diff changeset
1608 * Changes, NEWS: Summaried changes.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 52
diff changeset
1609
52
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1610 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
1611
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1612 * 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
1613
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1614 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
1615
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1616 * 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
1617 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
1618
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1619 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
1620
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1621 * 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
1622 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
1623
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1624 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
1625
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1626 * 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
1627 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
1628
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1629 * 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
1630 Trivial (and incorrect!) implementation.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1631
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1632 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
1633
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1634 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
1635
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1636 * 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
1637 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
1638 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
1639
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1640 * 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
1641
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1642 * 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
1643 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
1644
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1645 * 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
1646 New. Model preferred languages.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1647
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1648 * 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
1649 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
1650
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1651 * 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
1652 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
1653 external meta data.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1654
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1655 * 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
1656 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
1657
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1658 * 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
1659 New. Default implementation of PreferredLocale.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1660
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1661 * 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
1662 New. Default implementation of CallMeta.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1663
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1664 * 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
1665 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
1666
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1667 * 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
1668 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
1669
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1670 * 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
1671 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
1672 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
1673 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
1674
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1675 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
1676
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1677 * 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
1678 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
1679 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
1680 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
1681 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
1682 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
1683 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
1684 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
1685 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
1686 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
1687 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
1688 Removed trailing whitespace.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1689
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1690 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
1691
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1692 * 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
1693 Removed needless imports.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1694
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1695 * 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
1696 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
1697
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1698 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
1699
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1700 * 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
1701 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
1702
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1703 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
1704
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1705 * 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
1706 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
1707
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1708 * 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
1709 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
1710 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
1711
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1712 * 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
1713 demo configuration.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1714
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1715 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
1716
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1717 * 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
1718 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
1719 was broken.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1720
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1721 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
1722
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1723 * 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
1724 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
1725
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1726 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
1727
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1728 * 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
1729 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
1730 creating factory.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1731
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1732 !!!
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1733 !!! THIS BREAKS OLD ARTIFACT DATABASES!
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1734 !!!
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1735 !!! 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
1736 !!! 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
1737 !!!
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1738
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1739 * 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
1740 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
1741 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
1742 into artifact relation.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1743
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1744 * 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
1745 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
1746 serializer for the artifacts.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1747
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1748 * 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
1749 Add method to return ArtifactSerializer.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1750
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1751 * 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
1752 Uses Java standard object serialisation.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1753
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1754 * 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
1755 Uses th DefaultArtifactSerializer as ArtifactSerializer
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1756
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1757 * 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
1758 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
1759 table.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1760
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1761 * 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
1762 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
1763 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
1764 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
1765 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
1766
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1767 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
1768
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1769 * 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
1770 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
1771
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1772 * 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
1773 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
1774 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
1775 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
1776 Adjusted to extend from BaseResource.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1777
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1778 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
1779
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1780 * 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
1781
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1782 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
1783
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1784 * 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
1785 * 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
1786
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1787 * 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
1788
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1789 * 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
1790 SQL statements for PostgreSQL.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1791
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1792 * 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
1793 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
1794
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1795 * 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
1796 Added some debug logging.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1797
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1798 * 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
1799
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1800 * 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
1801
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1802 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
1803
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1804 * 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
1805 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
1806
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1807 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
1808
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1809 * 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
1810 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
1811 of the advance Method.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1812
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1813 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
1814
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1815 * 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
1816 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
1817
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1818 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
1819
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1820 * 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
1821 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
1822
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1823 * 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
1824 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
1825
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1826 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
1827
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1828 * 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
1829 Make Objects Serializable
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1830
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1831 * 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
1832 Bug Fixed in SQL-Query
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1833
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1834 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
1835
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1836 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
1837 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
1838 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
1839 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
1840 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
1841 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
1842 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
1843 the specific call.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1844
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1845 The accepted values are:
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1846 - NOTHING for doing nothing
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1847 - 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
1848 - STORE for persisting the artifact.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1849 - 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
1850 a background operation.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1851
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1852 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
1853 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
1854 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
1855
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1856 !!! 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
1857 !!! 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
1858 !!! which prevents reclaiming resources
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1859
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1860 * 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
1861 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
1862
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1863 * 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
1864 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
1865
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1866 * 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
1867 Adjusted.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1868
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1869 * 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
1870 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
1871 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
1872 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
1873
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1874 * 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
1875 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
1876
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1877 * 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
1878 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
1879
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1880 * 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
1881 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
1882 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
1883 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
1884 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
1885 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
1886
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1887 * 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
1888 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
1889
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1890 * 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
1891 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
1892
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1893 * 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
1894 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
1895 in ArtifactDatabaseImpl.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1896
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1897 * 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
1898 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
1899 database id.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1900
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1901 * 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
1902 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
1903
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1904 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
1905
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1906 * 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
1907 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
1908 the output.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1909
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1910 * 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
1911 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
1912 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
1913 Adjusted.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1914
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1915 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
1916
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1917 * 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
1918 sleep time for cleanup thread.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1919
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1920 * 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
1921 Start cleanup thread at startup.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1922
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1923 * 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
1924 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
1925 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
1926 is found by lookup.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1927
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1928 * 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
1929 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
1930 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
1931 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
1932
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1933 * 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
1934 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
1935 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
1936
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1937 * 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
1938 commons-pool version installed.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1939
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1940 * 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
1941 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
1942
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1943 * 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
1944 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
1945 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
1946 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
1947 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
1948
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1949 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
1950
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1951 * 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
1952 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
1953
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1954 * 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
1955 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
1956
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1957 * 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
1958 Regrouped imports.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1959
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1960 * 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
1961 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
1962
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1963 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
1964
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1965 * 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
1966 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
1967
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1968 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
1969
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1970 * 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
1971 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
1972
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1973 * 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
1974 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
1975
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1976 * 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
1977 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
1978
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1979 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
1980
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1981 * 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
1982 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
1983
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1984 * 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
1985 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
1986
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1987 * 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
1988 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
1989
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1990 * 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
1991 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
1992
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1993 * 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
1994 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
1995
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1996 * 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
1997 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
1998
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1999 * 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
2000
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2001 * 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
2002 create an artifact. Usage
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2003
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2004 $ 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
2005
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2006 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
2007
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2008 * 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
2009 Removed needless import.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2010
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2011 * 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
2012 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
2013 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
2014
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2015 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
2016
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2017 * 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
2018 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
2019
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2020 * 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
2021 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
2022 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
2023
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2024 * 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
2025 Call artifact.setup() with this.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2026
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2027 * 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
2028 Removed namespace stuff.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2029
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2030 * 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
2031 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
2032
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2033 * 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
2034 Use new namespace stuff.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2035
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2036 * 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
2037 Added author.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2038
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2039 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
2040
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2041 * 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
2042 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
2043
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2044 * 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
2045 Uses new method from XMLUtils.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2046
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2047 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
2048
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2049 * 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
2050 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
2051 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
2052
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2053 * 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
2054 Removed needless import.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2055
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2056 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
2057
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2058 * 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
2059 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
2060
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2061 * 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
2062 Attached create to web server.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2063
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2064 * 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
2065 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
2066
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2067 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
2068
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2069 * 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
2070 for XML handling in representations.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2071
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2072 * 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
2073
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2074 * 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
2075 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
2076 into this file.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2077
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2078 * 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
2079
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2080 * 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
2081 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
2082
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2083 * 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
2084 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
2085
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2086 * 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
2087 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
2088
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2089 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
2090
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2091 * 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
2092 * 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
2093
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2094 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
2095 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
2096 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
2097 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
2098 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
2099 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
2100 logging.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2101 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
2102 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
2103 not overwritten.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2104
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2105 * 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
2106 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
2107
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2108 * 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
2109 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
2110
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2111 * 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
2112 example logging config
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2113
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2114 * 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
2115 Added some more logging infos.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2116
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2117 * 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
2118 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
2119
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2120 * 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
2121 Package for REST binding.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2122
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2123 * 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
2124 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
2125
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2126 * 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
2127 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
2128
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2129 * 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
2130 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
2131 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
2132 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
2133
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2134 $ ./contrib/run.sh \
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2135 -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
2136 de.intevation.artifactdatabase.App
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2137
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2138 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
2139
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2140 * 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
2141 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
2142
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2143 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
2144
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2145 * 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
2146 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
2147 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
2148 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
2149 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
2150 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
2151 Integrated log4j
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2152
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2153 * 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
2154
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2155 * 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
2156
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2157 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
2158
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2159 * 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
2160 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
2161 be used instantiating the ArtifactFactory.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2162
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2163 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
2164
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2165 * 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
2166 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
2167 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
2168
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2169 * 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
2170 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
2171
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2172 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
2173
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2174 * 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
2175 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
2176 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
2177 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
2178 '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
2179
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2180 * 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
2181 SQL statements for H2 database.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2182
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2183 * 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
2184 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
2185 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
2186 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
2187 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
2188 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
2189
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2190 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
2191
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2192 * 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
2193 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
2194
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2195 * 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
2196 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
2197
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2198 * 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
2199 Removed empty last line.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2200
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2201 * 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
2202 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
2203
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2204 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
2205
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2206 * 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
2207 Typo in XPath expression.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2208
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2209 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
2210
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2211 * 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
2212 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
2213
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2214 * 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
2215 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
2216 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
2217 the artifact is created.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2218
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2219 * 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
2220 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
2221
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2222 * 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
2223 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
2224 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
2225 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
2226 for examples.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2227
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2228 * 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
2229 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
2230 database connections to artifact db.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2231 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
2232 startable without building packages.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2233
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2234 * 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
2235 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
2236 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
2237 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
2238
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2239 * 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
2240 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
2241 documents and parts of.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2242
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2243 * 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
2244 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
2245 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
2246 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
2247
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2248 * 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
2249 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
2250 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
2251
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2252 * 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
2253
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2254 * 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
2255 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
2256
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2257 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
2258
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2259 * 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
2260 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
2261
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2262 * 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
2263 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
2264
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2265 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
2266
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2267 * 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
2268 * 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
2269 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
2270
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2271 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
2272
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2273 * pom.xml: Edited
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2274 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
2275
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2276 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
2277
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2278 * 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
2279 configuration.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2280
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2281 * 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
2282 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
2283
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2284 * 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
2285 New. Default implementation of ArtifactContext.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2286
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2287 * 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
2288 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
2289
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2290 * 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
2291 factories.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2292
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2293 * 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
2294 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
2295 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
2296 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
2297
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2298 * 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
2299 class for start up.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2300
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2301 * 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
2302
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2303 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
2304
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2305 * 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
2306 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
2307 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
2308
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2309 * 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
2310 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
2311 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
2312 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
2313 global context more consistent.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2314
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2315 * 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
2316 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
2317 for details.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2318
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2319 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
2320
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2321 * 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
2322 in H2 databases.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2323
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2324 * 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
2325 restlet.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2326
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2327 * 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
2328
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2329 * 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
2330 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
2331 a unixoid system.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2332
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2333 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
2334
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2335 * 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
2336 database server.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2337
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2338 * 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
2339 sub project, too.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2340
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2341 * 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
2342
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2343 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
2344
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2345 * 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
2346 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
2347
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2348 * 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
2349 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
2350
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2351 * 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
2352 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
2353
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2354 * 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
2355
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2356 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
2357
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2358 * README, Changelog, Changes, NEWS, TODO: New. Initial setup

http://dive4elements.wald.intevation.org