diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2023-02-10 23:21:55 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2023-02-10 23:54:52 +0300 |
commit | c6830d5f5ae53ea894fd034b0c4fa2e598fbf485 (patch) | |
tree | 3767907fccbc510cabdb72e1a3ad69187f6a64f8 /include/dbus_utility.hpp | |
parent | 7e0572f4c1bc5f13ee1a3bd40bb80bf6b9fbd751 (diff) | |
download | bmcweb-c6830d5f5ae53ea894fd034b0c4fa2e598fbf485.tar.xz |
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 <gmills@us.ibm.com>
Diffstat (limited to 'include/dbus_utility.hpp')
-rw-r--r-- | include/dbus_utility.hpp | 12 |
1 files changed, 0 insertions, 12 deletions
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 <boost/system/error_code.hpp> // IWYU pragma: keep -#include <sdbusplus/asio/property.hpp> #include <sdbusplus/message/native_types.hpp> #include <array> @@ -95,7 +94,6 @@ using MapperGetAncestorsResponse = std::vector< std::vector<std::pair<std::string, std::vector<std::string>>>>>; using MapperGetSubTreePathsResponse = std::vector<std::string>; -using MapperEndPoints = std::vector<sdbusplus::message::object_path>; 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<void(const boost::system::error_code&, - const MapperEndPoints&)>&& callback) -{ - sdbusplus::asio::getProperty<MapperEndPoints>( - *crow::connections::systemBus, "xyz.openbmc_project.ObjectMapper", path, - "xyz.openbmc_project.Association", "endpoints", std::move(callback)); -} - } // namespace utility } // namespace dbus |