anchor.diff:  
   begin
     $evm.log('info', 'DeleteVMWareVM: Begin')
  -  vim = RbVmomi::VIM.connect host: host, port: port, user: user, password: password, insecure: false
  +  vim = RbVmomi::VIM.connect host: URI.parse(endpoint).host, port: port, user: user, password: password, insecure: false
     dc = vim.serviceInstance.find_datacenter(datacenter)
     $evm.log('info', 'DeleteVMWareVM: Found datacenter')
     vm = dc.find_vm(instance_name)
     if vm.nil?
  -    send_order_status(host, headers, 'CRITICAL', order_id,  info, 'Could not find VM')
  +    send_order_status(endpoint, headers, 'CRITICAL',  info, 'Could not find VM')
       exit
     end
     $evm.log('info', 'DeleteVMWareVM: Found VM')
     vm.Destroy_Task(this: vm)
   rescue StandardError => e
  -  send_order_status(host, headers, 'CRITICAL', order_id,  info, "Exception caught while creating VM: #{e.message}")
  +  send_order_status(endpoint, headers, 'CRITICAL',  info, "Exception caught while creating VM: #{e.message}")
     $evm.log('error', "DeleteVMWareVM: Error while deleting VM: #{e.message}")
     exit
   end
  
positive.code: $evm.log('info', "CreateVMWareVM: Product Details: #{product_details}")
  product_hash = JSON.parse(product_details.gsub("'", '"').gsub('=>', ':'))
  datacenter = product_hash['datacenter']
  host = product_hash['host']
  port = Integer(product_hash['port']) unless product_hash['port'].nil || product_hash[port] == ''
  user = product_hash['user']
  password = product_hash['password']
  
negative.code: require 'uri/http'
  require 'json'
  
  def send_order_status(endpoint, headers, status, information, message = '')
    uri = URI.parse(endpoint)
  
    information = information.merge('provision_status' => status.downcase)
    $evm.log('info', "send_order_status: Information: #{information}")
  