deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1205820 - /deltacloud/trunk/server/lib/cimi/server.rb
Date Thu, 24 Nov 2011 13:22:14 GMT
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
 



Mime
View raw message