openstudio-aws 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/openstudio/aws/aws.rb +2 -1
- data/lib/openstudio/aws/version.rb +1 -1
- data/lib/openstudio/lib/ami_list.rb +31 -9
- data/lib/openstudio/lib/openstudio_aws_wrapper.rb +41 -0
- data/spec/openstudio-aws/ami_list_spec.rb +9 -4
- data/spec/openstudio-aws/{lib_spec.rb → aws_wrapper_spec.rb} +16 -4
- data/spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.2.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.3.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.5.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.6.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Aws-Config.2.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Aws-Config.3.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Aws-Config.4.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Aws-Config.5.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Aws-Config.6.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAmis-version-1.2.xml +16 -0
- data/spec/reports/SPEC-OpenStudioAmis-version-1.3.xml +16 -0
- data/spec/reports/SPEC-OpenStudioAmis-version-1.4.xml +17 -0
- data/spec/reports/SPEC-OpenStudioAmis-version-1.5.xml +17 -0
- data/spec/reports/SPEC-OpenStudioAmis-version-1.6.xml +15 -0
- data/spec/reports/SPEC-OpenStudioAmis-version-2.0.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAmis-version-2.1.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAmis-version-2.2.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAmis-version-2.3.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAmis-version-2.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAmis.2.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAmis.3.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAmis.4.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAmis.5.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAmis.6.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsMethods-processors.2.xml +11 -0
- data/spec/reports/SPEC-OpenStudioAwsMethods-processors.3.xml +11 -0
- data/spec/reports/SPEC-OpenStudioAwsMethods-processors.4.xml +11 -0
- data/spec/reports/SPEC-OpenStudioAwsMethods-processors.5.xml +11 -0
- data/spec/reports/SPEC-OpenStudioAwsMethods-processors.6.xml +11 -0
- data/spec/reports/SPEC-OpenStudioAwsMethods.2.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsMethods.3.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsMethods.4.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsMethods.5.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsMethods.6.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.2.xml +11 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.3.xml +11 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.4.xml +11 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.5.xml +11 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.6.xml +11 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.2.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.3.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.5.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.6.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.2.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.3.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.4.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.5.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.6.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.2.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.3.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.5.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.6.xml +9 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper.2.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper.3.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper.4.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper.5.xml +7 -0
- data/spec/reports/SPEC-OpenStudioAwsWrapper.6.xml +7 -0
- metadata +123 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d33b30a0656911cefb58ff085e87a4b36ee1ff8
|
4
|
+
data.tar.gz: 9ccc2d0a0d75e654dfdd20dd7ef211c43b90d407
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d20b55e37e3f1c1f7a457af6140726e83d5caa119326cbfe67a2f510cf86d178887f3fc9e373dac9ba7cacd0189259e7e2323e176ea1ea2f5d4ad57742191280
|
7
|
+
data.tar.gz: 8c642295ea9555236f4686f587ee85b53f5c9e6bf1826e845845847ccc7838f845ba0ab016b64e0d20808402b4bed6d2d9eb309268a1fb5272da5fb1b0281145
|
data/Rakefile
CHANGED
@@ -26,7 +26,7 @@ task :release => :build do
|
|
26
26
|
end
|
27
27
|
|
28
28
|
RSpec::Core::RakeTask.new("spec") do |spec|
|
29
|
-
spec.rspec_opts = %w(--format progress --format CI::Reporter::RSpec)
|
29
|
+
#spec.rspec_opts = %w(--format progress --format CI::Reporter::RSpec)
|
30
30
|
spec.pattern = "spec/**/*_spec.rb"
|
31
31
|
end
|
32
32
|
|
data/lib/openstudio/aws/aws.rb
CHANGED
@@ -12,7 +12,8 @@ module OpenStudio
|
|
12
12
|
@os_aws = OpenStudioAwsWrapper.new(config)
|
13
13
|
@local_key_file_name = nil
|
14
14
|
|
15
|
-
|
15
|
+
# this will grab the default version of openstudio ami versions
|
16
|
+
@default_amis = OpenStudioAmis.new(1).get_amis
|
16
17
|
end
|
17
18
|
|
18
19
|
# command line call to create a new instance. This should be more tightly integrated with teh os-aws.rb gem
|
@@ -28,7 +28,19 @@ class OpenStudioAmis
|
|
28
28
|
@openstudio_server_version = openstudio_server_version
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
31
|
+
def list
|
32
|
+
json = nil
|
33
|
+
command = "list_amis_version_#{@version}"
|
34
|
+
if OpenStudioAmis.method_defined?(command)
|
35
|
+
json = send(command)
|
36
|
+
else
|
37
|
+
raise "Unknown api version command #{command}"
|
38
|
+
end
|
39
|
+
|
40
|
+
json
|
41
|
+
end
|
42
|
+
|
43
|
+
def get_amis
|
32
44
|
amis = nil
|
33
45
|
command = "get_ami_version_#{@version}"
|
34
46
|
if OpenStudioAmis.method_defined?(command)
|
@@ -42,28 +54,38 @@ class OpenStudioAmis
|
|
42
54
|
amis
|
43
55
|
end
|
44
56
|
|
45
|
-
protected
|
46
|
-
|
47
|
-
def
|
57
|
+
protected
|
58
|
+
|
59
|
+
def list_amis_version_1
|
48
60
|
endpoint = '/downloads/buildings/openstudio/rsrc/amis.json'
|
61
|
+
json = retrieve_json(endpoint)
|
62
|
+
|
63
|
+
json
|
64
|
+
end
|
65
|
+
|
66
|
+
def list_amis_version_2
|
67
|
+
endpoint = '/downloads/buildings/openstudio/rsrc/amis_v2.json'
|
49
68
|
|
50
69
|
json = retrieve_json(endpoint)
|
70
|
+
json
|
71
|
+
end
|
72
|
+
|
73
|
+
def get_ami_version_1()
|
74
|
+
json = list_amis_version_1
|
51
75
|
version = json.has_key?(@openstudio_version) ? @openstudio_version : 'default'
|
52
76
|
|
53
77
|
json[version]
|
54
78
|
end
|
55
79
|
|
56
80
|
def get_ami_version_2()
|
57
|
-
|
58
|
-
|
59
|
-
json = retrieve_json(endpoint)
|
81
|
+
json = list_amis_version_2
|
60
82
|
version = json.has_key?(@openstudio_version) ? @openstudio_version : 'default'
|
61
83
|
|
62
84
|
#logic logic
|
63
85
|
end
|
64
|
-
|
86
|
+
|
65
87
|
private
|
66
|
-
|
88
|
+
|
67
89
|
def retrieve_json(endpoint)
|
68
90
|
result = nil
|
69
91
|
resp = Net::HTTP.get_response('developer.nrel.gov', endpoint)
|
@@ -276,6 +276,27 @@ class OpenStudioAwsWrapper
|
|
276
276
|
true
|
277
277
|
end
|
278
278
|
|
279
|
+
def describe_amis(filter = nil, image_ids = [], owned_by_me = true)
|
280
|
+
resp = nil
|
281
|
+
|
282
|
+
if owned_by_me
|
283
|
+
if filter
|
284
|
+
resp = @aws.describe_images({:owners => [:self], :filter => filter}).data
|
285
|
+
else
|
286
|
+
resp = @aws.describe_images({:owners => [:self]}).data
|
287
|
+
end
|
288
|
+
else
|
289
|
+
if filter
|
290
|
+
resp = @aws.describe_images({:filter => filter}).data
|
291
|
+
else
|
292
|
+
resp = @aws.describe_images({:image_ids => image_ids}).data
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
|
297
|
+
resp
|
298
|
+
end
|
299
|
+
|
279
300
|
# method to query the amazon api to find the server (if it exists), based on the group id
|
280
301
|
# if it is found, then it will set the @server member variable.
|
281
302
|
# Note that the information around keys and security groups is pulled from the instance information.
|
@@ -301,6 +322,26 @@ class OpenStudioAwsWrapper
|
|
301
322
|
end
|
302
323
|
end
|
303
324
|
|
325
|
+
|
326
|
+
# method to hit the existing list of available amis and compare to the list of AMIs on Amazon and then generate the
|
327
|
+
# new ami list
|
328
|
+
def create_new_ami_json(version = 1)
|
329
|
+
existing_amis = OpenStudioAmis.new(version).list
|
330
|
+
logger.info existing_amis
|
331
|
+
|
332
|
+
if version == 1
|
333
|
+
# check if the AMIs still exist (anywhere)
|
334
|
+
#test_ami = @os_aws.describe_amis(nil, )
|
335
|
+
elsif version == 2
|
336
|
+
end
|
337
|
+
|
338
|
+
|
339
|
+
# check if the existing AMIs still exist
|
340
|
+
#existing_amis
|
341
|
+
available_amis = describe_amis()
|
342
|
+
logger.info available_amis
|
343
|
+
end
|
344
|
+
|
304
345
|
def to_os_worker_hash
|
305
346
|
worker_hash = []
|
306
347
|
@workers.each { |worker|
|
@@ -17,13 +17,15 @@ describe OpenStudioAmis do
|
|
17
17
|
|
18
18
|
amis = a.get_amis
|
19
19
|
|
20
|
-
expect(amis['server']).to eq("ami-
|
21
|
-
expect(amis['worker']).to eq("ami-
|
22
|
-
expect(amis['cc2worker']).to eq("ami-
|
20
|
+
expect(amis['server']).to eq("ami-a3e4d4ca")
|
21
|
+
expect(amis['worker']).to eq("ami-b9e4d4d0")
|
22
|
+
expect(amis['cc2worker']).to eq("ami-a5e4d4cc")
|
23
23
|
end
|
24
24
|
|
25
|
-
it "should
|
25
|
+
it "should list all amis" do
|
26
|
+
a = OpenStudioAmis.new(1).list
|
26
27
|
|
28
|
+
expect(a).not_to be_nil
|
27
29
|
end
|
28
30
|
end
|
29
31
|
|
@@ -32,6 +34,9 @@ describe OpenStudioAmis do
|
|
32
34
|
|
33
35
|
end
|
34
36
|
end
|
37
|
+
|
38
|
+
|
39
|
+
|
35
40
|
|
36
41
|
end
|
37
42
|
|
@@ -28,20 +28,32 @@ describe OpenStudioAwsWrapper do
|
|
28
28
|
resp = @os_aws.describe_availability_zones
|
29
29
|
expect { resp }.not_to be_nil
|
30
30
|
resp[:availability_zone_info].length.should eq(4)
|
31
|
-
|
31
|
+
|
32
32
|
resp[:availability_zone_info].inspect.should eq("[{:zone_name=>\"us-east-1a\", :state=>\"available\", :region_name=>\"us-east-1\", :messages=>[]}, {:zone_name=>\"us-east-1b\", :state=>\"available\", :region_name=>\"us-east-1\", :messages=>[]}, {:zone_name=>\"us-east-1c\", :state=>\"available\", :region_name=>\"us-east-1\", :messages=>[]}, {:zone_name=>\"us-east-1d\", :state=>\"available\", :region_name=>\"us-east-1\", :messages=>[]}]")
|
33
|
-
|
33
|
+
|
34
34
|
resp = @os_aws.describe_availability_zones_json
|
35
35
|
expect { resp }.not_to be_nil
|
36
36
|
|
37
37
|
end
|
38
|
-
|
38
|
+
|
39
39
|
it "should list number of instances" do
|
40
40
|
resp = @os_aws.describe_total_instances
|
41
41
|
expect { resp }.not_to be_nil
|
42
42
|
end
|
43
43
|
end
|
44
|
-
|
44
|
+
|
45
|
+
context "create new ami json" do
|
46
|
+
it "should describe existing AMIs" do
|
47
|
+
resp = @os_aws.describe_amis(nil, nil, true)
|
48
|
+
expect(resp).not_to be_nil
|
49
|
+
end
|
50
|
+
|
51
|
+
it "should create a new json" do
|
52
|
+
resp = @os_aws.create_new_ami_json(1)
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
56
|
+
|
45
57
|
end
|
46
58
|
|
47
59
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudio::Aws::Config create a new config" tests="1" time="0.000772" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudio::Aws::Config create a new config should create a new instance" time="0.000587">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudio::Aws::Config create a new config" tests="1" time="0.000712" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudio::Aws::Config create a new config should create a new instance" time="0.000565">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudio::Aws::Config create a new config" tests="1" time="0.000714" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudio::Aws::Config create a new config should create a new instance" time="0.000559">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudio::Aws::Config create a new config" tests="1" time="0.000802" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudio::Aws::Config create a new config should create a new instance" time="0.000627">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudio::Aws::Config create a new config" tests="1" time="0.00063" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudio::Aws::Config create a new config should create a new instance" time="0.000496">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAmis version 1" tests="4" time="10.896444" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAmis version 1 should default to an ami if nothing passed" time="6.216596">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAmis version 1 should return specific amis if passed a version" time="2.197012">
|
6
|
+
</testcase>
|
7
|
+
<testcase name="OpenStudioAmis version 1 should raise if passed an invalid version" time="0.000112">
|
8
|
+
</testcase>
|
9
|
+
<testcase name="OpenStudioAmis version 1 should list all amis" time="2.482335">
|
10
|
+
</testcase>
|
11
|
+
<system-out>
|
12
|
+
{"default"=>{"server"=>"ami-29e5cd40", "worker"=>"ami-a9e4ccc0", "cc2worker"=>"ami-5be4cc32"}, "1.2.0"=>{"server"=>"ami-29e5cd40", "worker"=>"ami-a9e4ccc0", "cc2worker"=>"ami-5be4cc32"}, "1.1.3"=>{"server"=>"ami-fb301292", "worker"=>"ami-21301248", "cc2worker"=>"ami-d73311be"}, "1.1.2"=>{"server"=>"ami-89f5d3e0", "worker"=>"ami-35f2d45c", "cc2worker"=>"ami-27f2d44e"}, "1.1.1"=>{"server"=>"ami-955308fc", "worker"=>"ami-c95308a0", "cc2worker"=>"ami-a55308cc"}, "1.1.0"=>{"server"=>"ami-1b376a72", "worker"=>"ami-970b56fe", "cc2worker"=>"ami-a30b56ca"}}
|
13
|
+
</system-out>
|
14
|
+
<system-err>
|
15
|
+
</system-err>
|
16
|
+
</testsuite>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAmis version 1" tests="4" time="5.49712" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAmis version 1 should default to an ami if nothing passed" time="3.091352">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAmis version 1 should return specific amis if passed a version" time="1.151713">
|
6
|
+
</testcase>
|
7
|
+
<testcase name="OpenStudioAmis version 1 should raise if passed an invalid version" time="0.000133">
|
8
|
+
</testcase>
|
9
|
+
<testcase name="OpenStudioAmis version 1 should list all amis" time="1.253591">
|
10
|
+
</testcase>
|
11
|
+
<system-out>
|
12
|
+
AMIs are {"default"=>{"server"=>"ami-29e5cd40", "worker"=>"ami-a9e4ccc0", "cc2worker"=>"ami-5be4cc32"}, "1.2.0"=>{"server"=>"ami-29e5cd40", "worker"=>"ami-a9e4ccc0", "cc2worker"=>"ami-5be4cc32"}, "1.1.3"=>{"server"=>"ami-fb301292", "worker"=>"ami-21301248", "cc2worker"=>"ami-d73311be"}, "1.1.2"=>{"server"=>"ami-89f5d3e0", "worker"=>"ami-35f2d45c", "cc2worker"=>"ami-27f2d44e"}, "1.1.1"=>{"server"=>"ami-955308fc", "worker"=>"ami-c95308a0", "cc2worker"=>"ami-a55308cc"}, "1.1.0"=>{"server"=>"ami-1b376a72", "worker"=>"ami-970b56fe", "cc2worker"=>"ami-a30b56ca"}}
|
13
|
+
</system-out>
|
14
|
+
<system-err>
|
15
|
+
</system-err>
|
16
|
+
</testsuite>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAmis version 1" tests="4" time="6.55588" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAmis version 1 should default to an ami if nothing passed" time="1.801168">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAmis version 1 should return specific amis if passed a version" time="2.33939">
|
6
|
+
</testcase>
|
7
|
+
<testcase name="OpenStudioAmis version 1 should raise if passed an invalid version" time="0.000172">
|
8
|
+
</testcase>
|
9
|
+
<testcase name="OpenStudioAmis version 1 should list all amis" time="2.414725">
|
10
|
+
</testcase>
|
11
|
+
<system-out>
|
12
|
+
listing amis
|
13
|
+
AMIs are {"default"=>{"server"=>"ami-29e5cd40", "worker"=>"ami-a9e4ccc0", "cc2worker"=>"ami-5be4cc32"}, "1.2.0"=>{"server"=>"ami-29e5cd40", "worker"=>"ami-a9e4ccc0", "cc2worker"=>"ami-5be4cc32"}, "1.1.3"=>{"server"=>"ami-fb301292", "worker"=>"ami-21301248", "cc2worker"=>"ami-d73311be"}, "1.1.2"=>{"server"=>"ami-89f5d3e0", "worker"=>"ami-35f2d45c", "cc2worker"=>"ami-27f2d44e"}, "1.1.1"=>{"server"=>"ami-955308fc", "worker"=>"ami-c95308a0", "cc2worker"=>"ami-a55308cc"}, "1.1.0"=>{"server"=>"ami-1b376a72", "worker"=>"ami-970b56fe", "cc2worker"=>"ami-a30b56ca"}}
|
14
|
+
</system-out>
|
15
|
+
<system-err>
|
16
|
+
</system-err>
|
17
|
+
</testsuite>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAmis version 1" tests="4" time="1.089555" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAmis version 1 should default to an ami if nothing passed" time="0.329243">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAmis version 1 should return specific amis if passed a version" time="0.356176">
|
6
|
+
</testcase>
|
7
|
+
<testcase name="OpenStudioAmis version 1 should raise if passed an invalid version" time="0.000116">
|
8
|
+
</testcase>
|
9
|
+
<testcase name="OpenStudioAmis version 1 should list all amis" time="0.40368">
|
10
|
+
</testcase>
|
11
|
+
<system-out>
|
12
|
+
listing amis
|
13
|
+
AMIs are {"default"=>{"server"=>"ami-29e5cd40", "worker"=>"ami-a9e4ccc0", "cc2worker"=>"ami-5be4cc32"}, "1.2.0"=>{"server"=>"ami-29e5cd40", "worker"=>"ami-a9e4ccc0", "cc2worker"=>"ami-5be4cc32"}, "1.1.3"=>{"server"=>"ami-fb301292", "worker"=>"ami-21301248", "cc2worker"=>"ami-d73311be"}, "1.1.2"=>{"server"=>"ami-89f5d3e0", "worker"=>"ami-35f2d45c", "cc2worker"=>"ami-27f2d44e"}, "1.1.1"=>{"server"=>"ami-955308fc", "worker"=>"ami-c95308a0", "cc2worker"=>"ami-a55308cc"}, "1.1.0"=>{"server"=>"ami-1b376a72", "worker"=>"ami-970b56fe", "cc2worker"=>"ami-a30b56ca"}}
|
14
|
+
</system-out>
|
15
|
+
<system-err>
|
16
|
+
</system-err>
|
17
|
+
</testsuite>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAmis version 1" tests="3" time="3.933143" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAmis version 1 should default to an ami if nothing passed" time="1.260272">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAmis version 1 should return specific amis if passed a version" time="1.193241">
|
6
|
+
</testcase>
|
7
|
+
<testcase name="OpenStudioAmis version 1 should list all amis" time="1.479331">
|
8
|
+
</testcase>
|
9
|
+
<system-out>
|
10
|
+
listing amis
|
11
|
+
AMIs are {"default"=>{"server"=>"ami-29e5cd40", "worker"=>"ami-a9e4ccc0", "cc2worker"=>"ami-5be4cc32"}, "1.2.0"=>{"server"=>"ami-29e5cd40", "worker"=>"ami-a9e4ccc0", "cc2worker"=>"ami-5be4cc32"}, "1.1.3"=>{"server"=>"ami-fb301292", "worker"=>"ami-21301248", "cc2worker"=>"ami-d73311be"}, "1.1.2"=>{"server"=>"ami-89f5d3e0", "worker"=>"ami-35f2d45c", "cc2worker"=>"ami-27f2d44e"}, "1.1.1"=>{"server"=>"ami-955308fc", "worker"=>"ami-c95308a0", "cc2worker"=>"ami-a55308cc"}, "1.1.0"=>{"server"=>"ami-1b376a72", "worker"=>"ami-970b56fe", "cc2worker"=>"ami-a30b56ca"}}
|
12
|
+
</system-out>
|
13
|
+
<system-err>
|
14
|
+
</system-err>
|
15
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAmis version 2" tests="1" time="0.00042" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAmis version 2 should default the server version" time="0.000191">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAmis version 2" tests="1" time="0.000313" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAmis version 2 should default the server version" time="0.000142">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAmis version 2" tests="1" time="0.000378" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAmis version 2 should default the server version" time="0.00017">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAmis version 2" tests="1" time="0.000349" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAmis version 2 should default the server version" time="0.00016">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAmis version 2" tests="1" time="0.000287" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAmis version 2 should default the server version" time="0.00012">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsMethods processors" tests="2" time="0.000558" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsMethods processors should default to 1 with a warning" time="0.000193">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAwsMethods processors should return known values for various instances" time="0.000161">
|
6
|
+
</testcase>
|
7
|
+
<system-out>
|
8
|
+
</system-out>
|
9
|
+
<system-err>
|
10
|
+
</system-err>
|
11
|
+
</testsuite>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsMethods processors" tests="2" time="0.000439" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsMethods processors should default to 1 with a warning" time="0.000159">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAwsMethods processors should return known values for various instances" time="0.000123">
|
6
|
+
</testcase>
|
7
|
+
<system-out>
|
8
|
+
</system-out>
|
9
|
+
<system-err>
|
10
|
+
</system-err>
|
11
|
+
</testsuite>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsMethods processors" tests="2" time="0.000446" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsMethods processors should default to 1 with a warning" time="0.00017">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAwsMethods processors should return known values for various instances" time="0.000125">
|
6
|
+
</testcase>
|
7
|
+
<system-out>
|
8
|
+
</system-out>
|
9
|
+
<system-err>
|
10
|
+
</system-err>
|
11
|
+
</testsuite>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsMethods processors" tests="2" time="0.000555" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsMethods processors should default to 1 with a warning" time="0.000196">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAwsMethods processors should return known values for various instances" time="0.000158">
|
6
|
+
</testcase>
|
7
|
+
<system-out>
|
8
|
+
</system-out>
|
9
|
+
<system-err>
|
10
|
+
</system-err>
|
11
|
+
</testsuite>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsMethods processors" tests="2" time="0.000419" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsMethods processors should default to 1 with a warning" time="0.000149">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAwsMethods processors should return known values for various instances" time="0.000116">
|
6
|
+
</testcase>
|
7
|
+
<system-out>
|
8
|
+
</system-out>
|
9
|
+
<system-err>
|
10
|
+
</system-err>
|
11
|
+
</testsuite>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper authenticated session availability" tests="2" time="6.764389" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper authenticated session availability should describe the zones" time="4.39689">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAwsWrapper authenticated session availability should list number of instances" time="2.367116">
|
6
|
+
</testcase>
|
7
|
+
<system-out>
|
8
|
+
</system-out>
|
9
|
+
<system-err>
|
10
|
+
</system-err>
|
11
|
+
</testsuite>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper authenticated session availability" tests="2" time="2.980631" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper authenticated session availability should describe the zones" time="2.08749">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAwsWrapper authenticated session availability should list number of instances" time="0.892829">
|
6
|
+
</testcase>
|
7
|
+
<system-out>
|
8
|
+
</system-out>
|
9
|
+
<system-err>
|
10
|
+
</system-err>
|
11
|
+
</testsuite>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper authenticated session availability" tests="2" time="5.094127" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper authenticated session availability should describe the zones" time="3.180629">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAwsWrapper authenticated session availability should list number of instances" time="1.913137">
|
6
|
+
</testcase>
|
7
|
+
<system-out>
|
8
|
+
</system-out>
|
9
|
+
<system-err>
|
10
|
+
</system-err>
|
11
|
+
</testsuite>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper authenticated session availability" tests="2" time="2.204111" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper authenticated session availability should describe the zones" time="1.612314">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAwsWrapper authenticated session availability should list number of instances" time="0.591428">
|
6
|
+
</testcase>
|
7
|
+
<system-out>
|
8
|
+
</system-out>
|
9
|
+
<system-err>
|
10
|
+
</system-err>
|
11
|
+
</testsuite>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper authenticated session availability" tests="2" time="6.321472" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper authenticated session availability should describe the zones" time="3.671004">
|
4
|
+
</testcase>
|
5
|
+
<testcase name="OpenStudioAwsWrapper authenticated session availability should list number of instances" time="2.65015">
|
6
|
+
</testcase>
|
7
|
+
<system-out>
|
8
|
+
</system-out>
|
9
|
+
<system-err>
|
10
|
+
</system-err>
|
11
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper authenticated session new instance" tests="1" time="0.000329" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper authenticated session new instance should be created" time="0.00018">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper authenticated session new instance" tests="1" time="0.000284" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper authenticated session new instance should be created" time="0.000149">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper authenticated session new instance" tests="1" time="0.000288" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper authenticated session new instance should be created" time="0.000156">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper authenticated session new instance" tests="1" time="0.000333" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper authenticated session new instance should be created" time="0.000189">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper authenticated session new instance" tests="1" time="0.000267" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper authenticated session new instance should be created" time="0.000147">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper unauthenticated session" tests="1" time="8.114936" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper unauthenticated session should fail to authenticate" time="8.114767">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper unauthenticated session" tests="1" time="6.685159" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper unauthenticated session should fail to authenticate" time="6.684999">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper unauthenticated session" tests="1" time="3.332816" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper unauthenticated session should fail to authenticate" time="3.332621">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper unauthenticated session" tests="1" time="1.853061" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper unauthenticated session should fail to authenticate" time="1.852895">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudioAwsWrapper unauthenticated session" tests="1" time="4.208652" failures="0" errors="0" skipped="0">
|
3
|
+
<testcase name="OpenStudioAwsWrapper unauthenticated session should fail to authenticate" time="4.208489">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstudio-aws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Long
|
@@ -63,8 +63,8 @@ files:
|
|
63
63
|
- spec/aws_instances/aws_spec_api.rb
|
64
64
|
- spec/openstudio-aws/ami_list_spec.rb
|
65
65
|
- spec/openstudio-aws/aws_methods_spec.rb
|
66
|
+
- spec/openstudio-aws/aws_wrapper_spec.rb
|
66
67
|
- spec/openstudio-aws/config_spec.rb
|
67
|
-
- spec/openstudio-aws/lib_spec.rb
|
68
68
|
- spec/reports/SPEC-OpenStudio-Aws-Aws-create-a-new-instance.0.xml
|
69
69
|
- spec/reports/SPEC-OpenStudio-Aws-Aws-create-a-new-instance.1.xml
|
70
70
|
- spec/reports/SPEC-OpenStudio-Aws-Aws-create-a-new-instance.xml
|
@@ -76,37 +76,97 @@ files:
|
|
76
76
|
- spec/reports/SPEC-OpenStudio-Aws-Aws.xml
|
77
77
|
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.0.xml
|
78
78
|
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.1.xml
|
79
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.2.xml
|
80
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.3.xml
|
81
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.4.xml
|
82
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.5.xml
|
83
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.6.xml
|
79
84
|
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.xml
|
80
85
|
- spec/reports/SPEC-OpenStudio-Aws-Config.0.xml
|
81
86
|
- spec/reports/SPEC-OpenStudio-Aws-Config.1.xml
|
87
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config.2.xml
|
88
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config.3.xml
|
89
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config.4.xml
|
90
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config.5.xml
|
91
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config.6.xml
|
82
92
|
- spec/reports/SPEC-OpenStudio-Aws-Config.xml
|
83
93
|
- spec/reports/SPEC-OpenStudioAmis-version-1.0.xml
|
84
94
|
- spec/reports/SPEC-OpenStudioAmis-version-1.1.xml
|
95
|
+
- spec/reports/SPEC-OpenStudioAmis-version-1.2.xml
|
96
|
+
- spec/reports/SPEC-OpenStudioAmis-version-1.3.xml
|
97
|
+
- spec/reports/SPEC-OpenStudioAmis-version-1.4.xml
|
98
|
+
- spec/reports/SPEC-OpenStudioAmis-version-1.5.xml
|
99
|
+
- spec/reports/SPEC-OpenStudioAmis-version-1.6.xml
|
85
100
|
- spec/reports/SPEC-OpenStudioAmis-version-1.xml
|
101
|
+
- spec/reports/SPEC-OpenStudioAmis-version-2.0.xml
|
102
|
+
- spec/reports/SPEC-OpenStudioAmis-version-2.1.xml
|
103
|
+
- spec/reports/SPEC-OpenStudioAmis-version-2.2.xml
|
104
|
+
- spec/reports/SPEC-OpenStudioAmis-version-2.3.xml
|
105
|
+
- spec/reports/SPEC-OpenStudioAmis-version-2.4.xml
|
86
106
|
- spec/reports/SPEC-OpenStudioAmis-version-2.xml
|
87
107
|
- spec/reports/SPEC-OpenStudioAmis.0.xml
|
88
108
|
- spec/reports/SPEC-OpenStudioAmis.1.xml
|
109
|
+
- spec/reports/SPEC-OpenStudioAmis.2.xml
|
110
|
+
- spec/reports/SPEC-OpenStudioAmis.3.xml
|
111
|
+
- spec/reports/SPEC-OpenStudioAmis.4.xml
|
112
|
+
- spec/reports/SPEC-OpenStudioAmis.5.xml
|
113
|
+
- spec/reports/SPEC-OpenStudioAmis.6.xml
|
89
114
|
- spec/reports/SPEC-OpenStudioAmis.xml
|
90
115
|
- spec/reports/SPEC-OpenStudioAwsMethods-processors.0.xml
|
91
116
|
- spec/reports/SPEC-OpenStudioAwsMethods-processors.1.xml
|
117
|
+
- spec/reports/SPEC-OpenStudioAwsMethods-processors.2.xml
|
118
|
+
- spec/reports/SPEC-OpenStudioAwsMethods-processors.3.xml
|
119
|
+
- spec/reports/SPEC-OpenStudioAwsMethods-processors.4.xml
|
120
|
+
- spec/reports/SPEC-OpenStudioAwsMethods-processors.5.xml
|
121
|
+
- spec/reports/SPEC-OpenStudioAwsMethods-processors.6.xml
|
92
122
|
- spec/reports/SPEC-OpenStudioAwsMethods-processors.xml
|
93
123
|
- spec/reports/SPEC-OpenStudioAwsMethods.0.xml
|
94
124
|
- spec/reports/SPEC-OpenStudioAwsMethods.1.xml
|
125
|
+
- spec/reports/SPEC-OpenStudioAwsMethods.2.xml
|
126
|
+
- spec/reports/SPEC-OpenStudioAwsMethods.3.xml
|
127
|
+
- spec/reports/SPEC-OpenStudioAwsMethods.4.xml
|
128
|
+
- spec/reports/SPEC-OpenStudioAwsMethods.5.xml
|
129
|
+
- spec/reports/SPEC-OpenStudioAwsMethods.6.xml
|
95
130
|
- spec/reports/SPEC-OpenStudioAwsMethods.xml
|
96
131
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.0.xml
|
97
132
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.1.xml
|
133
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.2.xml
|
134
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.3.xml
|
135
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.4.xml
|
136
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.5.xml
|
137
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.6.xml
|
98
138
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.xml
|
99
139
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.0.xml
|
100
140
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.1.xml
|
141
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.2.xml
|
142
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.3.xml
|
143
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.4.xml
|
144
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.5.xml
|
145
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.6.xml
|
101
146
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.xml
|
102
147
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.0.xml
|
103
148
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.1.xml
|
149
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.2.xml
|
150
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.3.xml
|
151
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.4.xml
|
152
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.5.xml
|
153
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.6.xml
|
104
154
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.xml
|
105
155
|
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.0.xml
|
106
156
|
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.1.xml
|
157
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.2.xml
|
158
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.3.xml
|
159
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.4.xml
|
160
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.5.xml
|
161
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.6.xml
|
107
162
|
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.xml
|
108
163
|
- spec/reports/SPEC-OpenStudioAwsWrapper.0.xml
|
109
164
|
- spec/reports/SPEC-OpenStudioAwsWrapper.1.xml
|
165
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper.2.xml
|
166
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper.3.xml
|
167
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper.4.xml
|
168
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper.5.xml
|
169
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper.6.xml
|
110
170
|
- spec/reports/SPEC-OpenStudioAwsWrapper.xml
|
111
171
|
- spec/spec_helper.rb
|
112
172
|
homepage: http://openstudio.nrel.gov
|
@@ -137,8 +197,8 @@ test_files:
|
|
137
197
|
- spec/aws_instances/aws_spec_api.rb
|
138
198
|
- spec/openstudio-aws/ami_list_spec.rb
|
139
199
|
- spec/openstudio-aws/aws_methods_spec.rb
|
200
|
+
- spec/openstudio-aws/aws_wrapper_spec.rb
|
140
201
|
- spec/openstudio-aws/config_spec.rb
|
141
|
-
- spec/openstudio-aws/lib_spec.rb
|
142
202
|
- spec/reports/SPEC-OpenStudio-Aws-Aws-create-a-new-instance.0.xml
|
143
203
|
- spec/reports/SPEC-OpenStudio-Aws-Aws-create-a-new-instance.1.xml
|
144
204
|
- spec/reports/SPEC-OpenStudio-Aws-Aws-create-a-new-instance.xml
|
@@ -150,36 +210,96 @@ test_files:
|
|
150
210
|
- spec/reports/SPEC-OpenStudio-Aws-Aws.xml
|
151
211
|
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.0.xml
|
152
212
|
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.1.xml
|
213
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.2.xml
|
214
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.3.xml
|
215
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.4.xml
|
216
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.5.xml
|
217
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.6.xml
|
153
218
|
- spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.xml
|
154
219
|
- spec/reports/SPEC-OpenStudio-Aws-Config.0.xml
|
155
220
|
- spec/reports/SPEC-OpenStudio-Aws-Config.1.xml
|
221
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config.2.xml
|
222
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config.3.xml
|
223
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config.4.xml
|
224
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config.5.xml
|
225
|
+
- spec/reports/SPEC-OpenStudio-Aws-Config.6.xml
|
156
226
|
- spec/reports/SPEC-OpenStudio-Aws-Config.xml
|
157
227
|
- spec/reports/SPEC-OpenStudioAmis-version-1.0.xml
|
158
228
|
- spec/reports/SPEC-OpenStudioAmis-version-1.1.xml
|
229
|
+
- spec/reports/SPEC-OpenStudioAmis-version-1.2.xml
|
230
|
+
- spec/reports/SPEC-OpenStudioAmis-version-1.3.xml
|
231
|
+
- spec/reports/SPEC-OpenStudioAmis-version-1.4.xml
|
232
|
+
- spec/reports/SPEC-OpenStudioAmis-version-1.5.xml
|
233
|
+
- spec/reports/SPEC-OpenStudioAmis-version-1.6.xml
|
159
234
|
- spec/reports/SPEC-OpenStudioAmis-version-1.xml
|
235
|
+
- spec/reports/SPEC-OpenStudioAmis-version-2.0.xml
|
236
|
+
- spec/reports/SPEC-OpenStudioAmis-version-2.1.xml
|
237
|
+
- spec/reports/SPEC-OpenStudioAmis-version-2.2.xml
|
238
|
+
- spec/reports/SPEC-OpenStudioAmis-version-2.3.xml
|
239
|
+
- spec/reports/SPEC-OpenStudioAmis-version-2.4.xml
|
160
240
|
- spec/reports/SPEC-OpenStudioAmis-version-2.xml
|
161
241
|
- spec/reports/SPEC-OpenStudioAmis.0.xml
|
162
242
|
- spec/reports/SPEC-OpenStudioAmis.1.xml
|
243
|
+
- spec/reports/SPEC-OpenStudioAmis.2.xml
|
244
|
+
- spec/reports/SPEC-OpenStudioAmis.3.xml
|
245
|
+
- spec/reports/SPEC-OpenStudioAmis.4.xml
|
246
|
+
- spec/reports/SPEC-OpenStudioAmis.5.xml
|
247
|
+
- spec/reports/SPEC-OpenStudioAmis.6.xml
|
163
248
|
- spec/reports/SPEC-OpenStudioAmis.xml
|
164
249
|
- spec/reports/SPEC-OpenStudioAwsMethods-processors.0.xml
|
165
250
|
- spec/reports/SPEC-OpenStudioAwsMethods-processors.1.xml
|
251
|
+
- spec/reports/SPEC-OpenStudioAwsMethods-processors.2.xml
|
252
|
+
- spec/reports/SPEC-OpenStudioAwsMethods-processors.3.xml
|
253
|
+
- spec/reports/SPEC-OpenStudioAwsMethods-processors.4.xml
|
254
|
+
- spec/reports/SPEC-OpenStudioAwsMethods-processors.5.xml
|
255
|
+
- spec/reports/SPEC-OpenStudioAwsMethods-processors.6.xml
|
166
256
|
- spec/reports/SPEC-OpenStudioAwsMethods-processors.xml
|
167
257
|
- spec/reports/SPEC-OpenStudioAwsMethods.0.xml
|
168
258
|
- spec/reports/SPEC-OpenStudioAwsMethods.1.xml
|
259
|
+
- spec/reports/SPEC-OpenStudioAwsMethods.2.xml
|
260
|
+
- spec/reports/SPEC-OpenStudioAwsMethods.3.xml
|
261
|
+
- spec/reports/SPEC-OpenStudioAwsMethods.4.xml
|
262
|
+
- spec/reports/SPEC-OpenStudioAwsMethods.5.xml
|
263
|
+
- spec/reports/SPEC-OpenStudioAwsMethods.6.xml
|
169
264
|
- spec/reports/SPEC-OpenStudioAwsMethods.xml
|
170
265
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.0.xml
|
171
266
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.1.xml
|
267
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.2.xml
|
268
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.3.xml
|
269
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.4.xml
|
270
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.5.xml
|
271
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.6.xml
|
172
272
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.xml
|
173
273
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.0.xml
|
174
274
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.1.xml
|
275
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.2.xml
|
276
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.3.xml
|
277
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.4.xml
|
278
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.5.xml
|
279
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.6.xml
|
175
280
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.xml
|
176
281
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.0.xml
|
177
282
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.1.xml
|
283
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.2.xml
|
284
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.3.xml
|
285
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.4.xml
|
286
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.5.xml
|
287
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.6.xml
|
178
288
|
- spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.xml
|
179
289
|
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.0.xml
|
180
290
|
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.1.xml
|
291
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.2.xml
|
292
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.3.xml
|
293
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.4.xml
|
294
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.5.xml
|
295
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.6.xml
|
181
296
|
- spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.xml
|
182
297
|
- spec/reports/SPEC-OpenStudioAwsWrapper.0.xml
|
183
298
|
- spec/reports/SPEC-OpenStudioAwsWrapper.1.xml
|
299
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper.2.xml
|
300
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper.3.xml
|
301
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper.4.xml
|
302
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper.5.xml
|
303
|
+
- spec/reports/SPEC-OpenStudioAwsWrapper.6.xml
|
184
304
|
- spec/reports/SPEC-OpenStudioAwsWrapper.xml
|
185
305
|
- spec/spec_helper.rb
|