summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLewanczyk, Dawid <dawid.lewanczyk@intel.com>2018-02-02 14:51:09 +0100
committerEd Tanous <ed.tanous@intel.com>2018-03-27 21:02:27 +0000
commit88d16c9a01366cfcc4e675683a7e667da5d29924 (patch)
tree8a8d347a1ba68e74dfbbd2ff8e4e501130863ff8 /include
parentaecb47a427e201f685369cb2eb94dc524358ea19 (diff)
downloadbmcweb-88d16c9a01366cfcc4e675683a7e667da5d29924.tar.gz
bmcweb-88d16c9a01366cfcc4e675683a7e667da5d29924.zip
AccountService
Initial version moved to separate node. Change-Id: I3fe4e2eb00bcb754ea81de0a0656f4de9eb9156c Signed-off-by: Lewanczyk, Dawid <dawid.lewanczyk@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/redfish_v1.hpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/redfish_v1.hpp b/include/redfish_v1.hpp
index e32be23..0c070ed 100644
--- a/include/redfish_v1.hpp
+++ b/include/redfish_v1.hpp
@@ -79,29 +79,6 @@ void request_routes(Crow<Middlewares...>& app) {
res.end();
});
- CROW_ROUTE(app, "/redfish/v1/AccountService/")
- .methods(
- "GET"_method)([&](const crow::request& req, crow::response& res) {
- res.json_value = {
- {"@odata.context",
- "/redfish/v1/$metadata#AccountService.AccountService"},
- {"@odata.id", "/redfish/v1/AccountService"},
- {"@odata.type", "#AccountService.v1_1_0.AccountService"},
- {"Id", "AccountService"},
- {"Name", "Account Service"},
- {"Description", "BMC User Accounts"},
- {"Status",
- // TODO(ed) health rollup
- {{"State", "Enabled"}, {"Health", "OK"}, {"HealthRollup", "OK"}}},
- {"ServiceEnabled", true},
- {"MinPasswordLength", 1},
- {"MaxPasswordLength", 20},
- };
- get_redfish_sub_routes(app, "/redfish/v1/AccountService",
- res.json_value);
- res.end();
- });
-
CROW_ROUTE(app, "/redfish/v1/AccountService/Accounts/")
.methods(
"GET"_method)([&](const crow::request& req, crow::response& res) {
OpenPOWER on IntegriCloud