From c6830d5f5ae53ea894fd034b0c4fa2e598fbf485 Mon Sep 17 00:00:00 2001 From: Gunnar Mills Date: Fri, 10 Feb 2023 14:21:55 -0600 Subject: Revert "Add the getAssociationEndPoints method" This reverts commit 369ea3ffb0c76c33c7ccd0bbb0e8dcb0039cd285. bmcweb bumps are failing romulus qemu CI tests. This started with https://gerrit.openbmc.org/c/openbmc/openbmc/+/60786. https://gerrit.openbmc.org/c/openbmc/openbmc/+/60756 passed. Only 1 commit diff here. The manager call is failing here: ``` curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/Managers/bmc { "@odata.id": "/redfish/v1/Managers/bmc", "@odata.type": "#Manager.v1_14_0.Manager", ... "UUID": "0623b376-dc4f-4a29-93e0-cc982bfb9aae", "error": { "@Message.ExtendedInfo": [ { "@odata.type": "#Message.v1_1_1.Message", "Message": "The request failed due to an internal service error. The service is still operational.", "MessageArgs": [], "MessageId": "Base.1.13.0.InternalError", "MessageSeverity": "Critical", "Resolution": "Resubmit the request. If the problem persists, consider resetting the service." } ], "code": "Base.1.13.0.InternalError", "message": "The request failed due to an internal service error. The service is still operational." } } ``` Let's get the bumps back to passing. Change-Id: Ia27b1a5024b480786cc776c4ab9586bd75bf1242 Signed-off-by: Gunnar Mills --- include/dbus_utility.hpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include') diff --git a/include/dbus_utility.hpp b/include/dbus_utility.hpp index eac30991c8..e953a9f0eb 100644 --- a/include/dbus_utility.hpp +++ b/include/dbus_utility.hpp @@ -18,7 +18,6 @@ #include "dbus_singleton.hpp" #include // IWYU pragma: keep -#include #include #include @@ -95,7 +94,6 @@ using MapperGetAncestorsResponse = std::vector< std::vector>>>>; using MapperGetSubTreePathsResponse = std::vector; -using MapperEndPoints = std::vector; inline void escapePathForDbus(std::string& path) { @@ -195,15 +193,5 @@ inline void "xyz.openbmc_project.ObjectMapper", "GetObject", path, interfaces); } -inline void getAssociationEndPoints( - const std::string& path, - std::function&& callback) -{ - sdbusplus::asio::getProperty( - *crow::connections::systemBus, "xyz.openbmc_project.ObjectMapper", path, - "xyz.openbmc_project.Association", "endpoints", std::move(callback)); -} - } // namespace utility } // namespace dbus -- cgit v1.2.3