Move bindings for cache related REST endpoints into own module

This allows Shawn to skip this module in his build so that
administrator users on his servers cannot invoke them.

Change-Id: I9c852d3f22b820f24f3fcab8481feb1a63f2778c
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Add REST endpoint to flush a cache

Change-Id: Ic5d1ab37f5808d760e0d86b5956cce9557d0292b
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Support listing of cache names via REST

Change-Id: Ibab22bfa1e69f87a5918b2f250e22f0bcce132d9
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Support AcceptsPost on non top level REST collections

Change-Id: I67a7c62beb3125cda968cc84c92cdd6f8a46a6f4
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Support flushing of all caches via REST

Change-Id: I82807e71e7fceb7ba3bba23d51263b72998f251d
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Support flushing a set of caches at once via REST

Change-Id: I2e51e3138eea15b305c3fc5029e91aa6b2f0b4cb
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Require 'Administrate Server' capability to see server summary

The show-caches SSH command now only prints out the summary
information if the caller is an administrator. This is done because
the summary information contains system information which must not be
exposed to non-administrators. This means that the behaviour is
changed and users that only have the 'View Caches' capability are not
anymore able to see the summary information as they did before.

Change-Id: I3b5433b456d3b5f9d5de872a731470d2fe20623f
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Add REST endpoint to get server summary

Change-Id: Ibd24b2c13d3b791c90b49fe8e9a14688a26c36f4
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Merge "Move bindings for cache related REST endpoints into own module"
Merge "Add REST endpoint to flush a cache"
Merge "Support listing of cache names via REST"
Merge "Support AcceptsPost on non top level REST collections"
Merge "Support flushing of all caches via REST"
Merge "Support flushing a set of caches at once via REST"
Merge "Require 'Administrate Server' capability to see server summary"
Merge "Add REST endpoint to get server summary"
Add REST endpoint to list tasks

GET /config/server/tasks/ lists the task from the background work
queues.

The implementation of the SSH show-queue command was adapted so that
is uses the new REST endpoint to get the information about the tasks.
This avoids code duplication.

Change-Id: Iad0a94e8ed1395033aa7dbfe5fae0557601c3526
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>