summaryrefslogtreecommitdiff
path: root/include/redfish_v1.hpp
diff options
context:
space:
mode:
authorBorawski.Lukasz <lukasz.borawski@intel.com>2018-01-24 12:20:45 +0300
committerBorawski.Lukasz <lukasz.borawski@intel.com>2018-01-24 12:20:45 +0300
commitb6df6dc7a1777e1063104012cf79f2aaa9dbe3f9 (patch)
tree96516982623bbf854d970de25027117cc98555e3 /include/redfish_v1.hpp
parent86e1b661547fda86c7b92e6e23a50a10d8c9ebd4 (diff)
downloadbmcweb-b6df6dc7a1777e1063104012cf79f2aaa9dbe3f9.tar.xz
Service Root
Change-Id: Ibf9d463802d77014852a92ecfcb8096324f3670f Signed-off-by: Borawski.Lukasz <lukasz.borawski@intel.com>
Diffstat (limited to 'include/redfish_v1.hpp')
-rw-r--r--include/redfish_v1.hpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/redfish_v1.hpp b/include/redfish_v1.hpp
index 243ddfb48b..1a5ee74eee 100644
--- a/include/redfish_v1.hpp
+++ b/include/redfish_v1.hpp
@@ -51,27 +51,6 @@ void request_routes(Crow<Middlewares...>& app) {
res.end();
});
- CROW_ROUTE(app, "/redfish/v1/")
- .methods(
- "GET"_method)([&](const crow::request& req, crow::response& res) {
- res.json_value = {
- {"@odata.context", "/redfish/v1/$metadata#ServiceRoot.ServiceRoot"},
- {"@odata.id", "/redfish/v1/"},
- {"@odata.type", "#ServiceRoot.v1_1_1.ServiceRoot"},
- {"Id", "RootService"},
- {"Name", "Root Service"},
- {"RedfishVersion", "1.1.0"},
- {"Links",
- {{"Sessions",
- {{"@odata.id", "/redfish/v1/SessionService/Sessions/"}}}}}};
-
- res.json_value["UUID"] =
- app.template get_middleware<PersistentData::Middleware>()
- .system_uuid;
- get_redfish_sub_routes(app, "/redfish/v1/", res.json_value);
- res.end();
- });
-
CROW_ROUTE(app, "/redfish/v1/Chassis/")
.methods("GET"_method)(
[&](const crow::request& req, crow::response& res) {