#
6f04b229 |
| 22-Jun-2022 |
George Liu <liuxiwei@inspur.com> |
Handle D-Bus exceptions
Remove the usage of is_method_error()[1].
Also, add try-catch to handle D-Bus exceptions around mapper call.
[1]https://github.com/openbmc/sdbusplus/commit/079fb85a398d9080
Handle D-Bus exceptions
Remove the usage of is_method_error()[1].
Also, add try-catch to handle D-Bus exceptions around mapper call.
[1]https://github.com/openbmc/sdbusplus/commit/079fb85a398d90800935e3985bb1266a7530a26e#diff-945669e8bd9cab4ecc83a574a732921281b2c79eb8bba65efff11736ad18f92bR237-R240
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I85ab0425e441a739966b0a23e46a1974cf67476c
show more ...
|
#
13e3df60 |
| 22-Jun-2022 |
George Liu <liuxiwei@inspur.com> |
logging: switch to lg2
After switching to C++20, it is recommended to use `phosphor::lg2` to format log, and the correct `CODE_LINE` and `CODE_FUNC` values can be used in log tracking.
Signed-off-b
logging: switch to lg2
After switching to C++20, it is recommended to use `phosphor::lg2` to format log, and the correct `CODE_LINE` and `CODE_FUNC` values can be used in log tracking.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I7de1e3782363c0c7f57ff917cf9487e4599cac8e
show more ...
|
#
5e6b51d7 |
| 21-Jun-2022 |
George Liu <liuxiwei@inspur.com> |
Fix cppcheck warnings
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: If5d808b9cb3bc733e7e21d546247d745ac5e1bf8
|
#
35b4f337 |
| 13-May-2020 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: replace message::variant with std::variant Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id416fbdec0a6d6b8e9eabfe058420865db3d1f08
|
#
34ef1e52 |
| 13-May-2020 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: remove deprecated variant_ns Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I6a3e7bb043371841838d241f2c4a9579d6ead4cb
|
#
ecf8910c |
| 18-Sep-2018 |
Matt Spinler <spinler@us.ibm.com> |
Use new Association interface name The mapper changed the association interface name it hosts to 'xyz.openbmc_project.Association' from 'org.openbmc.Association'. Change-Id:
Use new Association interface name The mapper changed the association interface name it hosts to 'xyz.openbmc_project.Association' from 'org.openbmc.Association'. Change-Id: Ida42ce2152deaafba0e4881a5ee864ecef0d8ce4 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
efcd653d |
| 12-Nov-2018 |
William A. Kennington III <wak@google.com> |
std::variant: Fixup .get() usage This is just a refactor from the mapbox specific .get() interface to the common std::variant ::get<>() interface. Tested: Built and run
std::variant: Fixup .get() usage This is just a refactor from the mapbox specific .get() interface to the common std::variant ::get<>() interface. Tested: Built and run through unit tests. Change-Id: Ic0737f632e80c9dd5b73717ec33d31f245f107db Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
#
6383049e |
| 18-Sep-2018 |
Matt Spinler <spinler@us.ibm.com> |
Fix some journal metadata Code shouldn't use MESSAGE in journal metadata as MESSAGE is already taken by the journal message field. Change-Id: I6b1e9033b2028e4fff67cbbeb1824f2606
Fix some journal metadata Code shouldn't use MESSAGE in journal metadata as MESSAGE is already taken by the journal message field. Change-Id: I6b1e9033b2028e4fff67cbbeb1824f260657c247 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
3d6d3182 |
| 31-Aug-2018 |
Patrick Venture <venture@google.com> |
update .clang-format Added the header inclusion order to the .clang-format file generated these changes. Change-Id: I4f51a20f469de431ee6a5ba78e3f4da39c980fab Signed-off-by:
update .clang-format Added the header inclusion order to the .clang-format file generated these changes. Change-Id: I4f51a20f469de431ee6a5ba78e3f4da39c980fab Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
d1eac88d |
| 29-Mar-2018 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Enable clang-format Fix up errors and enable clang-format during CI builds. Change-Id: I4176b81f8b85a287af9354165e09ff66aeb9fb29 Signed-off-by: Brad Bishop <bradleyb@fuzziesquir
Enable clang-format Fix up errors and enable clang-format during CI builds. Change-Id: I4176b81f8b85a287af9354165e09ff66aeb9fb29 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
a45e086d |
| 21-Feb-2018 |
Ratan Gupta <ratagupt@in.ibm.com> |
Add callback contexts Add the notion of a callback context. This enables callbacks to have logic around the conditions they were invoked in. There are two context on which call
Add callback contexts Add the notion of a callback context. This enables callbacks to have logic around the conditions they were invoked in. There are two context on which call back can be invoked 1) Startup: during startup all the call backs will be called 2) Signal: As part of condition match on the watched properties. Callback would behave differently based on the context. eg: eventCallback 1) Startup: Don't take any action. 2) Signal: Create the Dbus Object for the event. Change-Id: If455558798ac3e44bbd8a93de0ce1b09d2e308ae Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|
#
f55c1eed |
| 01-Nov-2017 |
Matt Spinler <spinler@us.ibm.com> |
Set Resolved property on elog entry Fill in the function that sets the Resolved property on an error log entry. Change-Id: I78b57c413a7047508b7fc95e0cf27e1ae6e871cf Signed-o
Set Resolved property on elog entry Fill in the function that sets the Resolved property on an error log entry. Change-Id: I78b57c413a7047508b7fc95e0cf27e1ae6e871cf Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
4eaa77b3 |
| 31-Oct-2017 |
Matt Spinler <spinler@us.ibm.com> |
Find the error logs that have a certain callout In order to find the error logs that have a specific callout, the code needs to look in the 'endpoints' property of the '<callout>/fau
Find the error logs that have a certain callout In order to find the error logs that have a specific callout, the code needs to look in the 'endpoints' property of the '<callout>/fault' D-Bus object. Change-Id: Idb9c06a6d815195ed47fb6ec914ba8f89539cb85 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
56fd833d |
| 31-Oct-2017 |
Matt Spinler <spinler@us.ibm.com> |
Add ResolveCallout class This class is a type of callback, and when triggered will resolve all error log entries that have the specified callout. It does this by setting the Res
Add ResolveCallout class This class is a type of callback, and when triggered will resolve all error log entries that have the specified callout. It does this by setting the Resolved property on the log entry. It can be used to do things like resolve all errors against a particular part when that part is replaced, which would be done by specifying this class as a callback on a watch on the Present property for the part in the inventory. Change-Id: I50557938c9e15a91744ee2a16d67eaa7f367ef04 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|