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 2626A7803DA for ; Thu, 22 Feb 2024 09:12:05 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=3Tlh7vNmVN52vmzSTqgAPmQIT9/txwWa4YTqTMW4WUU=; 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=1708593124; v=1; b=rXeDJi/aRJG6P8XsZvwea17TWxqhcyYs5hx+H2eKfktgNxmBmpW/FtcM6yaQ75+ddptKEArM 28abfprv+EF8v4Mmn2vadNffThKLqs41SeUIgsZPoJF57v5t6S14lxblZ92mhiFB3SQDrkHWvw4 d2UONNmZjDMM6A/AlCVxXKRM= X-Received: by 127.0.0.2 with SMTP id k9a2YY7687511xxDDyCBqGVe; Thu, 22 Feb 2024 01:12:04 -0800 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.68]) by mx.groups.io with SMTP id smtpd.web10.9041.1708593124233532804 for ; Thu, 22 Feb 2024 01:12:04 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ps28USc7Ow17x96Z/NC0d8gy49GDX8+3k+QnrShYUXY4FUehZMJrWRl3Jc7gEKWTXjv5GEeVZaYAB+dssDvX90jV/pczXNqVSdf+jIaDspuTfmduc5qZcixcs6IE/Aac+x3yU/fYuvS/clSGg5oiV7ts8L+TVe4YllewUdr/chQWeYUKWfP0rUIQVz7fQKnqh34DNyUBVKL2LOcvibLmCtAo3uMiFf53T9xa2ZGweGdkKoJQ+Vd832yIjUaWopBVooRog2VUVTssyI51CC1mS1UkHn5n3/dTVZf8HUIhAUjaLvYXUzFNK77VaErh4A4QmxKAj4THZD+pUnFTYb317A== 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=JUM4s4PFDD1VVLkyCcnkmkTj4VLggkU05TJ6xaiYLe8=; b=JxxwDWAkSBRfYNiRESKmlnUcwUh9TSo/0CXpcbguwjaHcRawO08nvlmeHj/v/EWd2feFMOgey/XQRVifAsGY0+LMRX8qLke1pgw4lMqfC8i5ELyIqe0GR6PmWWmqrAAg9JC/5zVB70wa9MVgA5iWU0Gf7tacv1Dr+6H7N4rrgVAr7BUY1rfVLqxjjlY1EkeIGKMKzS9ie1Y08JwiQUBmTRZ3MCuMaANhZtsEemBRAV7Xi2NL/29nsVH9S809h0EMewvN7tFr5YUjfpaz2QHKE5v2Zkw14o2bgqicitF0lqb/TMSWZSwT5UBplGUsr7IN4+FxJrTunThhHvk4nai8qQ== 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 MW4PR04CA0372.namprd04.prod.outlook.com (2603:10b6:303:81::17) by MN2PR12MB4407.namprd12.prod.outlook.com (2603:10b6:208:260::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.24; Thu, 22 Feb 2024 09:12:01 +0000 X-Received: from MWH0EPF000989E6.namprd02.prod.outlook.com (2603:10b6:303:81:cafe::8d) by MW4PR04CA0372.outlook.office365.com (2603:10b6:303:81::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.43 via Frontend Transport; Thu, 22 Feb 2024 09:12:00 +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 MWH0EPF000989E6.mail.protection.outlook.com (10.167.241.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25 via Frontend Transport; Thu, 22 Feb 2024 09:12:00 +0000 X-Received: from rnnvmail201.nvidia.com (10.129.68.8) 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; Thu, 22 Feb 2024 01:11:47 -0800 X-Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Thu, 22 Feb 2024 01:11:47 -0800 X-Received: from NV-CL38DL3.nvidia.com (10.127.8.14) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Thu, 22 Feb 2024 01:11:46 -0800 From: "Nickle Wang via groups.io" To: CC: Abner Chang , Igor Kulchytskyy , "Nick Ramirez" Subject: [edk2-devel] [PATCH v2 5/6] RedfishPkg/RedfishDebugLib: use RedfishHttpLib Date: Thu, 22 Feb 2024 17:11:46 +0800 Message-ID: <20240222091146.800-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: MWH0EPF000989E6:EE_|MN2PR12MB4407:EE_ X-MS-Office365-Filtering-Correlation-Id: 583eb738-f323-4f21-e206-08dc33865415 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: YV7rszEqdFI8gdcxAHWRa+j/iLAEdhr4uN3MDJyTYruwna1n7vbUOuSkZUFXsBoS6cKHEfdChgIDf5sgTUcI4EVRJRSl0gIkEbABMcoltGQhV43rS229E0BnytEpF/dguRnBFtpq4pafq6NBAYWliG/zKikD55ySKuAmA30mOZYL8n8Lzz6hbjKtuZQV5ApX5IVmHbuV5hqIeL0N9YTt+ONdPWspuZWrhizkwW9xHDY0kbKntADvKvccyQ8qFz/LlLG+A47dTk6tCwXdDp1jqrrBzZMUakCIv2JiWuBTN2io7jTuX3YYxTMPlhZKMIMb56OE1Ju+vyFvoaedI/faBZlpM2mF//uhKQ3d4eytz2fHggByO53qCZD+UCh9S5OIg1djPjC65KBhMGbkxuaF7XZfDiuIe5CY4W/ZKQ1MOH3X8w1l68N1i8ceWbRCZinQQmM6bZOZZOWheds+uKVJLfbTDvAqsOnxUBAbH/hD39pKGhNNIQzMRZJqzOGXY+kbg777+psTbcAcRmGuo/qOqXZZeFQDdlfjQksXLq8l6dDp/c8CTGwq6oBfwdPJ0HEf2yf+dQ1xeAeiVOnrz34MbAghpljX/FcPvDj2ORHHv+SzfjuzwIj3dvspV89idKfmBwxz0AJR3Ph/K/0MLcWNzzIqu+MPUdf0wfUgtDszYuE= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2024 09:12:00.7559 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 583eb738-f323-4f21-e206-08dc33865415 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: MWH0EPF000989E6.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4407 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: 1OcSDxzZptdGXjVx3XoT31Jxx7686176AA= 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="rXeDJi/a"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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 --- 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 (#115779): https://edk2.groups.io/g/devel/message/115779 Mute This Topic: https://groups.io/mt/104505408/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-