Closed Bug 688639 Opened 14 years ago Closed 14 years ago

inventory's system_update requires unknown id's

Categories

(mozilla.org Graveyard :: Server Operations: Projects, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: rtucker)

Details

The system_status and system_rack parameters to this call are ID's, but the API gives no way to CRUD those tables, so the IDs are inaccessible. It'd probably be easiest to change the API to take a string there, but it would also work to give access to those tables through a separate part of the API - then clients can query and create rows in the system_racks and system_statuses tables if necessary, before updating the system row.
I added functionality to the api to allow for system_status to accept a string. I cannot add the same functionality for system_rack however since there are duplicates. I also added to the api a /systemrack/ and /systemstatus/ option for reading. I'll get it added to the documentation.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.