DMTF / Redfish-Profile-Simulator

A Flask-based simulator of a Redfish Service implementing the proposed OCP feature Profile.
Other
21 stars 17 forks source link

redfish/v1/Systems does not work #24

Closed frsauvage closed 4 years ago

frsauvage commented 4 years ago

Hi,

I ran the Redfish Profile Simulator (RPS). I ran the Redfish Interop Validator (RIV) on it.

Result:

/redfish/v1/Systems does not exist in $metadata so RPS returns :

{ "@odata.id": "/redfish/v1/Systems" }

instead of its /MockupData/.../Systems/index.json file.

Expected result

` { "@odata.type": "#ComputerSystemCollection.ComputerSystemCollection", "Name": "Computer System Collection", "Members@odata.count": 1, "Members": [ { "@odata.id": "/redfish/v1/Systems/2M220100SL" } ], "@odata.context": "/redfish/v1/$metadata#ComputerSystemCollection.ComputerSystemCollection", "@odata.id": "/redfish/v1/Systems", "@Redfish.Copyright": "Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright." }

`

possible issue

line 45 of resource.py

image

component Systems is not in $metadata components

What did I miss?

Regards, Francine

frsauvage commented 4 years ago

My mistakes while adding schemas and profiles routes. I apologize, Francine