You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2011/11/24 14:22:14 UTC
svn commit: r1205820 - /deltacloud/trunk/server/lib/cimi/server.rb
Author: mfojtik
Date: Thu Nov 24 13:22:14 2011
New Revision: 1205820
URL: http://svn.apache.org/viewvc?rev=1205820&view=rev
Log:
CIMI: Resolved forgotten rebase conflict
Modified:
deltacloud/trunk/server/lib/cimi/server.rb
Modified: deltacloud/trunk/server/lib/cimi/server.rb
URL: http://svn.apache.org/viewvc/deltacloud/trunk/server/lib/cimi/server.rb?rev=1205820&r1=1205819&r2=1205820&view=diff
==============================================================================
--- deltacloud/trunk/server/lib/cimi/server.rb (original)
+++ deltacloud/trunk/server/lib/cimi/server.rb Thu Nov 24 13:22:14 2011
@@ -114,26 +114,10 @@ global_collection :machine_configuration
param :id, :string, :required
control do
-<<<<<<< HEAD
- @profile = driver.hardware_profile(credentials, params[:id])
- if @profile
- #setup the default values for a machine configuration
- resource_default = get_resource_default "machine_configuration"
- #get the actual values from profile
- resource_value = { "name" => @profile.name,"uri" => @profile.name,
- "href" => machine_configuration_url(@profile.name) }
- #mixin actual values get from profile
- @dmtfitem = resource_default["dmtfitem"].merge resource_value
- show_resource "machine_configurations/show", "MachineConfiguration",
- {"property" => "properties", "disk" => "disks", "operation" => "operations"}
- else
- report_error(404)
-=======
machine_conf = MachineConfiguration.find(params[:id], self)
respond_to do |format|
format.xml { machine_conf.to_xml }
format.json { machine_conf.to_json }
->>>>>>> 814f2ce... CIMI: Moved drivers methods into CIMI model itself
end
end