From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web09.46140.1628913657168566022 for ; Fri, 13 Aug 2021 21:00:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=phIQ8zU1; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0860f9a735=abner.chang@hpe.com) Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17E3wRPe009919; Sat, 14 Aug 2021 04:00:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : mime-version; s=pps0720; bh=stqN3MC97a9c075ZVjfwlrDzW2BBDFvnbvHdIbhx+m8=; b=phIQ8zU1OKD2b8Haf4fehkesCJ5Q4FO7QwHnkJC2DUI+zFQbLlN3yRvARJoCDQkvXJuV 5kmFBrYnZeelDfYM7dWuUd0PMzdf7Cm1Q6xaE9SjoqcG/DSDDFsKpMuejcoGj5alJl2/ Pw34UmiJ2kaLjzW7yYAKULpnhbKN/0iOuLm/tQvODtHwVVakoWJn0VTjkhgm/xAI2RLy M0C/FbS9Ig3kZCWST4dipmeMX78O5VHUZ8S4iLPxZ46saBZnPHlDLxcHoMDNupz2FHrX DTMTqcTb3XkxUVG2NvfV4xnOE3ESEJ/n6JJIabsajgjLZYgrMylfLY7AfmwI+kUrKs/a hg== Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0a-002e3701.pphosted.com with ESMTP id 3ae61n83cm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 14 Aug 2021 04:00:49 +0000 Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id 3C51475; Sat, 14 Aug 2021 04:00:49 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id 539CF48; Sat, 14 Aug 2021 04:00:48 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Nickle Wang , Liming Gao Subject: [PATCH 0/1] Add EDK2 Redfish JSON C Structure stuff into the build Date: Sat, 14 Aug 2021 11:05:01 +0800 Message-Id: <20210814030502.3156-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 X-Proofpoint-GUID: ODznKpem_jxLAu2uWJGuxfK2tIrqqcWe X-Proofpoint-ORIG-GUID: ODznKpem_jxLAu2uWJGuxfK2tIrqqcWe X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-08-14_01:2021-08-13,2021-08-14 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 mlxlogscore=999 impostorscore=0 mlxscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108140023 This commit adds below Redfish JSON C Structure stuff into the build, - edk2 Redfish JSON to C Structure libraries - edk2 Redfish JSON to C Structure DXE drivers There are three relevant commits to this one those were not sent for the review because those are script auto-generated files and too many. (+18000 files). 1. Redfish JSON schema to C structure source files https://github.com/changab/edk2-staging/commit/5658ed31ccc9384894a240d5e3c9e06fc785f2cc 2. RedfishClientPkg/Converter: EDK2 Redfish JSON schema to C structure DXE drivers https://github.com/changab/edk2-staging/commit/8e8497a28947834fa68b62902584f2a1a1fa0205 3.Add EDK2 Redfish JSON C Structure stuff into build https://github.com/tianocore/edk2-staging/commit/1203c8b185e9071d0bc6222e7d9bf4f5cce9da6b Above drivers/librares are not all required to be built, only the certain instances need to be pull in the build process according to the platform demands. On edk2 Redfish client implementation, only the Redfish schema which referred in the HII form requires the corresponding EDK2 Redfish JSON C Structure drivers/libraries to build. This is described in the item #10 in EDK2 Redfish Client implementation guide at the below link. https://github.com/tianocore/edk2-staging/blob/edk2-redfish-client/RedfishClientPkg/Readme.md We also propose to create another Github repo under tianocore for the entire RedfishClinetPkg. With this we won't add overheads to the regular edk2 repo because the tons of files. Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Liming Gao Abner Chang (1): RedfishClientPkg: Add EDK2 Redfish JSON C Structure stuff into build .../RedfishClientComponents.dsc.inc | 4 + RedfishClientPkg/RedfishClientDefines.dsc.inc | 7 + RedfishClientPkg/RedfishClientLibs.dsc.inc | 3 + .../RedfishJsonStructureDxe.dsc.inc | 2347 +++++++++++++++++ .../RedfishJsonStructureLib.dsc.inc | 2346 ++++++++++++++++ 5 files changed, 4707 insertions(+) create mode 100644 RedfishClientPkg/RedfishJsonStructureDxe.dsc.inc create mode 100644 RedfishClientPkg/RedfishJsonStructureLib.dsc.inc -- 2.17.1