Mike Rieth
Mike Rieth
Upgrade orders seem to be different than provisioning orders, in that provisioning orders only reach a final status of 'APPROVED' while upgrades go on to 'COMPLETED'. From what I can...
Personally, I'm not sure it's worth trying to capture the ordering/provisioning/status-update process into a general purpose helper. If we want to have a helper that checks the first provisioning transaction...
@renier 1cfd138 Comments?
@renier "single-use case" may have been too strong. _Limited_ then because it can only be relied on to be accurate when your order has a single order-item only. My preference...
I called `GetSoftwareInventory()`, passing the client, and a concatenation of the `UpdateService.FirmwareInventory` endpoint plus the specific entry ID we are interested in, e.g.: `/redfish/v1/UpdateService/FirmwareInventory/BMC-Primary` https://github.com/stmcginnis/gofish/blob/71755ec44eacbba2409f47b7ba4735b25929b2cd/redfish/softwareinventory.go#L172-L175
I revisited this, and it turns out that some of my earlier assumptions about firmware inventory IDs having stable, predictable names didn't hold beyond the one vendor I was working...