From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id CD01A940698 for ; Tue, 27 Feb 2024 00:45:36 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=s3LUmyzXH7X8iRiijzlPzZvoR+Qw4rxT1k7qove2Mes=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:From:To:CC:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1708994735; v=1; b=mtLv0CNAC2wT1j5HxzvRxkdplHbdA3tnVJ0lAf3BzlNicD/G90V/tID01STff2rfGhg8uYQI jb2Ik55m04LphxxZn+uCUXYglr64E6L3ELM5UZErsMSUhQt4lr4ZtsRgHDsBbZr2KKT++2Vu6cP hd24MhA8g9o9OgD3ApNGA51w= X-Received: by 127.0.0.2 with SMTP id rDC5YY7687511xNtwuc1q7TV; Mon, 26 Feb 2024 16:45:35 -0800 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.67]) by mx.groups.io with SMTP id smtpd.web10.1889.1708994734929788461 for ; Mon, 26 Feb 2024 16:45:35 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hcUxQMFBM9hv6v3NbR92zH1ty/e8Vs30l5+L/lFXc/U6zarC5HDRnkoE1MiADvrjvO6yXmYOPUC0aMg466B4ZUH83mQO2DbcKCh1Ck95gw2pkQo/Zu6JuFH3TbEBW9mY4ze1w2sMv5AT7+7sSnRbVGs4JOrIVNnV1g3owO5LFkr3WcA/+dMbUxNAfZVUynEZhJT6oRqpffW5RnACJrKOiIFH7wgpQI1HnTM357pZ+7YrxIyX1BVLW1Z308wBt8h4wWN/BXV53BvJfIzTXtov8KBZBKb/mkd7G4kZM5AeBkw/QGilYabl6HNfL1vRoaeFphzTXvGd8PYfvJFm5gFXSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1eWZWEXRQNW+NNzE9KBqY1KFOi6CoMoE3KmBvfmCmBI=; b=ZKvMWJiLfYnIqfHxSfbDI8uYxsRfY6uBXg4bWCreJuiopHHCG1HWiW7QlhSAVSl3UHnshIRv5WjolnyScs3FBD4+MX3YBhwrQN/x9oNkDjgL8Dqa0Y95wwshmoBhhJcf1yyLG9nRndbrZBKOFGr2KXwu1GLMz+zdOvfodZ5gIp4bcvP2Zt6ij0iGfRycC8pCaZaGL8T3CyiNPwfuV+u/sBzl1h5o2hm9rWK/naC89ylUXeP935mWdw8psvHseE83XHroua2+QZNIEKyjnbbmpKvRyemUIQ08PVDEM+sYdO3aEat9SdX37VnAMc9/SQGfIvpkD+iFvKLYeL8baNWQDA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) X-Received: from CY5PR19CA0131.namprd19.prod.outlook.com (2603:10b6:930:64::19) by DM6PR12MB5022.namprd12.prod.outlook.com (2603:10b6:5:20e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Tue, 27 Feb 2024 00:45:31 +0000 X-Received: from CY4PEPF0000FCBF.namprd03.prod.outlook.com (2603:10b6:930:64:cafe::46) by CY5PR19CA0131.outlook.office365.com (2603:10b6:930:64::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.49 via Frontend Transport; Tue, 27 Feb 2024 00:45:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C X-Received: from mail.nvidia.com (216.228.117.160) by CY4PEPF0000FCBF.mail.protection.outlook.com (10.167.242.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25 via Frontend Transport; Tue, 27 Feb 2024 00:45:30 +0000 X-Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Mon, 26 Feb 2024 16:45:14 -0800 X-Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Mon, 26 Feb 2024 16:45:14 -0800 X-Received: from NV-CL38DL3.nvidia.com (10.127.8.10) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Mon, 26 Feb 2024 16:45:13 -0800 From: "Nickle Wang via groups.io" To: CC: Abner Chang , Igor Kulchytskyy , "Nick Ramirez" Subject: [edk2-devel] [PATCH v3 5/6] RedfishPkg/RedfishDebugLib: use RedfishHttpLib Date: Tue, 27 Feb 2024 08:45:12 +0800 Message-ID: <20240227004512.3531-1-nicklew@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000FCBF:EE_|DM6PR12MB5022:EE_ X-MS-Office365-Filtering-Correlation-Id: af5f404c-f725-456f-e18d-08dc372d6659 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: ZYBGW5OWYQSpJrXMRuhJn7N1zp3jPkDC0ocGg5DsLYhxhcsqVkn+N7GqTf5IJDGiP885lt5tRFuJTarNg8i56YJfp4POxA3m1OLOfCmyDcucVfElxXob2O4ZJ/Q+RQN2r6G5efA1moBer/EBHtC/SCRPRxlF6kR16zzGdh+VLWNAh+mLvIiICeX+0DGQ4jgvYaN9HsG56YGwJjNW1/Q4Paw9m4/k8TUVguf8ReLO/DivbMqALAmetw6dfqVT3DsTlwU1++0vQN/UIlBNLBuozY9HQLsNvxUy9wPULfyn08wLakSldi67i4TL9mQZzg+WxKNXQ+lFaN6/KvVXJdluFA/oFLnXw57tgm4fVtC7aidV9UcM8aEyvasO2h4JeznCIQ5DEpSOIQWtJB7OauJwZBawF7DLZA1eikj7Ce4zU7kO++7oV5xAVBLobPiPD4CcasmxuLRLMs9aIwF2K7LSivou0ErTz2daUe4cCux07DhPC0kZ2LY4Ha1gr0SrbfiyGZgXWRfLNs9FfAuw51JN0tvFPynaZCaDayxJSGRzR3FxdEuXF/wHRDpvShe8awLWmjqmdRZAc0LXeXbXA/NC7yENABOwQPE9bXYr5Kb7BcVDEhMIrVeqxg5DUcGDtRJS3zpILdDViQoWnMgyMDkhvQ7YNCck6xbdz/9yZqO/44uSlM2TYMzt5EWqZ7uAJHf/GTNk8q64GMkGTqrFsE7vexrcm8pITrmjHB/NKMocCKAqt/zqdBwUbaJPIwHApDVy X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2024 00:45:30.8584 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: af5f404c-f725-456f-e18d-08dc372d6659 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000FCBF.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB5022 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,nicklew@nvidia.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: RMmonzI4eqjVIpVhutwEbAwtx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-Spam-Flag: yes X-Spam-Level: ************ X-GND-Spam-Score: 190 X-GND-Status: SPAM Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=mtLv0CNA; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Remove RedfishLib and use RedfishHttpLib for debug printing Redfish response data. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez Reviewed-by: Abner Chang Reviewed-by: Igor Kulchytskyy --- RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf | 4 ++-- RedfishPkg/Include/Library/RedfishDebugLib.h | 2 +- RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf b/Redfi= shPkg/Library/RedfishDebugLib/RedfishDebugLib.inf index 048d27c6dc..d468bb213b 100644 --- a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf +++ b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf @@ -1,7 +1,7 @@ ## @file # INF file for Redfish debug library. # -# Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserve= d. +# Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights re= served. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -32,7 +32,7 @@ DebugLib JsonLib MemoryAllocationLib - RedfishLib + RedfishHttpLib UefiLib =20 [Depex] diff --git a/RedfishPkg/Include/Library/RedfishDebugLib.h b/RedfishPkg/Incl= ude/Library/RedfishDebugLib.h index 3430cf1d14..ad7a697586 100644 --- a/RedfishPkg/Include/Library/RedfishDebugLib.h +++ b/RedfishPkg/Include/Library/RedfishDebugLib.h @@ -11,9 +11,9 @@ #define REDFISH_DEBUG_LIB_H_ =20 #include +#include #include #include -#include =20 #include =20 diff --git a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c b/Redfish= Pkg/Library/RedfishDebugLib/RedfishDebugLib.c index 3728f51213..8b0425b8c3 100644 --- a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c +++ b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c @@ -13,6 +13,7 @@ #include #include #include +#include #include =20 #ifndef IS_EMPTY_STRING --=20 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115988): https://edk2.groups.io/g/devel/message/115988 Mute This Topic: https://groups.io/mt/104594903/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-