rackerlabs / mimic

An API mock service
Other
168 stars 57 forks source link

Complete support of Nova flavors endpoints #111

Open migibert opened 9 years ago

migibert commented 9 years ago

For now, the nova plugin supports GET on /v2/{tenant_id}/flavors/{flavor_id} It should support this endpoints to be Nova v2 compliant about flavors:

glyph commented 9 years ago

Thanks for filing this :).

migibert commented 9 years ago

I Hope implementing it too :) But for this, it would be simpler with the #113 proposition. Without it, we will have to add the extensions support to create reference data in flavors. This is not a problem but we should consider the option to inject a dataset in mimic via the preset API. The scenario would be to start the server, inject data (flavors, images, regions, ...) and then play integration tests.

glyph commented 9 years ago

Perhaps you could implement a simple hard-coded list first, and we could parameterize it later?

migibert commented 9 years ago

Sure! I will do that :)