comparison ChangeLog @ 273:22a90706d32d

Enables the artifact server to set the TTL of a specific collection via REST call. artifacts/trunk@2070 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 07 Jun 2011 16:27:47 +0000
parents 2ce31a9414ff
children 92166f7c3842
comparison
equal deleted inserted replaced
272:2ce31a9414ff 273:22a90706d32d
1 2011-06-07 Ingo Weinzierl <ingo@intevation.de>
2
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java,
4 artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java:
5 Added a setCollectionTTL() method that might be used to update the TTL
6 of a collection. The new value needs to be from type long. There are two
7 exceptions for the new values:
8 1. the new value is "INF": this lets collections live forever.
9 2. the new value is "DEFAULT": this sets the TTL of the collection to
10 the configured default value.
11
12 * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
13 Added a method to update the TTL attribute of a collection.
14
15 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionResource.java:
16 Dispatch the "settimetolive" action.
17
18 * artifact-database/src/main/resources/sql/org-postgresql-driver.properties,
19 artifact-database/src/main/resources/sql/org-h2-driver.properties: Added
20 sql statements to update the TTL of a specific collection based on the
21 UUID of the collection.
22
1 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de> 23 2011-06-07 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 24
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java: 25 * artifact-database/src/main/java/de/intevation/artifactdatabase/state/StateEngine.java:
4 Use generics more precisely 26 Use generics more precisely
5 27

http://dive4elements.wald.intevation.org