diff artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java @ 142:e986e32bc7d4

Added a Rest resource that handles operations specific to a collection. artifacts/trunk@1367 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 02 Mar 2011 15:10:34 +0000
parents 5d40faf1484d
children 7e20702a90ed
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java	Wed Mar 02 13:31:59 2011 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java	Wed Mar 02 15:10:34 2011 +0000
@@ -80,6 +80,8 @@
             CreateCollectionResource.PATH, CreateCollectionResource.class);
         router.attach(
             ListCollectionsResource.PATH, ListCollectionsResource.class);
+        router.attach(
+            CollectionResource.PATH, CollectionResource.class);
 
         return router;
     }

http://dive4elements.wald.intevation.org