RackHD/on-http

View on GitHub
data/views/redfish-1.0/redfish.1.0.0.softwareinventorycollection.json

Summary

Maintainability
Test Coverage
{
    "@odata.context" : "<%= basepath %>/$metadata#SoftwareInventoryCollection.SoftwareInventoryCollection",
    "@odata.id": "<%= url %>",
    "@odata.type": "#SoftwareInventoryCollection.SoftwareInventoryCollection",
    "Oem" : {},
    "Name": "Software Inventory Collection",
    "Members@odata.count": <%= fwItems.length %>,
    "Members": [
        <% fwItems.forEach(function(fwItem, i, arr) { %>
{
    "@odata.id": "<%=url%>/<%=fwItem %>"
}
<%= ( arr.length > 0 && i < arr.length-1 ) ? ',': '' %>
<% }); %>
]
}