diff options
author | Matt Spinler <spinler@us.ibm.com> | 2019-01-31 00:33:21 +0300 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2019-01-31 17:28:08 +0300 |
commit | fe7e97d3108aa98b6bead4101694098b09adbafb (patch) | |
tree | e3f3fa0a3f372d1d7a4d8b5d81d12dfd4fc72b5e /static/redfish/v1/schema/ProcessorCollection_v1.xml | |
parent | 715748a15d6244384561128cf25a4732524a1575 (diff) | |
download | bmcweb-fe7e97d3108aa98b6bead4101694098b09adbafb.tar.xz |
REST: GET: Use convertDBusToJSON
Use new_method_call() + async_send() to get back an sd_bus_message
from the org.freedesktop.DBus.Properties.GetAll call in the GET
handler, and then use convertDBusToJSON to extract any possible
property type instead of having to use a variant with all possible
property types defined ahead of time.
Tested: Did a get on several different paths, including one in
/org/open_power/ that had a signature of a(tx) that previously
didn't return anything.
Resolves openbmc/bmcweb#34
Change-Id: I40309664fa969741c4af9a60b9059c60bf6f35f4
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'static/redfish/v1/schema/ProcessorCollection_v1.xml')
0 files changed, 0 insertions, 0 deletions