Sha256: 9ae77abab411eb1628b07e21dc825c1d06bb518a98a875b7c792796504efc5ff

Contents?: true

Size: 786 Bytes

Versions: 1

Compression:

Stored size: 786 Bytes

Contents

# coding: utf-8
#
# Author:: Alessio Rocchi (<alessio.rocchi@staff.aruba.it>)
# © Copyright ArubaCloud.
#
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#

require 'fog/core'
require 'fog/json'


module Fog
  module ArubaCloud
    extend Fog::Provider
    
    autoload :ArubaCloud, File.expand_path('../arubacloud/compute', __FILE__)
    DEFAULT_API_VERSION = '2.9'
    DEFAULT_WS_ENDUSER_URL = "https://api.dc2.computing.cloud.it/WsEndUser/v#{DEFAULT_API_VERSION}/WsEndUser.svc/json"

    #   fix for deadlock during : "SetEnqueueServerCreation" :
    #   wait response ( not completation of create_server...  process) from cloud before continue
    #
    @@mymutex = Mutex.new

    def self.getUserMutex
      @@mymutex
    end

    service(:compute, 'Compute')
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-arubacloud-0.0.6 lib/fog/arubacloud.rb