On 11/29, [email protected] wrote: I just noticed that our unit tests are failing with this patchset. For some (unknown) reason DataMapper cause Rack::Test to explode.
I have patch ready that will prevent use DataMapper while running under ENV['RACK_ENV'] == 'test'. -- Michal > Hi, > > This revision add support for MachineTemplate model in CIMI. > > How to use it: > > curl -v -X POST -H 'Content-Type: application/json' --user \ > 'mockuser:mockpassword' -d @machine_template.json \ > http://localhost:3001/cimi/machine_templates > > (machine_template.json is attached). > > Then if you want to create a new machine using this MachineTemplate: > > curl -v -X POST -H 'Content-Type: application/json' --user \ > 'mockuser:mockpassword' -d @machine_from_temp.json \ > http://localhost:3001/cimi/machines > > (machine_from_temp.json) is attached) > > -- Michal > -- Michal Fojtik <[email protected]> Deltacloud API, CloudForms
