On Tue, 2013-01-22 at 11:39 +0300, [email protected] wrote:
> From: NjeriChelimo <[email protected]>
ACK & pushed. One comment:
> diff --git a/clients/cimi/lib/entities/machine.rb
> b/clients/cimi/lib/entities/machine.rb
> index 941f738..2708e4b 100644
> --- a/clients/cimi/lib/entities/machine.rb
> +++ b/clients/cimi/lib/entities/machine.rb
> @@ -21,6 +21,20 @@ class CIMI::Frontend::Machine < CIMI::Frontend::Entity
> haml :'machines/show'
> end
>
> + get '/cimi/machines/:id/disks' do
> + machine_xml = get_entity('machines', params[:id], credentials)
In the brave new world where we don't do URL surgery any more, we should
make this route
get '/cimi/machines/disks/:id' do
disks_xml = get_resource(params[:id], credentials)
...
David