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

Added a Rest resource that might be used to create new collections owned by a specific user. artifacts/trunk@1365 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 02 Mar 2011 11:48:34 +0000
parents f92ad0e40df2
children 5d40faf1484d
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java	Wed Mar 02 11:26:19 2011 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java	Wed Mar 02 11:48:34 2011 +0000
@@ -76,6 +76,8 @@
         router.attach(CreateUserResource.PATH,  CreateUserResource.class);
         router.attach(ListUsersResource.PATH,   ListUsersResource.class);
         router.attach(UserResource.PATH,        UserResource.class);
+        router.attach(
+            CreateCollectionResource.PATH, CreateCollectionResource.class);
 
         return router;
     }

http://dive4elements.wald.intevation.org