openstudio-aws 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/lib/openstudio/aws/version.rb +1 -1
  3. data/spec/reports/SPEC-OpenStudio-Aws-Aws-ami-lists.14.xml +11 -0
  4. data/spec/reports/SPEC-OpenStudio-Aws-Aws-custom-keys.7.xml +11 -0
  5. data/spec/reports/SPEC-OpenStudio-Aws-Aws-proxy-configuration.14.xml +13 -0
  6. data/spec/reports/SPEC-OpenStudio-Aws-Aws-should-error.14.xml +9 -0
  7. data/spec/reports/SPEC-OpenStudio-Aws-Aws-version-testing.14.xml +9 -0
  8. data/spec/reports/SPEC-OpenStudio-Aws-Aws.16.xml +7 -0
  9. data/spec/reports/SPEC-OpenStudio-Aws-Config-create-a-new-config.13.xml +9 -0
  10. data/spec/reports/SPEC-OpenStudio-Aws-Config.13.xml +7 -0
  11. data/spec/reports/SPEC-OpenStudioAmis-version-1.14.xml +13 -0
  12. data/spec/reports/SPEC-OpenStudioAmis-version-2.14.xml +9 -0
  13. data/spec/reports/SPEC-OpenStudioAmis.14.xml +7 -0
  14. data/spec/reports/SPEC-OpenStudioAwsInstance-processors.12.xml +11 -0
  15. data/spec/reports/SPEC-OpenStudioAwsInstance.12.xml +7 -0
  16. data/spec/reports/SPEC-OpenStudioAwsWrapper-ami-list.13.xml +9 -0
  17. data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-availability.14.xml +11 -0
  18. data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-create-new-ami-json.14.xml +11 -0
  19. data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-new-instance.14.xml +9 -0
  20. data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-version-1.13.xml +108 -0
  21. data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session-version-2.13.xml +1263 -0
  22. data/spec/reports/SPEC-OpenStudioAwsWrapper-authenticated-session.14.xml +7 -0
  23. data/spec/reports/SPEC-OpenStudioAwsWrapper-unauthenticated-session.14.xml +9 -0
  24. data/spec/reports/SPEC-OpenStudioAwsWrapper.14.xml +7 -0
  25. metadata +49 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b96898493fc6794507cd7f7c8c097ff62e8340c
4
- data.tar.gz: 38e3a902ee5e58544c91af2977e9f1f42d029837
3
+ metadata.gz: 8657855f493b2fe3cff7f91854a633a40d8a4990
4
+ data.tar.gz: 5ec5770c133123d5977bb6722930ee4c18a0e91b
5
5
  SHA512:
6
- metadata.gz: 9a26a72e1ef25b21f65b8ada82ae0a24c18607a37c4623bfb9489ad60ad15b08b1a3ba12613f44ce9f77655e4f168802ff566f406606e1cb2de4a35d9cc00236
7
- data.tar.gz: 13e98a46a66e0d256c53b6ae3af69a185b7b2ea56db4e2a4700df5c6ed7947062cb438237ffae7fecf48534e3e8e392ed498685774745bea70937de816994d5c
6
+ metadata.gz: 525a3af066ecaa1cda27b34adffca0c2e34eb3df90663f16b5de07bf3b07784cd7e1cb652eab1c528dd3b259548c816dc4da128c311199e4844a36d7f88e8e97
7
+ data.tar.gz: 8af1f883dff43fc869089bb400131241f125a3e87f2d5d6069de0c245bfd68bd94fb2e3d2367088c38c32b8bdd2f81a5abdf9e021a32eebe4b389a49f27cf588
@@ -1,5 +1,5 @@
1
1
  module OpenStudio
2
2
  module Aws
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
5
5
  end
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Aws::Aws ami lists" tests="2" time="0.045423" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:38-06:00">
3
+ <testcase name="OpenStudio::Aws::Aws ami lists should allow a different region" time="0.034847">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Aws::Aws ami lists should allow a different region" time="0.010345">
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="OpenStudio::Aws::Aws custom keys" tests="2" time="0.013566" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:38-06:00">
3
+ <testcase name="OpenStudio::Aws::Aws custom keys should error on key not found" time="0.006579">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Aws::Aws custom keys should require a private key" time="0.006662">
6
+ </testcase>
7
+ <system-out>
8
+ </system-out>
9
+ <system-err>
10
+ </system-err>
11
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Aws::Aws proxy configuration" tests="3" time="0.019917" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:38-06:00">
3
+ <testcase name="OpenStudio::Aws::Aws proxy configuration should create an instance" time="0.006749">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Aws::Aws proxy configuration should create a AWS instance with a proxy" time="0.005626">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Aws::Aws proxy configuration should create a AWS instance with a proxy with username / password" time="0.007207">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Aws::Aws should error" tests="1" time="0.011185" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:38-06:00">
3
+ <testcase name="OpenStudio::Aws::Aws should error should not find a json" time="0.01101">
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::Aws version testing" tests="1" time="0.011381" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:38-06:00">
3
+ <testcase name="OpenStudio::Aws::Aws version testing version 2: should find the right AMIs Server 1.3.1" time="0.011133">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Aws::Aws" tests="0" time="8.0e-05" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:38-06:00">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </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.000691" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:46-06:00">
3
+ <testcase name="OpenStudio::Aws::Config create a new config should create a new instance" time="0.000355">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Aws::Config" tests="0" time="9.6e-05" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:46-06:00">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudioAmis version 1" tests="3" time="0.028072" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:38-06:00">
3
+ <testcase name="OpenStudioAmis version 1 should default to an ami if nothing passed" time="0.01663">
4
+ </testcase>
5
+ <testcase name="OpenStudioAmis version 1 should return specific amis if passed a version" time="0.005872">
6
+ </testcase>
7
+ <testcase name="OpenStudioAmis version 1 should list all amis" time="0.005286">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudioAmis version 2" tests="1" time="0.000298" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:38-06:00">
3
+ <testcase name="OpenStudioAmis version 2 should default the server version" time="0.000135">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudioAmis" tests="0" time="0.000164" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:38-06:00">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudioAwsInstance processors" tests="2" time="0.000491" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:38-06:00">
3
+ <testcase name="OpenStudioAwsInstance processors should default to 1 with a warning" time="0.000166">
4
+ </testcase>
5
+ <testcase name="OpenStudioAwsInstance processors should return known values for various instances" time="0.000121">
6
+ </testcase>
7
+ <system-out>
8
+ </system-out>
9
+ <system-err>
10
+ </system-err>
11
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudioAwsInstance" tests="0" time="7.4e-05" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:38-06:00">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudioAwsWrapper ami list" tests="1" time="0.167449" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:45-06:00">
3
+ <testcase name="OpenStudioAwsWrapper ami list should get the next version" time="0.002093">
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="OpenStudioAwsWrapper authenticated session availability" tests="2" time="0.691201" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:39-06:00">
3
+ <testcase name="OpenStudioAwsWrapper authenticated session availability should describe the zones" time="0.323628">
4
+ </testcase>
5
+ <testcase name="OpenStudioAwsWrapper authenticated session availability should list number of instances" time="0.367356">
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 create new ami json" tests="2" time="1.956753" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:40-06:00">
3
+ <testcase name="OpenStudioAwsWrapper authenticated session create new ami json should describe existing AMIs" time="1.78049">
4
+ </testcase>
5
+ <testcase name="OpenStudioAwsWrapper authenticated session create new ami json should describe a specific image" time="0.176037">
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.00036" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:39-06:00">
3
+ <testcase name="OpenStudioAwsWrapper authenticated session new instance should be created" time="0.000198">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,108 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudioAwsWrapper authenticated session version 1" tests="1" time="1.72191" failures="0" errors="0" skipped="0" timestamp="2014-09-08T16:56:42-06:00">
3
+ <testcase name="OpenStudioAwsWrapper authenticated session version 1 should create a new json" time="1.721662">
4
+ </testcase>
5
+ <system-out>
6
+ found nil version, incrementing from 0.0.1
7
+ Creating version 1 of the AMI file
8
+ Pretty version 1: {
9
+ "1.4.0": {
10
+ "worker": "ami-4cf12324",
11
+ "cc2worker": "ami-86f123ee",
12
+ "server": "ami-f8f62490"
13
+ },
14
+ "1.3.6": {
15
+ "server": "ami-0401f16c",
16
+ "cc2worker": "ami-041eee6c",
17
+ "worker": "ami-da1eeeb2"
18
+ },
19
+ "1.3.5": {
20
+ "cc2worker": "ami-2855a340",
21
+ "server": "ami-9052a4f8",
22
+ "worker": "ami-ba52a4d2"
23
+ },
24
+ "1.3.4": {
25
+ "cc2worker": "ami-142ec67c",
26
+ "worker": "ami-b42ec6dc",
27
+ "server": "ami-c62fc7ae"
28
+ },
29
+ "1.3.3": {
30
+ "server": "ami-3a43a352",
31
+ "cc2worker": "ami-b440a0dc",
32
+ "worker": "ami-d441a1bc"
33
+ },
34
+ "1.3.2": {
35
+ "worker": "ami-a3fee5ca",
36
+ "cc2worker": "ami-cbffe4a2",
37
+ "server": "ami-dbfee5b2"
38
+ },
39
+ "1.3.1": {
40
+ "cc2worker": "ami-7eb15016",
41
+ "worker": "ami-9cae4ff4",
42
+ "server": "ami-b4b150dc"
43
+ },
44
+ "1.3.0": {
45
+ "cc2worker": "ami-73d4c51a",
46
+ "worker": "ami-e5d4c58c",
47
+ "server": "ami-f9d4c590"
48
+ },
49
+ "1.2.5": {
50
+ "worker": "ami-0dc0cb64",
51
+ "cc2worker": "ami-45c0cb2c",
52
+ "server": "ami-f5c0cb9c"
53
+ },
54
+ "1.2.4": {
55
+ "worker": "ami-4b8d8e22",
56
+ "server": "ami-8d8d8ee4",
57
+ "cc2worker": "ami-958e8dfc"
58
+ },
59
+ "1.2.3": {
60
+ "worker": "ami-0baa9062",
61
+ "cc2worker": "ami-d3b48eba",
62
+ "server": "ami-f9aa9090"
63
+ },
64
+ "1.2.2": {
65
+ "cc2worker": "ami-1fb18876",
66
+ "server": "ami-adb188c4",
67
+ "worker": "ami-f1b18898"
68
+ },
69
+ "1.2.1": {
70
+ "worker": "ami-37744b5e",
71
+ "cc2worker": "ami-51744b38",
72
+ "server": "ami-89744be0"
73
+ },
74
+ "1.2.0": {
75
+ "server": "ami-a3edddca",
76
+ "worker": "ami-bfedddd6",
77
+ "cc2worker": "ami-b5eddddc"
78
+ },
79
+ "1.1.3": {
80
+ "server": "ami-fb301292",
81
+ "worker": "ami-21301248",
82
+ "cc2worker": "ami-d73311be"
83
+ },
84
+ "1.1.2": {
85
+ "server": "ami-89f5d3e0",
86
+ "worker": "ami-35f2d45c",
87
+ "cc2worker": "ami-27f2d44e"
88
+ },
89
+ "1.1.1": {
90
+ "server": "ami-955308fc",
91
+ "worker": "ami-c95308a0",
92
+ "cc2worker": "ami-a55308cc"
93
+ },
94
+ "1.1.0": {
95
+ "server": "ami-1b376a72",
96
+ "worker": "ami-970b56fe",
97
+ "cc2worker": "ami-a30b56ca"
98
+ },
99
+ "default": {
100
+ "worker": "ami-4cf12324",
101
+ "cc2worker": "ami-86f123ee",
102
+ "server": "ami-f8f62490"
103
+ }
104
+ }
105
+ </system-out>
106
+ <system-err>
107
+ </system-err>
108
+ </testsuite>