John Leung

Results 7 comments of John Leung

What do you get when you issue a GET /redfish/v1/Systems/............/Storage/1/Drives/0 via Postman? Anything you do via the library, you can debug by walking the resource tree manually.

The SessionService resource is not fully implemented in this emulator. Hence there are stubs in the resource API file - ./api_emulator/redfish/SessionService_api.py Fortunately, the SNIA API Emulator (https://github.com/SNIA/Swordfish-API-Emulator) is working to...

Just tested the emulator using Postman and the response has Content-Type = application/json. Will look further.

When you make the GET request, is "Accept: application/json" set in the request header?

A search finds... Change FireFox's default Accept header to prefer JSON over XML - In the address bar in FireFox, type “about:config”. - Click the “I promise” button. - In...

The construct of the folders is to have a resource.py and resource_api.py code in ./redfish and the template files (resource_template.py) in the directory ./redfish/templates. This allowed the resource behavior code...