16.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 3e27e299 authored by Micha Mueller's avatar Micha Mueller
Browse files

Add getStatus method to AnalyticsManager

parent 3e412ee2
......@@ -160,6 +160,13 @@ public:
*/
std::vector<an_dl_t>& getPlugins() { return _plugins; }
/**
* @brief Get current status of analytics manager
*
* @return Status of this analytics manager
*/
managerState_t getStatus() { return _status; }
// String used as a response for the REST GET /help command
const string restCheatSheet = "dcdbpusher analytics RESTful API cheatsheet:\n"
" -GET: /analytics/plugins List of currently loaded plugins (Discovery)\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment