This adds the implementation of the commitlog API. Current implementation contains: /commitlog/segments/active That returns a list of the active file names, and /commitlog/segments/archiving Which always return an empty list as we archiving is not supported at the moment The doc file is under: /api-doc/commitlog Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
17 lines
241 B
C++
17 lines
241 B
C++
/*
|
|
* Copyright 2015 Cloudius Systems
|
|
*/
|
|
|
|
#ifndef API_COMMITLOG_SERVICE_HH_
|
|
#define API_COMMITLOG_SERVICE_HH_
|
|
|
|
#include "api.hh"
|
|
|
|
namespace api {
|
|
|
|
void set_commitlog(http_context& ctx, routes& r);
|
|
|
|
}
|
|
|
|
#endif /* API_COMMITLOG_SERVICE_HH_ */
|