]> git.proxmox.com Git - mirror_edk2.git/commit
RedfishPkg/Library: RedfishLib
authorAbner Chang <abner.chang@hpe.com>
Wed, 3 Mar 2021 09:52:30 +0000 (17:52 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 11 Mar 2021 08:44:51 +0000 (08:44 +0000)
commit4751a48aeb2ab828b0a5cbdc585fd3642967cda1
treeffef5dc51cf696dcddb547e0c14fe9554cba7f6e
parent54ba08c6b66090bdc03186110149bfe4b0f75208
RedfishPkg/Library: RedfishLib

EDK2 port of DMTF libredfish project. We clone the necessary files
from open source project libredfish (https://github.com/DMTF/
libredfish) tag v1.0.0 and revise it to incorporate with edk2
firmware code base.

The reason of cloning the necessary files instead of using extern
submodule of libredfish project:
libredfish as a C library which is executed under Windows and
Linux. It could be binded with other programming languages such as
java and python. The library uses curl library as the communication service with Redfish, which is not easy to be abstracted and
replaced with EFI specific protocols (e.g. EFI_REST_EX_PROTOCOL or
payload encode/decode library) and EFI data types. We had the
conversation with DMTF community and they think edk2 is a firmware
solution but not the programming language,
therefore they rejected to have edk2 as a binding to libredfish.
According to above, we decide to clone the necessary files from
libredfish modify it to incorporate with edk2.

Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Signed-off-by: Ting Ye <ting.ye@intel.com>
Signed-off-by: Siyuan Fu <siyuan.fu@intel.com>
Signed-off-by: Fan Wang <fan.wang@intel.com>
Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Nickle Wang <nickle.wang@hpe.com>
Reviewed-by: Nickle Wang <nickle.wang@hpe.com>
16 files changed:
RedfishPkg/PrivateInclude/Library/RedfishLib.h [new file with mode: 0644]
RedfishPkg/PrivateLibrary/RedfishLib/RedfishLib.c [new file with mode: 0644]
RedfishPkg/PrivateLibrary/RedfishLib/RedfishLib.inf [new file with mode: 0644]
RedfishPkg/PrivateLibrary/RedfishLib/RedfishMisc.c [new file with mode: 0644]
RedfishPkg/PrivateLibrary/RedfishLib/RedfishMisc.h [new file with mode: 0644]
RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfish.h [new file with mode: 0644]
RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishPayload.h [new file with mode: 0644]
RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishService.h [new file with mode: 0644]
RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redpath.h [new file with mode: 0644]
RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/payload.c [new file with mode: 0644]
RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/redpath.c [new file with mode: 0644]
RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/service.c [new file with mode: 0644]
RedfishPkg/RedfishLibs.dsc.inc
RedfishPkg/RedfishPkg.ci.yaml
RedfishPkg/RedfishPkg.dec
RedfishPkg/RedfishPkg.dsc