| #
d9495964
|
| 16-Oct-2025 |
Thang Tran <thuutran@amperecomputing.com> |
Correct the version of Message Id
Applications are logging Redfish Message ID to journal, but the version of some message ID are different with the definition of bmcweb. E.g: - psusensor is defining
Correct the version of Message Id
Applications are logging Redfish Message ID to journal, but the version of some message ID are different with the definition of bmcweb. E.g: - psusensor is defining version of OpenBMC registry is "0.1" as [1]. - The bmcweb defines the version of OpenBMC registry is "0.5" as [2].
It makes the "MessageId" property of Event log's enties has different version with definition in the /redfish/v1/Registries.
This commit corrects the version of Message ID.
[1]: https://github.com/openbmc/dbus-sensors/blob/6b7123225fc4a5180faf89190e9f64a7e248e697/src/psu/PSUEvent.cpp#L121 [2]: https://github.com/openbmc/bmcweb/blob/master/redfish-core/include/registries/openbmc.json#L1678
Tested: Verify the version of Events are the same the version of Registries that are defined in the bmcweb.
Change-Id: Ib862c8d0a62cae63082436cb4646a9ca45207872 Signed-off-by: Thang Tran <thuutran@amperecomputing.com>
show more ...
|
| #
dba9d675
|
| 26-Aug-2025 |
Oliver Brewka <oliver.brewka@9elements.com> |
Rename Journal EventLog handlers
These handlers will serve both the ComputerSystem and the Managers resource. Give them a common name.
Tested: Inspection only. Code compiles.
Change-Id: Icbcde2d7c
Rename Journal EventLog handlers
These handlers will serve both the ComputerSystem and the Managers resource. Give them a common name.
Tested: Inspection only. Code compiles.
Change-Id: Icbcde2d7cf3d8bd55084a7d2bfe7775a220b1bd1 Signed-off-by: Oliver Brewka <oliver.brewka@9elements.com>
show more ...
|
| #
9d6459e8
|
| 27-Aug-2025 |
Oliver Brewka <oliver.brewka@9elements.com> |
Dynamic EventLogService handler
In order to reuse the handler for the EventLogService under Managers, extract the logic from the handler and put it into a separate function in the eventlog util. Add
Dynamic EventLogService handler
In order to reuse the handler for the EventLogService under Managers, extract the logic from the handler and put it into a separate function in the eventlog util. Add an additional argument that specifies the redfish resource, so we can handle Systems and Managers resource with the same handler.
Tested: Code compiles. Redfish validation succeeds. Additionally the curl output with and without the changes has been diffed. No differences observed.
Change-Id: I48825b55b41afeafa02283dc91cf4cb1cd4cd7c3 Signed-off-by: Oliver Brewka <oliver.brewka@9elements.com>
show more ...
|
| #
3af76e15
|
| 26-Aug-2025 |
Oliver Brewka <oliver.brewka@9elements.com> |
Dynamic Journal EventLog handlers
In order to reuse handlers for Journal EventLog under Managers, add an additional argument that specifies the redfish resource.
Tested: Code compiles. Redfish vali
Dynamic Journal EventLog handlers
In order to reuse handlers for Journal EventLog under Managers, add an additional argument that specifies the redfish resource.
Tested: Code compiles. Redfish validation succeeds. Additionally the curl output with and without the changes has been diffed. No differences observed.
Change-Id: I7816b2b7ddb68f79552341ea60b1ee7be360dca1 Signed-off-by: Oliver Brewka <oliver.brewka@9elements.com>
show more ...
|
| #
7681b8a1
|
| 26-Aug-2025 |
Oliver Brewka <oliver.brewka@9elements.com> |
Extract Journal EventLog common code
Extract all functions, that are either for utility purposes or will be called by both ComputerSystem EventLog and Managers EventLog in a follow-up patch. These f
Extract Journal EventLog common code
Extract all functions, that are either for utility purposes or will be called by both ComputerSystem EventLog and Managers EventLog in a follow-up patch. These functions now reside in a eventlog utility header.
Tested: Only code extraction. Code compiles.
Change-Id: I53bf207dd584939ebb4185e923e24902b9e75427 Signed-off-by: Oliver Brewka <oliver.brewka@9elements.com>
show more ...
|