summaryrefslogtreecommitdiff
path: root/redfish-core/include/resource_messages.hpp
AgeCommit message (Collapse)AuthorFilesLines
2022-08-18resource messages: make functions inlineNan Zhou1-1/+1
clang14 complains about building this header. Tested: clang14 builds successfully. Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: Ib6be59babb0fdc9cc033385b4b71f1c9c88dfa44
2022-08-09Optimize resource event schemaEd Tanous1-21/+23
Very similar to how the base registry was optimized for binary size, optimize the resource event registry, by making the getLogFromRegistry a common method for both registries. Tested: Only usage of these calls appears to be in management console. The code and pattern we're using here is well unit tested, and seems reasonable that we could rely on the compile time checks, but if not, I could use some help testing this. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I9cc442966df2ed301b14547727a5eb727c0c3a29
2020-10-02Remove redundant void from error messagesEd Tanous1-3/+3
It's not neeeded. Tested: Code compiles. No functional changes. Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: I21588b8ca2bab4ddb65d9c6d910ba26db83c323b
2020-09-29Fix naming conventionsEd Tanous1-3/+3
Lots of code has been checked in that doesn't match the naming conventions. Lets fix that. Tested: Code compiles. Variable/function renames only. Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: I6bd107811d0b724f1fad990016113cdf035b604b
2020-09-22Fix IBM management console to match coding standardEd Tanous1-3/+3
Lots of missing inline definitions, a case where a RVO move is not guaranteed when returning a variant, and removing the header checks, which means that these types of build errors wont happen in the future. Tested: Should be no impact, but could someone from the IBM team grab these changes and sanity check them? Signed-off-by: Ed Tanous <ed@tanous.net> Change-Id: Iea0a06b8e744542a7d08e38217718e7a969f2827
2020-07-30EventService: Add ResourceEvent registriesSunitha Harish1-0/+42
This commit adds new files for DMTF resource registry and corresponding json message definitions. Tested by: 1. GET https://${bmc}/redfish/v1/Registries 2. GET https://${bmc}/redfish/v1/Registries/ResourceEvent 3. GET https://${bmc}/redfish/v1/Registries/ResourceEvent/ResourceEvent 4. Redfish Validator passed ( giving out messages as == Severity: The given property is deprecated by revision: This property has been deprecated in favor of MessageSeverity, which ties the values to the enumerations defined for the Health property within Status.) Signed-off-by: Sunitha Harish <sunithaharish04@gmail.com> Change-Id: Iacbedaeca85c0dcfc955bcf9b10973c0d47c98e0