Add REST endpoint to get a cache

Change-Id: I09bfa7c052f2b8411b218c77683cda45a0afe844
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2014-05-23 10:24:41 +02:00
parent 42c9cf61c8
commit 57a4682aa0
7 changed files with 222 additions and 11 deletions

View File

@@ -30,6 +30,7 @@ public class Module extends RestApiModule {
DynamicMap.mapOf(binder(), CONFIG_KIND);
DynamicMap.mapOf(binder(), TOP_MENU_KIND);
child(CONFIG_KIND, "caches").to(CachesCollection.class);
get(CACHE_KIND).to(GetCache.class);
child(CONFIG_KIND, "capabilities").to(CapabilitiesCollection.class);
child(CONFIG_KIND, "top-menus").to(TopMenuCollection.class);
get(CONFIG_KIND, "version").to(GetVersion.class);