deltacloud-core 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -1
- data/bin/deltacloudd +11 -5
- data/config.ru +3 -3
- data/deltacloud-core.gemspec +24 -18
- data/lib/cimi/collections/address_templates.rb +3 -3
- data/lib/cimi/collections/addresses.rb +6 -5
- data/lib/cimi/collections/entity_metadata.rb +0 -2
- data/lib/cimi/collections/machine_admins.rb +5 -5
- data/lib/cimi/collections/machine_configurations.rb +2 -2
- data/lib/cimi/collections/machine_images.rb +3 -3
- data/lib/cimi/collections/machines.rb +32 -10
- data/lib/cimi/collections/network_configurations.rb +4 -3
- data/lib/cimi/collections/network_templates.rb +4 -3
- data/lib/cimi/collections/networks.rb +8 -8
- data/lib/cimi/collections/routing_group_templates.rb +4 -3
- data/lib/cimi/collections/routing_groups.rb +4 -3
- data/lib/cimi/collections/volume_configurations.rb +3 -3
- data/lib/cimi/collections/volume_images.rb +3 -3
- data/lib/cimi/collections/volumes.rb +4 -3
- data/lib/cimi/collections/vsp_configurations.rb +4 -3
- data/lib/cimi/collections/vsp_templates.rb +4 -3
- data/lib/cimi/collections/vsps.rb +8 -7
- data/lib/cimi/helpers.rb +1 -1
- data/lib/cimi/helpers/cimi_helper.rb +11 -1
- data/lib/cimi/models.rb +4 -0
- data/lib/cimi/models/base.rb +11 -1
- data/lib/cimi/models/cloud_entry_point.rb +7 -14
- data/lib/cimi/models/disk.rb +40 -0
- data/lib/cimi/models/disk_collection.rb +38 -0
- data/lib/cimi/models/machine.rb +9 -43
- data/lib/cimi/models/machine_collection.rb +7 -4
- data/lib/cimi/models/machine_configuration.rb +8 -15
- data/lib/cimi/models/machine_configuration_collection.rb +6 -4
- data/lib/cimi/models/machine_image_collection.rb +6 -4
- data/lib/cimi/models/machine_template_collection.rb +6 -4
- data/lib/cimi/models/machine_volume.rb +42 -0
- data/lib/cimi/models/machine_volume_collection.rb +34 -0
- data/lib/cimi/models/network.rb +5 -9
- data/lib/cimi/models/network_collection.rb +6 -5
- data/lib/cimi/models/schema.rb +20 -0
- data/lib/cimi/models/volume_collection.rb +6 -4
- data/lib/cimi/models/volume_configuration_collection.rb +6 -4
- data/lib/cimi/models/volume_image_collection.rb +6 -4
- data/lib/cimi/models/volume_template_collection.rb +6 -4
- data/lib/deltacloud/api.rb +3 -3
- data/lib/deltacloud/collections/addresses.rb +1 -1
- data/lib/deltacloud/collections/firewalls.rb +4 -2
- data/lib/deltacloud/collections/keys.rb +1 -1
- data/lib/deltacloud/collections/load_balancers.rb +1 -1
- data/lib/deltacloud/collections/storage_volumes.rb +4 -4
- data/lib/deltacloud/drivers/base_driver.rb +12 -20
- data/lib/deltacloud/drivers/ec2/aws_vpc_monkey_patch.rb +294 -0
- data/lib/deltacloud/drivers/ec2/ec2_driver.rb +38 -6
- data/lib/deltacloud/drivers/fgcp/fgcp_client.rb +4 -0
- data/lib/deltacloud/drivers/fgcp/fgcp_driver.rb +40 -4
- data/lib/deltacloud/drivers/gogrid/gogrid_client.rb +8 -7
- data/lib/deltacloud/drivers/gogrid/gogrid_driver.rb +422 -416
- data/lib/deltacloud/drivers/google/google_driver.rb +2 -1
- data/lib/deltacloud/drivers/openstack/openstack_driver.rb +30 -16
- data/lib/deltacloud/drivers/rhevm/rhevm_driver.rb +1 -0
- data/lib/deltacloud/drivers/vsphere/vsphere_driver.rb +3 -9
- data/lib/deltacloud/helpers/deltacloud_helper.rb +0 -2
- data/lib/deltacloud/models/firewall_rule.rb +2 -0
- data/lib/deltacloud/models/hardware_profile.rb +61 -59
- data/{tests/deprecated/core_ext/string.rb → lib/deltacloud/version.rb} +3 -15
- data/lib/deltacloud_rack.rb +1 -0
- data/lib/ec2/server.rb +5 -3
- data/lib/sinatra/rack_accept.rb +53 -53
- data/lib/sinatra/rack_etag.rb +1 -1
- data/tests/cimi/collections/cloud_entry_point_test.rb +11 -2
- data/tests/deltacloud/common.rb +1 -1
- data/tests/deltacloud/rack_test.rb +3 -3
- data/tests/drivers/base/base_driver_test.rb +6 -2
- data/tests/drivers/base/common.rb +1 -0
- data/tests/drivers/base/library_test.rb +6 -2
- data/tests/drivers/ec2/common.rb +34 -15
- data/tests/drivers/ec2/images_test.rb +2 -3
- data/tests/drivers/ec2/instance_test.rb +12 -2
- data/tests/drivers/ec2/keys_test.rb +2 -2
- data/tests/drivers/ec2/realms_test.rb +7 -3
- data/tests/drivers/ec2/storage_snapshots_test.rb +2 -3
- data/tests/drivers/gogrid/common.rb +24 -0
- data/tests/drivers/gogrid/hardware_profiles_test.rb +51 -0
- data/tests/drivers/gogrid/images_test.rb +57 -0
- data/tests/drivers/gogrid/instances_test.rb +92 -0
- data/tests/drivers/gogrid/realms_test.rb +45 -0
- data/tests/drivers/google/buckets_test.rb +105 -0
- data/tests/drivers/google/common.rb +20 -0
- data/tests/drivers/mock/common.rb +1 -0
- data/tests/drivers/mock/images_test.rb +3 -2
- data/tests/drivers/mock/instances_test.rb +3 -2
- data/tests/drivers/mock/keys_test.rb +3 -2
- data/tests/drivers/mock/realms_test.rb +3 -2
- data/tests/drivers/mock/storage_snapshots_test.rb +3 -2
- data/tests/drivers/mock/storage_volumes_test.rb +3 -2
- data/tests/drivers/models/address_test.rb +3 -3
- data/tests/drivers/models/base_test.rb +4 -2
- data/tests/drivers/models/blob_test.rb +3 -3
- data/tests/drivers/models/common.rb +3 -0
- data/tests/drivers/models/hardware_profile_test.rb +5 -4
- data/tests/drivers/models/instance_address_test.rb +3 -3
- data/tests/drivers/models/instance_profile_test.rb +3 -3
- data/tests/drivers/models/instance_test.rb +3 -3
- data/tests/drivers/models/keys_test.rb +3 -3
- data/tests/drivers/models/metrics_test.rb +3 -3
- data/tests/drivers/openstack/common.rb +26 -0
- data/tests/drivers/openstack/hardware_profiles_test.rb +46 -0
- data/tests/drivers/openstack/images_test.rb +50 -0
- data/tests/drivers/openstack/instances_test.rb +66 -0
- data/tests/drivers/openstack/keys_test.rb +61 -0
- data/tests/drivers/openstack/realms_test.rb +46 -0
- data/tests/drivers/rhevm/common.rb +2 -0
- data/tests/drivers/rhevm/images_test.rb +3 -4
- data/tests/drivers/rhevm/instance_test.rb +2 -2
- data/tests/drivers/rhevm/provider_test.rb +2 -2
- data/tests/drivers/rhevm/realms_test.rb +2 -3
- data/tests/ec2/common.rb +5 -4
- data/tests/ec2/server_test.rb +3 -2
- data/tests/helpers/rack/common.rb +3 -0
- data/tests/helpers/rack/rack_accept_test.rb +65 -0
- data/tests/helpers/rack/rack_date_test.rb +27 -0
- data/tests/helpers/rack/rack_driver_select_test.rb +53 -0
- data/tests/helpers/rack/rack_etag_test.rb +29 -0
- data/tests/helpers/rack/rack_matrix_params_test.rb +72 -0
- data/tests/test_helper.rb +44 -36
- data/views/hardware_profiles/index.html.haml +1 -1
- data/views/hardware_profiles/show.html.haml +2 -2
- data/views/hardware_profiles/show.xml.haml +2 -1
- data/views/images/show.html.haml +6 -5
- metadata +74 -117
- data/tests/deprecated/api/common.rb +0 -1
- data/tests/deprecated/api/driver_test.rb +0 -79
- data/tests/deprecated/api/library_test.rb +0 -6
- data/tests/deprecated/cimi/features/step_definitions/common_steps.rb +0 -59
- data/tests/deprecated/cimi/features/step_definitions/machine_images_steps.rb +0 -0
- data/tests/deprecated/cimi/features/step_definitions/machines_steps.rb +0 -100
- data/tests/deprecated/cimi/features/step_definitions/volumes_steps.rb +0 -115
- data/tests/deprecated/cimi/features/support/env.rb +0 -75
- data/tests/deprecated/common.rb +0 -279
- data/tests/deprecated/drivers/ec2/api_test.rb +0 -19
- data/tests/deprecated/drivers/ec2/common.rb +0 -23
- data/tests/deprecated/drivers/ec2/drivers_test.rb +0 -120
- data/tests/deprecated/drivers/ec2/hardware_profiles_test.rb +0 -224
- data/tests/deprecated/drivers/ec2/images_test.rb +0 -230
- data/tests/deprecated/drivers/ec2/instances_test.rb +0 -356
- data/tests/deprecated/drivers/ec2/keys_test.rb +0 -181
- data/tests/deprecated/drivers/ec2/realms_test.rb +0 -146
- data/tests/deprecated/drivers/fgcp/api_test.rb +0 -47
- data/tests/deprecated/drivers/fgcp/hardware_profiles_test.rb +0 -54
- data/tests/deprecated/drivers/fgcp/realms_test.rb +0 -42
- data/tests/deprecated/drivers/fgcp/setup.rb +0 -13
- data/tests/deprecated/drivers/google/api_test.rb +0 -19
- data/tests/deprecated/drivers/google/buckets_test.rb +0 -100
- data/tests/deprecated/drivers/google/common.rb +0 -54
- data/tests/deprecated/drivers/mock/api_test.rb +0 -10
- data/tests/deprecated/drivers/mock/buckets_test.rb +0 -195
- data/tests/deprecated/drivers/mock/common.rb +0 -7
- data/tests/deprecated/drivers/mock/drivers_test.rb +0 -123
- data/tests/deprecated/drivers/mock/hardware_profiles_test.rb +0 -224
- data/tests/deprecated/drivers/mock/images_test.rb +0 -197
- data/tests/deprecated/drivers/mock/instances_test.rb +0 -343
- data/tests/deprecated/drivers/mock/keys_test.rb +0 -161
- data/tests/deprecated/drivers/mock/realms_test.rb +0 -132
- data/tests/deprecated/drivers/mock/storage_snapshots_test.rb +0 -114
- data/tests/deprecated/drivers/mock/storage_volumes_test.rb +0 -122
- data/tests/deprecated/drivers/openstack/api_test.rb +0 -46
- data/tests/deprecated/drivers/openstack/common.rb +0 -21
- data/tests/deprecated/drivers/openstack/hardware_profiles_test.rb +0 -64
- data/tests/deprecated/drivers/openstack/images_test.rb +0 -46
- data/tests/deprecated/drivers/openstack/instances_test.rb +0 -208
- data/tests/deprecated/drivers/openstack/realms_test.rb +0 -40
- data/tests/deprecated/drivers/rackspace/api_test.rb +0 -46
- data/tests/deprecated/drivers/rackspace/buckets_test.rb +0 -150
- data/tests/deprecated/drivers/rackspace/common.rb +0 -16
- data/tests/deprecated/drivers/rackspace/hardware_profiles_test.rb +0 -58
- data/tests/deprecated/drivers/rackspace/images_test.rb +0 -45
- data/tests/deprecated/drivers/rackspace/instances_test.rb +0 -166
- data/tests/deprecated/drivers/rackspace/realms_test.rb +0 -41
- data/tests/deprecated/drivers/rhevm/api_test.rb +0 -45
- data/tests/deprecated/drivers/rhevm/common.rb +0 -21
- data/tests/deprecated/drivers/rhevm/hardware_profiles_test.rb +0 -58
- data/tests/deprecated/drivers/rhevm/images_test.rb +0 -48
- data/tests/deprecated/drivers/rhevm/instances_test.rb +0 -182
- data/tests/deprecated/drivers/rhevm/realms_test.rb +0 -40
- data/tests/deprecated/minitest_common.rb +0 -58
- data/tests/deprecated/minitest_common_api_test.rb +0 -115
- data/tests/deprecated/rabbit_test.rb +0 -52
@@ -0,0 +1,72 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'require_relative' if RUBY_VERSION < '1.9'
|
3
|
+
require_relative '../../test_helper.rb'
|
4
|
+
require_relative './common.rb'
|
5
|
+
|
6
|
+
require 'json'
|
7
|
+
|
8
|
+
class TestMatrixApp < Sinatra::Base
|
9
|
+
use Rack::MatrixParams
|
10
|
+
get '/' do
|
11
|
+
params.to_json
|
12
|
+
end
|
13
|
+
get '/test' do
|
14
|
+
params.to_json
|
15
|
+
end
|
16
|
+
get '/test/books' do
|
17
|
+
params.to_json
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
describe TestMatrixApp do
|
22
|
+
|
23
|
+
before do
|
24
|
+
def app; TestMatrixApp; end
|
25
|
+
end
|
26
|
+
|
27
|
+
it 'should set matrix param for entrypoint' do
|
28
|
+
get '/;test=1'
|
29
|
+
status.must_equal 200
|
30
|
+
json['test'].must_equal '1'
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'should set multiple matrix params for entrypoint' do
|
34
|
+
get '/;test=1;foo=bar'
|
35
|
+
status.must_equal 200
|
36
|
+
json['test'].must_equal '1'
|
37
|
+
json['foo'].must_equal 'bar'
|
38
|
+
end
|
39
|
+
|
40
|
+
it 'should set matrix param for first part of URI' do
|
41
|
+
get '/test;foo=bar'
|
42
|
+
status.must_equal 200
|
43
|
+
json['test']['foo'].must_equal 'bar'
|
44
|
+
end
|
45
|
+
|
46
|
+
it 'should set multiple matrix params for first part of URI' do
|
47
|
+
get '/test;foo=bar;test1=blah'
|
48
|
+
status.must_equal 200
|
49
|
+
json['test']['foo'].must_equal 'bar'
|
50
|
+
json['test']['test1'].must_equal 'blah'
|
51
|
+
end
|
52
|
+
|
53
|
+
it 'should set matrix params for the last part of URI' do
|
54
|
+
get '/test/books;foo=bar'
|
55
|
+
status.must_equal 200
|
56
|
+
json['books']['foo'].must_equal 'bar'
|
57
|
+
end
|
58
|
+
|
59
|
+
it 'should set matrix params for multiple parts of URI' do
|
60
|
+
get '/test;test=1/books;foo=bar'
|
61
|
+
status.must_equal 200
|
62
|
+
json['books']['foo'].must_equal 'bar'
|
63
|
+
json['test']['test'].must_equal '1'
|
64
|
+
end
|
65
|
+
|
66
|
+
it 'should handle matrix params with wrong syntax' do
|
67
|
+
get '/test;;;/books;foo=bar'
|
68
|
+
json['books']['foo'].must_equal 'bar'
|
69
|
+
json['test'].must_be_nil
|
70
|
+
end
|
71
|
+
|
72
|
+
end
|
data/tests/test_helper.rb
CHANGED
@@ -6,6 +6,10 @@ require 'nokogiri'
|
|
6
6
|
require 'pp'
|
7
7
|
require 'require_relative' if RUBY_VERSION < '1.9'
|
8
8
|
|
9
|
+
require 'singleton'
|
10
|
+
|
11
|
+
require_relative '../lib/deltacloud/api.rb'
|
12
|
+
|
9
13
|
ENV['RACK_ENV'] = 'test'
|
10
14
|
|
11
15
|
if ENV['COVERAGE']
|
@@ -16,43 +20,14 @@ if ENV['COVERAGE']
|
|
16
20
|
end
|
17
21
|
end
|
18
22
|
|
19
|
-
|
20
|
-
|
21
|
-
#
|
22
|
-
# https://github.com/jtrupiano/timecop/issues/8#issuecomment-1396047
|
23
|
-
#
|
24
|
-
# Since 'timecop' gem has broken 'timezone' support, this small monkey-patching
|
25
|
-
# on Time object seems to fix this issue.
|
26
|
-
|
27
|
-
class Time
|
28
|
-
module TimeMock
|
29
|
-
attr_accessor :mock_time
|
30
|
-
|
31
|
-
def mock_now
|
32
|
-
@mock_time || Time.original_now
|
33
|
-
end
|
34
|
-
|
35
|
-
def be(a_time)
|
36
|
-
@mock_time = Time.parse(a_time)
|
37
|
-
end
|
38
|
-
|
39
|
-
end
|
40
|
-
|
41
|
-
class << self
|
42
|
-
include TimeMock
|
43
|
-
alias_method :original_now, :now
|
44
|
-
alias_method :now, :mock_now
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
# Test helpers
|
49
|
-
|
50
|
-
def record_retries(name='')
|
51
|
-
{
|
52
|
-
:before => Proc.new { |r, &block|
|
53
|
-
VCR.use_cassette("#{__name__}-#{name.empty? ? '' : "#{name}-"}#{r}", &block)
|
54
|
-
}
|
23
|
+
def record_retries(name='', opts = {})
|
24
|
+
opts[:before] = Proc.new { |r, &block|
|
25
|
+
VCR.use_cassette("#{__name__}-#{name.empty? ? '' : "#{name}-"}#{r}", &block)
|
55
26
|
}
|
27
|
+
if VCR.configuration.default_cassette_options[:record] == :none
|
28
|
+
opts[:time_between_retry] = 0
|
29
|
+
end
|
30
|
+
opts
|
56
31
|
end
|
57
32
|
|
58
33
|
include Rack::Test::Methods
|
@@ -64,3 +39,36 @@ def xml; Nokogiri::XML(response_body); end
|
|
64
39
|
def json; JSON::parse(response_body); end
|
65
40
|
def formats; [ 'application/xml', 'application/json', 'text/html' ]; end
|
66
41
|
def root_url(url=''); Deltacloud.default_frontend.root_url + url; end
|
42
|
+
|
43
|
+
module Deltacloud
|
44
|
+
module Test
|
45
|
+
class Config
|
46
|
+
include Singleton
|
47
|
+
|
48
|
+
def initialize
|
49
|
+
fname = ENV["CONFIG"] || File::expand_path("~/.deltacloud/config")
|
50
|
+
begin
|
51
|
+
@hash = YAML.load(File::open(fname))
|
52
|
+
rescue Errno::ENOENT
|
53
|
+
@hash = {}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def credentials(driver)
|
58
|
+
driver = driver.to_s
|
59
|
+
if @hash.has_key?(driver)
|
60
|
+
user = @hash[driver]["user"]
|
61
|
+
password = @hash[driver]["password"]
|
62
|
+
else
|
63
|
+
user = "fakeuser"
|
64
|
+
password = "fakepassword"
|
65
|
+
end
|
66
|
+
{ :user => user, :password => password }
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
def self.config
|
71
|
+
Config::instance
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
@@ -5,7 +5,7 @@
|
|
5
5
|
%ul{ :'data-role' => :listview, :'data-inset' => :true }
|
6
6
|
- for profile in order_hardware_profiles(@hardware_profiles)
|
7
7
|
%li{ :'data-theme' => 'c'}
|
8
|
-
%a{ :href => hardware_profile_url(profile.
|
8
|
+
%a{ :href => hardware_profile_url(profile.id)}
|
9
9
|
%img{ :class => 'ui-link-thumb', :src => '/images/profile.png'}
|
10
10
|
%h3= profile.name
|
11
11
|
%p
|
@@ -1,11 +1,11 @@
|
|
1
1
|
=header "Hardware profiles"
|
2
|
-
=subheader @hardware_profile.name
|
2
|
+
=subheader @hardware_profile.name || @hardware_profile.id
|
3
3
|
|
4
4
|
%div{ :'data-role' => :content, :'data-theme' => 'c'}
|
5
5
|
%ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'd'}
|
6
6
|
%li{ :'data-role' => 'list-divider'} Name
|
7
7
|
%li
|
8
|
-
%p{ :'data-role' => 'fieldcontain'}=@hardware_profile.name
|
8
|
+
%p{ :'data-role' => 'fieldcontain'}=@hardware_profile.name || @hardware_profile.id
|
9
9
|
- @hardware_profile.each_property do |p|
|
10
10
|
%li{ :'data-role' => 'list-divider'} #{p.name.to_s.titlecase}
|
11
11
|
%li
|
@@ -1,6 +1,7 @@
|
|
1
1
|
- unless defined?(partial)
|
2
2
|
!!! XML
|
3
|
-
%hardware_profile{ :href => hardware_profile_url(@hardware_profile.
|
3
|
+
%hardware_profile{ :href => hardware_profile_url(@hardware_profile.id), :id => @hardware_profile.id }
|
4
|
+
%id= @hardware_profile.id
|
4
5
|
%name<
|
5
6
|
= @hardware_profile.name
|
6
7
|
- @hardware_profile.each_property do |prop|
|
data/views/images/show.html.haml
CHANGED
@@ -20,11 +20,12 @@
|
|
20
20
|
%li{ :'data-role' => 'list-divider'} Architecture
|
21
21
|
%li
|
22
22
|
%p{ :'data-role' => 'fieldcontain'}=@image.architecture
|
23
|
-
|
24
|
-
|
25
|
-
%
|
26
|
-
-
|
27
|
-
|
23
|
+
- if @image.hardware_profiles
|
24
|
+
%li{ :'data-role' => 'list-divider'} Hardware Profiles
|
25
|
+
%li
|
26
|
+
%div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
|
27
|
+
- @image.hardware_profiles.each do |hwp|
|
28
|
+
%a{ :href => api_url_for("hardware_profiles/#{hwp.name}"), :'data-role' => "button", :'data-ajax' => 'false'} #{hwp.name}
|
28
29
|
%li{ :'data-role' => 'list-divider'} Actions
|
29
30
|
%li
|
30
31
|
%div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deltacloud-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 3
|
10
|
+
version: 1.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- The Apache Software Foundation
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-09-07 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|
@@ -55,12 +55,12 @@ dependencies:
|
|
55
55
|
requirements:
|
56
56
|
- - ">="
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
hash:
|
58
|
+
hash: 27
|
59
59
|
segments:
|
60
|
+
- 1
|
61
|
+
- 3
|
60
62
|
- 0
|
61
|
-
|
62
|
-
- 4
|
63
|
-
version: 0.9.4
|
63
|
+
version: 1.3.0
|
64
64
|
version_requirements: *id003
|
65
65
|
name: sinatra
|
66
66
|
prerelease: false
|
@@ -209,12 +209,12 @@ dependencies:
|
|
209
209
|
requirements:
|
210
210
|
- - ">="
|
211
211
|
- !ruby/object:Gem::Version
|
212
|
-
hash:
|
212
|
+
hash: 7
|
213
213
|
segments:
|
214
214
|
- 0
|
215
215
|
- 0
|
216
|
-
-
|
217
|
-
version: 0.0.
|
216
|
+
- 12
|
217
|
+
version: 0.0.12
|
218
218
|
version_requirements: *id013
|
219
219
|
name: rbovirt
|
220
220
|
prerelease: false
|
@@ -347,12 +347,12 @@ dependencies:
|
|
347
347
|
requirements:
|
348
348
|
- - ">="
|
349
349
|
- !ruby/object:Gem::Version
|
350
|
-
hash:
|
350
|
+
hash: 31
|
351
351
|
segments:
|
352
352
|
- 1
|
353
353
|
- 0
|
354
|
-
-
|
355
|
-
version: 1.0.
|
354
|
+
- 4
|
355
|
+
version: 1.0.4
|
356
356
|
version_requirements: *id022
|
357
357
|
name: openstack
|
358
358
|
prerelease: false
|
@@ -373,6 +373,20 @@ dependencies:
|
|
373
373
|
name: savon
|
374
374
|
prerelease: false
|
375
375
|
type: :runtime
|
376
|
+
- !ruby/object:Gem::Dependency
|
377
|
+
requirement: &id024 !ruby/object:Gem::Requirement
|
378
|
+
none: false
|
379
|
+
requirements:
|
380
|
+
- - ">="
|
381
|
+
- !ruby/object:Gem::Version
|
382
|
+
hash: 3
|
383
|
+
segments:
|
384
|
+
- 0
|
385
|
+
version: "0"
|
386
|
+
version_requirements: *id024
|
387
|
+
name: rbvmomi
|
388
|
+
prerelease: false
|
389
|
+
type: :runtime
|
376
390
|
description: " The Deltacloud API is built as a service-based REST API.\n You do not directly link a Deltacloud library into your program to use it.\n Instead, a client speaks the Deltacloud API over HTTP to a server\n which implements the REST interface.\n"
|
377
391
|
email: dev@deltacloud.apache.org
|
378
392
|
executables:
|
@@ -440,6 +454,7 @@ files:
|
|
440
454
|
- lib/cimi/models/action.rb
|
441
455
|
- lib/cimi/models/network.rb
|
442
456
|
- lib/cimi/models/address_template.rb
|
457
|
+
- lib/cimi/models/disk_collection.rb
|
443
458
|
- lib/cimi/models/machine_collection.rb
|
444
459
|
- lib/cimi/models/entity_metadata_collection.rb
|
445
460
|
- lib/cimi/models/volume.rb
|
@@ -447,10 +462,12 @@ files:
|
|
447
462
|
- lib/cimi/models/vsp_collection.rb
|
448
463
|
- lib/cimi/models/errors.rb
|
449
464
|
- lib/cimi/models/network_collection.rb
|
465
|
+
- lib/cimi/models/disk.rb
|
450
466
|
- lib/cimi/models/routing_group_collection.rb
|
451
467
|
- lib/cimi/models/vsp_template_collection.rb
|
452
468
|
- lib/cimi/models/address.rb
|
453
469
|
- lib/cimi/models/routing_group_template.rb
|
470
|
+
- lib/cimi/models/machine_volume.rb
|
454
471
|
- lib/cimi/models/routing_group.rb
|
455
472
|
- lib/cimi/models/vsp_configuration.rb
|
456
473
|
- lib/cimi/models/volume_image_collection.rb
|
@@ -472,6 +489,7 @@ files:
|
|
472
489
|
- lib/cimi/models/network_template_collection.rb
|
473
490
|
- lib/cimi/models/volume_image.rb
|
474
491
|
- lib/cimi/models/machine_image_collection.rb
|
492
|
+
- lib/cimi/models/machine_volume_collection.rb
|
475
493
|
- lib/cimi/models/machine_configuration_collection.rb
|
476
494
|
- lib/cimi/models/address_template_collection.rb
|
477
495
|
- lib/cimi/models/volume_template_collection.rb
|
@@ -529,6 +547,7 @@ files:
|
|
529
547
|
- lib/deltacloud/core_ext/string.rb
|
530
548
|
- lib/deltacloud/core_ext/integer.rb
|
531
549
|
- lib/deltacloud/core_ext/hash.rb
|
550
|
+
- lib/deltacloud/version.rb
|
532
551
|
- lib/deltacloud/collections.rb
|
533
552
|
- lib/deltacloud/core_ext.rb
|
534
553
|
- lib/deltacloud/helpers/auth_helper.rb
|
@@ -564,6 +583,7 @@ files:
|
|
564
583
|
- lib/deltacloud/drivers/fgcp/fgcp_client.rb
|
565
584
|
- lib/deltacloud/drivers/fgcp/fgcp_driver.rb
|
566
585
|
- lib/deltacloud/drivers/ec2/ec2_driver.rb
|
586
|
+
- lib/deltacloud/drivers/ec2/aws_vpc_monkey_patch.rb
|
567
587
|
- lib/deltacloud/drivers/features.rb
|
568
588
|
- lib/deltacloud/drivers/terremark/terremark_driver.rb
|
569
589
|
- lib/deltacloud/drivers/gogrid/gogrid_client.rb
|
@@ -621,64 +641,6 @@ files:
|
|
621
641
|
- lib/ec2/views/run_instances.haml
|
622
642
|
- lib/ec2/views/instance_action.haml
|
623
643
|
- lib/ec2/views/terminate_instances.haml
|
624
|
-
- tests/deprecated/cimi/features/support/env.rb
|
625
|
-
- tests/deprecated/cimi/features/step_definitions/volumes_steps.rb
|
626
|
-
- tests/deprecated/cimi/features/step_definitions/machines_steps.rb
|
627
|
-
- tests/deprecated/cimi/features/step_definitions/machine_images_steps.rb
|
628
|
-
- tests/deprecated/cimi/features/step_definitions/common_steps.rb
|
629
|
-
- tests/deprecated/minitest_common.rb
|
630
|
-
- tests/deprecated/core_ext/string.rb
|
631
|
-
- tests/deprecated/common.rb
|
632
|
-
- tests/deprecated/api/common.rb
|
633
|
-
- tests/deprecated/api/library_test.rb
|
634
|
-
- tests/deprecated/api/driver_test.rb
|
635
|
-
- tests/deprecated/minitest_common_api_test.rb
|
636
|
-
- tests/deprecated/rabbit_test.rb
|
637
|
-
- tests/deprecated/drivers/google/common.rb
|
638
|
-
- tests/deprecated/drivers/google/api_test.rb
|
639
|
-
- tests/deprecated/drivers/google/buckets_test.rb
|
640
|
-
- tests/deprecated/drivers/rhevm/images_test.rb
|
641
|
-
- tests/deprecated/drivers/rhevm/common.rb
|
642
|
-
- tests/deprecated/drivers/rhevm/api_test.rb
|
643
|
-
- tests/deprecated/drivers/rhevm/hardware_profiles_test.rb
|
644
|
-
- tests/deprecated/drivers/rhevm/instances_test.rb
|
645
|
-
- tests/deprecated/drivers/rhevm/realms_test.rb
|
646
|
-
- tests/deprecated/drivers/openstack/images_test.rb
|
647
|
-
- tests/deprecated/drivers/openstack/common.rb
|
648
|
-
- tests/deprecated/drivers/openstack/api_test.rb
|
649
|
-
- tests/deprecated/drivers/openstack/hardware_profiles_test.rb
|
650
|
-
- tests/deprecated/drivers/openstack/instances_test.rb
|
651
|
-
- tests/deprecated/drivers/openstack/realms_test.rb
|
652
|
-
- tests/deprecated/drivers/rackspace/images_test.rb
|
653
|
-
- tests/deprecated/drivers/rackspace/common.rb
|
654
|
-
- tests/deprecated/drivers/rackspace/api_test.rb
|
655
|
-
- tests/deprecated/drivers/rackspace/hardware_profiles_test.rb
|
656
|
-
- tests/deprecated/drivers/rackspace/instances_test.rb
|
657
|
-
- tests/deprecated/drivers/rackspace/realms_test.rb
|
658
|
-
- tests/deprecated/drivers/rackspace/buckets_test.rb
|
659
|
-
- tests/deprecated/drivers/mock/images_test.rb
|
660
|
-
- tests/deprecated/drivers/mock/common.rb
|
661
|
-
- tests/deprecated/drivers/mock/drivers_test.rb
|
662
|
-
- tests/deprecated/drivers/mock/api_test.rb
|
663
|
-
- tests/deprecated/drivers/mock/hardware_profiles_test.rb
|
664
|
-
- tests/deprecated/drivers/mock/keys_test.rb
|
665
|
-
- tests/deprecated/drivers/mock/instances_test.rb
|
666
|
-
- tests/deprecated/drivers/mock/storage_volumes_test.rb
|
667
|
-
- tests/deprecated/drivers/mock/realms_test.rb
|
668
|
-
- tests/deprecated/drivers/mock/storage_snapshots_test.rb
|
669
|
-
- tests/deprecated/drivers/mock/buckets_test.rb
|
670
|
-
- tests/deprecated/drivers/fgcp/setup.rb
|
671
|
-
- tests/deprecated/drivers/fgcp/api_test.rb
|
672
|
-
- tests/deprecated/drivers/fgcp/hardware_profiles_test.rb
|
673
|
-
- tests/deprecated/drivers/fgcp/realms_test.rb
|
674
|
-
- tests/deprecated/drivers/ec2/images_test.rb
|
675
|
-
- tests/deprecated/drivers/ec2/common.rb
|
676
|
-
- tests/deprecated/drivers/ec2/drivers_test.rb
|
677
|
-
- tests/deprecated/drivers/ec2/api_test.rb
|
678
|
-
- tests/deprecated/drivers/ec2/hardware_profiles_test.rb
|
679
|
-
- tests/deprecated/drivers/ec2/keys_test.rb
|
680
|
-
- tests/deprecated/drivers/ec2/instances_test.rb
|
681
|
-
- tests/deprecated/drivers/ec2/realms_test.rb
|
682
644
|
- tests/cimi/collections/cloud_entry_point_test.rb
|
683
645
|
- tests/cimi/collections/machines_test.rb
|
684
646
|
- tests/cimi/collections/common.rb
|
@@ -712,8 +674,15 @@ files:
|
|
712
674
|
- tests/helpers/core_ext/integer_test.rb
|
713
675
|
- tests/helpers/core_ext/string_test.rb
|
714
676
|
- tests/helpers/core_ext/hash_test.rb
|
677
|
+
- tests/helpers/rack/rack_accept_test.rb
|
678
|
+
- tests/helpers/rack/common.rb
|
679
|
+
- tests/helpers/rack/rack_etag_test.rb
|
680
|
+
- tests/helpers/rack/rack_matrix_params_test.rb
|
681
|
+
- tests/helpers/rack/rack_date_test.rb
|
682
|
+
- tests/helpers/rack/rack_driver_select_test.rb
|
715
683
|
- tests/test_helper.rb
|
716
684
|
- tests/drivers/models/instance_address_test.rb
|
685
|
+
- tests/drivers/models/common.rb
|
717
686
|
- tests/drivers/models/blob_test.rb
|
718
687
|
- tests/drivers/models/hardware_profile_test.rb
|
719
688
|
- tests/drivers/models/metrics_test.rb
|
@@ -722,14 +691,24 @@ files:
|
|
722
691
|
- tests/drivers/models/instance_profile_test.rb
|
723
692
|
- tests/drivers/models/instance_test.rb
|
724
693
|
- tests/drivers/models/address_test.rb
|
694
|
+
- tests/drivers/google/common.rb
|
695
|
+
- tests/drivers/google/buckets_test.rb
|
725
696
|
- tests/drivers/rhevm/images_test.rb
|
726
697
|
- tests/drivers/rhevm/common.rb
|
727
698
|
- tests/drivers/rhevm/realms_test.rb
|
728
699
|
- tests/drivers/rhevm/instance_test.rb
|
729
700
|
- tests/drivers/rhevm/provider_test.rb
|
701
|
+
- tests/drivers/base/common.rb
|
730
702
|
- tests/drivers/base/base_driver_test.rb
|
731
703
|
- tests/drivers/base/library_test.rb
|
704
|
+
- tests/drivers/openstack/images_test.rb
|
705
|
+
- tests/drivers/openstack/common.rb
|
706
|
+
- tests/drivers/openstack/hardware_profiles_test.rb
|
707
|
+
- tests/drivers/openstack/keys_test.rb
|
708
|
+
- tests/drivers/openstack/instances_test.rb
|
709
|
+
- tests/drivers/openstack/realms_test.rb
|
732
710
|
- tests/drivers/mock/images_test.rb
|
711
|
+
- tests/drivers/mock/common.rb
|
733
712
|
- tests/drivers/mock/keys_test.rb
|
734
713
|
- tests/drivers/mock/instances_test.rb
|
735
714
|
- tests/drivers/mock/storage_volumes_test.rb
|
@@ -741,6 +720,11 @@ files:
|
|
741
720
|
- tests/drivers/ec2/realms_test.rb
|
742
721
|
- tests/drivers/ec2/instance_test.rb
|
743
722
|
- tests/drivers/ec2/storage_snapshots_test.rb
|
723
|
+
- tests/drivers/gogrid/images_test.rb
|
724
|
+
- tests/drivers/gogrid/common.rb
|
725
|
+
- tests/drivers/gogrid/hardware_profiles_test.rb
|
726
|
+
- tests/drivers/gogrid/instances_test.rb
|
727
|
+
- tests/drivers/gogrid/realms_test.rb
|
744
728
|
- tests/ec2/server_test.rb
|
745
729
|
- tests/ec2/common.rb
|
746
730
|
- tests/ec2/query_parser_test.rb
|
@@ -929,12 +913,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
929
913
|
requirements:
|
930
914
|
- - ">="
|
931
915
|
- !ruby/object:Gem::Version
|
932
|
-
hash:
|
916
|
+
hash: 59
|
933
917
|
segments:
|
934
918
|
- 1
|
935
919
|
- 8
|
936
|
-
-
|
937
|
-
version: 1.8.
|
920
|
+
- 6
|
921
|
+
version: 1.8.6
|
938
922
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
939
923
|
none: false
|
940
924
|
requirements:
|
@@ -952,48 +936,6 @@ signing_key:
|
|
952
936
|
specification_version: 3
|
953
937
|
summary: Deltacloud REST API
|
954
938
|
test_files:
|
955
|
-
- tests/deprecated/api/library_test.rb
|
956
|
-
- tests/deprecated/api/driver_test.rb
|
957
|
-
- tests/deprecated/minitest_common_api_test.rb
|
958
|
-
- tests/deprecated/rabbit_test.rb
|
959
|
-
- tests/deprecated/drivers/google/api_test.rb
|
960
|
-
- tests/deprecated/drivers/google/buckets_test.rb
|
961
|
-
- tests/deprecated/drivers/rhevm/images_test.rb
|
962
|
-
- tests/deprecated/drivers/rhevm/api_test.rb
|
963
|
-
- tests/deprecated/drivers/rhevm/hardware_profiles_test.rb
|
964
|
-
- tests/deprecated/drivers/rhevm/instances_test.rb
|
965
|
-
- tests/deprecated/drivers/rhevm/realms_test.rb
|
966
|
-
- tests/deprecated/drivers/openstack/images_test.rb
|
967
|
-
- tests/deprecated/drivers/openstack/api_test.rb
|
968
|
-
- tests/deprecated/drivers/openstack/hardware_profiles_test.rb
|
969
|
-
- tests/deprecated/drivers/openstack/instances_test.rb
|
970
|
-
- tests/deprecated/drivers/openstack/realms_test.rb
|
971
|
-
- tests/deprecated/drivers/rackspace/images_test.rb
|
972
|
-
- tests/deprecated/drivers/rackspace/api_test.rb
|
973
|
-
- tests/deprecated/drivers/rackspace/hardware_profiles_test.rb
|
974
|
-
- tests/deprecated/drivers/rackspace/instances_test.rb
|
975
|
-
- tests/deprecated/drivers/rackspace/realms_test.rb
|
976
|
-
- tests/deprecated/drivers/rackspace/buckets_test.rb
|
977
|
-
- tests/deprecated/drivers/mock/images_test.rb
|
978
|
-
- tests/deprecated/drivers/mock/drivers_test.rb
|
979
|
-
- tests/deprecated/drivers/mock/api_test.rb
|
980
|
-
- tests/deprecated/drivers/mock/hardware_profiles_test.rb
|
981
|
-
- tests/deprecated/drivers/mock/keys_test.rb
|
982
|
-
- tests/deprecated/drivers/mock/instances_test.rb
|
983
|
-
- tests/deprecated/drivers/mock/storage_volumes_test.rb
|
984
|
-
- tests/deprecated/drivers/mock/realms_test.rb
|
985
|
-
- tests/deprecated/drivers/mock/storage_snapshots_test.rb
|
986
|
-
- tests/deprecated/drivers/mock/buckets_test.rb
|
987
|
-
- tests/deprecated/drivers/fgcp/api_test.rb
|
988
|
-
- tests/deprecated/drivers/fgcp/hardware_profiles_test.rb
|
989
|
-
- tests/deprecated/drivers/fgcp/realms_test.rb
|
990
|
-
- tests/deprecated/drivers/ec2/images_test.rb
|
991
|
-
- tests/deprecated/drivers/ec2/drivers_test.rb
|
992
|
-
- tests/deprecated/drivers/ec2/api_test.rb
|
993
|
-
- tests/deprecated/drivers/ec2/hardware_profiles_test.rb
|
994
|
-
- tests/deprecated/drivers/ec2/keys_test.rb
|
995
|
-
- tests/deprecated/drivers/ec2/instances_test.rb
|
996
|
-
- tests/deprecated/drivers/ec2/realms_test.rb
|
997
939
|
- tests/cimi/collections/cloud_entry_point_test.rb
|
998
940
|
- tests/cimi/collections/machines_test.rb
|
999
941
|
- tests/cimi/collections/machine_images_test.rb
|
@@ -1014,6 +956,11 @@ test_files:
|
|
1014
956
|
- tests/helpers/core_ext/integer_test.rb
|
1015
957
|
- tests/helpers/core_ext/string_test.rb
|
1016
958
|
- tests/helpers/core_ext/hash_test.rb
|
959
|
+
- tests/helpers/rack/rack_accept_test.rb
|
960
|
+
- tests/helpers/rack/rack_etag_test.rb
|
961
|
+
- tests/helpers/rack/rack_matrix_params_test.rb
|
962
|
+
- tests/helpers/rack/rack_date_test.rb
|
963
|
+
- tests/helpers/rack/rack_driver_select_test.rb
|
1017
964
|
- tests/drivers/models/instance_address_test.rb
|
1018
965
|
- tests/drivers/models/blob_test.rb
|
1019
966
|
- tests/drivers/models/hardware_profile_test.rb
|
@@ -1023,12 +970,18 @@ test_files:
|
|
1023
970
|
- tests/drivers/models/instance_profile_test.rb
|
1024
971
|
- tests/drivers/models/instance_test.rb
|
1025
972
|
- tests/drivers/models/address_test.rb
|
973
|
+
- tests/drivers/google/buckets_test.rb
|
1026
974
|
- tests/drivers/rhevm/images_test.rb
|
1027
975
|
- tests/drivers/rhevm/realms_test.rb
|
1028
976
|
- tests/drivers/rhevm/instance_test.rb
|
1029
977
|
- tests/drivers/rhevm/provider_test.rb
|
1030
978
|
- tests/drivers/base/base_driver_test.rb
|
1031
979
|
- tests/drivers/base/library_test.rb
|
980
|
+
- tests/drivers/openstack/images_test.rb
|
981
|
+
- tests/drivers/openstack/hardware_profiles_test.rb
|
982
|
+
- tests/drivers/openstack/keys_test.rb
|
983
|
+
- tests/drivers/openstack/instances_test.rb
|
984
|
+
- tests/drivers/openstack/realms_test.rb
|
1032
985
|
- tests/drivers/mock/images_test.rb
|
1033
986
|
- tests/drivers/mock/keys_test.rb
|
1034
987
|
- tests/drivers/mock/instances_test.rb
|
@@ -1040,5 +993,9 @@ test_files:
|
|
1040
993
|
- tests/drivers/ec2/realms_test.rb
|
1041
994
|
- tests/drivers/ec2/instance_test.rb
|
1042
995
|
- tests/drivers/ec2/storage_snapshots_test.rb
|
996
|
+
- tests/drivers/gogrid/images_test.rb
|
997
|
+
- tests/drivers/gogrid/hardware_profiles_test.rb
|
998
|
+
- tests/drivers/gogrid/instances_test.rb
|
999
|
+
- tests/drivers/gogrid/realms_test.rb
|
1043
1000
|
- tests/ec2/server_test.rb
|
1044
1001
|
- tests/ec2/query_parser_test.rb
|