annotate ChangeLog @ 427:2c2981e53d4e

dummy merge for repo head
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:15:11 +0200
parents ad74e1ba88ba
children bedc87d11596
rev   line source
425
ad74e1ba88ba Allow to add Output objects to a state manually
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 424
diff changeset
1 2012-09-26 Björn Ricks <bjoern.ricks@intevation.de>
ad74e1ba88ba Allow to add Output objects to a state manually
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 424
diff changeset
2
ad74e1ba88ba Allow to add Output objects to a state manually
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 424
diff changeset
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
ad74e1ba88ba Allow to add Output objects to a state manually
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 424
diff changeset
4 New method addOutput to allow subclasses to add Output object manually.
ad74e1ba88ba Allow to add Output objects to a state manually
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 424
diff changeset
5
424
fdfa967699b4 Tagged 'artifacts' as 2.9.1
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 423
diff changeset
6 2012-09-17 Ingo Weinzierl <ingo@intevation.de>
fdfa967699b4 Tagged 'artifacts' as 2.9.1
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 423
diff changeset
7
fdfa967699b4 Tagged 'artifacts' as 2.9.1
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 423
diff changeset
8 Tagged RELEASE 2.9.1
fdfa967699b4 Tagged 'artifacts' as 2.9.1
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 423
diff changeset
9
423
8032aade18f7 Bump source compat from 1.5 to 1.6 (@Override annotations for interfaces.)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 421
diff changeset
10 2012-09-10 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8032aade18f7 Bump source compat from 1.5 to 1.6 (@Override annotations for interfaces.)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 421
diff changeset
11
8032aade18f7 Bump source compat from 1.5 to 1.6 (@Override annotations for interfaces.)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 421
diff changeset
12 * artifacts/pom.xml, pom.xml: source 1.5 -> 1.6
8032aade18f7 Bump source compat from 1.5 to 1.6 (@Override annotations for interfaces.)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 421
diff changeset
13 (@Override annotations for interface implementations is 1.6).
8032aade18f7 Bump source compat from 1.5 to 1.6 (@Override annotations for interfaces.)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 421
diff changeset
14
421
4213dd6ca169 Fix queries for finding a user
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 420
diff changeset
15 2012-09-07 Björn Ricks <bjoern.ricks@intevation.de>
4213dd6ca169 Fix queries for finding a user
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 420
diff changeset
16
4213dd6ca169 Fix queries for finding a user
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 420
diff changeset
17 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
4213dd6ca169 Fix queries for finding a user
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 420
diff changeset
18 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
4213dd6ca169 Fix queries for finding a user
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 420
diff changeset
19 Fix queries for finding a user.
4213dd6ca169 Fix queries for finding a user
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 420
diff changeset
20
420
0f4ee5886f86 Tagged 'artifacts' as 2.9
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 419
diff changeset
21 2012-09-07 Ingo Weinzierl <ingo@intevation.de>
0f4ee5886f86 Tagged 'artifacts' as 2.9
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 419
diff changeset
22
0f4ee5886f86 Tagged 'artifacts' as 2.9
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 419
diff changeset
23 Tagged RELEASE 2.9
0f4ee5886f86 Tagged 'artifacts' as 2.9
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 419
diff changeset
24
419
92b51af2d02d Keep insertion order of attributes in DefaultSection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 417
diff changeset
25 2012-08-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
92b51af2d02d Keep insertion order of attributes in DefaultSection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 417
diff changeset
26
92b51af2d02d Keep insertion order of attributes in DefaultSection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 417
diff changeset
27 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultSection.java:
92b51af2d02d Keep insertion order of attributes in DefaultSection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 417
diff changeset
28 Use LinkedHashMap to keep insertion order of attributes.
92b51af2d02d Keep insertion order of attributes in DefaultSection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 417
diff changeset
29
417
410a1bfb9590 Fix for NPE on empty user database
Christian Lins <christian.lins@intevation.de>
parents: 416
diff changeset
30 2012-08-27 Christian Lins <christian.lins@intevation.de>
410a1bfb9590 Fix for NPE on empty user database
Christian Lins <christian.lins@intevation.de>
parents: 416
diff changeset
31
410a1bfb9590 Fix for NPE on empty user database
Christian Lins <christian.lins@intevation.de>
parents: 416
diff changeset
32 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
410a1bfb9590 Fix for NPE on empty user database
Christian Lins <christian.lins@intevation.de>
parents: 416
diff changeset
33 artifacts/src/main/java/de/intevation/artifacts/CallContext.java:
410a1bfb9590 Fix for NPE on empty user database
Christian Lins <christian.lins@intevation.de>
parents: 416
diff changeset
34 Fix for NPE on empty user database.
410a1bfb9590 Fix for NPE on empty user database
Christian Lins <christian.lins@intevation.de>
parents: 416
diff changeset
35
416
733e76413bf8 Add REST service to be able to find a user by its account name
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 415
diff changeset
36 2012-08-24 Björn Ricks <bjoern.ricks@intevation.de>
733e76413bf8 Add REST service to be able to find a user by its account name
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 415
diff changeset
37
733e76413bf8 Add REST service to be able to find a user by its account name
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 415
diff changeset
38 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java,
733e76413bf8 Add REST service to be able to find a user by its account name
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 415
diff changeset
39 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/FindUserResource.java:
733e76413bf8 Add REST service to be able to find a user by its account name
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 415
diff changeset
40 Add REST service to be able to find a user by its account name.
733e76413bf8 Add REST service to be able to find a user by its account name
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 415
diff changeset
41
415
d4a846ee35b8 Implement ArtifactDatabase findUser method
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 414
diff changeset
42 2012-08-24 Björn Ricks <bjoern.ricks@intevation.de>
d4a846ee35b8 Implement ArtifactDatabase findUser method
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 414
diff changeset
43
d4a846ee35b8 Implement ArtifactDatabase findUser method
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 414
diff changeset
44 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
d4a846ee35b8 Implement ArtifactDatabase findUser method
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 414
diff changeset
45 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
d4a846ee35b8 Implement ArtifactDatabase findUser method
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 414
diff changeset
46 Implement findUser method. The findUser method in ArtifactDatabase
d4a846ee35b8 Implement ArtifactDatabase findUser method
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 414
diff changeset
47 converts a User object into its XML representation.
d4a846ee35b8 Implement ArtifactDatabase findUser method
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 414
diff changeset
48
414
c22f3a7640d7 Add ChangeLog entry for last commit
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 412
diff changeset
49 2012-08-24 Björn Ricks <bjoern.ricks@intevation.de>
c22f3a7640d7 Add ChangeLog entry for last commit
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 412
diff changeset
50
c22f3a7640d7 Add ChangeLog entry for last commit
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 412
diff changeset
51 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
c22f3a7640d7 Add ChangeLog entry for last commit
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 412
diff changeset
52 artifact-database/src/main/resources/sql/org-h2-driver.properties,
c22f3a7640d7 Add ChangeLog entry for last commit
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 412
diff changeset
53 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
c22f3a7640d7 Add ChangeLog entry for last commit
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 412
diff changeset
54 Implement method to find/get a user by its account name.
c22f3a7640d7 Add ChangeLog entry for last commit
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 412
diff changeset
55
412
f4b14240ffa3 Also add the account information when listing users
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 411
diff changeset
56 2012-08-23 Björn Ricks <bjoern.ricks@intevation.de>
f4b14240ffa3 Also add the account information when listing users
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 411
diff changeset
57
f4b14240ffa3 Also add the account information when listing users
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 411
diff changeset
58 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
f4b14240ffa3 Also add the account information when listing users
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 411
diff changeset
59 Also add the account information when listing users.
f4b14240ffa3 Also add the account information when listing users
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 411
diff changeset
60
411
20f12944c710 Add user account information when creating a user in the artifact database
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 410
diff changeset
61 2012-08-23 Björn Ricks <bjoern.ricks@intevation.de>
20f12944c710 Add user account information when creating a user in the artifact database
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 410
diff changeset
62
20f12944c710 Add user account information when creating a user in the artifact database
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 410
diff changeset
63 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
20f12944c710 Add user account information when creating a user in the artifact database
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 410
diff changeset
64 Add account information to createUser
20f12944c710 Add user account information when creating a user in the artifact database
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 410
diff changeset
65
409
4748949c4f19 Extend user class implementations to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 408
diff changeset
66 2012-08-23 Björn Ricks <bjoern.ricks@intevation.de>
410
f456d9d55541 Read the account information from the database
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 409
diff changeset
67
f456d9d55541 Read the account information from the database
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 409
diff changeset
68 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
f456d9d55541 Read the account information from the database
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 409
diff changeset
69 Read the account information from the database.
f456d9d55541 Read the account information from the database
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 409
diff changeset
70
f456d9d55541 Read the account information from the database
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 409
diff changeset
71 2012-08-23 Björn Ricks <bjoern.ricks@intevation.de>
f456d9d55541 Read the account information from the database
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 409
diff changeset
72
409
4748949c4f19 Extend user class implementations to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 408
diff changeset
73 * artifact-database/src/main/java/de/intevation/artifactdatabase/LazyBackendUser.java,
4748949c4f19 Extend user class implementations to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 408
diff changeset
74 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java,
4748949c4f19 Extend user class implementations to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 408
diff changeset
75 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUser.java:
4748949c4f19 Extend user class implementations to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 408
diff changeset
76 Extend user class implementations to handle account information.
4748949c4f19 Extend user class implementations to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 408
diff changeset
77
408
7cdd63310d5c Extend user interfaces to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 407
diff changeset
78 2012-08-23 Björn Ricks <bjoern.ricks@intevation.de>
7cdd63310d5c Extend user interfaces to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 407
diff changeset
79
7cdd63310d5c Extend user interfaces to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 407
diff changeset
80 * artifacts/src/main/java/de/intevation/artifacts/UserFactory.java,
7cdd63310d5c Extend user interfaces to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 407
diff changeset
81 artifacts/src/main/java/de/intevation/artifacts/User.java:
7cdd63310d5c Extend user interfaces to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 407
diff changeset
82 Extend user interfaces to handle account information.
7cdd63310d5c Extend user interfaces to handle account information
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 407
diff changeset
83
407
08731e7403b5 Update sql user queries to add the account column
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 406
diff changeset
84 2012-08-23 Björn Ricks <bjoern.ricks@intevation.de>
08731e7403b5 Update sql user queries to add the account column
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 406
diff changeset
85
08731e7403b5 Update sql user queries to add the account column
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 406
diff changeset
86 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
08731e7403b5 Update sql user queries to add the account column
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 406
diff changeset
87 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
08731e7403b5 Update sql user queries to add the account column
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 406
diff changeset
88 Update sql user queries to add the account column.
08731e7403b5 Update sql user queries to add the account column
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 406
diff changeset
89
406
10aa92f2eca0 Add a account column to the users table
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 405
diff changeset
90 2012-08-23 Björn Ricks <bjoern.ricks@intevation.de>
10aa92f2eca0 Add a account column to the users table
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 405
diff changeset
91
10aa92f2eca0 Add a account column to the users table
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 405
diff changeset
92 * artifact-database/doc/schema-pg.sql,
10aa92f2eca0 Add a account column to the users table
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 405
diff changeset
93 artifact-database/doc/schema-h2.sql:
10aa92f2eca0 Add a account column to the users table
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 405
diff changeset
94 Add a account column to the users table.
10aa92f2eca0 Add a account column to the users table
Bjoern Ricks <bjoern.ricks@intevation.de>
parents: 405
diff changeset
95
405
e1738650bfca FacetActivity: use Chain-of-responsibility pattern to figure out if facet should be active.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
96 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
e1738650bfca FacetActivity: use Chain-of-responsibility pattern to figure out if facet should be active.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
97
e1738650bfca FacetActivity: use Chain-of-responsibility pattern to figure out if facet should be active.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
98 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/FacetActivity.java:
e1738650bfca FacetActivity: use Chain-of-responsibility pattern to figure out if facet should be active.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
99 Refactored registry to use a Chain-of-responsibility pattern. This allows
e1738650bfca FacetActivity: use Chain-of-responsibility pattern to figure out if facet should be active.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
100 de-centralized facet activity treatment like in the facet producing states.
e1738650bfca FacetActivity: use Chain-of-responsibility pattern to figure out if facet should be active.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
101
404
4c78c5d2b367 FacetActivity: Made Registry.getInstance() access static.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 403
diff changeset
102 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4c78c5d2b367 FacetActivity: Made Registry.getInstance() access static.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 403
diff changeset
103
4c78c5d2b367 FacetActivity: Made Registry.getInstance() access static.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 403
diff changeset
104 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/FacetActivity.java:
4c78c5d2b367 FacetActivity: Made Registry.getInstance() access static.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 403
diff changeset
105 Made Registry.getInstance() access static.
4c78c5d2b367 FacetActivity: Made Registry.getInstance() access static.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 403
diff changeset
106
403
bd76529d612b FacetActivity: Added interface and registry to decide if a facet should initially active or not.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 402
diff changeset
107 2012-07-29 Sascha L. Teichmann <sascha.teichmann@intevation.de>
bd76529d612b FacetActivity: Added interface and registry to decide if a facet should initially active or not.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 402
diff changeset
108
bd76529d612b FacetActivity: Added interface and registry to decide if a facet should initially active or not.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 402
diff changeset
109 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/FacetActivity.java:
bd76529d612b FacetActivity: Added interface and registry to decide if a facet should initially active or not.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 402
diff changeset
110 New. Implementors of this interface can decide if a facet should be initially
bd76529d612b FacetActivity: Added interface and registry to decide if a facet should initially active or not.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 402
diff changeset
111 active or not. Contains a registry singleton.
bd76529d612b FacetActivity: Added interface and registry to decide if a facet should initially active or not.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 402
diff changeset
112
402
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
113 2012-07-27 Ingo Weinzierl <ingo@intevation.de>
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
114
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
115 Tagged trunk as '2.8.1'
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
116
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
117 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
118
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
119 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/StringUtils.java:
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
120 Added concat() to join two String arrays.
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
121
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
122 2012-07-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
123
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
124 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java,
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
125 artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java,
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
126 artifact-database/src/main/java/de/intevation/artifactdatabase/AbstractCallContext.java,
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
127 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollectionFactory.java,
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
128 artifact-database/src/main/java/de/intevation/artifactdatabase/transition/TransitionEngine.java,
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
129 artifact-database/src/main/java/de/intevation/artifactdatabase/ProtocolUtils.java,
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
130 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
131 Doc fixes.
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
132
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
133 2012-07-16 Ingo Weinzierl <ingo@intevation.de>
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
134
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
135 Tagged trunk as '2.8'
b4ed641f01db Tagged artifacts as '2.8.1'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 401
diff changeset
136
401
d75b7d19a3df StringUtils: Added method to join two String arrays.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 400
diff changeset
137 2012-07-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
d75b7d19a3df StringUtils: Added method to join two String arrays.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 400
diff changeset
138
d75b7d19a3df StringUtils: Added method to join two String arrays.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 400
diff changeset
139 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/StringUtils.java:
d75b7d19a3df StringUtils: Added method to join two String arrays.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 400
diff changeset
140 Added concat() to join two String arrays.
d75b7d19a3df StringUtils: Added method to join two String arrays.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 400
diff changeset
141
400
f367be55dd35 Doc fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 399
diff changeset
142 2012-07-17 Felix Wolfsteller <felix.wolfsteller@intevation.de>
f367be55dd35 Doc fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 399
diff changeset
143
f367be55dd35 Doc fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 399
diff changeset
144 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java,
f367be55dd35 Doc fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 399
diff changeset
145 artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java,
f367be55dd35 Doc fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 399
diff changeset
146 artifact-database/src/main/java/de/intevation/artifactdatabase/AbstractCallContext.java,
f367be55dd35 Doc fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 399
diff changeset
147 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollectionFactory.java,
f367be55dd35 Doc fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 399
diff changeset
148 artifact-database/src/main/java/de/intevation/artifactdatabase/transition/TransitionEngine.java,
f367be55dd35 Doc fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 399
diff changeset
149 artifact-database/src/main/java/de/intevation/artifactdatabase/ProtocolUtils.java,
f367be55dd35 Doc fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 399
diff changeset
150 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
f367be55dd35 Doc fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 399
diff changeset
151 Doc fixes.
f367be55dd35 Doc fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 399
diff changeset
152
399
4943d36c896b Taged artifacts module as '2.8'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 398
diff changeset
153 2012-07-16 Ingo Weinzierl <ingo@intevation.de>
4943d36c896b Taged artifacts module as '2.8'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 398
diff changeset
154
4943d36c896b Taged artifacts module as '2.8'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 398
diff changeset
155 Tagged trunk as '2.8'
4943d36c896b Taged artifacts module as '2.8'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 398
diff changeset
156
398
ab3900303f25 Removed same package imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 397
diff changeset
157 2012-07-15 Sascha L. Teichmann <sascha.teichmann@intevation.de>
ab3900303f25 Removed same package imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 397
diff changeset
158
ab3900303f25 Removed same package imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 397
diff changeset
159 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultSettings.java,
ab3900303f25 Removed same package imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 397
diff changeset
160 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultSection.java,
ab3900303f25 Removed same package imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 397
diff changeset
161 artifacts/src/main/java/de/intevation/artifacts/DataProvider.java,
ab3900303f25 Removed same package imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 397
diff changeset
162 artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java:
ab3900303f25 Removed same package imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 397
diff changeset
163 Removed same package imports.
ab3900303f25 Removed same package imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 397
diff changeset
164
397
f2943ecd475f StringUtils: added contains(needle, haystack) method.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 396
diff changeset
165 2012-07-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
f2943ecd475f StringUtils: added contains(needle, haystack) method.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 396
diff changeset
166
f2943ecd475f StringUtils: added contains(needle, haystack) method.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 396
diff changeset
167 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/StringUtils.java:
f2943ecd475f StringUtils: added contains(needle, haystack) method.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 396
diff changeset
168 Added contains(String needle, String [] haystack) method.
f2943ecd475f StringUtils: added contains(needle, haystack) method.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 396
diff changeset
169
396
332e28aa60bd Removed Eclipse configuration from version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 395
diff changeset
170 2012-07-03 Ingo Weinzierl <ingo@intevation.de>
332e28aa60bd Removed Eclipse configuration from version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 395
diff changeset
171
332e28aa60bd Removed Eclipse configuration from version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 395
diff changeset
172 * artifact-database/.settings/org.eclipse.jdt.core.prefs: Removed from
332e28aa60bd Removed Eclipse configuration from version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 395
diff changeset
173 version control (Eclipse configurations should not be in SVN!).
332e28aa60bd Removed Eclipse configuration from version control.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 395
diff changeset
174
395
b77465617071 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 394
diff changeset
175 2012-02-26 Felix Wolfsteller <felix.wolfsteller@intevation.de>
b77465617071 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 394
diff changeset
176
b77465617071 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 394
diff changeset
177 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
b77465617071 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 394
diff changeset
178 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/UserResource.java,
b77465617071 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 394
diff changeset
179 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContext.java:
b77465617071 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 394
diff changeset
180 Cosmetics, doc.
b77465617071 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 394
diff changeset
181
394
c40729bfe06d Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
182 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
c40729bfe06d Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
183
c40729bfe06d Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
184 * artifact-database/src/main/java/de/intevation/**/*.java:
c40729bfe06d Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
185 Removed trailing whitespace.
c40729bfe06d Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
186
393
b7831cefbb62 Added some more debug output during the process of removing Artifacts and Collections by the DatabaseCleaner.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 392
diff changeset
187 2012-06-05 Ingo Weinzierl <ingo@intevation.de>
b7831cefbb62 Added some more debug output during the process of removing Artifacts and Collections by the DatabaseCleaner.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 392
diff changeset
188
b7831cefbb62 Added some more debug output during the process of removing Artifacts and Collections by the DatabaseCleaner.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 392
diff changeset
189 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
b7831cefbb62 Added some more debug output during the process of removing Artifacts and Collections by the DatabaseCleaner.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 392
diff changeset
190 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
b7831cefbb62 Added some more debug output during the process of removing Artifacts and Collections by the DatabaseCleaner.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 392
diff changeset
191 Added some more debug output during the process of removing Artifacts
b7831cefbb62 Added some more debug output during the process of removing Artifacts and Collections by the DatabaseCleaner.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 392
diff changeset
192 and Collections with the DatabaseCleaner.
b7831cefbb62 Added some more debug output during the process of removing Artifacts and Collections by the DatabaseCleaner.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 392
diff changeset
193
392
cdc8b7c64856 JSON2XML: Remove extra <map></map> from the XML generated by JSON lists containing only
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 390
diff changeset
194 2012-06-01 Sascha L. Teichmann <sascha.teichmann@intevation.de>
cdc8b7c64856 JSON2XML: Remove extra <map></map> from the XML generated by JSON lists containing only
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 390
diff changeset
195
cdc8b7c64856 JSON2XML: Remove extra <map></map> from the XML generated by JSON lists containing only
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 390
diff changeset
196 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
cdc8b7c64856 JSON2XML: Remove extra <map></map> from the XML generated by JSON lists containing only
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 390
diff changeset
197 Remove extra <map></map> from the XML generated by JSON lists containing only
cdc8b7c64856 JSON2XML: Remove extra <map></map> from the XML generated by JSON lists containing only
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 390
diff changeset
198 objects.
cdc8b7c64856 JSON2XML: Remove extra <map></map> from the XML generated by JSON lists containing only
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 390
diff changeset
199
390
d5db5483b376 Tagged module 'artifacts' as '2.7'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 389
diff changeset
200 2012-05-27 Ingo Weinzierl <ingo@intevation.de>
d5db5483b376 Tagged module 'artifacts' as '2.7'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 389
diff changeset
201
d5db5483b376 Tagged module 'artifacts' as '2.7'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 389
diff changeset
202 Tagged trunk as '2.7'
d5db5483b376 Tagged module 'artifacts' as '2.7'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 389
diff changeset
203
389
ea263ee87563 Added new helper class DateUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 388
diff changeset
204 2012-05-18 Ingo Weinzierl <ingo@intevation.de>
ea263ee87563 Added new helper class DateUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 388
diff changeset
205
ea263ee87563 Added new helper class DateUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 388
diff changeset
206 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/DateUtils.java:
ea263ee87563 Added new helper class DateUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 388
diff changeset
207 New utility class that provides functions that helps working with dates.
ea263ee87563 Added new helper class DateUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 388
diff changeset
208
388
156904aa7c85 Added a class to store generic keys and values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 387
diff changeset
209 2012-05-15 Ingo Weinzierl <ingo@intevation.de>
156904aa7c85 Added a class to store generic keys and values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 387
diff changeset
210
156904aa7c85 Added a class to store generic keys and values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 387
diff changeset
211 * artifacts-common/src/main/java/de/intevation/artifacts/common/model/KVP.java:
156904aa7c85 Added a class to store generic keys and values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 387
diff changeset
212 New class to store generic keys and values.
156904aa7c85 Added a class to store generic keys and values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 387
diff changeset
213
387
111d4e28c45e Added method to create a document from string to XMLUtils.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 386
diff changeset
214 2012-05-07 Raimund Renkert <raimund.renkert@intevation.de>
111d4e28c45e Added method to create a document from string to XMLUtils.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 386
diff changeset
215
111d4e28c45e Added method to create a document from string to XMLUtils.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 386
diff changeset
216 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
111d4e28c45e Added method to create a document from string to XMLUtils.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 386
diff changeset
217 Added method to create a document from string.
111d4e28c45e Added method to create a document from string to XMLUtils.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 386
diff changeset
218
386
fd32dc33a24c Added a method State.getHelpText().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 385
diff changeset
219 2012-05-03 Ingo Weinzierl <ingo@intevation.de>
fd32dc33a24c Added a method State.getHelpText().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 385
diff changeset
220
fd32dc33a24c Added a method State.getHelpText().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 385
diff changeset
221 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java,
fd32dc33a24c Added a method State.getHelpText().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 385
diff changeset
222 artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
fd32dc33a24c Added a method State.getHelpText().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 385
diff changeset
223 Defined and implemented a method getHelpText().
fd32dc33a24c Added a method State.getHelpText().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 385
diff changeset
224
385
e08f1475facc XSLTransformer: Widen parameters to store more than strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 384
diff changeset
225 2012-05-02 Sascha L. Teichmann <sascha.teichmann@intevation.de>
e08f1475facc XSLTransformer: Widen parameters to store more than strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 384
diff changeset
226
e08f1475facc XSLTransformer: Widen parameters to store more than strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 384
diff changeset
227 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XSLTransformer.java:
e08f1475facc XSLTransformer: Widen parameters to store more than strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 384
diff changeset
228 Widen parameters to store more than strings.
e08f1475facc XSLTransformer: Widen parameters to store more than strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 384
diff changeset
229
384
823752e3d392 Fixed building XML documents from JSON strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 383
diff changeset
230 2012-04-27 Sascha L. Teichmann <sascha.teichmann@intevation.de>
823752e3d392 Fixed building XML documents from JSON strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 383
diff changeset
231
823752e3d392 Fixed building XML documents from JSON strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 383
diff changeset
232 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/JSON.java:
823752e3d392 Fixed building XML documents from JSON strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 383
diff changeset
233 Added toJSONString() method.
823752e3d392 Fixed building XML documents from JSON strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 383
diff changeset
234
823752e3d392 Fixed building XML documents from JSON strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 383
diff changeset
235 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
823752e3d392 Fixed building XML documents from JSON strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 383
diff changeset
236 Fixed building XML documents from JSON strings.
823752e3d392 Fixed building XML documents from JSON strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 383
diff changeset
237
383
b076c9e9fdfd Added method to extract zip archives to a specified directory.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 382
diff changeset
238 2012-04-25 Raimund Renkert <raimund.renkert@intevation.de>
b076c9e9fdfd Added method to extract zip archives to a specified directory.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 382
diff changeset
239
b076c9e9fdfd Added method to extract zip archives to a specified directory.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 382
diff changeset
240 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/FileTools.java:
b076c9e9fdfd Added method to extract zip archives to a specified directory.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 382
diff changeset
241 Added method to extract zip archives to a specified directory.
b076c9e9fdfd Added method to extract zip archives to a specified directory.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 382
diff changeset
242
382
a94bc2491b41 Added new XSLT processor.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 381
diff changeset
243 2012-04-19 Sascha L. Teichmann <sascha.teichmann@intevation.de>
a94bc2491b41 Added new XSLT processor.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 381
diff changeset
244
a94bc2491b41 Added new XSLT processor.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 381
diff changeset
245 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XSLTransformer.java:
a94bc2491b41 Added new XSLT processor.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 381
diff changeset
246 New. Added new XSLT processor similiar to old GNV one.
a94bc2491b41 Added new XSLT processor.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 381
diff changeset
247
381
bed51de8ae58 Added JSON parser from Artefact Server NG to bridge from JSON to XML speaking services.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 380
diff changeset
248 2012-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
bed51de8ae58 Added JSON parser from Artefact Server NG to bridge from JSON to XML speaking services.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 380
diff changeset
249
bed51de8ae58 Added JSON parser from Artefact Server NG to bridge from JSON to XML speaking services.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 380
diff changeset
250 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/JSON.java:
bed51de8ae58 Added JSON parser from Artefact Server NG to bridge from JSON to XML speaking services.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 380
diff changeset
251 New. JSON parser from Artefact Server NG (which relies on JSON more heavily).
bed51de8ae58 Added JSON parser from Artefact Server NG to bridge from JSON to XML speaking services.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 380
diff changeset
252
bed51de8ae58 Added JSON parser from Artefact Server NG to bridge from JSON to XML speaking services.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 380
diff changeset
253 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
bed51de8ae58 Added JSON parser from Artefact Server NG to bridge from JSON to XML speaking services.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 380
diff changeset
254 Added method to convert JSON to XML. This is needed by the client which
bed51de8ae58 Added JSON parser from Artefact Server NG to bridge from JSON to XML speaking services.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 380
diff changeset
255 internally uses JSON to talk to the server which services only understands
bed51de8ae58 Added JSON parser from Artefact Server NG to bridge from JSON to XML speaking services.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 380
diff changeset
256 XML atm.
bed51de8ae58 Added JSON parser from Artefact Server NG to bridge from JSON to XML speaking services.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 380
diff changeset
257
380
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
258 2012-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
259
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
260 Modified services so that they are now able to return more than just
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
261 XML documents. Needed if you want to return e.g. a PNG image from a service.
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
262
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
263 * artifacts/src/main/java/de/intevation/artifacts/Service.java:
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
264 A service now returns a tuple (data, MIME type).
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
265
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
266 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java,
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
267 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
268 Adjusted calls.
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
269
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
270 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultService.java:
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
271 Returns a DefaultService.Output by default.
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
272
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
273 * artifact-database/src/main/java/de/intevation/artifactdatabase/XMLService.java: New.
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
274 Convenience sub class if DefaultService to produce XML documents. Old
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
275 Services should derive from this class now to main compatibility.
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
276
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
277 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ServiceResource.java:
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
278 Adjusted to handle the new Output tuples.
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
279
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
280 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ByteArrayRepresentation.java:
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
281 New. Wraps a byte array as a Restlet representation.
9798e4d83681 Services are now able to return more than just XML documents.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 379
diff changeset
282
379
95ff5a25a339 Avoid adding duplicated facets in DefaultOutput.addFacet().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 378
diff changeset
283 2012-03-30 Ingo Weinzierl <ingo@intevation.de>
95ff5a25a339 Avoid adding duplicated facets in DefaultOutput.addFacet().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 378
diff changeset
284
95ff5a25a339 Avoid adding duplicated facets in DefaultOutput.addFacet().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 378
diff changeset
285 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java:
95ff5a25a339 Avoid adding duplicated facets in DefaultOutput.addFacet().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 378
diff changeset
286 Avoid adding duplicated facets into the output in addFacet().
95ff5a25a339 Avoid adding duplicated facets in DefaultOutput.addFacet().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 378
diff changeset
287
378
71ff234713a6 Pass context when asking facets for keys to write on blackboard.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 377
diff changeset
288 2012-02-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
71ff234713a6 Pass context when asking facets for keys to write on blackboard.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 377
diff changeset
289
71ff234713a6 Pass context when asking facets for keys to write on blackboard.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 377
diff changeset
290 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java,
71ff234713a6 Pass context when asking facets for keys to write on blackboard.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 377
diff changeset
291 artifact-database/src/main/java/de/intevation/artifactdatabase/state/ArtifactAndFacet.java,
71ff234713a6 Pass context when asking facets for keys to write on blackboard.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 377
diff changeset
292 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java:
71ff234713a6 Pass context when asking facets for keys to write on blackboard.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 377
diff changeset
293 Pass context when asking facet for keys to write on 'blackboard'.
71ff234713a6 Pass context when asking facets for keys to write on blackboard.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 377
diff changeset
294
377
1ffc09fec1c8 Added a method ArtifactAndFacet.setFacetDescription().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 376
diff changeset
295 2012-02-09 Ingo Weinzierl <ingo@intevation.de>
1ffc09fec1c8 Added a method ArtifactAndFacet.setFacetDescription().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 376
diff changeset
296
1ffc09fec1c8 Added a method ArtifactAndFacet.setFacetDescription().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 376
diff changeset
297 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/ArtifactAndFacet.java:
1ffc09fec1c8 Added a method ArtifactAndFacet.setFacetDescription().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 376
diff changeset
298 Added a method setFacetDescription() which sets an alternative
1ffc09fec1c8 Added a method ArtifactAndFacet.setFacetDescription().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 376
diff changeset
299 description for the facet. getFacetDescription() will now return the
1ffc09fec1c8 Added a method ArtifactAndFacet.setFacetDescription().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 376
diff changeset
300 Facet's descritpion itself if no alternative description has been set;
1ffc09fec1c8 Added a method ArtifactAndFacet.setFacetDescription().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 376
diff changeset
301 otherwise the alternative description.
1ffc09fec1c8 Added a method ArtifactAndFacet.setFacetDescription().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 376
diff changeset
302
376
87c0393749f0 StringUtils: Added static method to join strings with a separator.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 375
diff changeset
303 012-02-09 Sascha L. Teichmann <sascha.teichmann@intevation.de>
87c0393749f0 StringUtils: Added static method to join strings with a separator.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 375
diff changeset
304
87c0393749f0 StringUtils: Added static method to join strings with a separator.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 375
diff changeset
305 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/StringUtils.java(join):
87c0393749f0 StringUtils: Added static method to join strings with a separator.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 375
diff changeset
306 Added static method to join strings with a separator.
87c0393749f0 StringUtils: Added static method to join strings with a separator.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 375
diff changeset
307
87c0393749f0 StringUtils: Added static method to join strings with a separator.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 375
diff changeset
308 012-01-30 Sascha L. Teichmann <sascha.teichmann@intevation.de>
375
33176e6e3c37 Added Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
309
33176e6e3c37 Added Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
310 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/ArtifactAndFacet.java:
33176e6e3c37 Added Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
311 Added Override annotations.
33176e6e3c37 Added Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
312
374
5420b96dd0b3 Added a method StateEngine.getStateData() that returns the StateData of a specific Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 372
diff changeset
313 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
5420b96dd0b3 Added a method StateEngine.getStateData() that returns the StateData of a specific Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 372
diff changeset
314
5420b96dd0b3 Added a method StateEngine.getStateData() that returns the StateData of a specific Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 372
diff changeset
315 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java:
5420b96dd0b3 Added a method StateEngine.getStateData() that returns the StateData of a specific Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 372
diff changeset
316 Added a method that returns a StateData objects of a specific Artifact
5420b96dd0b3 Added a method StateEngine.getStateData() that returns the StateData of a specific Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 372
diff changeset
317 based on the Artifact's StateData's name.
5420b96dd0b3 Added a method StateEngine.getStateData() that returns the StateData of a specific Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 372
diff changeset
318
372
72e4f03bf4a0 Prevent NullPointerException in AbstractState.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 371
diff changeset
319 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
72e4f03bf4a0 Prevent NullPointerException in AbstractState.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 371
diff changeset
320
72e4f03bf4a0 Prevent NullPointerException in AbstractState.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 371
diff changeset
321 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
72e4f03bf4a0 Prevent NullPointerException in AbstractState.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 371
diff changeset
322 Bugfix: search for StateData objects by name only the State has
72e4f03bf4a0 Prevent NullPointerException in AbstractState.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 371
diff changeset
323 StateData objects set.
72e4f03bf4a0 Prevent NullPointerException in AbstractState.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 371
diff changeset
324
371
831d317547eb Added methods to extract the default value for a min and max item.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 370
diff changeset
325 2012-01-30 Ingo Weinzierl <ingo@intevation.de>
831d317547eb Added methods to extract the default value for a min and max item.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 370
diff changeset
326
831d317547eb Added methods to extract the default value for a min and max item.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 370
diff changeset
327 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
831d317547eb Added methods to extract the default value for a min and max item.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 370
diff changeset
328 Added methods to extract the default value for a min and max item.
831d317547eb Added methods to extract the default value for a min and max item.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 370
diff changeset
329
370
203bd78def81 Improved ClientProtocolUtils to extract min and max values for items with two new functions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 369
diff changeset
330 2012-01-18 Ingo Weinzierl <ingo@intevation.de>
203bd78def81 Improved ClientProtocolUtils to extract min and max values for items with two new functions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 369
diff changeset
331
203bd78def81 Improved ClientProtocolUtils to extract min and max values for items with two new functions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 369
diff changeset
332 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
203bd78def81 Improved ClientProtocolUtils to extract min and max values for items with two new functions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 369
diff changeset
333 Added methods to retrieve the min and max values of a data item.
203bd78def81 Improved ClientProtocolUtils to extract min and max values for items with two new functions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 369
diff changeset
334
369
c489256a188b Replaced legacy java.util.Stack with java.util.Deque.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 368
diff changeset
335 2012-01-16 Sascha L. Teichmann <sascha.teichmann@intevation.de>
c489256a188b Replaced legacy java.util.Stack with java.util.Deque.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 368
diff changeset
336
c489256a188b Replaced legacy java.util.Stack with java.util.Deque.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 368
diff changeset
337 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/FileTools.java:
c489256a188b Replaced legacy java.util.Stack with java.util.Deque.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 368
diff changeset
338 Replaced legacy java.util.Stack with java.util.Deque.
c489256a188b Replaced legacy java.util.Stack with java.util.Deque.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 368
diff changeset
339
368
8e18697d99fb Added accidentally omitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 366
diff changeset
340 2012-01-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
8e18697d99fb Added accidentally omitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 366
diff changeset
341
8e18697d99fb Added accidentally omitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 366
diff changeset
342 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java,
8e18697d99fb Added accidentally omitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 366
diff changeset
343 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java,
8e18697d99fb Added accidentally omitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 366
diff changeset
344 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java,
8e18697d99fb Added accidentally omitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 366
diff changeset
345 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollectionFactory.java,
8e18697d99fb Added accidentally omitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 366
diff changeset
346 artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java,
8e18697d99fb Added accidentally omitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 366
diff changeset
347 artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
8e18697d99fb Added accidentally omitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 366
diff changeset
348 Cosmetics.
8e18697d99fb Added accidentally omitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 366
diff changeset
349
366
1f51f3c46efe AbstractCallContext: Instance vars are now Maps instead of Hashmaps.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 365
diff changeset
350 2012-01-11 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1f51f3c46efe AbstractCallContext: Instance vars are now Maps instead of Hashmaps.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 365
diff changeset
351
1f51f3c46efe AbstractCallContext: Instance vars are now Maps instead of Hashmaps.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 365
diff changeset
352 * artifact-database/src/main/java/de/intevation/artifactdatabase/AbstractCallContext.java:
1f51f3c46efe AbstractCallContext: Instance vars are now Maps instead of Hashmaps.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 365
diff changeset
353 Instance vars customValues and dataProviders are now of type Map
1f51f3c46efe AbstractCallContext: Instance vars are now Maps instead of Hashmaps.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 365
diff changeset
354 and not HashMap.
1f51f3c46efe AbstractCallContext: Instance vars are now Maps instead of Hashmaps.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 365
diff changeset
355
365
81ae7948bff0 Added the owner Artifact as parameter to State.initialize().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 364
diff changeset
356 2012-01-09 Ingo Weinzierl <ingo@intevation.de>
81ae7948bff0 Added the owner Artifact as parameter to State.initialize().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 364
diff changeset
357
81ae7948bff0 Added the owner Artifact as parameter to State.initialize().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 364
diff changeset
358 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java,
81ae7948bff0 Added the owner Artifact as parameter to State.initialize().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 364
diff changeset
359 artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
81ae7948bff0 Added the owner Artifact as parameter to State.initialize().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 364
diff changeset
360 Added the owner Artifact as further parameter to initialize().
81ae7948bff0 Added the owner Artifact as parameter to State.initialize().
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 364
diff changeset
361
364
0723859f776f Added new FileTools functions to copy files and directories.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 363
diff changeset
362 2012-01-09 Ingo Weinzierl <ingo@intevation.de>
0723859f776f Added new FileTools functions to copy files and directories.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 363
diff changeset
363
0723859f776f Added new FileTools functions to copy files and directories.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 363
diff changeset
364 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/FileTools.java:
0723859f776f Added new FileTools functions to copy files and directories.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 363
diff changeset
365 Added new functions to copy files (copyFile()) and to copy directories
0723859f776f Added new FileTools functions to copy files and directories.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 363
diff changeset
366 (copyDirectory()).
0723859f776f Added new FileTools functions to copy files and directories.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 363
diff changeset
367
363
4d3298295a64 Enhanced the State interface with a new method initialize() which might be used to initialize the State based on a model Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 362
diff changeset
368 2012-01-09 Ingo Weinzierl <ingo@intevation.de>
4d3298295a64 Enhanced the State interface with a new method initialize() which might be used to initialize the State based on a model Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 362
diff changeset
369
4d3298295a64 Enhanced the State interface with a new method initialize() which might be used to initialize the State based on a model Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 362
diff changeset
370 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java,
4d3298295a64 Enhanced the State interface with a new method initialize() which might be used to initialize the State based on a model Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 362
diff changeset
371 artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
4d3298295a64 Enhanced the State interface with a new method initialize() which might be used to initialize the State based on a model Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 362
diff changeset
372 Added an initialize() method which might be used to initialize the State
4d3298295a64 Enhanced the State interface with a new method initialize() which might be used to initialize the State based on a model Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 362
diff changeset
373 based on model Artifact.
4d3298295a64 Enhanced the State interface with a new method initialize() which might be used to initialize the State based on a model Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 362
diff changeset
374
362
5b6ba54d488a Never return null from a function which is documented to do so.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 361
diff changeset
375 2011-12-16 Felix Wolfsteller <felix.wolfsteller@intevation.de>
5b6ba54d488a Never return null from a function which is documented to do so.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 361
diff changeset
376
5b6ba54d488a Never return null from a function which is documented to do so.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 361
diff changeset
377 * artifact-database/src/main/java/de/intevation/artifactdatabase/AbstractCallContext.java:
5b6ba54d488a Never return null from a function which is documented to do so.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 361
diff changeset
378 (getDataProvider): Never return null.
5b6ba54d488a Never return null from a function which is documented to do so.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 361
diff changeset
379
361
b47d0464f0db Extended the Output interface and its default implementation with a method to replace an existing list of Facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 360
diff changeset
380 2011-12-16 Ingo Weinzierl <ingo@intevation.de>
b47d0464f0db Extended the Output interface and its default implementation with a method to replace an existing list of Facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 360
diff changeset
381
b47d0464f0db Extended the Output interface and its default implementation with a method to replace an existing list of Facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 360
diff changeset
382 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Output.java,
b47d0464f0db Extended the Output interface and its default implementation with a method to replace an existing list of Facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 360
diff changeset
383 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java:
b47d0464f0db Extended the Output interface and its default implementation with a method to replace an existing list of Facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 360
diff changeset
384 Added a new method setFacets(List<Facet>) to replace an existing list of
b47d0464f0db Extended the Output interface and its default implementation with a method to replace an existing list of Facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 360
diff changeset
385 Facets.
b47d0464f0db Extended the Output interface and its default implementation with a method to replace an existing list of Facets.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 360
diff changeset
386
360
c065a1a90ba0 Modified the Attribute interface and added a default implementation of Attribute.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 359
diff changeset
387 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
c065a1a90ba0 Modified the Attribute interface and added a default implementation of Attribute.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 359
diff changeset
388
c065a1a90ba0 Modified the Attribute interface and added a default implementation of Attribute.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 359
diff changeset
389 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Attribute.java:
c065a1a90ba0 Modified the Attribute interface and added a default implementation of Attribute.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 359
diff changeset
390 Added a setValue(Object) method and modified the signature of toXML()
c065a1a90ba0 Modified the Attribute interface and added a default implementation of Attribute.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 359
diff changeset
391 which now returns a Node.
c065a1a90ba0 Modified the Attribute interface and added a default implementation of Attribute.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 359
diff changeset
392
c065a1a90ba0 Modified the Attribute interface and added a default implementation of Attribute.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 359
diff changeset
393 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultAttribute.java:
c065a1a90ba0 Modified the Attribute interface and added a default implementation of Attribute.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 359
diff changeset
394 New. A default implementation of Attribute.
c065a1a90ba0 Modified the Attribute interface and added a default implementation of Attribute.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 359
diff changeset
395
359
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
396 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
397
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
398 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Settings.java:
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
399 Added a removeSection(Section) method.
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
400
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
401 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Section.java:
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
402 Improved the interface to allow section having subsections. Therefore,
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
403 addSubsection(Section), getSubsectionCount() and getSubsection(int) have
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
404 been added. In addition, a getId() method has been added which is used
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
405 in toXML() to create a new DOM Node. The Node name is the result of
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
406 getId().
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
407
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
408 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultSettings.java,
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
409 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultSection.java:
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
410 Default implementations for Settings and Section.
f93edbfcf2bc Improved the Settings and Section interfaces and added default implementations for both.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 358
diff changeset
411
358
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
412 2011-12-14 Ingo Weinzierl <ingo@intevation.de>
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
413
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
414 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Settings.java:
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
415 An interface that describes a flat API for specifying settings for
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
416 something. A Settings object can store one or more Section instances and
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
417 defines a toXML() operation that should append a XML representation of
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
418 itself to a given parent Node.
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
419
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
420 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Section.java:
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
421 This interface is used to describe an API for storing and retrieving
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
422 Attribute objects. Just as the Settings interface, it defines a toXML()
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
423 operation that should append a XML representation of itself to a given
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
424 parent Node.
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
425
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
426 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Attribute.java:
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
427 The interface for concrete attributes in a Section instance. An Attribute
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
428 is the placed on the lowest level of the Settings hierachy and should be
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
429 used to save concrete key value pairs. Even the Attribute defines the
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
430 toXML() operation described above.
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
431
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
432 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Output.java:
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
433 Added a getSettings() and setSettings(Settings) operation.
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
434
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
435 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java:
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
436 A DefaultOutput is now able to store a Settings instance. It implements
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
437 getSettings() and setSettings(Settings) defined in the Output interface.
03a8f9796571 Added interfaces for a Settings hierachy currently used for Outputs.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 357
diff changeset
438
357
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
439 2011-12-09 Felix Wolfsteller <felix.wolfsteller@intevation.de>
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
440
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
441 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java,
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
442 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java:
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
443 (getDataProviderKeys): Added parameter artifact.
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
444
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
445 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/ArtifactAndFacet.java:
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
446 Pass artifact to changed getDataProviderKeys of Facet.
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
447
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
448 * artifact-database/src/main/java/de/intevation/artifactdatabase/AbstractCallContext.java:
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
449 (getDataProvider): Never return null, empty list instead.
1d11a0531242 Added artifact parameter to facets getDataProviderKeys.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 356
diff changeset
450
356
079ab7c971a4 Implemented getFacetDescription in ArtifactAndFacet.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 355
diff changeset
451 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
079ab7c971a4 Implemented getFacetDescription in ArtifactAndFacet.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 355
diff changeset
452
079ab7c971a4 Implemented getFacetDescription in ArtifactAndFacet.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 355
diff changeset
453 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/ArtifactAndFacet.java
079ab7c971a4 Implemented getFacetDescription in ArtifactAndFacet.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 355
diff changeset
454 (getFacetDescription): New, access facets description.
079ab7c971a4 Implemented getFacetDescription in ArtifactAndFacet.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 355
diff changeset
455
355
6bd37edd9a80 Added handy implementation of a DataProvider.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 354
diff changeset
456 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
6bd37edd9a80 Added handy implementation of a DataProvider.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 354
diff changeset
457
6bd37edd9a80 Added handy implementation of a DataProvider.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 354
diff changeset
458 Added convenienve bundle of artifact and facet that implements
6bd37edd9a80 Added handy implementation of a DataProvider.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 354
diff changeset
459 DataProvider. This will help keeping things together in the upcoming
6bd37edd9a80 Added handy implementation of a DataProvider.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 354
diff changeset
460 inter-facet pre-rendering communication ('blackboard') phase.
6bd37edd9a80 Added handy implementation of a DataProvider.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 354
diff changeset
461
6bd37edd9a80 Added handy implementation of a DataProvider.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 354
diff changeset
462 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/ArtifactAndFacet.java:
6bd37edd9a80 Added handy implementation of a DataProvider.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 354
diff changeset
463 New class, keeping together an artifact and a facet (thus, should
6bd37edd9a80 Added handy implementation of a DataProvider.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 354
diff changeset
464 only have a short live span). Only implementation of the new
6bd37edd9a80 Added handy implementation of a DataProvider.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 354
diff changeset
465 DataProvider interface.
6bd37edd9a80 Added handy implementation of a DataProvider.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 354
diff changeset
466
354
c83519249fea Added accidentally ommitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 352
diff changeset
467 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
c83519249fea Added accidentally ommitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 352
diff changeset
468
c83519249fea Added accidentally ommitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 352
diff changeset
469 Extended CallContext to also act as a blackboard/service broker.
c83519249fea Added accidentally ommitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 352
diff changeset
470
c83519249fea Added accidentally ommitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 352
diff changeset
471 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java
c83519249fea Added accidentally ommitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 352
diff changeset
472 (getDataProvider,registerDataProvider): New functions to register/
c83519249fea Added accidentally ommitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 352
diff changeset
473 consume data providers.
c83519249fea Added accidentally ommitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 352
diff changeset
474
c83519249fea Added accidentally ommitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 352
diff changeset
475 * artifact-database/src/main/java/de/intevation/artifactdatabase/AbstractCallContext.java
c83519249fea Added accidentally ommitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 352
diff changeset
476 (getDataProvider,registerDataProvider): Implemented.
c83519249fea Added accidentally ommitted ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 352
diff changeset
477
352
9c8d91708d28 Added DataProvider interface (interface for inter-facet communication).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 351
diff changeset
478 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
9c8d91708d28 Added DataProvider interface (interface for inter-facet communication).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 351
diff changeset
479
9c8d91708d28 Added DataProvider interface (interface for inter-facet communication).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 351
diff changeset
480 Added DataProvider interface that defines api for inter-facet
9c8d91708d28 Added DataProvider interface (interface for inter-facet communication).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 351
diff changeset
481 communication.
9c8d91708d28 Added DataProvider interface (interface for inter-facet communication).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 351
diff changeset
482
9c8d91708d28 Added DataProvider interface (interface for inter-facet communication).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 351
diff changeset
483 * artifacts/src/main/java/de/intevation/artifacts/DataProvider.java:
9c8d91708d28 Added DataProvider interface (interface for inter-facet communication).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 351
diff changeset
484 New interface to prepare inter-facet pre-rendering communication
9c8d91708d28 Added DataProvider interface (interface for inter-facet communication).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 351
diff changeset
485 phase ('blackboard').
9c8d91708d28 Added DataProvider interface (interface for inter-facet communication).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 351
diff changeset
486
351
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
487 2011-11-30 Felix Wolfsteller <felix.wolfsteller@intevation.de>
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
488
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
489 Prepare inter-facet pre-rendering communication ('blackboard') phase.
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
490
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
491 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
492 (getDataProviderKeys,provideBlackboardData): Extended interface to
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
493 allow easy integration of blackboard mechanism (inter-facet
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
494 pre-rendering communication).
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
495
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
496 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
497 (getDataProviderKeys,provideBlackboardData): Trivial implementation.
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
498 The DefaultFacet will not talk to other facets during inter-facet
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
499 pre-rendering ("blackboard") phase. Cosmetics, docs.
eb1136134d09 Prepare inter-facet pre-rendering communication ('blackboard') phase.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 350
diff changeset
500
350
ab743e750ac6 Changed namespace awareness in XML parsing to use no auto-boxing. Fixed a stranged compilation bug with OpenJDK.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 349
diff changeset
501 2011-11-21 Ingo Weinzierl <ingo@intevation.de>
ab743e750ac6 Changed namespace awareness in XML parsing to use no auto-boxing. Fixed a stranged compilation bug with OpenJDK.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 349
diff changeset
502
ab743e750ac6 Changed namespace awareness in XML parsing to use no auto-boxing. Fixed a stranged compilation bug with OpenJDK.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 349
diff changeset
503 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
ab743e750ac6 Changed namespace awareness in XML parsing to use no auto-boxing. Fixed a stranged compilation bug with OpenJDK.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 349
diff changeset
504 Changed Ingo's last commit to a more conservative notation (no auto-boxing).
ab743e750ac6 Changed namespace awareness in XML parsing to use no auto-boxing. Fixed a stranged compilation bug with OpenJDK.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 349
diff changeset
505 Strangely the flys-client does not compile for me with the auto-boxed
ab743e750ac6 Changed namespace awareness in XML parsing to use no auto-boxing. Fixed a stranged compilation bug with OpenJDK.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 349
diff changeset
506 syntax with OpenJDK!
ab743e750ac6 Changed namespace awareness in XML parsing to use no auto-boxing. Fixed a stranged compilation bug with OpenJDK.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 349
diff changeset
507
349
b3eb029e07dd Added a method that allows to specify if a document needs to be namespace aware while parsing from InputStream.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 348
diff changeset
508 2011-11-21 Ingo Weinzierl <ingo@intevation.de>
b3eb029e07dd Added a method that allows to specify if a document needs to be namespace aware while parsing from InputStream.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 348
diff changeset
509
b3eb029e07dd Added a method that allows to specify if a document needs to be namespace aware while parsing from InputStream.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 348
diff changeset
510 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
b3eb029e07dd Added a method that allows to specify if a document needs to be namespace aware while parsing from InputStream.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 348
diff changeset
511 Added a method that allows to specify if the document needs to be
b3eb029e07dd Added a method that allows to specify if a document needs to be namespace aware while parsing from InputStream.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 348
diff changeset
512 namespace aware or not while parsing from InputStream.
b3eb029e07dd Added a method that allows to specify if a document needs to be namespace aware while parsing from InputStream.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 348
diff changeset
513
348
f2277458823e Enabled 'post-describe' hooks for Artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 347
diff changeset
514 2011-11-07 Ingo Weinzierl <ingo@intevation.de>
f2277458823e Enabled 'post-describe' hooks for Artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 347
diff changeset
515
f2277458823e Enabled 'post-describe' hooks for Artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 347
diff changeset
516 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
f2277458823e Enabled 'post-describe' hooks for Artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 347
diff changeset
517 artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
f2277458823e Enabled 'post-describe' hooks for Artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 347
diff changeset
518 Enabled "post-describe" hooks for the Artifact's describe operation.
f2277458823e Enabled 'post-describe' hooks for Artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 347
diff changeset
519
347
16ab243507e0 Let StateEngine compute compatibility matrix based on a list of states.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 346
diff changeset
520 2011-10-28 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16ab243507e0 Let StateEngine compute compatibility matrix based on a list of states.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 346
diff changeset
521
16ab243507e0 Let StateEngine compute compatibility matrix based on a list of states.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 346
diff changeset
522 Let StateEngine compute a compatibiliy matrix based on given State
16ab243507e0 Let StateEngine compute compatibility matrix based on a list of states.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 346
diff changeset
523 IDs.
16ab243507e0 Let StateEngine compute compatibility matrix based on a list of states.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 346
diff changeset
524
16ab243507e0 Let StateEngine compute compatibility matrix based on a list of states.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 346
diff changeset
525 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java
16ab243507e0 Let StateEngine compute compatibility matrix based on a list of states.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 346
diff changeset
526 (getCompatibleFacets): New. Compute output/facet compatibility
16ab243507e0 Let StateEngine compute compatibility matrix based on a list of states.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 346
diff changeset
527 matrix based on given states.
16ab243507e0 Let StateEngine compute compatibility matrix based on a list of states.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 346
diff changeset
528
346
2d525562fae9 Bugfix: added missing bracket to a H2 sql statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 345
diff changeset
529 2011-10-21 Ingo Weinzierl <ingo@intevation.de>
2d525562fae9 Bugfix: added missing bracket to a H2 sql statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 345
diff changeset
530
2d525562fae9 Bugfix: added missing bracket to a H2 sql statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 345
diff changeset
531 * artifact-database/src/main/resources/sql/org-h2-driver.properties:
2d525562fae9 Bugfix: added missing bracket to a H2 sql statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 345
diff changeset
532 Bugfix: added missing bracket to an sql statement.
2d525562fae9 Bugfix: added missing bracket to a H2 sql statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 345
diff changeset
533
345
7514fe89efef Backend.getMasterArtifact: Limit result to one row.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 344
diff changeset
534 2011-10-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7514fe89efef Backend.getMasterArtifact: Limit result to one row.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 344
diff changeset
535
7514fe89efef Backend.getMasterArtifact: Limit result to one row.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 344
diff changeset
536 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java(getMasterArtifact):
7514fe89efef Backend.getMasterArtifact: Limit result to one row.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 344
diff changeset
537 Limit result set to one row.
7514fe89efef Backend.getMasterArtifact: Limit result to one row.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 344
diff changeset
538
344
be883e843539 Fix accidental corruption of key for sql statement.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 343
diff changeset
539 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
be883e843539 Fix accidental corruption of key for sql statement.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 343
diff changeset
540
be883e843539 Fix accidental corruption of key for sql statement.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 343
diff changeset
541 Fix accidentally corruptd key to sql statement.
be883e843539 Fix accidental corruption of key for sql statement.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 343
diff changeset
542
be883e843539 Fix accidental corruption of key for sql statement.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 343
diff changeset
543 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
be883e843539 Fix accidental corruption of key for sql statement.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 343
diff changeset
544 Fix key.
be883e843539 Fix accidental corruption of key for sql statement.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 343
diff changeset
545
343
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
546 2011-10-19 Felix Wolfsteller <felix.wolfsteller@intevation.de>
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
547
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
548 Add backend and db functionality query artifact which is belongs to
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
549 a collection the longest (not neccessary the longest artifact itself).
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
550
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
551 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
552 (getCollectionsMasterArtifact): New. Access master artifact for
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
553 given collection (masterartifact defined as artifact which belongs
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
554 to the collection the longest).
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
555
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
556 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
557 (getCollectionsMasterArtifact): New (extended interface).
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
558
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
559 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
560 (getMasterArtifact): New, get UUID of oldest artifact which belongs to
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
561 collection the longest.
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
562
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
563 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
564 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
565 Added SQL query to get list of artifacts in collection sorted by the
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
566 entry date.
542caebea773 Add functionality to get 'oldest' artifact of a collection.'
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 342
diff changeset
567
342
9a85e0ef6e02 StringUtils: Added static method to convert an array of string to their uppercase counterparts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 341
diff changeset
568 2011-10-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
9a85e0ef6e02 StringUtils: Added static method to convert an array of string to their uppercase counterparts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 341
diff changeset
569
9a85e0ef6e02 StringUtils: Added static method to convert an array of string to their uppercase counterparts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 341
diff changeset
570 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/StringUtils.java(toUpperCase):
9a85e0ef6e02 StringUtils: Added static method to convert an array of string to their uppercase counterparts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 341
diff changeset
571 Added static method to convert an array of string to their uppercase counterparts.
9a85e0ef6e02 StringUtils: Added static method to convert an array of string to their uppercase counterparts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 341
diff changeset
572
341
e0efa2c28d19 Helper function to create a document to remove an artifact from an collection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 340
diff changeset
573 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
e0efa2c28d19 Helper function to create a document to remove an artifact from an collection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 340
diff changeset
574
e0efa2c28d19 Helper function to create a document to remove an artifact from an collection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 340
diff changeset
575 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
e0efa2c28d19 Helper function to create a document to remove an artifact from an collection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 340
diff changeset
576 (newRemoveArtifactDocument): New, create a "remove artifact" document.
e0efa2c28d19 Helper function to create a document to remove an artifact from an collection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 340
diff changeset
577 Cosmetics, docs.
e0efa2c28d19 Helper function to create a document to remove an artifact from an collection.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 340
diff changeset
578
340
560d2e6eaf9c Fix SQL typo.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 339
diff changeset
579 2011-10-13 Felix Wolfsteller <felix.wolfsteller@intevation.de>
560d2e6eaf9c Fix SQL typo.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 339
diff changeset
580
560d2e6eaf9c Fix SQL typo.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 339
diff changeset
581 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
560d2e6eaf9c Fix SQL typo.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 339
diff changeset
582 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
560d2e6eaf9c Fix SQL typo.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 339
diff changeset
583 Fix SQL typo.
560d2e6eaf9c Fix SQL typo.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 339
diff changeset
584
339
f6beb4ffcf23 Added accidentally ommitted ChangeLog entry for last commit (cosmetics).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 337
diff changeset
585 2011-10-10 Felix Wolfsteller <felix.wolfsteller@intevation.de>
f6beb4ffcf23 Added accidentally ommitted ChangeLog entry for last commit (cosmetics).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 337
diff changeset
586
f6beb4ffcf23 Added accidentally ommitted ChangeLog entry for last commit (cosmetics).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 337
diff changeset
587 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java:
f6beb4ffcf23 Added accidentally ommitted ChangeLog entry for last commit (cosmetics).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 337
diff changeset
588 Cosmetics, (shortened jdoc comments).
f6beb4ffcf23 Added accidentally ommitted ChangeLog entry for last commit (cosmetics).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 337
diff changeset
589
f6beb4ffcf23 Added accidentally ommitted ChangeLog entry for last commit (cosmetics).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 337
diff changeset
590 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
f6beb4ffcf23 Added accidentally ommitted ChangeLog entry for last commit (cosmetics).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 337
diff changeset
591 Cosmetics, (shortened jdoc comments). Also, removed
f6beb4ffcf23 Added accidentally ommitted ChangeLog entry for last commit (cosmetics).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 337
diff changeset
592 toString(Element), instead fixed toString(Node) - Node is
f6beb4ffcf23 Added accidentally ommitted ChangeLog entry for last commit (cosmetics).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 337
diff changeset
593 superinterface of Element.
f6beb4ffcf23 Added accidentally ommitted ChangeLog entry for last commit (cosmetics).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 337
diff changeset
594
337
6d239c58c636 Fixed flys/issue255
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 336
diff changeset
595 2011-10-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
6d239c58c636 Fixed flys/issue255
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 336
diff changeset
596
6d239c58c636 Fixed flys/issue255
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 336
diff changeset
597 Fixed flys/issue255
6d239c58c636 Fixed flys/issue255
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 336
diff changeset
598
6d239c58c636 Fixed flys/issue255
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 336
diff changeset
599 * artifact-database/src/main/java/de/intevation/artifactdatabase/db/DBConnection.java(getDataSource()):
6d239c58c636 Fixed flys/issue255
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 336
diff changeset
600 Serialized the loading of database drivers.
6d239c58c636 Fixed flys/issue255
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 336
diff changeset
601
336
2c968defd878 Fix debug helper toString(Node).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 335
diff changeset
602 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2c968defd878 Fix debug helper toString(Node).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 335
diff changeset
603
2c968defd878 Fix debug helper toString(Node).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 335
diff changeset
604 Fix debug helper toString(Node).
2c968defd878 Fix debug helper toString(Node).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 335
diff changeset
605
2c968defd878 Fix debug helper toString(Node).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 335
diff changeset
606 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
2c968defd878 Fix debug helper toString(Node).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 335
diff changeset
607 (toString(Node)): Fix issue with node from "wrong" document.
2c968defd878 Fix debug helper toString(Node).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 335
diff changeset
608
335
e7d3f74854fb Added XMLUtils functions helping to debug parts of xml documents.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 334
diff changeset
609 2011-09-23 Felix Wolfsteller <felix.wolfsteller@intevation.de>
e7d3f74854fb Added XMLUtils functions helping to debug parts of xml documents.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 334
diff changeset
610
e7d3f74854fb Added XMLUtils functions helping to debug parts of xml documents.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 334
diff changeset
611 Added XMLUtils functions helping to debug parts of xml documents.
e7d3f74854fb Added XMLUtils functions helping to debug parts of xml documents.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 334
diff changeset
612
e7d3f74854fb Added XMLUtils functions helping to debug parts of xml documents.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 334
diff changeset
613 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
e7d3f74854fb Added XMLUtils functions helping to debug parts of xml documents.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 334
diff changeset
614 (toString(Node), toString(Element): New functions returning
e7d3f74854fb Added XMLUtils functions helping to debug parts of xml documents.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 334
diff changeset
615 xml/string representations of parts of documents.
e7d3f74854fb Added XMLUtils functions helping to debug parts of xml documents.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 334
diff changeset
616
334
eb8dbfa7125d Removed superfluous CollectionCallContext creation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 333
diff changeset
617 2011-09-22 Ingo Weinzierl <ingo@intevation.de>
eb8dbfa7125d Removed superfluous CollectionCallContext creation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 333
diff changeset
618
eb8dbfa7125d Removed superfluous CollectionCallContext creation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 333
diff changeset
619 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
eb8dbfa7125d Removed superfluous CollectionCallContext creation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 333
diff changeset
620 Removed useless CollectionCallContext creation (was never used).
eb8dbfa7125d Removed superfluous CollectionCallContext creation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 333
diff changeset
621
333
4f21bb238062 Tagged RELEASE 1.4 of artifacts system.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
622 2011-09-19 Ingo Weinzierl <ingo@intevation.de>
4f21bb238062 Tagged RELEASE 1.4 of artifacts system.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
623
4f21bb238062 Tagged RELEASE 1.4 of artifacts system.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
624 Tagged RELEASE 1.4
4f21bb238062 Tagged RELEASE 1.4 of artifacts system.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
625
4f21bb238062 Tagged RELEASE 1.4 of artifacts system.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
626 * Changes: Prepared changes for the release.
4f21bb238062 Tagged RELEASE 1.4 of artifacts system.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 331
diff changeset
627
331
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
628 2011-09-09 Ingo Weinzierl <ingo@intevation.de>
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
629
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
630 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
631 Artifacts and Collections that started a background process might add
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
632 Messages to a message board now. They (currently just implemented for
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
633 the Artifact) can add new messages and receive a list of messages via
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
634 the CallContext objects. If an Artifact or Collection instance is
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
635 removed from background, all its messages are removed as well.
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
636
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
637 * artifacts/src/main/java/de/intevation/artifacts/Message.java: New. The
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
638 message interface. Currently, there is just a single getText() method
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
639 defined.
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
640
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
641 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java: Got
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
642 two new methods to add new messages and retrieve a list of messages to
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
643 the background messages.
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
644
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
645 * artifact-database/src/main/java/de/intevation/artifactdatabase/CollectionCallContext.java,
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
646 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactCallContext.java:
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
647 Implement the new methods to add/get messages defined in CallContext.
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
648 The CollectionCallContext just defines the two methods without real
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
649 implementation (stub).
089c6f7794b5 Integrated a messaging system for Artifacts and Collections that started background threads.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 330
diff changeset
650
330
3168af23aec5 Added a CallContext.isInBackground() method to determine if an Artifact or a Collection has started a background thread and is currently locked.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 329
diff changeset
651 2011-09-07 Ingo Weinzierl <ingo@intevation.de>
3168af23aec5 Added a CallContext.isInBackground() method to determine if an Artifact or a Collection has started a background thread and is currently locked.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 329
diff changeset
652
3168af23aec5 Added a CallContext.isInBackground() method to determine if an Artifact or a Collection has started a background thread and is currently locked.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 329
diff changeset
653 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java,
3168af23aec5 Added a CallContext.isInBackground() method to determine if an Artifact or a Collection has started a background thread and is currently locked.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 329
diff changeset
654 artifact-database/src/main/java/de/intevation/artifactdatabase/CollectionCallContext.java,
3168af23aec5 Added a CallContext.isInBackground() method to determine if an Artifact or a Collection has started a background thread and is currently locked.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 329
diff changeset
655 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactCallContext.java:
3168af23aec5 Added a CallContext.isInBackground() method to determine if an Artifact or a Collection has started a background thread and is currently locked.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 329
diff changeset
656 The CallContext got a new method isInBackground() that determines, if
3168af23aec5 Added a CallContext.isInBackground() method to determine if an Artifact or a Collection has started a background thread and is currently locked.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 329
diff changeset
657 the Artifact or Collection (currently not implemented) has started a
3168af23aec5 Added a CallContext.isInBackground() method to determine if an Artifact or a Collection has started a background thread and is currently locked.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 329
diff changeset
658 background thread and is locked.
3168af23aec5 Added a CallContext.isInBackground() method to determine if an Artifact or a Collection has started a background thread and is currently locked.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 329
diff changeset
659
329
666417d5781c Inserted a new utility class FileTools to work with files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 328
diff changeset
660 2011-08-25 Ingo Weinzierl <ingo@intevation.de>
666417d5781c Inserted a new utility class FileTools to work with files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 328
diff changeset
661
666417d5781c Inserted a new utility class FileTools to work with files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 328
diff changeset
662 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/FileTools.java:
666417d5781c Inserted a new utility class FileTools to work with files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 328
diff changeset
663 New. A utility class for working with Files.
666417d5781c Inserted a new utility class FileTools to work with files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 328
diff changeset
664
328
1eb7863136f4 ArtifactDatabase: Called context listeners too early.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 327
diff changeset
665 2011-08-25 Sascha L. Teichmann <teichmann@intevation.de>
1eb7863136f4 ArtifactDatabase: Called context listeners too early.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 327
diff changeset
666
1eb7863136f4 ArtifactDatabase: Called context listeners too early.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 327
diff changeset
667 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java
1eb7863136f4 ArtifactDatabase: Called context listeners too early.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 327
diff changeset
668 (outCollection): Called context listener too early before deferred out. This
1eb7863136f4 ArtifactDatabase: Called context listeners too early.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 327
diff changeset
669 led to broken DB sessions.
1eb7863136f4 ArtifactDatabase: Called context listeners too early.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 327
diff changeset
670
327
8a3ddd374dd1 Enhanced the State interface with an endOfLife() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 326
diff changeset
671 2011-08-25 Ingo Weinzierl <ingo@intevation.de>
8a3ddd374dd1 Enhanced the State interface with an endOfLife() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 326
diff changeset
672
8a3ddd374dd1 Enhanced the State interface with an endOfLife() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 326
diff changeset
673 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java,
8a3ddd374dd1 Enhanced the State interface with an endOfLife() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 326
diff changeset
674 artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
8a3ddd374dd1 Enhanced the State interface with an endOfLife() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 326
diff changeset
675 Enhanced the State interface with a endOfLife() method; the default
8a3ddd374dd1 Enhanced the State interface with an endOfLife() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 326
diff changeset
676 implementation in AbstractState is empty.
8a3ddd374dd1 Enhanced the State interface with an endOfLife() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 326
diff changeset
677
326
3447fa62f007 Minor cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 325
diff changeset
678 2011-08-25 Felix Wolfsteller <felix.wolfsteller@intevation.de>
3447fa62f007 Minor cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 325
diff changeset
679
3447fa62f007 Minor cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 325
diff changeset
680 Minor cosmetics.
3447fa62f007 Minor cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 325
diff changeset
681
3447fa62f007 Minor cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 325
diff changeset
682 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java:
3447fa62f007 Minor cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 325
diff changeset
683 Corrected signature in link in comment, whitespace.
3447fa62f007 Minor cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 325
diff changeset
684
3447fa62f007 Minor cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 325
diff changeset
685 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java:
3447fa62f007 Minor cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 325
diff changeset
686 Punctuation, whitespace in comment.
3447fa62f007 Minor cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 325
diff changeset
687
325
4022ea69d1cb Write filters to create document if they are given.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 324
diff changeset
688 2011-08-24 Sascha L. Teichmann <teichmann@intevation.de>
4022ea69d1cb Write filters to create document if they are given.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 324
diff changeset
689
4022ea69d1cb Write filters to create document if they are given.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 324
diff changeset
690 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
4022ea69d1cb Write filters to create document if they are given.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 324
diff changeset
691 Write filters to create document if they are given.
4022ea69d1cb Write filters to create document if they are given.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 324
diff changeset
692
4022ea69d1cb Write filters to create document if they are given.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 324
diff changeset
693 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/CreationFilter.java:
4022ea69d1cb Write filters to create document if they are given.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 324
diff changeset
694 New. Model for the creation filter.
4022ea69d1cb Write filters to create document if they are given.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 324
diff changeset
695
324
ee6e1b2f137a Renamed an XML attribute in the code to create document for new Artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 323
diff changeset
696 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
ee6e1b2f137a Renamed an XML attribute in the code to create document for new Artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 323
diff changeset
697
ee6e1b2f137a Renamed an XML attribute in the code to create document for new Artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 323
diff changeset
698 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
ee6e1b2f137a Renamed an XML attribute in the code to create document for new Artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 323
diff changeset
699 Renamed an attribute in the document to create new Artifacts.
ee6e1b2f137a Renamed an XML attribute in the code to create document for new Artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 323
diff changeset
700
323
1d3607ceb9fa Improved the XMLUtils to support xpath expressions that contain variables.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 322
diff changeset
701 2011-08-24 Ingo Weinzierl <ingo@intevation.de>
1d3607ceb9fa Improved the XMLUtils to support xpath expressions that contain variables.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 322
diff changeset
702
1d3607ceb9fa Improved the XMLUtils to support xpath expressions that contain variables.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 322
diff changeset
703 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/MapXPathVariableResolver.java:
1d3607ceb9fa Improved the XMLUtils to support xpath expressions that contain variables.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 322
diff changeset
704 New. An XPathVariableResolver instance that stores its variables in a
1d3607ceb9fa Improved the XMLUtils to support xpath expressions that contain variables.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 322
diff changeset
705 Map.
1d3607ceb9fa Improved the XMLUtils to support xpath expressions that contain variables.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 322
diff changeset
706
1d3607ceb9fa Improved the XMLUtils to support xpath expressions that contain variables.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 322
diff changeset
707 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
1d3607ceb9fa Improved the XMLUtils to support xpath expressions that contain variables.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 322
diff changeset
708 Added support for variables in xpath expressions. There is a new xpath()
1d3607ceb9fa Improved the XMLUtils to support xpath expressions that contain variables.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 322
diff changeset
709 method that takes a Map<String,String> that stores the required
1d3607ceb9fa Improved the XMLUtils to support xpath expressions that contain variables.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 322
diff changeset
710 variables.
1d3607ceb9fa Improved the XMLUtils to support xpath expressions that contain variables.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 322
diff changeset
711
322
93a774fe2bb4 Added deepCopy() method to facets and state data.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 321
diff changeset
712 2011-08-22 Sascha L. Teichmann <teichmann@intevation.de>
93a774fe2bb4 Added deepCopy() method to facets and state data.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 321
diff changeset
713
93a774fe2bb4 Added deepCopy() method to facets and state data.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 321
diff changeset
714 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java,
93a774fe2bb4 Added deepCopy() method to facets and state data.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 321
diff changeset
715 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java:
93a774fe2bb4 Added deepCopy() method to facets and state data.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 321
diff changeset
716 Added a deepCopy() method to make them cloneable (Not using java.lang.Cloneable for this).
93a774fe2bb4 Added deepCopy() method to facets and state data.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 321
diff changeset
717
93a774fe2bb4 Added deepCopy() method to facets and state data.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 321
diff changeset
718 * artifact-database/src/main/java/de/intevation/artifactdatabase/data/DefaultStateData.java,
93a774fe2bb4 Added deepCopy() method to facets and state data.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 321
diff changeset
719 artifact-database/src/main/java/de/intevation/artifactdatabase/data/StateData.java:
93a774fe2bb4 Added deepCopy() method to facets and state data.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 321
diff changeset
720 Implement the changed interfaces.
93a774fe2bb4 Added deepCopy() method to facets and state data.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 321
diff changeset
721
321
ce62ae504d22 Bumped PostgreSQL driver version up to same version as flys-backend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 320
diff changeset
722 2011-08-22 Sascha L. Teichmann <teichmann@intevation.de>
ce62ae504d22 Bumped PostgreSQL driver version up to same version as flys-backend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 320
diff changeset
723
ce62ae504d22 Bumped PostgreSQL driver version up to same version as flys-backend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 320
diff changeset
724 * artifact-database/pom.xml: Bumped PostgreSQL driver from
ce62ae504d22 Bumped PostgreSQL driver version up to same version as flys-backend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 320
diff changeset
725 8.3-603.jdbc4 up to 8.4-702.jdbc4 (same as flys-backend).
ce62ae504d22 Bumped PostgreSQL driver version up to same version as flys-backend
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 320
diff changeset
726
320
b46c5b13ac94 Extract the collection and artifact creation times when doing the initial, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 319
diff changeset
727 2011-08-10 Sascha L. Teichmann <teichmann@intevation.de>
b46c5b13ac94 Extract the collection and artifact creation times when doing the initial, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 319
diff changeset
728
b46c5b13ac94 Extract the collection and artifact creation times when doing the initial, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 319
diff changeset
729 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java,
b46c5b13ac94 Extract the collection and artifact creation times when doing the initial, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 319
diff changeset
730 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
b46c5b13ac94 Extract the collection and artifact creation times when doing the initial, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 319
diff changeset
731 Extract the collection and artifact creation times when doing the initial
b46c5b13ac94 Extract the collection and artifact creation times when doing the initial, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 319
diff changeset
732 scan, too.
b46c5b13ac94 Extract the collection and artifact creation times when doing the initial, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 319
diff changeset
733
b46c5b13ac94 Extract the collection and artifact creation times when doing the initial, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 319
diff changeset
734 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
b46c5b13ac94 Extract the collection and artifact creation times when doing the initial, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 319
diff changeset
735 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
b46c5b13ac94 Extract the collection and artifact creation times when doing the initial, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 319
diff changeset
736 Adjusted the SQL statements.
b46c5b13ac94 Extract the collection and artifact creation times when doing the initial, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 319
diff changeset
737
319
61017c6031b8 Fixed H2 SQL to set TTL of collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 318
diff changeset
738 2011-08-08 Sascha L. Teichmann <teichmann@intevation.de>
61017c6031b8 Fixed H2 SQL to set TTL of collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 318
diff changeset
739
61017c6031b8 Fixed H2 SQL to set TTL of collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 318
diff changeset
740 * artifact-database/src/main/resources/sql/org-h2-driver.properties:
61017c6031b8 Fixed H2 SQL to set TTL of collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 318
diff changeset
741 Fixed H2 SQL to set TTL of collection.
61017c6031b8 Fixed H2 SQL to set TTL of collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 318
diff changeset
742
318
2ed77f7e1bab Swapped SQL parameter indices when fetching collection name.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 317
diff changeset
743 2011-08-02 Sascha L. Teichmann <teichmann@intevation.de>
2ed77f7e1bab Swapped SQL parameter indices when fetching collection name.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 317
diff changeset
744
2ed77f7e1bab Swapped SQL parameter indices when fetching collection name.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 317
diff changeset
745 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
2ed77f7e1bab Swapped SQL parameter indices when fetching collection name.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 317
diff changeset
746 Swapped SQL parameter indices when fetching collection name.
2ed77f7e1bab Swapped SQL parameter indices when fetching collection name.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 317
diff changeset
747
317
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
748 2011-08-02 Sascha L. Teichmann <teichmann@intevation.de>
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
749
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
750 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
751 Change the ArtifactLoadedCallback interface to take the name of the
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
752 collection, too.
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
753
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
754 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
755 Fetches the collection name, too.
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
756
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
757 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
758 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
759 Adjusted SQL statements.
824051dff018 When loading all artifacts fetch the name of the collections, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 316
diff changeset
760
316
0ca9b1073ccf Added dummy user to fresh created collections to have it available in the backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 315
diff changeset
761 2011-08-02 Sascha L. Teichmann <teichmann@intevation.de>
0ca9b1073ccf Added dummy user to fresh created collections to have it available in the backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 315
diff changeset
762
0ca9b1073ccf Added dummy user to fresh created collections to have it available in the backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 315
diff changeset
763 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUser.java:
0ca9b1073ccf Added dummy user to fresh created collections to have it available in the backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 315
diff changeset
764 Added constructor only with the identifier of the owner.
0ca9b1073ccf Added dummy user to fresh created collections to have it available in the backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 315
diff changeset
765
0ca9b1073ccf Added dummy user to fresh created collections to have it available in the backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 315
diff changeset
766 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
0ca9b1073ccf Added dummy user to fresh created collections to have it available in the backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 315
diff changeset
767 Added dummy user to fresh created collection to have it accessible in the
0ca9b1073ccf Added dummy user to fresh created collections to have it available in the backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 315
diff changeset
768 listeners.
0ca9b1073ccf Added dummy user to fresh created collections to have it available in the backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 315
diff changeset
769
315
03e508e57b85 Generate kill events if and only if there were killed collections or artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 314
diff changeset
770 2011-08-02 Sascha L. Teichmann <teichmann@intevation.de>
03e508e57b85 Generate kill events if and only if there were killed collections or artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 314
diff changeset
771
03e508e57b85 Generate kill events if and only if there were killed collections or artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 314
diff changeset
772 * artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
03e508e57b85 Generate kill events if and only if there were killed collections or artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 314
diff changeset
773 Generate kill events if and only if there were killed collections or artifacts.
03e508e57b85 Generate kill events if and only if there were killed collections or artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 314
diff changeset
774
314
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
775 2011-08-02 Sascha L. Teichmann <teichmann@intevation.de>
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
776
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
777 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
778 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
779 Return uuid in statements used by database cleaner, too.
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
780
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
781 * artifact-database/src/main/java/de/intevation/artifactdatabase/BackendListener.java,
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
782 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultBackendListener.java:
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
783 Two new methods to reports a list of external killed collections and artifacts.
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
784
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
785 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
786 Broadcast the lists of externally killed collections and artifacts to the listeners.
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
787
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
788 * artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
789 Fire lists of deleted collections and artifacts to backend.
31ee2b3b5a57 forward list of deleted collections and artifacts from data cleaner to backend to backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 313
diff changeset
790
313
ddc35c950e97 Backend: Handle forgotten store/create event source.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 312
diff changeset
791 2011-08-01 Sascha L. Teichmann <teichmann@intevation.de>
ddc35c950e97 Backend: Handle forgotten store/create event source.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 312
diff changeset
792
ddc35c950e97 Backend: Handle forgotten store/create event source.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 312
diff changeset
793 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
ddc35c950e97 Backend: Handle forgotten store/create event source.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 312
diff changeset
794 Reorganized code a bit.
ddc35c950e97 Backend: Handle forgotten store/create event source.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 312
diff changeset
795
ddc35c950e97 Backend: Handle forgotten store/create event source.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 312
diff changeset
796 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: Added some
ddc35c950e97 Backend: Handle forgotten store/create event source.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 312
diff changeset
797 debug output. Handle forgotten store/create event source.
ddc35c950e97 Backend: Handle forgotten store/create event source.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 312
diff changeset
798
312
fa056f9c8a0c Fixed NPE with list of backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 311
diff changeset
799 2011-08-01 Sascha L. Teichmann <teichmann@intevation.de>
fa056f9c8a0c Fixed NPE with list of backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 311
diff changeset
800
fa056f9c8a0c Fixed NPE with list of backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 311
diff changeset
801 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
fa056f9c8a0c Fixed NPE with list of backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 311
diff changeset
802 Fixed NPE.
fa056f9c8a0c Fixed NPE with list of backend listeners.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 311
diff changeset
803
310
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
804 2011-08-01 Sascha L. Teichmann <teichmann@intevation.de>
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
805
311
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
806 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
807 Made BackListeners loadable at boot time. To be configured with XPATH
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
808 '/artifact-database/backend-listeners/listener'.
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
809
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
810 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
811 artifact-database/src/main/java/de/intevation/artifactdatabase/BackendListener.java,
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
812 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultBackendListener.java,
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
813 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
814 Wired listeners to backend.
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
815
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
816 2011-08-01 Sascha L. Teichmann <teichmann@intevation.de>
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
817
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
818 * artifact-database/src/main/java/de/intevation/artifactdatabase/BackendListener.java,
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
819 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultBackendListener.java:
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
820 Completed interface and the trival implementation.
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
821
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
822 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
823 Call the listeners for the new defined events.
1d517e051e95 Made backend listeners loadable at boot time.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 310
diff changeset
824
310
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
825 * artifact-database/src/main/java/de/intevation/artifactdatabase/BackendListener.java:
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
826 New. Interface to listener for backend events. TODO: Implement more
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
827 events.
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
828
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
829 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultBackendListener.java:
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
830 New. Trivial implementation of BackendListener.
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
831
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
832 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
833 Added list of backend listeners. TODO: Add them at boot time.
63122b9dee1d Added interface to listen events in the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 309
diff changeset
834
309
86dd32b45d87 Use real db connection pooling for artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 308
diff changeset
835 2011-07-31 Sascha L. Teichmann <teichmann@intevation.de>
86dd32b45d87 Use real db connection pooling for artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 308
diff changeset
836
86dd32b45d87 Use real db connection pooling for artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 308
diff changeset
837 * artifact-database/pom.xml: Bumped Apache DBCP up to 1.4
86dd32b45d87 Use real db connection pooling for artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 308
diff changeset
838
86dd32b45d87 Use real db connection pooling for artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 308
diff changeset
839 * artifact-database/src/main/java/de/intevation/artifactdatabase/db/DBConnection.java:
86dd32b45d87 Use real db connection pooling for artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 308
diff changeset
840 Use real pooling to void races. Maybe it needs more configuration options!?
86dd32b45d87 Use real db connection pooling for artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 308
diff changeset
841
86dd32b45d87 Use real db connection pooling for artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 308
diff changeset
842 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: Removed
86dd32b45d87 Use real db connection pooling for artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 308
diff changeset
843 superfluous imports.
86dd32b45d87 Use real db connection pooling for artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 308
diff changeset
844
308
a077bb098eb4 Fixed broken SQL statement. Added debug output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 307
diff changeset
845 2011-07-31 Sascha L. Teichmann <teichmann@intevation.de>
a077bb098eb4 Fixed broken SQL statement. Added debug output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 307
diff changeset
846
a077bb098eb4 Fixed broken SQL statement. Added debug output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 307
diff changeset
847 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
a077bb098eb4 Fixed broken SQL statement. Added debug output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 307
diff changeset
848 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
a077bb098eb4 Fixed broken SQL statement. Added debug output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 307
diff changeset
849 Fixed broken SQL statement.
a077bb098eb4 Fixed broken SQL statement. Added debug output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 307
diff changeset
850
a077bb098eb4 Fixed broken SQL statement. Added debug output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 307
diff changeset
851 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
a077bb098eb4 Fixed broken SQL statement. Added debug output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 307
diff changeset
852 artifact-database/src/main/java/de/intevation/artifactdatabase/db/DBConnection.java,
a077bb098eb4 Fixed broken SQL statement. Added debug output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 307
diff changeset
853 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: Added
a077bb098eb4 Fixed broken SQL statement. Added debug output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 307
diff changeset
854 debug output.
a077bb098eb4 Fixed broken SQL statement. Added debug output.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 307
diff changeset
855
307
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
856 2011-07-31 Sascha L. Teichmann <teichmann@intevation.de>
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
857
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
858 Make artifact server bootable again.
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
859
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
860 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
861 Fixed NPE.
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
862 * artifact-database/src/main/java/de/intevation/artifactdatabase/db/SQL.java: Fixed NPE.
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
863 Added some debug output.
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
864
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
865 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: Fixed
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
866 SQL key name. That was broken for long but not recognized.
d96bcb40dbf9 Make artifact server bootable again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 306
diff changeset
867
306
9dbeb88006e9 Added simple in-memory LRU cache
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 305
diff changeset
868 2011-07-28 Sascha L. Teichmann <teichmann@intevation.de>
9dbeb88006e9 Added simple in-memory LRU cache
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 305
diff changeset
869
9dbeb88006e9 Added simple in-memory LRU cache
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 305
diff changeset
870 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/LRUCache.java:
9dbeb88006e9 Added simple in-memory LRU cache
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 305
diff changeset
871 New. Simple LRU cache based on java.util.LinkedHashMap.
9dbeb88006e9 Added simple in-memory LRU cache
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 305
diff changeset
872
305
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
873 2011-07-28 Sascha L. Teichmann <teichmann@intevation.de>
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
874
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
875 Refactorized the usage of dialect independent SQL to be reusable.
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
876
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
877 * artifact-database/src/main/java/de/intevation/artifactdatabase/db/SQL.java,
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
878 artifact-database/src/main/java/de/intevation/artifactdatabase/db/DBConnection.java,
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
879 artifact-database/src/main/java/de/intevation/artifactdatabase/db/SQLExecutor.java:
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
880 New. Generalized versions to make code reusable for datacage.
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
881
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
882 * artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java,
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
883 artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java,
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
884 artifact-database/src/main/java/de/intevation/artifactdatabase/SQLExecutor.java:
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
885 Deleted.
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
886
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
887 * artifact-database/src/main/java/de/intevation/artifactdatabase/DBConfig.java:
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
888 New. Centralizes the SQL database configuration of the backend.
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
889
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
890 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java,
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
891 artifact-database/src/main/java/de/intevation/artifactdatabase/h2/CollectionAccessUpdateTrigger.java,
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
892 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
893 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
894 A lot of adjustment to make the new infrastructure work. Needs heavy testing!
f33401ea2a6c Artifact database: Refactorized the usage of dialect independent SQL to be reusable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 304
diff changeset
895
304
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
896 2011-07-27 Sascha L. Teichmann <teichmann@intevation.de>
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
897
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
898 * artifact-database/src/main/java/de/intevation/artifactdatabase/LifetimeListener.java:
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
899 New. Interface instances of are called when system is up and is going down.
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
900
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
901 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
902 Load lifetime listeners from configuration. XPATH
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
903 /artifact-database/lifetime-listeners/listeners/text()
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
904
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
905 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
906 Call the listeners after start up and before shutdown.
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
907
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
908 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java:
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
909 Trigger the start of the artifact database explicitly when the boot process
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
910 is finished.
40b64b4aafce Added lifetime listeners to be called when system is up and is going down.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 303
diff changeset
911
303
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
912 2011-07-27 Sascha L. Teichmann <teichmann@intevation.de>
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
913
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
914 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
915 Added a method loadAllArtifacts() to load all artifacts which are in
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
916 a collection and have an owner. The loaded artifacts are passed one by
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
917 one to an instance of the interface ArtifactLoadedCallback.
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
918
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
919 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
920 Adjusted to implement the interface.
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
921
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
922 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
923 Load the artifacts from the SQL backend.
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
924
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
925 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
926 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
927 Added statements to load all the artifacts.
190aa68ae7a8 Added method to artifact database to load all artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 302
diff changeset
928
302
c066343c63b0 Bumped H2 version up to latest stable 1.3.158
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 301
diff changeset
929 2011-07-26 Sascha L. Teichmann <teichmann@intevation.de>
c066343c63b0 Bumped H2 version up to latest stable 1.3.158
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 301
diff changeset
930
c066343c63b0 Bumped H2 version up to latest stable 1.3.158
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 301
diff changeset
931 * artifact-database/pom.xml: Bumped H2 version up to latest stable 1.3.158
c066343c63b0 Bumped H2 version up to latest stable 1.3.158
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 301
diff changeset
932
301
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
933 2011-07-22 Sascha L. Teichmann <teichmann@intevation.de>
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
934
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
935 * artifact-database/src/main/java/de/intevation/artifactdatabase/StringUtils.java,
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
936 artifacts-common/src/main/java/de/intevation/artifacts/common/utils/StringUtils.java:
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
937 Moved StringUtils to common package.
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
938
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
939 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
940 artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java,
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
941 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
942 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
943 Adjusted imports.
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
944
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
945 * artifacts-common/pom.xml, artifact-database/pom.xml: Moved dependency to Apache codec
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
946 to other package.
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
947
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
948 * artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java:
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
949 Added Override annotations (forgot to commit last time).
b0a949d3fe09 Moved StringUtils to common package. Added some Override annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 300
diff changeset
950
300
0035e2511342 CREATE documents for Artifact creation might contain db-ids now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 299
diff changeset
951 2011-07-21 Ingo Weinzierl <ingo@intevation.de>
0035e2511342 CREATE documents for Artifact creation might contain db-ids now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 299
diff changeset
952
0035e2511342 CREATE documents for Artifact creation might contain db-ids now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 299
diff changeset
953 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
0035e2511342 CREATE documents for Artifact creation might contain db-ids now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 299
diff changeset
954 New CREATE documents for Artifact creation might contain db-ids now.
0035e2511342 CREATE documents for Artifact creation might contain db-ids now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 299
diff changeset
955
299
a8d62eb93cd4 Services now take GlobalContext on setup and process.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 298
diff changeset
956 2011-07-21 Sascha L. Teichmann <teichmann@intevation.de>
a8d62eb93cd4 Services now take GlobalContext on setup and process.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 298
diff changeset
957
a8d62eb93cd4 Services now take GlobalContext on setup and process.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 298
diff changeset
958 * artifacts/src/main/java/de/intevation/artifacts/Service.java,
a8d62eb93cd4 Services now take GlobalContext on setup and process.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 298
diff changeset
959 artifacts/src/main/java/de/intevation/artifacts/ServiceFactory.java:
a8d62eb93cd4 Services now take GlobalContext on setup and process.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 298
diff changeset
960 Services now take GlobalContext on setup and process.
a8d62eb93cd4 Services now take GlobalContext on setup and process.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 298
diff changeset
961
a8d62eb93cd4 Services now take GlobalContext on setup and process.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 298
diff changeset
962 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultService.java,
a8d62eb93cd4 Services now take GlobalContext on setup and process.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 298
diff changeset
963 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultServiceFactory.java:
a8d62eb93cd4 Services now take GlobalContext on setup and process.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 298
diff changeset
964 Adusted and added Override annotations.
a8d62eb93cd4 Services now take GlobalContext on setup and process.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 298
diff changeset
965
298
a5e6d1923c95 Made namespace resolution more compatible.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 297
diff changeset
966 2011-07-21 Sascha L. Teichmann <teichmann@intevation.de>
a5e6d1923c95 Made namespace resolution more compatible.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 297
diff changeset
967
a5e6d1923c95 Made namespace resolution more compatible.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 297
diff changeset
968 * artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java:
a5e6d1923c95 Made namespace resolution more compatible.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 297
diff changeset
969 Made it more compatible with mixed namespaces and mixtures of namespaces
a5e6d1923c95 Made namespace resolution more compatible.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 297
diff changeset
970 and no namespaces.
a5e6d1923c95 Made namespace resolution more compatible.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 297
diff changeset
971
a5e6d1923c95 Made namespace resolution more compatible.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 297
diff changeset
972 * artifacts/pom.xml: Set Java compatibility to 1.5. Why isn't this inherited
a5e6d1923c95 Made namespace resolution more compatible.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 297
diff changeset
973 from main pom.xml? The artifact-database module uses 1.5 features but does
a5e6d1923c95 Made namespace resolution more compatible.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 297
diff changeset
974 not need any extra configuration.
a5e6d1923c95 Made namespace resolution more compatible.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 297
diff changeset
975
297
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
976 2011-07-20 Ingo Weinzierl <ingo@intevation.de>
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
977
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
978 * artifacts/src/main/java/de/intevation/artifacts/Artifact.java,
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
979 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java:
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
980 Added a parameter of type CallMeta to the signature of setup(). The
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
981 CallMeta object is required for i18n initial things.
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
982
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
983 !! NOTE: This modification breaks the current API !!
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
984
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
985 * artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java,
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
986 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java:
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
987 Call Artifact.setup() with an instance of CallMeta.
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
988
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
989 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
990 The createArtifact() method got a CallMeta instance which is necessary
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
991 to call Artifact.setup().
694d818e99b2 Adapted the signature of Artifact.setup() - a parameter of type CallMeta has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 296
diff changeset
992
296
a8e009ebe13c Added a addFacets(List<Facet) method to Outputs to be able to add more than only a single facet to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 295
diff changeset
993 2011-07-19 Ingo Weinzierl <ingo@intevation.de>
a8e009ebe13c Added a addFacets(List<Facet) method to Outputs to be able to add more than only a single facet to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 295
diff changeset
994
a8e009ebe13c Added a addFacets(List<Facet) method to Outputs to be able to add more than only a single facet to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 295
diff changeset
995 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Output.java,
a8e009ebe13c Added a addFacets(List<Facet) method to Outputs to be able to add more than only a single facet to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 295
diff changeset
996 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java:
a8e009ebe13c Added a addFacets(List<Facet) method to Outputs to be able to add more than only a single facet to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 295
diff changeset
997 Added a method to add a list of Facets.
a8e009ebe13c Added a addFacets(List<Facet) method to Outputs to be able to add more than only a single facet to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 295
diff changeset
998
295
e5bc48dc3ec3 Facets can write its internal representation to XML using a toXML() method now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 294
diff changeset
999 2011-07-18 Ingo Weinzierl <ingo@intevation.de>
e5bc48dc3ec3 Facets can write its internal representation to XML using a toXML() method now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 294
diff changeset
1000
e5bc48dc3ec3 Facets can write its internal representation to XML using a toXML() method now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 294
diff changeset
1001 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java,
e5bc48dc3ec3 Facets can write its internal representation to XML using a toXML() method now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 294
diff changeset
1002 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java:
e5bc48dc3ec3 Facets can write its internal representation to XML using a toXML() method now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 294
diff changeset
1003 A facet can write its internal representation to XML using a public
e5bc48dc3ec3 Facets can write its internal representation to XML using a toXML() method now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 294
diff changeset
1004 method toXML(Document).
e5bc48dc3ec3 Facets can write its internal representation to XML using a toXML() method now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 294
diff changeset
1005
e5bc48dc3ec3 Facets can write its internal representation to XML using a toXML() method now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 294
diff changeset
1006 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProtocolUtils.java:
e5bc48dc3ec3 Facets can write its internal representation to XML using a toXML() method now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 294
diff changeset
1007 Facets are appended using its toXML() method. Concrete facets can now
e5bc48dc3ec3 Facets can write its internal representation to XML using a toXML() method now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 294
diff changeset
1008 change its xml representation.
e5bc48dc3ec3 Facets can write its internal representation to XML using a toXML() method now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 294
diff changeset
1009
294
b530e83acf2e Adapted the signature of Hook.execute() which now retrieves a Document as third parameter.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 293
diff changeset
1010 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
b530e83acf2e Adapted the signature of Hook.execute() which now retrieves a Document as third parameter.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 293
diff changeset
1011
b530e83acf2e Adapted the signature of Hook.execute() which now retrieves a Document as third parameter.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 293
diff changeset
1012 * artifacts/src/main/java/de/intevation/artifacts/Hook.java: The Hook's
b530e83acf2e Adapted the signature of Hook.execute() which now retrieves a Document as third parameter.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 293
diff changeset
1013 execute() method is called with a Document now.
b530e83acf2e Adapted the signature of Hook.execute() which now retrieves a Document as third parameter.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 293
diff changeset
1014
b530e83acf2e Adapted the signature of Hook.execute() which now retrieves a Document as third parameter.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 293
diff changeset
1015 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
b530e83acf2e Adapted the signature of Hook.execute() which now retrieves a Document as third parameter.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 293
diff changeset
1016 The hooks that are called after feed() and advance() are called with the
b530e83acf2e Adapted the signature of Hook.execute() which now retrieves a Document as third parameter.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 293
diff changeset
1017 documents which are returned by those operations.
b530e83acf2e Adapted the signature of Hook.execute() which now retrieves a Document as third parameter.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 293
diff changeset
1018
293
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1019 2011-07-14 Ingo Weinzierl <ingo@intevation.de>
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1020
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1021 * artifacts/src/main/java/de/intevation/artifacts/GlobalContext.java: New.
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1022 An interface for global context objects. It defines two basic operations
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1023 to put objects into the context and to retrieve objects from context.
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1024
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1025 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1026 Added a method that returns an instance of an Artifact with one
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1027 limitation: the internal state of this artifact is not persisted to
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1028 database!
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1029
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1030 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1031 Added a method that creates a document used to create new Artifacts with
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1032 the UUID of another one.
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1033
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1034 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1035 artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java,
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1036 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContextFactory.java,
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1037 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContext.java,
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1038 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java,
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1039 artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java,
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1040 artifacts/src/main/java/de/intevation/artifacts/ArtifactContextFactory.java:
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1041 Adapted method signatures to apply the new interface for global context
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1042 objects.
a367a0d011af Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 292
diff changeset
1043
292
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1044 2011-07-13 Ingo Weinzierl <ingo@intevation.de>
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1045
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1046 * artifacts/src/main/java/de/intevation/artifacts/Hook.java: New. A hook
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1047 can be used to execute at a specific point in time. E.g. after an
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1048 Artifact was fed or after an Artifact has advanced.
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1049
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1050 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1051 Call hooks after Artifact's feed() and advance() operations.
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1052
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1053 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1054 Load hooks from configuration that match the XPath "/artifact-database/hooks/hook".
39c0ff00d188 Introduced a hook concept - currently used for 'post-feed' and 'post-advance'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 291
diff changeset
1055
291
f8c4fa292c9c Fix for flys/issue20
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 290
diff changeset
1056 2011-07-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
f8c4fa292c9c Fix for flys/issue20
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 290
diff changeset
1057
f8c4fa292c9c Fix for flys/issue20
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 290
diff changeset
1058 Fix for flys/issue20
f8c4fa292c9c Fix for flys/issue20
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 290
diff changeset
1059
f8c4fa292c9c Fix for flys/issue20
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 290
diff changeset
1060 * artifact-database/pom.xml: Bumped version of SLF4J up to 1.6.1
f8c4fa292c9c Fix for flys/issue20
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 290
diff changeset
1061
290
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1062 2011-07-08 Ingo Weinzierl <ingo@intevation.de>
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1063
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1064 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Output.java,
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1065 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java:
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1066 An Output can have a type (string) declaration now that should make it
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1067 easier to distinguish different Output types.
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1068
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1069 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1070 Read the attribute "type" from OutputMode's configuration section.
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1071
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1072 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProtocolUtils.java:
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1073 Write the member variable "type" to an OutputMode.
995fa6994480 Outputs can have a member variable 'type' that should make it easier to distinguish the type of an Output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 289
diff changeset
1074
289
cf2e8cca02b7 Tagged RELEASE 1.3 of artifacts system.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 287
diff changeset
1075 2011-06-28 Ingo Weinzierl <ingo@intevation.de>
cf2e8cca02b7 Tagged RELEASE 1.3 of artifacts system.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 287
diff changeset
1076
cf2e8cca02b7 Tagged RELEASE 1.3 of artifacts system.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 287
diff changeset
1077 Tagged RELEASE 1.3
cf2e8cca02b7 Tagged RELEASE 1.3 of artifacts system.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 287
diff changeset
1078
287
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 286
diff changeset
1079 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 286
diff changeset
1080
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 286
diff changeset
1081 * Changes: Prepared changes for the upcoming release.
bf787e8c4f78 Prepared Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 286
diff changeset
1082
286
715bdf990739 Made XMLUtils.toString(Document) static.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 285
diff changeset
1083 2011-06-27 Ingo Weinzierl <ingo@intevation.de>
715bdf990739 Made XMLUtils.toString(Document) static.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 285
diff changeset
1084
715bdf990739 Made XMLUtils.toString(Document) static.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 285
diff changeset
1085 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
715bdf990739 Made XMLUtils.toString(Document) static.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 285
diff changeset
1086 Declared toString(Document) method static.
715bdf990739 Made XMLUtils.toString(Document) static.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 285
diff changeset
1087
285
f5a0f90bcc6f Improved the ClientProtocolUtils: new methods to create collection action specific documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 284
diff changeset
1088 2011-06-22 Ingo Weinzierl <ingo@intevation.de>
f5a0f90bcc6f Improved the ClientProtocolUtils: new methods to create collection action specific documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 284
diff changeset
1089
f5a0f90bcc6f Improved the ClientProtocolUtils: new methods to create collection action specific documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 284
diff changeset
1090 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
f5a0f90bcc6f Improved the ClientProtocolUtils: new methods to create collection action specific documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 284
diff changeset
1091 Added functions that generate documents to set the name and ttl of a
f5a0f90bcc6f Improved the ClientProtocolUtils: new methods to create collection action specific documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 284
diff changeset
1092 collection and to delete an existing collection.
f5a0f90bcc6f Improved the ClientProtocolUtils: new methods to create collection action specific documents.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 284
diff changeset
1093
284
084d68974d4a The ttl is now contained in the document that is returned after a collection has been created.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 283
diff changeset
1094 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
084d68974d4a The ttl is now contained in the document that is returned after a collection has been created.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 283
diff changeset
1095
084d68974d4a The ttl is now contained in the document that is returned after a collection has been created.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 283
diff changeset
1096 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
084d68974d4a The ttl is now contained in the document that is returned after a collection has been created.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 283
diff changeset
1097 Add the time-to-live of a collection to the document that is returned
084d68974d4a The ttl is now contained in the document that is returned after a collection has been created.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 283
diff changeset
1098 after the collection has been created.
084d68974d4a The ttl is now contained in the document that is returned after a collection has been created.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 283
diff changeset
1099
283
7c33cac15134 Added DefaultFacet.toString() method to help debugging.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 282
diff changeset
1100 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
7c33cac15134 Added DefaultFacet.toString() method to help debugging.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 282
diff changeset
1101
7c33cac15134 Added DefaultFacet.toString() method to help debugging.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 282
diff changeset
1102 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java:
7c33cac15134 Added DefaultFacet.toString() method to help debugging.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 282
diff changeset
1103 Added toString() method to help debugging.
7c33cac15134 Added DefaultFacet.toString() method to help debugging.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 282
diff changeset
1104
282
d15f09d5b89d Put the ttl of each collection into the document that contains the user collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 281
diff changeset
1105 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
d15f09d5b89d Put the ttl of each collection into the document that contains the user collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 281
diff changeset
1106
d15f09d5b89d Put the ttl of each collection into the document that contains the user collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 281
diff changeset
1107 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
d15f09d5b89d Put the ttl of each collection into the document that contains the user collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 281
diff changeset
1108 Put the time-to-live of a collection into the document with the list of
d15f09d5b89d Put the ttl of each collection into the document that contains the user collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 281
diff changeset
1109 user collections.
d15f09d5b89d Put the ttl of each collection into the document that contains the user collections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 281
diff changeset
1110
281
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1111 2011-06-21 Ingo Weinzierl <ingo@intevation.de>
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1112
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1113 * artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java,
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1114 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java:
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1115 The ArtifactCollection now knows its time-to-live. This values is
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1116 retrievable via getTTL().
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1117
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1118 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollectionFactory.java,
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1119 artifacts/src/main/java/de/intevation/artifacts/ArtifactCollectionFactory.java:
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1120 Creating an ArtifactCollection requires the time-to-live of it.
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1121
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1122 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1123 Create new ArtifactCollections with their time-to-live.
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1124
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1125 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1126 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1127 Adapted SQL statements that retrieve collections. The TTL of the
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1128 collection is fetched from database as well.
942a54670a72 Made the TTL of a Collection retrievable via getter method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 280
diff changeset
1129
280
7fbe674d758a Facets got a method that return its required data from the owner artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 279
diff changeset
1130 2011-06-17 Ingo Weinzierl <ingo@intevation.de>
7fbe674d758a Facets got a method that return its required data from the owner artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 279
diff changeset
1131
7fbe674d758a Facets got a method that return its required data from the owner artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 279
diff changeset
1132 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java,
7fbe674d758a Facets got a method that return its required data from the owner artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 279
diff changeset
1133 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java:
7fbe674d758a Facets got a method that return its required data from the owner artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 279
diff changeset
1134 Facets are able to fetch their necessary data from artifact now using a
7fbe674d758a Facets got a method that return its required data from the owner artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 279
diff changeset
1135 getData(Artifact, CallContext) method.
7fbe674d758a Facets got a method that return its required data from the owner artifact.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 279
diff changeset
1136
279
5ed1afd81569 ProtocolUtils write the index value of a facet into the document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 278
diff changeset
1137 2011-06-16 Ingo Weinzierl <ingo@intevation.de>
5ed1afd81569 ProtocolUtils write the index value of a facet into the document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 278
diff changeset
1138
5ed1afd81569 ProtocolUtils write the index value of a facet into the document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 278
diff changeset
1139 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProtocolUtils.java:
5ed1afd81569 ProtocolUtils write the index value of a facet into the document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 278
diff changeset
1140 Write index of a facet into the document.
5ed1afd81569 ProtocolUtils write the index value of a facet into the document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 278
diff changeset
1141
278
9ad188df72f2 Facets are serializable now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 277
diff changeset
1142 2011-06-16 Ingo Weinzierl <ingo@intevation.de>
9ad188df72f2 Facets are serializable now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 277
diff changeset
1143
9ad188df72f2 Facets are serializable now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 277
diff changeset
1144 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java:
9ad188df72f2 Facets are serializable now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 277
diff changeset
1145 Extends Serializable.
9ad188df72f2 Facets are serializable now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 277
diff changeset
1146
277
0a579b71496b Facets have indices now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 276
diff changeset
1147 2011-06-15 Ingo Weinzierl <ingo@intevation.de>
0a579b71496b Facets have indices now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 276
diff changeset
1148
0a579b71496b Facets have indices now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 276
diff changeset
1149 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java,
0a579b71496b Facets have indices now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 276
diff changeset
1150 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java:
0a579b71496b Facets have indices now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 276
diff changeset
1151 Added an index to a facet.
0a579b71496b Facets have indices now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 276
diff changeset
1152
276
8b58259d3dd3 Added static toString(Document) method which transform XML documents to Strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 275
diff changeset
1153 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
8b58259d3dd3 Added static toString(Document) method which transform XML documents to Strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 275
diff changeset
1154
8b58259d3dd3 Added static toString(Document) method which transform XML documents to Strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 275
diff changeset
1155 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
8b58259d3dd3 Added static toString(Document) method which transform XML documents to Strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 275
diff changeset
1156 Added static toString(Document) method which transform XML documents to Strings.
8b58259d3dd3 Added static toString(Document) method which transform XML documents to Strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 275
diff changeset
1157 Useful for debugging.
8b58259d3dd3 Added static toString(Document) method which transform XML documents to Strings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 275
diff changeset
1158
275
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1159 2011-06-07 Ingo Weinzierl <ingo@intevation.de>
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1160
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1161 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1162 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java,
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1163 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1164 New methods to set the name of a collection.
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1165
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1166 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionResource.java:
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1167 Dispatch the "setname" action.
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1168
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1169 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1170 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1171 Added sql statements to update the name of a collection specified by its
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1172 gid.
e92d5944fe4b Enabled the artifact database to retrieve requests to change the name of a specific collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 274
diff changeset
1173
274
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1174 2011-06-07 Ingo Weinzierl <ingo@intevation.de>
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1175
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1176 flys/issue50 (Markierung von "Master-Artefakten" ermöglichen)
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1177
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1178 * artifact-database/doc/schema-pg.sql,
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1179 artifact-database/doc/schema-h2.sql: Added a column 'creation' to the
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1180 collection_items table. This column is set to the current timestamp when a
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1181 new row is inserted in this table. The master artifact of a collection
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1182 is the artifact which collection item is the oldest collection item in
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1183 the collection.
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1184 Note: there might be older artifacts in the collection than the master
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1185 artifact, but there will never be an older collection item than the first
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1186 item when the collection was created.
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1187
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1188 To update the db, use the following statements:
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1189
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1190 ALTER TABLE collection_items ADD COLUMN creation TIMESTAMP;
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1191 UPDATE collection_items SET creation = CURRENT_TIMESTAMP;
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1192 ALTER TABLE collection_items ALTER COLUMN creation SET NOT NULL;
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1193
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1194 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1195 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1196 Order the list of collection items based on their creation time.
92166f7c3842 #50 Added code on database level to recognize the oldest collection item in a collection (-> master artifact).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 273
diff changeset
1197
273
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1198 2011-06-07 Ingo Weinzierl <ingo@intevation.de>
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1199
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1200 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1201 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1202 Added a setCollectionTTL() method that might be used to update the TTL
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1203 of a collection. The new value needs to be from type long. There are two
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1204 exceptions for the new values:
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1205 1. the new value is "INF": this lets collections live forever.
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1206 2. the new value is "DEFAULT": this sets the TTL of the collection to
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1207 the configured default value.
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1208
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1209 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1210 Added a method to update the TTL attribute of a collection.
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1211
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1212 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionResource.java:
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1213 Dispatch the "settimetolive" action.
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1214
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1215 * artifact-database/src/main/resources/sql/org-postgresql-driver.properties,
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1216 artifact-database/src/main/resources/sql/org-h2-driver.properties: Added
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1217 sql statements to update the TTL of a specific collection based on the
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1218 UUID of the collection.
22a90706d32d Enables the artifact server to set the TTL of a specific collection via REST call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 272
diff changeset
1219
272
2ce31a9414ff Use generics more precisely
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 271
diff changeset
1220 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2ce31a9414ff Use generics more precisely
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 271
diff changeset
1221
2ce31a9414ff Use generics more precisely
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 271
diff changeset
1222 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java:
2ce31a9414ff Use generics more precisely
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 271
diff changeset
1223 Use generics more precisely
2ce31a9414ff Use generics more precisely
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 271
diff changeset
1224
271
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 270
diff changeset
1225 2011-06-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 270
diff changeset
1226
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 270
diff changeset
1227 flys/issue75
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 270
diff changeset
1228
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 270
diff changeset
1229 * artifact-database/doc/schema-h2.sql: Fixed SQL syntax error in trigger creation.
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 270
diff changeset
1230
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 270
diff changeset
1231 * README: Adjusted to use new lib versions.
aa9f2f5ff032 flys/issue75: fixed doc and schema to make H2 work again.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 270
diff changeset
1232
270
89f6de49803d Modified the method to create the document to trigger the out() operation of a collection in ClientProtocolUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 269
diff changeset
1233 2011-06-03 Ingo Weinzierl <ingo@intevation.de>
89f6de49803d Modified the method to create the document to trigger the out() operation of a collection in ClientProtocolUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 269
diff changeset
1234
89f6de49803d Modified the method to create the document to trigger the out() operation of a collection in ClientProtocolUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 269
diff changeset
1235 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
89f6de49803d Modified the method to create the document to trigger the out() operation of a collection in ClientProtocolUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 269
diff changeset
1236 The incoming attribute document of the method to create the document to
89f6de49803d Modified the method to create the document to trigger the out() operation of a collection in ClientProtocolUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 269
diff changeset
1237 trigger the out() of a collection needs to have the root node
89f6de49803d Modified the method to create the document to trigger the out() operation of a collection in ClientProtocolUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 269
diff changeset
1238 art:attribute now.
89f6de49803d Modified the method to create the document to trigger the out() operation of a collection in ClientProtocolUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 269
diff changeset
1239
269
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1240 2011-05-31 Ingo Weinzierl <ingo@intevation.de>
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1241
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1242 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/BaseOutResource.java,
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1243 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionOutResource.java,
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1244 artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactOutResource.java:
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1245 The 'type' part of the url is extracted and used while dispatching the
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1246 call to the artifact database.
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1247
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1248 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1249 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1250 The deferred output got a new out() method that takes the 'type'
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1251 parameter specified in the url part.
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1252
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1253 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java,
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1254 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java,
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1255 artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java,
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1256 artifacts/src/main/java/de/intevation/artifacts/Artifact.java:
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1257 Artifacts and ArtifactCollections have two out() operations to support
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1258 the output type parameter now. I did not remove the out() without the
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1259 'type' parameter to keep compatible with older versions.
d9a99b28a847 Added support for the 'type' parameter of artifacts and collections out() call.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 268
diff changeset
1260
268
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1261 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1262
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1263 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1264 The setCollectionAttribute() method will now set the incoming document
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1265 as new attribute for the collection. Before, we looked for a xpath
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1266 expression that contained the attribute. In the current implementation,
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1267 the incoming document IS the attribute.
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1268
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1269 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionResource.java:
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1270 Extract the new attribute for a collection and call the
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1271 setCollectionAttribute() method of ArtifactDatabase with this document
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1272 instead of calling it with the incoming request document.
4edaf3073109 Repaired the setting of a new attribute for a Collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 267
diff changeset
1273
267
72de5c373c9b Enhanced the ClientProtocolUtils with a method to create a document that sets the attribute of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 266
diff changeset
1274 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
72de5c373c9b Enhanced the ClientProtocolUtils with a method to create a document that sets the attribute of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 266
diff changeset
1275
72de5c373c9b Enhanced the ClientProtocolUtils with a method to create a document that sets the attribute of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 266
diff changeset
1276 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
72de5c373c9b Enhanced the ClientProtocolUtils with a method to create a document that sets the attribute of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 266
diff changeset
1277 New method that creates the document that is used to set an attribute of
72de5c373c9b Enhanced the ClientProtocolUtils with a method to create a document that sets the attribute of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 266
diff changeset
1278 a collection.
72de5c373c9b Enhanced the ClientProtocolUtils with a method to create a document that sets the attribute of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 266
diff changeset
1279
266
c42a07be9aee Jetty HTTP server: Do not bind context to restlet app for security reasons.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 265
diff changeset
1280 2011-04-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
c42a07be9aee Jetty HTTP server: Do not bind context to restlet app for security reasons.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 265
diff changeset
1281
c42a07be9aee Jetty HTTP server: Do not bind context to restlet app for security reasons.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 265
diff changeset
1282 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/JettyServer.java:
c42a07be9aee Jetty HTTP server: Do not bind context to restlet app for security reasons.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 265
diff changeset
1283 Do not bind context to restlet app for security reasons.
c42a07be9aee Jetty HTTP server: Do not bind context to restlet app for security reasons.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 265
diff changeset
1284
265
d52947ce8629 XMLUtils.xpathString() returns empty string not null.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 264
diff changeset
1285 2011-04-23 Sascha L. Teichmann <sascha.teichmann@intevation.de>
d52947ce8629 XMLUtils.xpathString() returns empty string not null.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 264
diff changeset
1286
d52947ce8629 XMLUtils.xpathString() returns empty string not null.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 264
diff changeset
1287 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java:
d52947ce8629 XMLUtils.xpathString() returns empty string not null.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 264
diff changeset
1288 XMLUtils.xpathString() returns empty string not null.
d52947ce8629 XMLUtils.xpathString() returns empty string not null.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 264
diff changeset
1289
264
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1290 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1291
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1292 flys/issue65: Added Jetty HTTP server as a replacement option to foster
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1293 better scalability. Needs testing.
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1294
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1295 * pom.xml: Added repository for Jetty.
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1296
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1297 * artifact-database/pom.xml:
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1298 Added dependencies to Jetty (Licenses: Apache 2.0 or Eclipse).
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1299
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1300 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java:
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1301 Pass restlet context to super constructor.
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1302
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1303 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/JettyServer.java:
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1304 New. Use embedded Jetty server to serve rest API.
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1305 To enable it set "/artifact-database/rest-server/http-server/text()"
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1306 in global config to "de.intevation.artifactdatabase.rest.JettyServer".
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1307
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1308 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java:
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1309 Refactored a bit to be useful as a base class.
fa0d9acea897 flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 263
diff changeset
1310
263
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1311 2011-04-22 Sascha L. Teichmann <sascha.teichmann@intevation.de>
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1312
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1313 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/HTTPServer.java:
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1314 New. Interface to run an HTTP server. Enables the system to run on different
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1315 HTTP servers.
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1316
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1317 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java:
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1318 Implements the new interface.
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1319
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1320 * artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1321 Load and setup the HTTP server configured by the XPath
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1322 "/artifact-database/rest-server/http-server/text()" in the global config file.
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1323 Defaults to "de.intevation.artifactdatabase.rest.Standalone" if not given.
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1324
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1325 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java:
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1326 Boot with the HTTP server configured by FactoryBootstrap.
c0fb96f88ad1 Make used HTTP server exchangeable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 262
diff changeset
1327
262
5cab846eb2a3 flys/issue65: Set number of max. restlet threads to 1024 and make it configurable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 261
diff changeset
1328 2011-04-18 Sascha L. Teichmann <sascha.teichmann@intevation.de>
5cab846eb2a3 flys/issue65: Set number of max. restlet threads to 1024 and make it configurable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 261
diff changeset
1329
5cab846eb2a3 flys/issue65: Set number of max. restlet threads to 1024 and make it configurable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 261
diff changeset
1330 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/Standalone.java:
5cab846eb2a3 flys/issue65: Set number of max. restlet threads to 1024 and make it configurable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 261
diff changeset
1331 With '/artifact-database/rest-server/max-threads/text()' in conf.xml
5cab846eb2a3 flys/issue65: Set number of max. restlet threads to 1024 and make it configurable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 261
diff changeset
1332 you can set the number of threads used by the restlet server.
5cab846eb2a3 flys/issue65: Set number of max. restlet threads to 1024 and make it configurable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 261
diff changeset
1333 Defaults to 1024 now. Another attempt/workaround to cope with flys/issue65.
5cab846eb2a3 flys/issue65: Set number of max. restlet threads to 1024 and make it configurable.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 261
diff changeset
1334
261
f3d970a832ff Bugfix: the document that is used to trigger the OUT operation of a collection will now contain the name of the output mode and its concrete subtype.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 260
diff changeset
1335 2011-05-17 Ingo Weinzierl <ingo@intevation.de>
f3d970a832ff Bugfix: the document that is used to trigger the OUT operation of a collection will now contain the name of the output mode and its concrete subtype.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 260
diff changeset
1336
f3d970a832ff Bugfix: the document that is used to trigger the OUT operation of a collection will now contain the name of the output mode and its concrete subtype.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 260
diff changeset
1337 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
f3d970a832ff Bugfix: the document that is used to trigger the OUT operation of a collection will now contain the name of the output mode and its concrete subtype.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 260
diff changeset
1338 Bugfix: The output name and its concrete type are both written into the
f3d970a832ff Bugfix: the document that is used to trigger the OUT operation of a collection will now contain the name of the output mode and its concrete subtype.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 260
diff changeset
1339 document that is used to trigger the OUT operation of a collection.
f3d970a832ff Bugfix: the document that is used to trigger the OUT operation of a collection will now contain the name of the output mode and its concrete subtype.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 260
diff changeset
1340
f3d970a832ff Bugfix: the document that is used to trigger the OUT operation of a collection will now contain the name of the output mode and its concrete subtype.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 260
diff changeset
1341 2011-04-17 Sascha L. Teichmann <sascha.teichmann@intevation.de>
260
7e6146f08c55 Bumped restlet to version 2.0.7 in hope to mitigate flys/issue65.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 259
diff changeset
1342
7e6146f08c55 Bumped restlet to version 2.0.7 in hope to mitigate flys/issue65.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 259
diff changeset
1343 * artifact-database/pom.xml: Bumped restlet to version 2.0.7 in hope
7e6146f08c55 Bumped restlet to version 2.0.7 in hope to mitigate flys/issue65.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 259
diff changeset
1344 to mitigate flys/issue65.
7e6146f08c55 Bumped restlet to version 2.0.7 in hope to mitigate flys/issue65.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 259
diff changeset
1345
259
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 258
diff changeset
1346 2011-05-13 Ingo Weinzierl <ingo@intevation.de>
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 258
diff changeset
1347
286
715bdf990739 Made XMLUtils.toString(Document) static.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 285
diff changeset
1348 Tagged as RELEASE 1.2
715bdf990739 Made XMLUtils.toString(Document) static.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 285
diff changeset
1349
259
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 258
diff changeset
1350 * Changes, NEWS: Changes and news for release 1.2
8c4c37ee0d57 Updated Changes and NEWS for release 1.2
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 258
diff changeset
1351
258
c41b300b02c3 Improved the ClientProtocolUtils: collections OUT document contains attributes now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 257
diff changeset
1352 2011-05-12 Ingo Weinzierl <ingo@intevation.de>
c41b300b02c3 Improved the ClientProtocolUtils: collections OUT document contains attributes now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 257
diff changeset
1353
c41b300b02c3 Improved the ClientProtocolUtils: collections OUT document contains attributes now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 257
diff changeset
1354 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
c41b300b02c3 Improved the ClientProtocolUtils: collections OUT document contains attributes now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 257
diff changeset
1355 The method that is used to create the request document for querying
c41b300b02c3 Improved the ClientProtocolUtils: collections OUT document contains attributes now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 257
diff changeset
1356 charts will now take a document which might contain parameters to adjust
c41b300b02c3 Improved the ClientProtocolUtils: collections OUT document contains attributes now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 257
diff changeset
1357 chart settings (e.g. chart height/width).
c41b300b02c3 Improved the ClientProtocolUtils: collections OUT document contains attributes now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 257
diff changeset
1358
257
8c2b6cdf22ad Modified Transition.isValid() - added the artifact and the current state to the parameter list.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 256
diff changeset
1359 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
8c2b6cdf22ad Modified Transition.isValid() - added the artifact and the current state to the parameter list.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 256
diff changeset
1360
8c2b6cdf22ad Modified Transition.isValid() - added the artifact and the current state to the parameter list.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 256
diff changeset
1361 * artifact-database/src/main/java/de/intevation/artifactdatabase/transition/Transition.java:
8c2b6cdf22ad Modified Transition.isValid() - added the artifact and the current state to the parameter list.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 256
diff changeset
1362 Modified the isValid() method. The transition needs to know about the
8c2b6cdf22ad Modified Transition.isValid() - added the artifact and the current state to the parameter list.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 256
diff changeset
1363 current artifact where its data is stored, the current state and maybe
8c2b6cdf22ad Modified Transition.isValid() - added the artifact and the current state to the parameter list.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 256
diff changeset
1364 the target state to determine if it is allowed to step from the current
8c2b6cdf22ad Modified Transition.isValid() - added the artifact and the current state to the parameter list.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 256
diff changeset
1365 state to a target state!
8c2b6cdf22ad Modified Transition.isValid() - added the artifact and the current state to the parameter list.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 256
diff changeset
1366 NOTE: This breaks the current API!
8c2b6cdf22ad Modified Transition.isValid() - added the artifact and the current state to the parameter list.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 256
diff changeset
1367
8c2b6cdf22ad Modified Transition.isValid() - added the artifact and the current state to the parameter list.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 256
diff changeset
1368 artifact-database/src/main/java/de/intevation/artifactdatabase/transition/TransitionEngine.java
8c2b6cdf22ad Modified Transition.isValid() - added the artifact and the current state to the parameter list.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 256
diff changeset
1369
256
55d08706ccf2 Added a getData(String) method to a State to get just a single StateData object.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 255
diff changeset
1370 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
55d08706ccf2 Added a getData(String) method to a State to get just a single StateData object.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 255
diff changeset
1371
55d08706ccf2 Added a getData(String) method to a State to get just a single StateData object.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 255
diff changeset
1372 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java,
55d08706ccf2 Added a getData(String) method to a State to get just a single StateData object.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 255
diff changeset
1373 artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
55d08706ccf2 Added a getData(String) method to a State to get just a single StateData object.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 255
diff changeset
1374 States have now a method getData(String) to retrieve just a single StateData object.
55d08706ccf2 Added a getData(String) method to a State to get just a single StateData object.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 255
diff changeset
1375
255
efbad8c5c0e5 Improved the ClientProtocolUtils - new function to create a document that is used to set the attribute of a CollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 254
diff changeset
1376 2011-04-28 Ingo Weinzierl <ingo@intevation.de>
efbad8c5c0e5 Improved the ClientProtocolUtils - new function to create a document that is used to set the attribute of a CollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 254
diff changeset
1377
efbad8c5c0e5 Improved the ClientProtocolUtils - new function to create a document that is used to set the attribute of a CollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 254
diff changeset
1378 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
efbad8c5c0e5 Improved the ClientProtocolUtils - new function to create a document that is used to set the attribute of a CollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 254
diff changeset
1379 Added a function that creates the document that is used to set the
efbad8c5c0e5 Improved the ClientProtocolUtils - new function to create a document that is used to set the attribute of a CollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 254
diff changeset
1380 attribute of a CollectionItem (setCollectionItemAttribute() operation).
efbad8c5c0e5 Improved the ClientProtocolUtils - new function to create a document that is used to set the attribute of a CollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 254
diff changeset
1381
254
6cf9560bd249 Bugfix: do not write empty xml documents into database any longer - caused exceptions while serialization/deserialization.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 253
diff changeset
1382 2011-04-27 Ingo Weinzierl <ingo@intevation.de>
6cf9560bd249 Bugfix: do not write empty xml documents into database any longer - caused exceptions while serialization/deserialization.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 253
diff changeset
1383
6cf9560bd249 Bugfix: do not write empty xml documents into database any longer - caused exceptions while serialization/deserialization.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 253
diff changeset
1384 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
6cf9560bd249 Bugfix: do not write empty xml documents into database any longer - caused exceptions while serialization/deserialization.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 253
diff changeset
1385 Bugfix: Do not create empty XML documents and save those into database -
6cf9560bd249 Bugfix: do not write empty xml documents into database any longer - caused exceptions while serialization/deserialization.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 253
diff changeset
1386 exceptions while serialization/deserialization have been the result of
6cf9560bd249 Bugfix: do not write empty xml documents into database any longer - caused exceptions while serialization/deserialization.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 253
diff changeset
1387 this.
6cf9560bd249 Bugfix: do not write empty xml documents into database any longer - caused exceptions while serialization/deserialization.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 253
diff changeset
1388
253
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1389 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1390
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1391 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1392 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java,
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1393 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1394 New methods for querying and updating attributes of collections.
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1395
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1396 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionResource.java:
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1397 Enabled the request dispatcher to handle requests specific to collection
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1398 attributes and collection item attributes.
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1399
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1400 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1401 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1402 New statements for querying and inserting attributes of collections.
a2df2b48d2aa Enabled the artifact database to handle requests specific to collection attributes and collection item attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 252
diff changeset
1403
252
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1404 2011-04-26 Ingo Weinzierl <ingo@intevation.de>
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1405
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1406 * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java,
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1407 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1408 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1409 Changed the names of the method names that set and retrieve the
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1410 attributes of collection items (e.g. getCollectionAttribute() ->
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1411 getCollectionItemAttribute()).
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1412
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1413 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionResource.java:
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1414 Modified method calls based on the changes above.
6de74b0b878e Changed the method names to get and set the attributes of collection items.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 251
diff changeset
1415
251
9e12f3fbcf78 Added a method to add new facets to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 250
diff changeset
1416 2011-04-21 Ingo Weinzierl <ingo@intevation.de>
9e12f3fbcf78 Added a method to add new facets to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 250
diff changeset
1417
9e12f3fbcf78 Added a method to add new facets to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 250
diff changeset
1418 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/Output.java,
9e12f3fbcf78 Added a method to add new facets to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 250
diff changeset
1419 artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java:
9e12f3fbcf78 Added a method to add new facets to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 250
diff changeset
1420 Added a method to add further facets.
9e12f3fbcf78 Added a method to add new facets to an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 250
diff changeset
1421
250
366cf4694d45 Bugfix: Removed CallContext specific method calls.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 249
diff changeset
1422 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
366cf4694d45 Bugfix: Removed CallContext specific method calls.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 249
diff changeset
1423
366cf4694d45 Bugfix: Removed CallContext specific method calls.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 249
diff changeset
1424 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
366cf4694d45 Bugfix: Removed CallContext specific method calls.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 249
diff changeset
1425 Bugfix: removed method CallContext specific method calls.
366cf4694d45 Bugfix: Removed CallContext specific method calls.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 249
diff changeset
1426
249
c47a640cfdae Enhanced the bootstrap - the CallContext.Listener is initialized (if configured).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 248
diff changeset
1427 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
c47a640cfdae Enhanced the bootstrap - the CallContext.Listener is initialized (if configured).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 248
diff changeset
1428
c47a640cfdae Enhanced the bootstrap - the CallContext.Listener is initialized (if configured).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 248
diff changeset
1429 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
c47a640cfdae Enhanced the bootstrap - the CallContext.Listener is initialized (if configured).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 248
diff changeset
1430 artifact-database/src/main/java/de/intevation/artifactdatabase/FactoryBootstrap.java:
c47a640cfdae Enhanced the bootstrap - the CallContext.Listener is initialized (if configured).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 248
diff changeset
1431 Enhanced the bootstrap - the CallContext.Listener is initialized (if
c47a640cfdae Enhanced the bootstrap - the CallContext.Listener is initialized (if configured).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 248
diff changeset
1432 configured).
c47a640cfdae Enhanced the bootstrap - the CallContext.Listener is initialized (if configured).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 248
diff changeset
1433
248
eafe59ecfb7e Added a setup() method to the CallContext.Listener.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 247
diff changeset
1434 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
eafe59ecfb7e Added a setup() method to the CallContext.Listener.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 247
diff changeset
1435
eafe59ecfb7e Added a setup() method to the CallContext.Listener.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 247
diff changeset
1436 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java:
eafe59ecfb7e Added a setup() method to the CallContext.Listener.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 247
diff changeset
1437 Added a setup() method as in the other factories.
eafe59ecfb7e Added a setup() method to the CallContext.Listener.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 247
diff changeset
1438
247
3a1209f214f5 Added instance variable to hold a call context listener.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 246
diff changeset
1439 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3a1209f214f5 Added instance variable to hold a call context listener.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 246
diff changeset
1440
3a1209f214f5 Added instance variable to hold a call context listener.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 246
diff changeset
1441 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
3a1209f214f5 Added instance variable to hold a call context listener.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 246
diff changeset
1442 Added instance variable to hold a call context listener.
3a1209f214f5 Added instance variable to hold a call context listener.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 246
diff changeset
1443
246
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1444 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1445
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1446 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1447 Call the postCall() methods of all CallContextes. Removed superfluous context
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1448 paramter to AbstractCallContext constructors.
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1449
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1450 * artifact-database/src/main/java/de/intevation/artifactdatabase/AbstractCallContext.java:
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1451 call ArtifactDatabaseImpl.initCallContext() in constructor and
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1452 ArtifactDatabaseImpl.closeCallContext() in postCall().
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1453
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1454 * artifact-database/src/main/java/de/intevation/artifactdatabase/CollectionCallContext.java,
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1455 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactCallContext.java:
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1456 adjusted to guarantee that super.postCall() is called.
a8a06bbe306c Added calls to call init/close for call contextes.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 245
diff changeset
1457
245
def3daabc5b5 Added a listener to be called if a call context was created and closed
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 244
diff changeset
1458 2011-04-14 Sascha L. Teichmann <sascha.teichmann@intevation.de>
def3daabc5b5 Added a listener to be called if a call context was created and closed
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 244
diff changeset
1459
def3daabc5b5 Added a listener to be called if a call context was created and closed
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 244
diff changeset
1460 * artifacts/src/main/java/de/intevation/artifacts/CallContext.java:
def3daabc5b5 Added a listener to be called if a call context was created and closed
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 244
diff changeset
1461 Added a listener to be called if a call context was created and closed.
def3daabc5b5 Added a listener to be called if a call context was created and closed
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 244
diff changeset
1462
244
3d14fe6e05f7 Improved the describe() of a State - a reference to an artifact has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 243
diff changeset
1463 2011-04-14 Ingo Weinzierl <ingo@intevation.de>
3d14fe6e05f7 Improved the describe() of a State - a reference to an artifact has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 243
diff changeset
1464
3d14fe6e05f7 Improved the describe() of a State - a reference to an artifact has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 243
diff changeset
1465 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/State.java,
3d14fe6e05f7 Improved the describe() of a State - a reference to an artifact has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 243
diff changeset
1466 artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
3d14fe6e05f7 Improved the describe() of a State - a reference to an artifact has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 243
diff changeset
1467 Added a reference to an artifact to the parameterlist of describe().
3d14fe6e05f7 Improved the describe() of a State - a reference to an artifact has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 243
diff changeset
1468 This is needed to retrieve other necessary information of an artifact.
3d14fe6e05f7 Improved the describe() of a State - a reference to an artifact has been added.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 243
diff changeset
1469
243
33b9cc23ac9b Granularity of ttls should be milliseconds and not microseconds.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 242
diff changeset
1470 2011-04-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
33b9cc23ac9b Granularity of ttls should be milliseconds and not microseconds.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 242
diff changeset
1471
33b9cc23ac9b Granularity of ttls should be milliseconds and not microseconds.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 242
diff changeset
1472 * artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
33b9cc23ac9b Granularity of ttls should be milliseconds and not microseconds.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 242
diff changeset
1473 Internal granularity should be milliseconds and not microseconds.
33b9cc23ac9b Granularity of ttls should be milliseconds and not microseconds.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 242
diff changeset
1474
33b9cc23ac9b Granularity of ttls should be milliseconds and not microseconds.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 242
diff changeset
1475 * artifact-database/src/main/resources/sql/org-h2-driver.properties:
33b9cc23ac9b Granularity of ttls should be milliseconds and not microseconds.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 242
diff changeset
1476 Forget last commit.
245
def3daabc5b5 Added a listener to be called if a call context was created and closed
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 244
diff changeset
1477
242
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1478 2011-04-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1479
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1480 Fix for flys/issue9
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1481
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1482 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1483 Removed code that checks for outdated artifact in user land.
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1484
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1485 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1486 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1487 Do the check in the database and take into account if artifact
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1488 is in a collection. XXX: Maybe this needs some speedup!
b35d32e507b6 Fix for flys/issue9
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 241
diff changeset
1489
241
4253995c970e Fix for flys/issue8 (part 3)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 240
diff changeset
1490 2011-04-13 Sascha L. Teichmann <sascha.teichmann@intevation.de>
4253995c970e Fix for flys/issue8 (part 3)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 240
diff changeset
1491
4253995c970e Fix for flys/issue8 (part 3)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 240
diff changeset
1492 Fix for flys/issue8 (part 3)
4253995c970e Fix for flys/issue8 (part 3)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 240
diff changeset
1493
4253995c970e Fix for flys/issue8 (part 3)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 240
diff changeset
1494 * artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
4253995c970e Fix for flys/issue8 (part 3)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 240
diff changeset
1495 'NOT IN (NULL)' does not work. Used 'NOT IN (-666)' instead.
4253995c970e Fix for flys/issue8 (part 3)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 240
diff changeset
1496
240
c0bc172ec7b2 Improved the ClientProtocolUtils with a method that returns a document that is used to trigger the DESCRIBE operation of artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 239
diff changeset
1497 2011-04-12 Ingo Weinzierl <ingo@intevation.de>
c0bc172ec7b2 Improved the ClientProtocolUtils with a method that returns a document that is used to trigger the DESCRIBE operation of artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 239
diff changeset
1498
c0bc172ec7b2 Improved the ClientProtocolUtils with a method that returns a document that is used to trigger the DESCRIBE operation of artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 239
diff changeset
1499 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
c0bc172ec7b2 Improved the ClientProtocolUtils with a method that returns a document that is used to trigger the DESCRIBE operation of artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 239
diff changeset
1500 Added a method that returns a document that is used to trigger the
c0bc172ec7b2 Improved the ClientProtocolUtils with a method that returns a document that is used to trigger the DESCRIBE operation of artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 239
diff changeset
1501 artifact's DESCRIBE operation.
c0bc172ec7b2 Improved the ClientProtocolUtils with a method that returns a document that is used to trigger the DESCRIBE operation of artifacts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 239
diff changeset
1502
239
ab196a861796 Enhanced the ClientProtocolUtils with a method that creates an XML document used for the Collection's out() operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 238
diff changeset
1503 2011-04-07 Ingo Weinzierl <ingo@intevation.de>
ab196a861796 Enhanced the ClientProtocolUtils with a method that creates an XML document used for the Collection's out() operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 238
diff changeset
1504
ab196a861796 Enhanced the ClientProtocolUtils with a method that creates an XML document used for the Collection's out() operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 238
diff changeset
1505 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
ab196a861796 Enhanced the ClientProtocolUtils with a method that creates an XML document used for the Collection's out() operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 238
diff changeset
1506 Added a method that creates documents used as input document for the
ab196a861796 Enhanced the ClientProtocolUtils with a method that creates an XML document used for the Collection's out() operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 238
diff changeset
1507 Collection's out() operation.
ab196a861796 Enhanced the ClientProtocolUtils with a method that creates an XML document used for the Collection's out() operation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 238
diff changeset
1508
238
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1509 2011-04-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1510
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1511 Fix for flys/issue8 (part 2)
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1512
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1513 * artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1514 PostgreSQL does not like clauses like 'NOT IN ()' so write
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1515 'NOT IN (NULL)' in these cases.
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1516
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1517 2011-04-06 Sascha L. Teichmann <sascha.teichmann@intevation.de>
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1518
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1519 Possible fix for flys/issue8
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1520
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1521 * artifact-database/src/main/java/de/intevation/artifactdatabase/StringUtils.java:
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1522 (repeat) The term was repeated one time too often leading to invalid
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1523 SQL statements in database cleaner. I really should start writing
61b7041204a7 Fix for flys/issue8 (part 2)
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 237
diff changeset
1524 unit tests.
237
23ec48ce717e Possible fix for flys/issue8
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 236
diff changeset
1525
236
6ef6acf30d66 Bugfix: Decompress CollectionItems when they are fetched from Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 235
diff changeset
1526 2011-04-06 Ingo Weinzierl <ingo@intevation.de>
6ef6acf30d66 Bugfix: Decompress CollectionItems when they are fetched from Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 235
diff changeset
1527
6ef6acf30d66 Bugfix: Decompress CollectionItems when they are fetched from Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 235
diff changeset
1528 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCollectionItem.java:
6ef6acf30d66 Bugfix: Decompress CollectionItems when they are fetched from Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 235
diff changeset
1529 Bugfix: Items are compressed in the Backend while adding an Artifact to
6ef6acf30d66 Bugfix: Decompress CollectionItems when they are fetched from Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 235
diff changeset
1530 a Collection. So this item needs to be decompressed when it is fetched
6ef6acf30d66 Bugfix: Decompress CollectionItems when they are fetched from Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 235
diff changeset
1531 from Backend again. This is done now!
6ef6acf30d66 Bugfix: Decompress CollectionItems when they are fetched from Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 235
diff changeset
1532
235
3e29395ebac6 The XML documents stored aside users, collections and collection items are now compressed/decompressed transparently.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 234
diff changeset
1533 2011-04-04 Sascha L. Teichmann <sascha.teichmann@intevation.de>
3e29395ebac6 The XML documents stored aside users, collections and collection items are now compressed/decompressed transparently.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 234
diff changeset
1534
3e29395ebac6 The XML documents stored aside users, collections and collection items are now compressed/decompressed transparently.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 234
diff changeset
1535 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
3e29395ebac6 The XML documents stored aside users, collections and collection items are now compressed/decompressed transparently.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 234
diff changeset
1536 The XML documents stored aside users, collections and collection items
3e29395ebac6 The XML documents stored aside users, collections and collection items are now compressed/decompressed transparently.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 234
diff changeset
1537 are now compressed/decompressed transparently, to reduce i/o costs
3e29395ebac6 The XML documents stored aside users, collections and collection items are now compressed/decompressed transparently.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 234
diff changeset
1538 as its already done with artifacts.
3e29395ebac6 The XML documents stored aside users, collections and collection items are now compressed/decompressed transparently.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 234
diff changeset
1539
3e29395ebac6 The XML documents stored aside users, collections and collection items are now compressed/decompressed transparently.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 234
diff changeset
1540 !!! This breaks database content of release FLYS 2.2 but this is okay,
3e29395ebac6 The XML documents stored aside users, collections and collection items are now compressed/decompressed transparently.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 234
diff changeset
1541 !!! because 2.2 is not productive..
3e29395ebac6 The XML documents stored aside users, collections and collection items are now compressed/decompressed transparently.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 234
diff changeset
1542
234
23d642319a0b Added a boolean flag to XML byte serialisation to compress/decompress, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 233
diff changeset
1543 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
23d642319a0b Added a boolean flag to XML byte serialisation to compress/decompress, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 233
diff changeset
1544
23d642319a0b Added a boolean flag to XML byte serialisation to compress/decompress, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 233
diff changeset
1545 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/XMLUtils.java:
23d642319a0b Added a boolean flag to XML byte serialisation to compress/decompress, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 233
diff changeset
1546 Added a boolean flag to XML byte serialisation to compress/decompress, too.
23d642319a0b Added a boolean flag to XML byte serialisation to compress/decompress, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 233
diff changeset
1547 Defaults to false to keep compatibilty.
23d642319a0b Added a boolean flag to XML byte serialisation to compress/decompress, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 233
diff changeset
1548
233
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1549 2011-04-03 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1550
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1551 * src/**/*.java: Removed trailing whitespace.
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1552
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1553 2011-03-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1554
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1555 * src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1556 Removes outdated collections, too.
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1557
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1558 * src/main/resources/sql/org-h2-driver.properties,
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1559 src/main/resources/sql/org-postgresql-driver.properties:
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1560 Added SQL statements to figure out outdated collections.
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1561
231
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1562 2011-03-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1563
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1564 * artifact-database/src/main/java/de/intevation/artifactdatabase/StringUtils.java:
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1565 Added methods to repeat chars or strings.
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1566
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1567 * artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1568 Filtering out locked artifact ids is now done on database level.
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1569
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1570 * artifact-database/src/main/resources/sql/org-h2-driver.properties,
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1571 artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1572 Added $LOCKED_ID$ template for the prepared statements to figure
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1573 out the locked ids.
1ea35226a6de Database cleaner: Ignoring locked artifacts is now done on database level.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 230
diff changeset
1574
230
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1575 2011-03-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1576
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1577 * artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1578 The cleaner now fetches the explicit set of locked artifact ids from
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1579 the artifact database. This is needed for the next step todo: Prevent
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1580 locked artifact from beeing considered as outdated on database level.
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1581
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1582 * artifact-database/src/main/java/de/intevation/artifactdatabase/Id.java:
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1583 Removed. Not needed any more.
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1584
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1585 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1586 Now provides a copy of the locked artifact ids.
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1587
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1588 * artifact-database/src/main/java/de/intevation/artifactdatabase/App.java,
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1589 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1590 Adjusted code to follow the new id locking semantics.
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1591
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1592 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java:
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1593 Removed needless import.
fbd57d2eeaef Changed semantics of locked artifact ids.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 229
diff changeset
1594
229
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1595 2011-03-31 Sascha L. Teichmann <sascha.teichmann@intevation.de>
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1596
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1597 * artifact-database/doc/schema-h2.sql, artifact-database/doc/schema-pg.sql:
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1598 Added a trigger on artifacts. If an artifact is changed the last_access
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1599 timestamp of the collections in which the artifact is in are updated, too.
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1600 Needs testing!
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1601
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1602 - In PostgreSQL it is done by a trigger written in plpgsql. So don't
233
16cd059945e5 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 231
diff changeset
1603 forget to add the language to the database!
229
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1604
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1605 - In H2 it is done by a trigger written in Java, because H2 does not
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1606 offer a script level trigger support.
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1607
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1608 * artifact-database/src/main/java/de/intevation/artifactdatabase/h2/CollectionAccessUpdateTrigger.java:
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1609 The H2 trigger.
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1610
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1611 * artifact-database/src/main/resources/sql/org-h2-driver.properties:
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1612 Added the statement which is executed if the trigger fires.
328ef982d768 When an artifact is touched the collections which contain the artifact are touched, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 228
diff changeset
1613
228
dd977fb7552e Added an implementation of DeferredOutput for ArtifactCollections and implemented the out() operation of ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 227
diff changeset
1614 2011-03-31 Ingo Weinzierl <ingo@intevation.de>
dd977fb7552e Added an implementation of DeferredOutput for ArtifactCollections and implemented the out() operation of ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 227
diff changeset
1615
dd977fb7552e Added an implementation of DeferredOutput for ArtifactCollections and implemented the out() operation of ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 227
diff changeset
1616 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
dd977fb7552e Added an implementation of DeferredOutput for ArtifactCollections and implemented the out() operation of ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 227
diff changeset
1617 Added an implementation of DeferredOutput for ArtifactCollections and
dd977fb7552e Added an implementation of DeferredOutput for ArtifactCollections and implemented the out() operation of ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 227
diff changeset
1618 implemented the out() operation of an ArtifactCollection.
dd977fb7552e Added an implementation of DeferredOutput for ArtifactCollections and implemented the out() operation of ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 227
diff changeset
1619
227
4bb6bfaca393 The output nodes written into the DESCRIBE document by ProtocolUtils have nodes for each facet supported by an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 226
diff changeset
1620 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
4bb6bfaca393 The output nodes written into the DESCRIBE document by ProtocolUtils have nodes for each facet supported by an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 226
diff changeset
1621
4bb6bfaca393 The output nodes written into the DESCRIBE document by ProtocolUtils have nodes for each facet supported by an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 226
diff changeset
1622 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProtocolUtils.java:
4bb6bfaca393 The output nodes written into the DESCRIBE document by ProtocolUtils have nodes for each facet supported by an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 226
diff changeset
1623 The output nodes written to DESCRIBE document have facet nodes now.
4bb6bfaca393 The output nodes written into the DESCRIBE document by ProtocolUtils have nodes for each facet supported by an output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 226
diff changeset
1624
226
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1625 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1626
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1627 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java,
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1628 artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java:
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1629 New. A facet and its default implementation. A facet represents one
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1630 piece of an concrete output. E.g. an output can be a chart, a facet can
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1631 be a single curve in this chart.
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1632
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1633 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java,
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1634 artifact-database/src/main/java/de/intevation/artifactdatabase/state/Output.java:
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1635 Added methods to retrieve and set facets.
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1636
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1637 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java:
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1638 Added code to parse facets in the inner of an output node of the
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1639 transition configuration. The xpath to a facet relative to a state
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1640 should look like this: state/outputmodes/outputmode/facets/facet.
41404961c804 Added support for facets - facets of output modes are read from configuration now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 224
diff changeset
1641
224
da92e7f8040b Tagged Release 1.1
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 223
diff changeset
1642 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
da92e7f8040b Tagged Release 1.1
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 223
diff changeset
1643
da92e7f8040b Tagged Release 1.1
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 223
diff changeset
1644 Tagged as RELEASE 1.1
da92e7f8040b Tagged Release 1.1
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 223
diff changeset
1645
223
91333a41b234 Enhanced the ClientProtocolUtils with a method to create a document to trigger the DESCRIBE operation of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 222
diff changeset
1646 2011-03-30 Ingo Weinzierl <ingo@intevation.de>
91333a41b234 Enhanced the ClientProtocolUtils with a method to create a document to trigger the DESCRIBE operation of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 222
diff changeset
1647
91333a41b234 Enhanced the ClientProtocolUtils with a method to create a document to trigger the DESCRIBE operation of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 222
diff changeset
1648 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
91333a41b234 Enhanced the ClientProtocolUtils with a method to create a document to trigger the DESCRIBE operation of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 222
diff changeset
1649 There is a new method that creates the document that is used to trigger
91333a41b234 Enhanced the ClientProtocolUtils with a method to create a document to trigger the DESCRIBE operation of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 222
diff changeset
1650 the DESCRIBE operation of a collection.
91333a41b234 Enhanced the ClientProtocolUtils with a method to create a document to trigger the DESCRIBE operation of a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 222
diff changeset
1651
222
98695dc6d94d The operation that adds an artifact to an artifact collection will now return the DESCRIBE document of the artifact collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 221
diff changeset
1652 2011-03-25 Ingo Weinzierl <ingo@intevation.de>
98695dc6d94d The operation that adds an artifact to an artifact collection will now return the DESCRIBE document of the artifact collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 221
diff changeset
1653
98695dc6d94d The operation that adds an artifact to an artifact collection will now return the DESCRIBE document of the artifact collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 221
diff changeset
1654 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
98695dc6d94d The operation that adds an artifact to an artifact collection will now return the DESCRIBE document of the artifact collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 221
diff changeset
1655 The operation that adds an artifact to an artifact collection will
98695dc6d94d The operation that adds an artifact to an artifact collection will now return the DESCRIBE document of the artifact collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 221
diff changeset
1656 return the DESCRIBE document of the artifact collection now.
98695dc6d94d The operation that adds an artifact to an artifact collection will now return the DESCRIBE document of the artifact collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 221
diff changeset
1657
221
f75f83af19e0 Made the 'attribute' document of an ArtifactCollection accessible with getter and setter methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 220
diff changeset
1658 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
f75f83af19e0 Made the 'attribute' document of an ArtifactCollection accessible with getter and setter methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 220
diff changeset
1659
f75f83af19e0 Made the 'attribute' document of an ArtifactCollection accessible with getter and setter methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 220
diff changeset
1660 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java,
f75f83af19e0 Made the 'attribute' document of an ArtifactCollection accessible with getter and setter methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 220
diff changeset
1661 artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java:
f75f83af19e0 Made the 'attribute' document of an ArtifactCollection accessible with getter and setter methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 220
diff changeset
1662 Made the document 'attribute' of the ArtifactCollection accessible via
f75f83af19e0 Made the 'attribute' document of an ArtifactCollection accessible with getter and setter methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 220
diff changeset
1663 getter and setter methods.
f75f83af19e0 Made the 'attribute' document of an ArtifactCollection accessible with getter and setter methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 220
diff changeset
1664
220
ecfc33a4ba3d Bugfix: Creating new ArtifactCollection will create artifact collections with empty - but not null - attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 219
diff changeset
1665 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
ecfc33a4ba3d Bugfix: Creating new ArtifactCollection will create artifact collections with empty - but not null - attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 219
diff changeset
1666
ecfc33a4ba3d Bugfix: Creating new ArtifactCollection will create artifact collections with empty - but not null - attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 219
diff changeset
1667 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
ecfc33a4ba3d Bugfix: Creating new ArtifactCollection will create artifact collections with empty - but not null - attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 219
diff changeset
1668 The CREATE document for used for creating new ArtifactCollections will
ecfc33a4ba3d Bugfix: Creating new ArtifactCollection will create artifact collections with empty - but not null - attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 219
diff changeset
1669 build an ArtifactCollection with an empty attribute - but it is no
ecfc33a4ba3d Bugfix: Creating new ArtifactCollection will create artifact collections with empty - but not null - attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 219
diff changeset
1670 longer null (which broke the XML parser while fetching the
ecfc33a4ba3d Bugfix: Creating new ArtifactCollection will create artifact collections with empty - but not null - attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 219
diff changeset
1671 ArtifactCollection from backend).
ecfc33a4ba3d Bugfix: Creating new ArtifactCollection will create artifact collections with empty - but not null - attributes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 219
diff changeset
1672
219
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1673 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1674
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1675 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1676 Removed the inner CallContextImpl class. This class is split up into an
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1677 abstract class AbstractCallContext and concrete classes for artifacts
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1678 and collections. We need to do so, because the describe() of an
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1679 ArtifactCollection needs the CallContext - but the former
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1680 CallContextImpl was specific for artifacts.
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1681
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1682 * artifact-database/src/main/java/de/intevation/artifactdatabase/AbstractCallContext.java,
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1683 artifact-database/src/main/java/de/intevation/artifactdatabase/CollectionCallContext.java,
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1684 artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactCallContext.java:
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1685 An abstract CallContext and two concrete implementations for Artifacts
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1686 and ArtifactCollections.
cabe4c02ab64 Refactored the CallContextImpl - there are two concrete classes for Artifacts and ArtifactCollections now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 218
diff changeset
1687
218
70cbbe144931 Added a describe() method for ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 217
diff changeset
1688 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
70cbbe144931 Added a describe() method for ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 217
diff changeset
1689
70cbbe144931 Added a describe() method for ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 217
diff changeset
1690 * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java,
70cbbe144931 Added a describe() method for ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 217
diff changeset
1691 artifacts/src/main/java/de/intevation/artifacts/ArtifactCollection.java:
70cbbe144931 Added a describe() method for ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 217
diff changeset
1692 There is a describe() method for ArtifactCollections, now.
70cbbe144931 Added a describe() method for ArtifactCollections.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 217
diff changeset
1693
217
87a7773030b5 The Backend got a method that retrieves an ArtifactCollection based on its GID.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 216
diff changeset
1694 2011-03-24 Ingo Weinzierl <ingo@intevation.de>
87a7773030b5 The Backend got a method that retrieves an ArtifactCollection based on its GID.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 216
diff changeset
1695
87a7773030b5 The Backend got a method that retrieves an ArtifactCollection based on its GID.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 216
diff changeset
1696 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
87a7773030b5 The Backend got a method that retrieves an ArtifactCollection based on its GID.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 216
diff changeset
1697 Added a method that retrieves an ArtifactCollection based on its GID.
87a7773030b5 The Backend got a method that retrieves an ArtifactCollection based on its GID.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 216
diff changeset
1698
216
2d90d5cfe8f9 Added a cast to uuid in collections.select.by.gid
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 215
diff changeset
1699 2011-03-24 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2d90d5cfe8f9 Added a cast to uuid in collections.select.by.gid
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 215
diff changeset
1700
2d90d5cfe8f9 Added a cast to uuid in collections.select.by.gid
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 215
diff changeset
1701 * artifact-database/src/main/resources/sql/org-postgresql-driver.properties:
2d90d5cfe8f9 Added a cast to uuid in collections.select.by.gid
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 215
diff changeset
1702 Added a cast to uuid in collections.select.by.gid
2d90d5cfe8f9 Added a cast to uuid in collections.select.by.gid
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 215
diff changeset
1703
215
a9c8fa38ba03 Added new collection specific sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 214
diff changeset
1704 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
1705
a9c8fa38ba03 Added new collection specific sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 214
diff changeset
1706 * 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
1707 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
1708 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
1709 a statement in the postgres properties.
a9c8fa38ba03 Added new collection specific sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 214
diff changeset
1710
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
1711 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
1712
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
1713 * 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
1714 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
1715 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
1716
213
199f0e553e3a Bugfix: Repaired broken SQL statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 212
diff changeset
1717 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
199f0e553e3a Bugfix: Repaired broken SQL statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 212
diff changeset
1718
199f0e553e3a Bugfix: Repaired broken SQL statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 212
diff changeset
1719 * 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
1720 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
1721 Bugfix: Repaired broken SQL statement.
199f0e553e3a Bugfix: Repaired broken SQL statement.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 212
diff changeset
1722
212
d7042094f7b7 Bugfix: Repaired a broken XPath.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 211
diff changeset
1723 2011-03-23 Ingo Weinzierl <ingo@intevation.de>
d7042094f7b7 Bugfix: Repaired a broken XPath.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 211
diff changeset
1724
d7042094f7b7 Bugfix: Repaired a broken XPath.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 211
diff changeset
1725 * 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
1726 Bugfix: Repaired a broken XPath.
d7042094f7b7 Bugfix: Repaired a broken XPath.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 211
diff changeset
1727
211
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
1728 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
1729
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
1730 * 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
1731 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
1732 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
1733
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
1734 * 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
1735 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
1736 document.
435631e07da2 Enhanced the ProtocolUtils and ClientProtocolUtils to append and retrieve output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 210
diff changeset
1737
210
b75fca1ac215 Enhanced the State interface to retrieve its output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 209
diff changeset
1738 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
1739
b75fca1ac215 Enhanced the State interface to retrieve its output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 209
diff changeset
1740 * 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
1741 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
1742 modes now.
b75fca1ac215 Enhanced the State interface to retrieve its output modes.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 209
diff changeset
1743
209
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
1744 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
1745
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
1746 * 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
1747 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
1748 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
1749 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
1750 '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
1751
1a3fb29b8b2e Enhanced the abstract state: the output modes are read now.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 208
diff changeset
1752 * 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
1753 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
1754
208
8ea4d0824d8f Changed a return type of a ClientProtocolUtils method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 207
diff changeset
1755 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
1756
8ea4d0824d8f Changed a return type of a ClientProtocolUtils method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 207
diff changeset
1757 * 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
1758 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
1759 retrieved.
8ea4d0824d8f Changed a return type of a ClientProtocolUtils method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 207
diff changeset
1760
207
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
1761 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
1762
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
1763 !!! 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
1764
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
1765 * 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
1766 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
1767 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
1768
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
1769 * 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
1770 Adjusted imports.
b2115f484edb Move Config and XMLUtils totally to commons package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 206
diff changeset
1771
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
1772 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
1773
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
1774 * 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
1775 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
1776 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
1777
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
1778 * 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
1779 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
1780
205
2a9591f76270 Changed the return type of a State's describe() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 204
diff changeset
1781 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
1782
2a9591f76270 Changed the return type of a State's describe() method.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 204
diff changeset
1783 * 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
1784 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
1785 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
1786
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
1787 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
1788
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
1789 * 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
1790 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
1791
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
1792 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
1793
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
1794 * 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
1795 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
1796
202
c03d3a872cd2 Fixed a bug in the ElementCreator of the XMLUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 201
diff changeset
1797 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
1798
c03d3a872cd2 Fixed a bug in the ElementCreator of the XMLUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 201
diff changeset
1799 * 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
1800 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
1801 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
1802 false.
c03d3a872cd2 Fixed a bug in the ElementCreator of the XMLUtils.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 201
diff changeset
1803
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
1804 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
1805
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
1806 * 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
1807 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
1808
200
62dd8438885f Added a further constructor to the DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 199
diff changeset
1809 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
1810
62dd8438885f Added a further constructor to the DefaultStateData class.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 199
diff changeset
1811 * 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
1812 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
1813
199
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
1814 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
1815
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
1816 * 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
1817 Fixed broken schemas.
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
1818
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
1819 * 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
1820 Insert collection attribute into database, too.
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
1821
face2302387c Insert collection attribute into database, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 198
diff changeset
1822 * 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
1823 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
1824 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
1825
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
1826 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
1827
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
1828 * 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
1829 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
1830 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
1831 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
1832
197
94654cbf8db2 Fixed a typo in the sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 196
diff changeset
1833 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
1834
94654cbf8db2 Fixed a typo in the sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 196
diff changeset
1835 * 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
1836 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
1837 Fixed a typo.
94654cbf8db2 Fixed a typo in the sql statements.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 196
diff changeset
1838
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
1839 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
1840
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
1841 * 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
1842 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
1843 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
1844 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
1845
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
1846 * 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
1847 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
1848 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
1849
195
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
1850 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
1851
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
1852 * 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
1853 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
1854 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
1855 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
1856 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
1857 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
1858 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
1859
63f555bbdbc0 Fix a foreign key constraint violation when deleting outdated artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 193
diff changeset
1860 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
1861 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
1862
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
1863 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
1864
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
1865 * 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
1866 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
1867
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
1868 * 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
1869 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
1870 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
1871
192
dad6071c9072 Implemented the getCollectionAttribute() and setCollectionAttribute() methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 191
diff changeset
1872 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
1873
dad6071c9072 Implemented the getCollectionAttribute() and setCollectionAttribute() methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 191
diff changeset
1874 * 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
1875 Implemented the setCollectionAttribute() and getCollectionAttribute()
dad6071c9072 Implemented the getCollectionAttribute() and setCollectionAttribute() methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 191
diff changeset
1876 methods.
dad6071c9072 Implemented the getCollectionAttribute() and setCollectionAttribute() methods.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 191
diff changeset
1877
191
3bce5556a2e5 Fixed some sql statements that contained typos.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 190
diff changeset
1878 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
1879
3bce5556a2e5 Fixed some sql statements that contained typos.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 190
diff changeset
1880 * 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
1881 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
1882 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
1883
190
7acf4a325bfe Implemented removeCollectionArtifact() method of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 189
diff changeset
1884 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
1885
7acf4a325bfe Implemented removeCollectionArtifact() method of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 189
diff changeset
1886 * 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
1887 Implemented removeCollectionArtifact() method.
7acf4a325bfe Implemented removeCollectionArtifact() method of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 189
diff changeset
1888
189
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
1889 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
1890
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
1891 * 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
1892 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
1893 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
1894 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
1895 Furthermore, listCollectionArtifacts() and addCollectionArtifact() are
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
1896 implemented now.
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
1897
fbaeb5931d10 Implemented addCollectionArtifact() and listCollectionArtifacts() of the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 188
diff changeset
1898 * 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
1899 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
1900
188
946e2245a6c0 Fixed broken constructor of DefaultCollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 187
diff changeset
1901 2011-03-07 Ingo Weinzierl <ingo@intevation.de>
946e2245a6c0 Fixed broken constructor of DefaultCollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 187
diff changeset
1902
946e2245a6c0 Fixed broken constructor of DefaultCollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 187
diff changeset
1903 * 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
1904 Fixed broken constructor.
946e2245a6c0 Fixed broken constructor of DefaultCollectionItem.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 187
diff changeset
1905
187
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
1906 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
1907
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
1908 * 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
1909 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
1910 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
1911
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
1912 * 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
1913 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
1914 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
1915
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
1916 * 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
1917 Fixed SQL constants.
a85d889a1b0d Fixed some backend specific stuff (sql statements, schema).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 186
diff changeset
1918
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
1919 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
1920
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
1921 * 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
1922 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
1923
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
1924 * 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
1925 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
1926 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
1927 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
1928
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
1929 * 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
1930 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
1931 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
1932
185
afd5945ff8d1 Added missing class.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 184
diff changeset
1933 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
1934
afd5945ff8d1 Added missing class.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 184
diff changeset
1935 * 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
1936 Add missing class.
afd5945ff8d1 Added missing class.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 184
diff changeset
1937
184
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
1938 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
1939
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
1940 * 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
1941 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
1942
a22b7e367b25 Added Backend code to list the collection items in a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 183
diff changeset
1943 * 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
1944 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
1945 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
1946 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
1947
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
1948 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
1949
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
1950 * 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
1951 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
1952 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
1953
182
7eebe707a034 Added helper to be return in Backend.listCollectionArtifacts()
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 181
diff changeset
1954 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
1955
7eebe707a034 Added helper to be return in Backend.listCollectionArtifacts()
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 181
diff changeset
1956 * 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
1957 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
1958
7eebe707a034 Added helper to be return in Backend.listCollectionArtifacts()
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 181
diff changeset
1959 * 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
1960 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
1961
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
1962 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
1963
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
1964 * 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
1965 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
1966 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
1967 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
1968
180
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
1969 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
1970
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
1971 * 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
1972 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
1973
38fbbeffe8fe Added code to remove an artifact from a collection
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 179
diff changeset
1974 * 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
1975 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
1976 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
1977 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
1978
179
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
1979 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
1980
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
1981 * 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
1982 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
1983
644fd11ddd9f Added code to set attribute of a collection item.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 178
diff changeset
1984 * 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
1985 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
1986 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
1987 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
1988
178
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
1989 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
1990
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
1991 * 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
1992 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
1993
535e4ea2ef9b Added code to get the attribute of a collection item
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 177
diff changeset
1994 * 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
1995 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
1996 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
1997 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
1998
177
77cd37a93fca Backend: isIdentifierValid more symmetric to new newIndentifier
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 176
diff changeset
1999 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
2000
77cd37a93fca Backend: isIdentifierValid more symmetric to new newIndentifier
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 176
diff changeset
2001 * 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
2002 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
2003 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
2004 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
2005 StringUtils.newUUID().
77cd37a93fca Backend: isIdentifierValid more symmetric to new newIndentifier
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 176
diff changeset
2006
176
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
2007 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
2008
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
2009 * 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
2010 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
2011 collection item.
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
2012
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
2013 * 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
2014 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
2015
a0eff2227588 Added code to add artifacts to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 175
diff changeset
2016 * 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
2017 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
2018 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
2019
175
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
2020 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
2021
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
2022 * 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
2023 Added code to delete a collection.
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
2024
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
2025 * 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
2026 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
2027 Added SQL statements to delete collections.
16e6e661e6bf Added code to delete collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 174
diff changeset
2028
174
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
2029 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
2030
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
2031 * 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
2032 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
2033 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
2034 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
2035 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
2036
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
2037 * 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
2038 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
2039
25d472a67a9f Reduce the code repetition and the complexity of the backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 173
diff changeset
2040 * 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
2041 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
2042
173
940ed629419f Solve the SQL problem with the collection listings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 172
diff changeset
2043 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
2044
940ed629419f Solve the SQL problem with the collection listings.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 172
diff changeset
2045 * 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
2046 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
2047 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
2048
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
2049 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
2050
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
2051 * 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
2052 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
2053 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
2054
171
401dd251fbf4 Lifted H2 to version 1.3.152.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 170
diff changeset
2055 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
2056
401dd251fbf4 Lifted H2 to version 1.3.152.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 170
diff changeset
2057 * 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
2058 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
2059 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
2060
170
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
2061 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
2062
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
2063 * 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
2064 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
2065 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
2066 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
2067
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
2068 * 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
2069 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
2070 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
2071 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
2072 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
2073
ac0f8bd97277 Fix parameter propagation of creation time ond collection names.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 169
diff changeset
2074 * 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
2075 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
2076
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
2077 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
2078
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
2079 * 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
2080 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
2081 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
2082
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
2083 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
2084
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
2085 * 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
2086 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
2087 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
2088 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
2089
167
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
2090 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
2091
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
2092 * 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
2093 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
2094 Added SQL statements to list collections.
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
2095
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
2096 * 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
2097 Added code to make collections accessible.
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
2098
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
2099 * 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
2100 Bind backend functionality to REST.
c9c27aca2f70 Added code to list collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 166
diff changeset
2101
166
89db80380f7f Implemented the method addCollectionArtifact() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 165
diff changeset
2102 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
2103
89db80380f7f Implemented the method addCollectionArtifact() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 165
diff changeset
2104 * 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
2105 Implemented the interface method addCollectionArtifact().
89db80380f7f Implemented the method addCollectionArtifact() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 165
diff changeset
2106
165
81ad657569e1 Added Helper for lazy loading users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 164
diff changeset
2107 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
2108
81ad657569e1 Added Helper for lazy loading users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 164
diff changeset
2109 * 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
2110 New: Helper for lazy loading users.
81ad657569e1 Added Helper for lazy loading users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 164
diff changeset
2111
164
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
2112 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
2113
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
2114 * 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
2115 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
2116 listCollections().
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
2117
268c2972d4a7 Implemented the interface method listCollections() in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 163
diff changeset
2118 * 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
2119 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
2120
163
28dea2714e90 Fixed a wrong node in the demo configuration used for the ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
2121 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
2122
28dea2714e90 Fixed a wrong node in the demo configuration used for the ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 162
diff changeset
2123 * 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
2124 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
2125 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
2126
162
4ac91485b4e0 Implemented the deleteCollection() interface method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 161
diff changeset
2127 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
2128
4ac91485b4e0 Implemented the deleteCollection() interface method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 161
diff changeset
2129 * 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
2130 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
2131 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
2132 implemented.
4ac91485b4e0 Implemented the deleteCollection() interface method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 161
diff changeset
2133
161
e4a1562dfc21 Bugfixed the collection creation in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 160
diff changeset
2134 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
2135
e4a1562dfc21 Bugfixed the collection creation in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 160
diff changeset
2136 * 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
2137 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
2138 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
2139 into the SQL statement.
e4a1562dfc21 Bugfixed the collection creation in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 160
diff changeset
2140
160
dc687827439f Enabled the artifact database to store and load roles of users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
2141 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
2142
dc687827439f Enabled the artifact database to store and load roles of users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 159
diff changeset
2143 * 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
2144 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
2145
159
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
2146 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
2147
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
2148 * 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
2149 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
2150 Added SQL statements to create collections.
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
2151
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
2152 * 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
2153 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
2154 Added name to collection.
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
2155
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
2156 * 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
2157 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
2158 Adjusted factory api to cope with names.
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
2159
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
2160 * 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
2161 Implemented create collection.
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
2162
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
2163 * 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
2164 Adjusted the backend call.
db0d20440b92 Added code to create collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 158
diff changeset
2165
158
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
2166 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
2167
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
2168 * 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
2169 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
2170 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
2171 collections.
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
2172
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
2173 * 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
2174 Implemented the interface method createCollection().
d718a4d55662 Implemented the createCollection() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 157
diff changeset
2175
157
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
2176 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
2177
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
2178 * 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
2179 Throw out useless stuff from interface.
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
2180
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
2181 * 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
2182 Adjusted default implementation.
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
2183
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
2184 * 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
2185 Use user factory to create new users.
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
2186
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
2187 * 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
2188 Call the backend with the new semantic.
6e6965873a48 Simplified creation of users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 156
diff changeset
2189
156
a76de72ad6d1 Added stubs for the collection handling in db backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 155
diff changeset
2190 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
2191
a76de72ad6d1 Added stubs for the collection handling in db backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 155
diff changeset
2192 * 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
2193 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
2194
a76de72ad6d1 Added stubs for the collection handling in db backend.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 155
diff changeset
2195 * 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
2196 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
2197
155
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
2198 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
2199
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
2200 * 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
2201 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
2202
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
2203 * 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
2204 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
2205 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
2206
f797093c60bd Made a (single one) artifact collection factory configurable.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 154
diff changeset
2207 * 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
2208 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
2209
154
1a72f08ce8d7 Propagate delete user errors correctly.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 153
diff changeset
2210 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
2211
1a72f08ce8d7 Propagate delete user errors correctly.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 153
diff changeset
2212 * 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
2213 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
2214 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
2215 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
2216 Propagate delete user errors correctly.
1a72f08ce8d7 Propagate delete user errors correctly.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 153
diff changeset
2217
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
2218 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
2219
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
2220 * 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
2221 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
2222 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
2223 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
2224 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
2225
bf596b83d984 Adjusted method signatures for deleting users in the UserFactory and in the Backend.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 152
diff changeset
2226 * 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
2227 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
2228 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
2229 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
2230
152
7e5619115d5b Implemented the deleteUser() method in the artifact server.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 151
diff changeset
2231 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
2232
7e5619115d5b Implemented the deleteUser() method in the artifact server.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 151
diff changeset
2233 * 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
2234 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
2235 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
2236 these collections.
7e5619115d5b Implemented the deleteUser() method in the artifact server.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 151
diff changeset
2237
151
3d70de111af1 Bugfix: Replaced wrong SQL statements with the correct ones.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 150
diff changeset
2238 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
2239
3d70de111af1 Bugfix: Replaced wrong SQL statements with the correct ones.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 150
diff changeset
2240 * 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
2241 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
2242
150
78a27a6b3f1f Implemented the listUsers() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 149
diff changeset
2243 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
2244
78a27a6b3f1f Implemented the listUsers() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 149
diff changeset
2245 * 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
2246 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
2247 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
2248
149
c69abd07bdd0 Implemented the createUser() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 148
diff changeset
2249 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
2250
c69abd07bdd0 Implemented the createUser() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 148
diff changeset
2251 * 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
2252 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
2253 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
2254 in the POST request.
c69abd07bdd0 Implemented the createUser() method in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 148
diff changeset
2255
148
101a52d3ad08 Added code to load all users from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 147
diff changeset
2256 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
2257
101a52d3ad08 Added code to load all users from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 147
diff changeset
2258 * 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
2259 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
2260
147
9a64e0c1c737 Added code to load user from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 144
diff changeset
2261 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
2262
9a64e0c1c737 Added code to load user from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 144
diff changeset
2263 * 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
2264 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
2265
9a64e0c1c737 Added code to load user from database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 144
diff changeset
2266 * 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
2267 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
2268
144
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
2269 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
2270
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
2271 * 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
2272 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
2273 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
2274 from the artifact database.
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
2275
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
2276 * 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
2277 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
2278 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
2279 users and collections.
5369582d4fbf Enable backend to delete users
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 143
diff changeset
2280
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
2281 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
2282
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
2283 * 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
2284 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
2285 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
2286 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
2287 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
2288
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
2289 * 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
2290 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
2291 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
2292
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
2293 * 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
2294 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
2295 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
2296 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
2297
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
2298 * 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
2299 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
2300
142
e986e32bc7d4 Added a Rest resource that handles operations specific to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 141
diff changeset
2301 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
2302
e986e32bc7d4 Added a Rest resource that handles operations specific to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 141
diff changeset
2303 * 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
2304 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
2305
e986e32bc7d4 Added a Rest resource that handles operations specific to a collection.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 141
diff changeset
2306 * 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
2307 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
2308
141
5d40faf1484d Added a Rest resource that lists all collections of a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 140
diff changeset
2309 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
2310
5d40faf1484d Added a Rest resource that lists all collections of a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 140
diff changeset
2311 * 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
2312 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
2313
5d40faf1484d Added a Rest resource that lists all collections of a specific user.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 140
diff changeset
2314 * 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
2315 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
2316
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
2317 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
2318
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
2319 * 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
2320 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
2321 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
2322
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
2323 * 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
2324 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
2325
139
320a81983c8d Removed needless imports
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 138
diff changeset
2326 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
2327
320a81983c8d Removed needless imports
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 138
diff changeset
2328 * 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
2329 artifacts/src/main/java/de/intevation/artifacts/UserFactory.java:
320a81983c8d Removed needless imports
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 138
diff changeset
2330 Removed needless imports.
320a81983c8d Removed needless imports
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 138
diff changeset
2331
138
b90e831d3dfe Call database to create a new user.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 137
diff changeset
2332 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
2333
b90e831d3dfe Call database to create a new user.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 137
diff changeset
2334 * 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
2335 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
2336
137
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
2337 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
2338
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
2339 * 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
2340 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
2341
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
2342 * 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
2343 Added the UserResource.
f92ad0e40df2 Added a resource that handles user specific actions.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 136
diff changeset
2344
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
2345 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
2346
e2aad8d8ebd7 Added a Rest resource that lists all users provided by the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 135
diff changeset
2347 * 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
2348 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
2349 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
2350
e2aad8d8ebd7 Added a Rest resource that lists all users provided by the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 135
diff changeset
2351 * 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
2352 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
2353
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
2354 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
2355
a48882c9e096 Added a convinience method to transform an document into a byte array.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 134
diff changeset
2356 * 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
2357 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
2358 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
2359
134
19267b9960c3 Wired Backend with DefaultUserFactory via the singleton.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 133
diff changeset
2360 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
2361
19267b9960c3 Wired Backend with DefaultUserFactory via the singleton.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 133
diff changeset
2362 * 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
2363 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
2364
133
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
2365 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
2366
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
2367 * 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
2368 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
2369 Fixed typo in keys.
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
2370
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
2371 * 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
2372 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
2373 Removed superfluous identifier in createUser().
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
2374
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
2375 * 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
2376 Added stubs for handling of users.
2950c6011afa Fixed typo in keys.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 132
diff changeset
2377
132
6f1e8c08f747 Removed duplicated method to list users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 131
diff changeset
2378 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
2379
6f1e8c08f747 Removed duplicated method to list users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 131
diff changeset
2380 * 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
2381 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
2382 Removed duplicated method to list users.
6f1e8c08f747 Removed duplicated method to list users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 131
diff changeset
2383
131
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
2384 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
2385
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
2386 * 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
2387 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
2388 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
2389
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
2390 * 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
2391 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
2392
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
2393 * 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
2394 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
2395 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
2396
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
2397 * 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
2398 Added the CreateUserResource.
82809c5992e1 Added a resource '/create-user' to create new users.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 130
diff changeset
2399
130
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
2400 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
2401
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
2402 * 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
2403 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
2404 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
2405
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
2406 * 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
2407 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
2408
147610c43863 The UserFactory got a setup() method that is called while bootstrap.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 129
diff changeset
2409 * 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
2410 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
2411 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
2412
129
10d726907419 Bugfix: The artifacts package can be compiled with local modifications again.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 128
diff changeset
2413 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
2414
10d726907419 Bugfix: The artifacts package can be compiled with local modifications again.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 128
diff changeset
2415 * 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
2416 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
2417
128
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
2418 2011-03-01 Ingo Weinzierl <ingo@intevation.de>
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
2419
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
2420 * 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
2421 Made it a singleton.
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
2422
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
2423 * 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
2424 Use the singleton Backend.
bfa65a812c7a Made the backend singleton.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 127
diff changeset
2425
127
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
2426 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
2427
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
2428 * 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
2429 Setup the user factory.
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
2430
0245a87df368 Made the user factory available in the artifact database.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 126
diff changeset
2431 * 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
2432 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
2433
126
76744dcbe826 Added a user-factory configuration to the demo-config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 125
diff changeset
2434 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
2435
76744dcbe826 Added a user-factory configuration to the demo-config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 125
diff changeset
2436 * 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
2437 configuration.
76744dcbe826 Added a user-factory configuration to the demo-config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 125
diff changeset
2438
125
cee54e52000c Added the registration of the UserFactory to the bootstrap process.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 124
diff changeset
2439 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
2440
cee54e52000c Added the registration of the UserFactory to the bootstrap process.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 124
diff changeset
2441 * 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
2442 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
2443
124
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
2444 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
2445
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
2446 * 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
2447 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
2448 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
2449
caf9f456f7e3 Added SQL statements to handle users in database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 123
diff changeset
2450 * 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
2451 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
2452
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
2453 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
2454
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
2455 * 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
2456 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
2457 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
2458
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
2459 * 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
2460 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
2461 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
2462
122
c9cf5f33a230 Added a default implementation of an ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 121
diff changeset
2463 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
2464
c9cf5f33a230 Added a default implementation of an ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 121
diff changeset
2465 * 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
2466 A default implementation of an ArtifactCollectionFactory.
c9cf5f33a230 Added a default implementation of an ArtifactCollectionFactory.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 121
diff changeset
2467
121
720d65bbba13 Extended db scheme to cope with collections, collection items and users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 120
diff changeset
2468 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
2469
720d65bbba13 Extended db scheme to cope with collections, collection items and users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 120
diff changeset
2470 * 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
2471 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
2472 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
2473
120
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
2474 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
2475
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
2476 * 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
2477 Typo fix.
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
2478
c030895edfcb Added method to figure out TTL of a collection.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 119
diff changeset
2479 * 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
2480 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
2481
119
3bb121d5b0b7 Added a default implementation of an ArtifactCollection and a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 118
diff changeset
2482 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
2483
3bb121d5b0b7 Added a default implementation of an ArtifactCollection and a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 118
diff changeset
2484 * 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
2485 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
2486
3bb121d5b0b7 Added a default implementation of an ArtifactCollection and a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 118
diff changeset
2487 * 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
2488 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
2489
118
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
2490 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
2491
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
2492 * 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
2493 Added creation time.
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
2494
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
2495 * 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
2496 Typo fixes.
0e0c27bc0b90 Added creation time to collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 117
diff changeset
2497
117
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
2498 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
2499
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
2500 * 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
2501 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
2502
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
2503 * 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
2504 Trivial implementation.
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
2505
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
2506 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
2507
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
2508 * 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
2509 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
2510 missing call contexts to API.
4d725248f8d1 Added external API for users and collections.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 115
diff changeset
2511
115
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
2512 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
2513
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
2514 * 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
2515 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
2516
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
2517 * 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
2518 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
2519
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
2520 * 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
2521 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
2522
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
2523 * 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
2524 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
2525
a1200c6ed048 Initial interfaces to handle with Collections and Users.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 114
diff changeset
2526 * 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
2527
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
2528 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
2529
19b86e27d0c3 New XPath constants and methods that retrieve important nodes of the DESCRIBE document.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 113
diff changeset
2530 * 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
2531 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
2532 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
2533
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
2534 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
2535
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
2536 * 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
2537 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
2538 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
2539
0344a20f8a93 Added the ArtifactNamespaceContext and a ClientProtocolUtils that helps working with the artifact protocol.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 112
diff changeset
2540 * 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
2541 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
2542 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
2543 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
2544
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
2545 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
2546
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
2547 * 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
2548 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
2549
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
2550 * 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
2551 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
2552 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
2553 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
2554
111
901f384ddad9 Added an interface and its default implementation for a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 110
diff changeset
2555 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
2556
901f384ddad9 Added an interface and its default implementation for a User.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 110
diff changeset
2557 * 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
2558 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
2559 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
2560
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
2561 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
2562
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
2563 * 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
2564 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
2565
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
2566 * 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
2567 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
2568 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
2569
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
2570 * 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
2571 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
2572
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
2573 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
2574
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
2575 * 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
2576 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
2577 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
2578
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
2579 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
2580
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
2581 * 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
2582 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
2583
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
2584 * 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
2585 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
2586 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
2587
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
2588 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
2589
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
2590 * 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
2591 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
2592 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
2593
106
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
2594 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
2595
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
2596 * 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
2597 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
2598 are extracted at this place.
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
2599
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
2600 * 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
2601 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
2602
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
2603 * 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
2604 package.
ece0fdb07975 Implementations to initialize and retrieve states.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 105
diff changeset
2605
105
265f150f4f7f Added an abstract implementation of a State.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 104
diff changeset
2606 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
2607
265f150f4f7f Added an abstract implementation of a State.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 104
diff changeset
2608 * 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
2609 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
2610 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
2611 concrete subclasses.
265f150f4f7f Added an abstract implementation of a State.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 104
diff changeset
2612
104
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
2613 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
2614
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
2615 * 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
2616 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
2617 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
2618 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
2619
26bfff409dd3 Added interfaces and engines used in concrete artifact packages.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 103
diff changeset
2620 * 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
2621 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
2622 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
2623 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
2624
103
1282cf96d3eb Corrected a package definition in the artifacts-common package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 102
diff changeset
2625 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
2626
1282cf96d3eb Corrected a package definition in the artifacts-common package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 102
diff changeset
2627 * 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
2628 Corrected the package definition.
1282cf96d3eb Corrected a package definition in the artifacts-common package.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 102
diff changeset
2629
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
2630 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
2631
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
2632 * 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
2633 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
2634 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
2635 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
2636
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
2637 * 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
2638 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
2639
101
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
2640 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
2641
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
2642 * 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
2643 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
2644
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
2645 * 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
2646 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
2647 modifications.
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
2648
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
2649 * 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
2650 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
2651 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
2652 handling threads.
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
2653
7fc0650f194c Upgraded the Restlet version to 2.0.4 (current stable).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 100
diff changeset
2654 * 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
2655 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
2656 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
2657 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
2658 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
2659 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
2660 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
2661 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
2662
100
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
2663 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
2664
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
2665 * 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
2666 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
2667 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
2668 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
2669 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
2670 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
2671 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
2672 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
2673 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
2674 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
2675 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
2676 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
2677 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
2678 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
2679 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
2680 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
2681 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
2682 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
2683 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
2684 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
2685 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
2686 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
2687 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
2688 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
2689 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
2690 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
2691 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
2692 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
2693 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
2694 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
2695 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
2696 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
2697 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
2698 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
2699 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
2700 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
2701 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
2702 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
2703 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
2704 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
2705 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
2706 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
2707 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
2708 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
2709 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
2710 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
2711
933bbc9fc11f Added license file and license headers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 99
diff changeset
2712 * 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
2713
99
0efa3e8e46d4 Write revision to MANIFEST files while creating jar archives.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 98
diff changeset
2714 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
2715
0efa3e8e46d4 Write revision to MANIFEST files while creating jar archives.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 98
diff changeset
2716 * artifacts/pom.xml,
0efa3e8e46d4 Write revision to MANIFEST files while creating jar archives.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 98
diff changeset
2717 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
2718
97
de401cf3a89a ChangeLog: Tagging version 1.0
Hans Plum <hans.plum@intevation.de>
parents: 96
diff changeset
2719 2010-04-28 Hans Plum <hans@intevation.de>
de401cf3a89a ChangeLog: Tagging version 1.0
Hans Plum <hans.plum@intevation.de>
parents: 96
diff changeset
2720
98
a24ab98f858d ChangeLog: Tagging version 1.0; explaining the reason for 1.0
Hans Plum <hans.plum@intevation.de>
parents: 97
diff changeset
2721 * 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
2722 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
2723 instead of 0.6
97
de401cf3a89a ChangeLog: Tagging version 1.0
Hans Plum <hans.plum@intevation.de>
parents: 96
diff changeset
2724
96
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 95
diff changeset
2725 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
2726
f03a309a037f Summarized activities, created NEWS and Changes for the upcoming release.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 95
diff changeset
2727 * 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
2728
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
2729 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
2730
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
2731 * 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
2732 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
2733
94
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
2734 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
2735
5332d956729c Brought all line lengths of non Javadoc lines below 80.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 93
diff changeset
2736 * 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
2737 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
2738 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
2739 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
2740 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
2741 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
2742 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
2743 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
2744
93
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2745 2010-03-28 Sascha L. Teichmann <sascha.teichmann@intevation.de>
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2746
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2747 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2748 artifact-database/src/main/java/de/intevation/artifactdatabase/SQL.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2749 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContextFactory.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2750 artifact-database/src/main/java/de/intevation/artifactdatabase/DBConnection.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2751 artifact-database/src/main/java/de/intevation/artifactdatabase/Config.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2752 artifact-database/src/main/java/de/intevation/artifactdatabase/App.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2753 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCallMeta.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2754 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2755 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2756 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactSerializer.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2757 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
2758 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
2759 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
2760 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
2761 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
2762 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
2763 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
2764 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
2765 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultServiceFactory.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2766 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java,
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2767 artifacts/src/main/java/de/intevation/artifacts/ArtifactNamespaceContext.java:
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2768 Sorted imports.
e27cf9c84eb8 Unified imports.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 92
diff changeset
2769
91
730ff077a58c More javadoc, some code formatting.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 90
diff changeset
2770 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
2771
92
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
2772 * 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
2773 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
2774 TODO:
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
2775 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
2776 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
2777
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
2778 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
2779
73d0ebae81d7 Last bunch of javadoc
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 91
diff changeset
2780 * 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
2781 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
2782 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
2783 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
2784 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
2785 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
2786 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
2787 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
2788 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
2789 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
2790 More javadoc, some code formatting.
91
730ff077a58c More javadoc, some code formatting.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 90
diff changeset
2791
90
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2792 2010-03-26 Sascha L. Teichmann <sascha.teichmann@intevation.de>
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2793
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2794 * artifact-database/src/main/java/de/intevation/artifactdatabase/ProxyArtifact.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2795 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultPreferredLocale.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2796 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultService.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2797 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContext.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2798 artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2799 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactFactory.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2800 artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultServiceFactory.java,
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2801 artifact-database/src/main/java/de/intevation/artifactdatabase/DatabaseCleaner.java:
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2802 Even more javadoc.
68285f7bc476 More javadoc.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 89
diff changeset
2803
89
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
2804 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
2805
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
2806 * 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
2807 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
2808 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
2809 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
2810 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
2811 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
2812 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
2813 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
2814 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
2815 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
2816 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
2817 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
2818 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
2819 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
2820 More javadoc (fixes small glitches, too).
d348fe1fd822 More javadoc (fixes small glitches, too).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 88
diff changeset
2821
88
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
2822 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
2823
69c84cf7c5d7 Added javadoc to the REST package of the artifact database (complete).
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 87
diff changeset
2824 * 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
2825 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
2826 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
2827 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
2828 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
2829 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
2830 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
2831 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
2832 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
2833 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
2834 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
2835 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
2836 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
2837 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
2838
87
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
2839 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
2840
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
2841 * 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
2842 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
2843 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
2844 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
2845 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
2846 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
2847 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
2848 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
2849 Added javadoc.
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
2850
0f48188a6e02 Added some javadoc to the artifactdatabase module. Not done yet.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 86
diff changeset
2851 * 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
2852 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
2853 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
2854
86
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
2855 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
2856
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
2857 * 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
2858 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
2859 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
2860 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
2861 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
2862 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
2863 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
2864 artifacts/src/main/java/de/intevation/artifacts/CallContext.java,
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
2865 artifacts/src/main/java/de/intevation/artifacts/Artifact.java:
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
2866 Removed trailing whitespace:
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
2867 find -name \*.java | xargs sed -i 's/[ \t]\+$//'
b2e0cb83631c Removed trailing whitespace
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 85
diff changeset
2868
85
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
2869 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
2870
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
2871 * 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
2872 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
2873 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
2874 module 'artifact-database'
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
2875
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
2876 * 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
2877 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
2878 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
2879 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
2880 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
2881 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
2882 Fixed vim modeline.
78263e910675 Completed Javadoc of sub module 'artifacts'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 84
diff changeset
2883
84
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
2884 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
2885
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
2886 * 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
2887 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
2888 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
2889 is existing.
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
2890
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
2891 * 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
2892 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
2893
72e2dd4feb31 Added the time to live of an artifact to the CallContext.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 83
diff changeset
2894 * 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
2895 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
2896
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
2897 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
2898
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
2899 * 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
2900 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
2901 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
2902 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
2903
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
2904 * 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
2905
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
2906 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
2907
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
2908 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
2909 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
2910
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
2911 * 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
2912 '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
2913 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
2914 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
2915 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
2916
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
2917 * 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
2918 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
2919 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
2920
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
2921 * 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
2922 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
2923
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
2924 * 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
2925 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
2926
81
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
2927 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
2928
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
2929 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
2930
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
2931 * 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
2932 method setIdentifier(String identifier).
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
2933
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
2934 * 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
2935 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
2936 artifact a new identifier.
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
2937
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
2938 * 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
2939 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
2940
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
2941 * 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
2942 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
2943 identifier.
e9c80fdfee13 Set new identifiers on artifacts after an artifact import.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 80
diff changeset
2944
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
2945 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
2946
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
2947 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
2948
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
2949 * 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
2950 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
2951 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
2952 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
2953
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
2954 * 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
2955 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
2956 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
2957
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
2958 * 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
2959 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
2960 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
2961
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
2962 * 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
2963 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
2964 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
2965
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
2966 * 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
2967 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
2968 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
2969 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
2970
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
2971 * 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
2972 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
2973
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
2974
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
2975 * 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
2976 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
2977 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
2978 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
2979 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
2980
79
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
2981 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
2982
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
2983 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
2984
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
2985 * 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
2986 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
2987 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
2988 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
2989 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
2990
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
2991 * 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
2992 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
2993 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
2994
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
2995 * 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
2996 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
2997
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
2998 * 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
2999 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
3000
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
3001 * 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
3002 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
3003 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
3004 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
3005
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
3006 * 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
3007 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
3008 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
3009 PersistentArtifacts.
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
3010
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
3011 * 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
3012 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
3013 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
3014 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
3015
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
3016 * 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
3017 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
3018
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
3019 * 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
3020 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
3021
f69e5b87f05f Implementation to export artifacts as xml (applied patch from issue208 by SLT).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 78
diff changeset
3022 * 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
3023 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
3024
78
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
3025 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
3026
55eefe63a777 Repaired the javadoc stuff for almost all artifact interfaces.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 77
diff changeset
3027 * 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
3028 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
3029 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
3030 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
3031 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
3032 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
3033 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
3034 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
3035 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
3036 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
3037 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
3038 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
3039
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
3040 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
3041
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
3042 * 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
3043 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
3044 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
3045 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
3046 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
3047 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
3048 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
3049 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
3050 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
3051 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
3052 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
3053 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
3054 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
3055 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
3056 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
3057 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
3058 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
3059 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
3060 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
3061 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
3062 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
3063 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
3064 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
3065 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
3066 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
3067 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
3068 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
3069 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
3070 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
3071 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
3072 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
3073 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
3074 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
3075 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
3076 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
3077 -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
3078 -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
3079
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
3080 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
3081 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
3082
76
5b1ca000483c Changed log4j version to 1.2.14
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 75
diff changeset
3083 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
3084
5b1ca000483c Changed log4j version to 1.2.14
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 75
diff changeset
3085 Issue170
5b1ca000483c Changed log4j version to 1.2.14
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 75
diff changeset
3086
5b1ca000483c Changed log4j version to 1.2.14
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 75
diff changeset
3087 * 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
3088 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
3089
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
3090 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
3091
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
3092 * 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
3093 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
3094 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
3095
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
3096 * 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
3097 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
3098 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
3099 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
3100 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
3101 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
3102 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
3103 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
3104 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
3105 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
3106 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
3107 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
3108 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
3109 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
3110
74
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 73
diff changeset
3111 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
3112
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 73
diff changeset
3113 RELEASE 0.4
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 73
diff changeset
3114
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 73
diff changeset
3115 * Changes, NEWS, ChangeLog: summarized activities.
66f43d1e69eb Summarized Changes and NEWS for Release 0.4
Hans Plum <hans.plum@intevation.de>
parents: 73
diff changeset
3116
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
3117 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
3118
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
3119 * 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
3120 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
3121 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
3122
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
3123 * 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
3124 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
3125
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
3126 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
3127
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
3128 * 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
3129 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
3130 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
3131
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
3132 * 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
3133 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
3134
71
c99da6837be0 Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 70
diff changeset
3135 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
3136
c99da6837be0 Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 70
diff changeset
3137 * 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
3138 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
3139
c99da6837be0 Load service factories and services during bootstrap.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 70
diff changeset
3140 * 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
3141
70
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3142 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
3143
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3144 * 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
3145 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
3146
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3147 * 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
3148 Fixed indention.
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3149
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3150 * 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
3151 Implemented service factory loading trivial. TODO: Load
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3152 them from the configuration.
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3153
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3154 * 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
3155 Serve the services.
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3156
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3157 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
3158
498bb84334d0 Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 68
diff changeset
3159 * 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
3160 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
3161
498bb84334d0 Added base class for services and service factories.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 68
diff changeset
3162 * 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
3163 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
3164 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
3165
70
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3166 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
3167
541814404822 Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 67
diff changeset
3168 * 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
3169 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
3170 XML documents.
541814404822 Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 67
diff changeset
3171
541814404822 Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 67
diff changeset
3172 * 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
3173 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
3174
541814404822 Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 67
diff changeset
3175 * 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
3176 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
3177
541814404822 Added interfaces for XML processing services. TODO: Implement them!
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 67
diff changeset
3178 * 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
3179 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
3180 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
3181 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
3182
70
ce488c1d3fc4 Serve services over artifact database.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 69
diff changeset
3183 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
3184
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
3185 * 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
3186 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
3187
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
3188 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
3189
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
3190 * 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
3191 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
3192 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
3193 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
3194
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
3195 * 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
3196 '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
3197
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
3198 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
3199
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
3200 * 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
3201 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
3202 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
3203
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
3204 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
3205
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
3206 * 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
3207 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
3208 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
3209
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
3210 * 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
3211 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
3212 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
3213
63
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 62
diff changeset
3214 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
3215
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 62
diff changeset
3216 RELEASE 0.3
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 62
diff changeset
3217
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 62
diff changeset
3218 * Changes, NEWS, ChangeLog: summarized activities.
824dd614e647 Release 0.3
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 62
diff changeset
3219
62
76abf0c64d3b Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 61
diff changeset
3220 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
3221
76abf0c64d3b Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 61
diff changeset
3222 * 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
3223 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
3224 file.
76abf0c64d3b Added XML utils method to load XML file from file.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 61
diff changeset
3225
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
3226 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
3227
911c684c8a1c Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 60
diff changeset
3228 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
3229
911c684c8a1c Removed config path of chart template which doesn't belong here from Config.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 60
diff changeset
3230 * 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
3231 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
3232
60
85d996328c8a Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 59
diff changeset
3233 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
3234
85d996328c8a Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 59
diff changeset
3235 * 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
3236 Removed needless import.
85d996328c8a Removed needless import.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 59
diff changeset
3237
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
3238 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
3239
8cd770330f1b Added path to chart template and added a method to retrieve its configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 58
diff changeset
3240 * 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
3241 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
3242 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
3243
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
3244 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
3245
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
3246 * 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
3247 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
3248 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
3249 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
3250
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
3251 * 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
3252 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
3253
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
3254 * 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
3255 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
3256 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
3257
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
3258 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
3259 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
3260 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
3261 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
3262 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
3263 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
3264
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
3265 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
3266
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
3267 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
3268 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
3269 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
3270
57
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
3271 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
3272
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
3273 RELEASE 0.2
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
3274
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
3275 * Changes, NEWS summarized
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
3276
56
f027204baf5d Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 55
diff changeset
3277 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
3278
f027204baf5d Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 55
diff changeset
3279 * 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
3280 tomcat, gnv).
f027204baf5d Added HOWTO to setup the environment
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 55
diff changeset
3281
55
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
3282 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
3283
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
3284 * 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
3285 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
3286
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
3287 * 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
3288 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
3289
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
3290 * 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
3291 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
3292
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
3293 * 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
3294 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
3295
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
3296 * 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
3297 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
3298 XML.
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
3299
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
3300 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
3301
57
cf9848c85755 RELEASE 0.2: Summarized NEWS and Changes
Hans Plum <hans.plum@intevation.de>
parents: 56
diff changeset
3302 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
3303
55
9a29899b31e5 describe() in REST interface is also handled as POST to pass
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 54
diff changeset
3304 * 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
3305 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
3306
53
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 52
diff changeset
3307 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
3308
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 52
diff changeset
3309 RELEASE 0.1
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 52
diff changeset
3310
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 52
diff changeset
3311 * Changes, NEWS: Summaried changes.
fecd142b6856 RELEASE 0.1
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 52
diff changeset
3312
52
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3313 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
3314
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3315 * 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
3316
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3317 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
3318
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3319 * 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
3320 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
3321
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3322 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
3323
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3324 * 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
3325 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
3326
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3327 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
3328
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3329 * 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
3330 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
3331
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3332 * 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
3333 Trivial (and incorrect!) implementation.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3334
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3335 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
3336
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3337 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
3338
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3339 * 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
3340 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
3341 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
3342
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3343 * 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
3344
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3345 * 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
3346 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
3347
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3348 * 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
3349 New. Model preferred languages.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3350
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3351 * 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
3352 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
3353
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3354 * 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
3355 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
3356 external meta data.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3357
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3358 * 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
3359 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
3360
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3361 * 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
3362 New. Default implementation of PreferredLocale.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3363
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3364 * 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
3365 New. Default implementation of CallMeta.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3366
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3367 * 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
3368 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
3369
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3370 * 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
3371 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
3372
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3373 * 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
3374 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
3375 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
3376 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
3377
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3378 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
3379
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3380 * 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
3381 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
3382 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
3383 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
3384 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
3385 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
3386 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
3387 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
3388 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
3389 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
3390 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
3391 Removed trailing whitespace.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3392
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3393 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
3394
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3395 * 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
3396 Removed needless imports.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3397
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3398 * 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
3399 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
3400
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3401 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
3402
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3403 * 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
3404 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
3405
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3406 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
3407
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3408 * 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
3409 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
3410
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3411 * 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
3412 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
3413 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
3414
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3415 * 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
3416 demo configuration.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3417
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3418 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
3419
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3420 * 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
3421 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
3422 was broken.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3423
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3424 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
3425
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3426 * 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
3427 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
3428
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3429 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
3430
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3431 * 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
3432 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
3433 creating factory.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3434
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3435 !!!
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3436 !!! THIS BREAKS OLD ARTIFACT DATABASES!
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3437 !!!
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3438 !!! 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
3439 !!! 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
3440 !!!
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3441
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3442 * 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
3443 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
3444 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
3445 into artifact relation.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3446
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3447 * 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
3448 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
3449 serializer for the artifacts.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3450
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3451 * 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
3452 Add method to return ArtifactSerializer.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3453
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3454 * 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
3455 Uses Java standard object serialisation.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3456
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3457 * 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
3458 Uses th DefaultArtifactSerializer as ArtifactSerializer
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3459
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3460 * 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
3461 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
3462 table.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3463
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3464 * 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
3465 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
3466 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
3467 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
3468 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
3469
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3470 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
3471
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3472 * 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
3473 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
3474
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3475 * 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
3476 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
3477 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
3478 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
3479 Adjusted to extend from BaseResource.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3480
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3481 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
3482
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3483 * 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
3484
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3485 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
3486
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3487 * 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
3488 * 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
3489
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3490 * 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
3491
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3492 * 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
3493 SQL statements for PostgreSQL.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3494
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3495 * 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
3496 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
3497
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3498 * 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
3499 Added some debug logging.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3500
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3501 * 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
3502
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3503 * 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
3504
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3505 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
3506
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3507 * 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
3508 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
3509
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3510 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
3511
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3512 * 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
3513 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
3514 of the advance Method.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3515
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3516 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
3517
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3518 * 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
3519 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
3520
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3521 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
3522
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3523 * 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
3524 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
3525
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3526 * 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
3527 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
3528
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3529 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
3530
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3531 * 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
3532 Make Objects Serializable
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3533
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3534 * 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
3535 Bug Fixed in SQL-Query
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3536
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3537 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
3538
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3539 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
3540 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
3541 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
3542 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
3543 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
3544 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
3545 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
3546 the specific call.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3547
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3548 The accepted values are:
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3549 - NOTHING for doing nothing
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3550 - 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
3551 - STORE for persisting the artifact.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3552 - 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
3553 a background operation.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3554
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3555 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
3556 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
3557 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
3558
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3559 !!! 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
3560 !!! 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
3561 !!! which prevents reclaiming resources
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3562
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3563 * 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
3564 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
3565
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3566 * 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
3567 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
3568
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3569 * 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
3570 Adjusted.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3571
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3572 * 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
3573 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
3574 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
3575 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
3576
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3577 * 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
3578 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
3579
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3580 * 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
3581 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
3582
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3583 * 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
3584 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
3585 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
3586 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
3587 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
3588 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
3589
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3590 * 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
3591 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
3592
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3593 * 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
3594 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
3595
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3596 * 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
3597 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
3598 in ArtifactDatabaseImpl.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3599
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3600 * 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
3601 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
3602 database id.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3603
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3604 * 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
3605 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
3606
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3607 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
3608
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3609 * 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
3610 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
3611 the output.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3612
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3613 * 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
3614 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
3615 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
3616 Adjusted.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3617
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3618 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
3619
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3620 * 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
3621 sleep time for cleanup thread.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3622
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3623 * 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
3624 Start cleanup thread at startup.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3625
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3626 * 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
3627 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
3628 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
3629 is found by lookup.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3630
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3631 * 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
3632 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
3633 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
3634 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
3635
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3636 * 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
3637 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
3638 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
3639
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3640 * 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
3641 commons-pool version installed.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3642
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3643 * 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
3644 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
3645
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3646 * 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
3647 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
3648 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
3649 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
3650 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
3651
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3652 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
3653
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3654 * 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
3655 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
3656
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3657 * 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
3658 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
3659
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3660 * 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
3661 Regrouped imports.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3662
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3663 * 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
3664 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
3665
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3666 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
3667
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3668 * 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
3669 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
3670
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3671 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
3672
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3673 * 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
3674 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
3675
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3676 * 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
3677 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
3678
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3679 * 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
3680 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
3681
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3682 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
3683
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3684 * 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
3685 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
3686
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3687 * 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
3688 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
3689
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3690 * 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
3691 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
3692
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3693 * 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
3694 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
3695
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3696 * 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
3697 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
3698
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3699 * 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
3700 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
3701
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3702 * 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
3703
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3704 * 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
3705 create an artifact. Usage
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3706
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3707 $ 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
3708
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3709 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
3710
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3711 * 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
3712 Removed needless import.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3713
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3714 * 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
3715 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
3716 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
3717
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3718 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
3719
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3720 * 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
3721 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
3722
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3723 * 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
3724 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
3725 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
3726
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3727 * 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
3728 Call artifact.setup() with this.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3729
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3730 * 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
3731 Removed namespace stuff.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3732
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3733 * 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
3734 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
3735
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3736 * 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
3737 Use new namespace stuff.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3738
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3739 * 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
3740 Added author.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3741
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3742 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
3743
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3744 * 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
3745 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
3746
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3747 * 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
3748 Uses new method from XMLUtils.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3749
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3750 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
3751
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3752 * 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
3753 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
3754 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
3755
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3756 * 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
3757 Removed needless import.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3758
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3759 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
3760
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3761 * 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
3762 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
3763
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3764 * 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
3765 Attached create to web server.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3766
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3767 * 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
3768 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
3769
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3770 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
3771
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3772 * 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
3773 for XML handling in representations.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3774
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3775 * 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
3776
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3777 * 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
3778 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
3779 into this file.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3780
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3781 * 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
3782
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3783 * 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
3784 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
3785
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3786 * 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
3787 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
3788
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3789 * 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
3790 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
3791
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3792 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
3793
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3794 * 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
3795 * 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
3796
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3797 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
3798 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
3799 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
3800 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
3801 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
3802 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
3803 logging.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3804 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
3805 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
3806 not overwritten.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3807
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3808 * 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
3809 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
3810
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3811 * 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
3812 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
3813
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3814 * 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
3815 example logging config
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3816
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3817 * 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
3818 Added some more logging infos.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3819
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3820 * 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
3821 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
3822
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3823 * 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
3824 Package for REST binding.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3825
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3826 * 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
3827 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
3828
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3829 * 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
3830 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
3831
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3832 * 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
3833 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
3834 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
3835 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
3836
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3837 $ ./contrib/run.sh \
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3838 -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
3839 de.intevation.artifactdatabase.App
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3840
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3841 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
3842
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3843 * 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
3844 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
3845
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3846 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
3847
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3848 * 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
3849 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
3850 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
3851 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
3852 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
3853 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
3854 Integrated log4j
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3855
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3856 * 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
3857
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3858 * 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
3859
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3860 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
3861
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3862 * 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
3863 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
3864 be used instantiating the ArtifactFactory.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3865
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3866 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
3867
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3868 * 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
3869 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
3870 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
3871
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3872 * 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
3873 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
3874
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3875 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
3876
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3877 * 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
3878 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
3879 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
3880 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
3881 '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
3882
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3883 * 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
3884 SQL statements for H2 database.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3885
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3886 * 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
3887 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
3888 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
3889 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
3890 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
3891 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
3892
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3893 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
3894
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3895 * 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
3896 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
3897
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3898 * 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
3899 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
3900
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3901 * 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
3902 Removed empty last line.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3903
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3904 * 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
3905 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
3906
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3907 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
3908
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3909 * 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
3910 Typo in XPath expression.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3911
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3912 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
3913
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3914 * 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
3915 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
3916
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3917 * 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
3918 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
3919 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
3920 the artifact is created.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3921
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3922 * 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
3923 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
3924
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3925 * 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
3926 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
3927 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
3928 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
3929 for examples.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3930
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3931 * 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
3932 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
3933 database connections to artifact db.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3934 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
3935 startable without building packages.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3936
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3937 * 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
3938 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
3939 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
3940 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
3941
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3942 * 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
3943 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
3944 documents and parts of.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3945
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3946 * 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
3947 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
3948 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
3949 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
3950
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3951 * 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
3952 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
3953 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
3954
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3955 * 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
3956
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3957 * 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
3958 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
3959
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3960 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
3961
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3962 * 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
3963 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
3964
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3965 * 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
3966 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
3967
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3968 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
3969
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3970 * 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
3971 * 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
3972 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
3973
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3974 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
3975
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3976 * pom.xml: Edited
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3977 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
3978
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3979 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
3980
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3981 * 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
3982 configuration.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3983
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3984 * 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
3985 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
3986
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3987 * 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
3988 New. Default implementation of ArtifactContext.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3989
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3990 * 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
3991 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
3992
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3993 * 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
3994 factories.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3995
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3996 * 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
3997 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
3998 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
3999 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
4000
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4001 * 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
4002 class for start up.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4003
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4004 * 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
4005
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4006 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
4007
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4008 * 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
4009 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
4010 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
4011
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4012 * 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
4013 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
4014 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
4015 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
4016 global context more consistent.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4017
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4018 * 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
4019 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
4020 for details.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4021
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4022 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
4023
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4024 * 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
4025 in H2 databases.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4026
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4027 * 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
4028 restlet.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4029
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4030 * 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
4031
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4032 * 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
4033 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
4034 a unixoid system.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4035
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4036 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
4037
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4038 * 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
4039 database server.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4040
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4041 * 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
4042 sub project, too.
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4043
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4044 * 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
4045
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4046 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
4047
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4048 * 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
4049 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
4050
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4051 * 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
4052 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
4053
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4054 * 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
4055 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
4056
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4057 * 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
4058
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4059 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
4060
9293af6b0a0f Renamed Changelog to ChangeLog to make eclipse happy.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4061 * README, Changelog, Changes, NEWS, TODO: New. Initial setup

http://dive4elements.wald.intevation.org