Closed Bug 947464 Opened 11 years ago Closed 10 years ago

Use UUIDs as primary keys for all Zippy resources

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P4)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kumar, Unassigned)

References

Details

(Whiteboard: [qa-])

Because all objects are created from Solitude with a pre-determined UUID let's make all Zippy resources use this as their primary key. This will maybe require the following things (and more?)

- All URL routes need to accept a UUID as primary key, not numeric ID
- All UUID based lookups should be changed from things like {uuid: ...} to {_id: ...}
- Redeundant UUID params on objects/forms should be removed
- All tests that create objects need to specify a UUID like {_id: uuid.v4()}
- Solitude might need some changes

FYI: Andy did this for the sellers API already but not all APIs.
Blocks: 905736
Whiteboard: [qa-]
Priority: -- → P4
Version: 1.4 → 1.5
Already done.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.