mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 01:20:39 +00:00
The storage service API will hold the equivelent information of the StorageServiceMBean. This adds the API with one stubed method the get local hostid. After the patch the storage_service doc will be available at: http://localhost:10000/api-doc/storage_service/ And the stubed local host id will be under: http://localhost:10000/storage_service/local_hostid and will return an empty string Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
17 lines
222 B
C++
17 lines
222 B
C++
/*
|
|
* Copyright 2015 Cloudius Systems
|
|
*/
|
|
|
|
#ifndef API_STORAGE_SERVICE_HH_
|
|
#define API_STORAGE_SERVICE_HH_
|
|
|
|
#include "api.hh"
|
|
|
|
namespace api {
|
|
|
|
future<> set_storage_service(http_context& ctx);
|
|
|
|
}
|
|
|
|
#endif /* API_APP_HH_ */
|