From d80cd0a3f923f1c1733b715404815fc055516355 Mon Sep 17 00:00:00 2001 From: Mikhail Mineev <Mikhail.Mineev@cern.ch> Date: Mon, 16 Sep 2024 16:34:28 +0200 Subject: [PATCH] getClientVersion and getCrestVersion defined as public --- CrestApi/CrestApi.h | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/CrestApi/CrestApi.h b/CrestApi/CrestApi.h index 301ca8a..7399dd0 100644 --- a/CrestApi/CrestApi.h +++ b/CrestApi/CrestApi.h @@ -101,18 +101,6 @@ namespace Crest */ nlohmann::json getMgmtInfo(); -/** - * This method returns the full CrestApi version. - * @return CrestApi library version. - */ - std::string getClientVersion(); - -/** - * This method returns the full CREST Server version. - * @return CREST server version. - */ - std::string getCrestVersion(); - /** * This is an auxiliary method to extract a major version number from * full version string. @@ -480,6 +468,19 @@ namespace Crest * @return payload meta info as PayloadDto. */ PayloadDto getPayloadMeta(const std::string &hash) override; + +/** + * This method returns the full CrestApi version. + * @return CrestApi library version. + */ + std::string getClientVersion(); + +/** + * This method returns the full CREST Server version. + * @return CREST server version. + */ + std::string getCrestVersion(); + }; } // namespace Crest -- GitLab