Add top level /config REST API

/config/server/ part is hard coded for now, but we may add more
config specific resource names later.

/config/server/capabilities retrieves the known server wide
capabilities list. The list has to be loaded dynamically from
the server to permit plugins to declare their own capabilities.

Change-Id: I83692bd021925d37659bfbc88b3e3b67b92c18c1
This commit is contained in:
David Ostrovsky
2013-06-09 02:16:57 +02:00
committed by Shawn Pearce
parent 665c2a88d3
commit 28b8ea6f9e
23 changed files with 628 additions and 64 deletions

View File

@@ -125,8 +125,6 @@ public interface AdminConstants extends Constants {
String refErrorPrintable();
String errorsMustBeFixed();
Map<String, String> capabilityNames();
String sectionTypeReference();
String sectionTypeSection();
Map<String, String> sectionNames();