<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi, all!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I'm trying to execute DMTF test vs OpenBMC system (QEMU, WitherSpoon)<o:p></o:p></p>
<p class="MsoNormal">Link to original DMTF test: <a href="https://github.com/DMTF/Redfish-JsonSchema-ResponseValidator">
https://github.com/DMTF/Redfish-JsonSchema-ResponseValidator</a> <o:p></o:p></p>
<p class="MsoNormal">(it is doing <b>a validation JSON resource against DMTF provided JSON schemas</b>)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>By design, the test could be done using online-schema (http://redfish.dmtf.org/schemas/v1/) or locally saved-schema.<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>If the test is done using the online schema</b>:<o:p></o:p></p>
<p class="MsoNormal">* problems were observed: <a href="https://github.com/openbmc/bmcweb/issues/58">
https://github.com/openbmc/bmcweb/issues/58</a> <o:p></o:p></p>
<p class="MsoNormal">* they are caused by missed JSON files: Manager.v1_3_0.json, ComputerSystem.v1_6_0.json<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>If the test is done using locally-saved-schema:<o:p></o:p></b></p>
<p class="MsoNormal">1. Saved /redfish/v1/ resources from the DMTF <o:p></o:p></p>
<p class="MsoNormal">(<a href="https://github.com/openbmc/bmcweb/files/2966955/schema.tar.gz">https://github.com/openbmc/bmcweb/files/2966955/schema.tar.gz</a> )
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2. Saved <a href="https://github.com/openbmc/bmcweb/blob/master/static/redfish/v1/JsonSchemas/OemManager/index.json">
https://github.com/openbmc/bmcweb/blob/master/static/redfish/v1/JsonSchemas/OemManager/index.json</a>
<o:p></o:p></p>
<p class="MsoNormal">as Manager.v1_3_0.json<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">3. Saved <a href="https://raw.githubusercontent.com/openbmc/bmcweb/master/static/redfish/v1/JsonSchemas/ComputerSystem/index.json">
https://raw.githubusercontent.com/openbmc/bmcweb/master/static/redfish/v1/JsonSchemas/ComputerSystem/index.json</a> as ComputerSystem.v1_6_0.json<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">* test passed with out problems<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>The questions are: <o:p></o:p></b></p>
<p class="MsoNormal"><b>Maybe there is a more simple way to save/collect recourses?<o:p></o:p></b></p>
<p class="MsoNormal"><b>Is it possible to have a common-storage with needed files?
<o:p></o:p></b></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><b>Current actions are complicated and could lead to problems (and creation of the non-needed issues)<o:p></o:p></b></p>
<p class="MsoNormal"><b>List of the needed files could be changed w/o any notifications for the QA.<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#006FC9;mso-fareast-language:EN-GB">Maksym Yepaneshnikov<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#4BA524;mso-fareast-language:EN-GB">Lead SW Dev Test Engineer</span></b><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#4BA524;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#4BA524;mso-fareast-language:EN-GB">UA05 Kharkov, Enterprise & Infrastructure, OP04 Operations<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#008A5E;mso-fareast-language:EN-GB">Jabil Software Services<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#38761D;mso-fareast-language:EN-GB"><img border="0" width="136" height="24" style="width:1.4166in;height:.25in" id="Picture_x0020_1" src="cid:image001.png@01D4DB50.EB679DD0" alt="https://az745219.vo.msecnd.net/content/email-imgs/JabilLogoSignature.png"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#4472C4;mso-fareast-language:EN-GB">63, Kolomenskaya st, Kharkiv<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#4472C4;mso-fareast-language:EN-GB">www.jabil.com<o:p></o:p></span></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>