
// in service_call():
// queuename serves as identifier for merge working-dirs, to distinguish
// more instances of VLKB running on the same broker: each instance
// needs separate queue for rpc
// FIXME qname should come from config file


#ifndef JSON_SERVICE_CALL_HPP
#define JSON_SERVICE_CALL_HPP

#include "config.hpp"
#include <string>

std::string service_call(std::string request_json, std::string queuename, config conf);
enum class service_error {INVALID_PARAM, SYSTEM_ERROR};

std::string service_exception(enum service_error error, std::string what);

#endif

