anchor.diff:  require 'uri/http'
   require 'json'
   
  -def send_order_status(referer, headers, status, order_id, information, message = '')
  -  path = "/order_items/#{order_id}/provision_update"
  -  host = URI.parse(referer).host
  -  url = "http://#{host}#{path}"
  -  uri = URI.parse(url)
  +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}")
  
positive.code:   relocation_spec = RbVmomi::VIM.VirtualMachineRelocateSpec(pool: pool)
    custom_spec = vim.serviceContent.customizationSpecManager.GetCustomizationSpec(name: spec_name).spec
    if custom_spec.nil?
      send_order_status(host, headers, 'CRITICAL', order_id,  info, 'Could not find specified spec file')
      exit
    end
    clone_spec =  RbVmomi::VIM.VirtualMachineCloneSpec(
  
negative.code: order_id = order_item_hash['id']
  uuid = order_item_hash['uuid']
  datacenter = product_hash['datacenter']
  endpoint = product_hash['host']
  port = Integer(product_hash['port']) unless product_hash['port'].nil || product_hash[port] == ''
  user = product_hash['user']
  password = product_hash['password']
  