* [edk2-devel] [edk2-redfish-client][PATCH 02/10] RedfishClientPkg: use HTTP cache lib
@ 2024-01-03 12:00 Nickle Wang via groups.io
0 siblings, 0 replies; only message in thread
From: Nickle Wang via groups.io @ 2024-01-03 12:00 UTC (permalink / raw)
To: devel; +Cc: Abner Chang, Igor Kulchytskyy, Nick Ramirez
Add RedfishHttpCacheLib header file for feature
driver to use RedfishHttpCacheLib.
Signed-off-by: Nickle Wang <nicklew@nvidia.com>
Cc: Abner Chang <abner.chang@amd.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Cc: Nick Ramirez <nramirez@nvidia.com>
---
RedfishClientPkg/Include/RedfishCollectionCommon.h | 4 +++-
RedfishClientPkg/Include/RedfishResourceCommon.h | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/RedfishClientPkg/Include/RedfishCollectionCommon.h b/RedfishClientPkg/Include/RedfishCollectionCommon.h
index 59cc3607..b1e313da 100644
--- a/RedfishClientPkg/Include/RedfishCollectionCommon.h
+++ b/RedfishClientPkg/Include/RedfishCollectionCommon.h
@@ -2,6 +2,7 @@
Redfish feature driver collection common header file.
(C) Copyright 2020-2022 Hewlett Packard Enterprise Development LP<BR>
+ Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -26,6 +27,7 @@
#include <Library/UefiBootServicesTableLib.h>
#include <Library/EdkIIRedfishResourceConfigLib.h>
#include <Library/RedfishVersionLib.h>
+#include <Library/RedfishHttpCacheLib.h>
//
// Protocols
@@ -46,7 +48,7 @@ typedef struct _REDFISH_COLLECTION_PRIVATE {
EFI_STRING CollectionUri;
CHAR8 *CollectionJson;
REDFISH_PAYLOAD CollectionPayload;
- REDFISH_RESPONSE RedResponse;
+ REDFISH_RESPONSE Response;
EFI_STRING RedfishVersion;
} REDFISH_COLLECTION_PRIVATE;
diff --git a/RedfishClientPkg/Include/RedfishResourceCommon.h b/RedfishClientPkg/Include/RedfishResourceCommon.h
index b006755d..d354d3b0 100644
--- a/RedfishClientPkg/Include/RedfishResourceCommon.h
+++ b/RedfishClientPkg/Include/RedfishResourceCommon.h
@@ -2,7 +2,7 @@
Redfish feature driver common header file.
(C) Copyright 2020-2022 Hewlett Packard Enterprise Development LP<BR>
- Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
+ Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -32,6 +32,7 @@
#include <Library/RedfishResourceIdentifyLib.h>
#include <Library/EdkIIRedfishResourceConfigLib.h>
#include <Library/RedfishAddendumLib.h>
+#include <Library/RedfishHttpCacheLib.h>
//
// Protocols
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#113072): https://edk2.groups.io/g/devel/message/113072
Mute This Topic: https://groups.io/mt/103500373/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-03 12:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-03 12:00 [edk2-devel] [edk2-redfish-client][PATCH 02/10] RedfishClientPkg: use HTTP cache lib Nickle Wang via groups.io
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox