ops_manager_ui_drivers 2.22.2 → 2.22.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d08cbb2a139c548f6d6004bf7bdf5b38fa016d0e
4
- data.tar.gz: f4c994963ee6302950649ba718711572e7877d44
3
+ metadata.gz: 57a8c0565a5e5cbbec2baefd4f5b051ccbdcf436
4
+ data.tar.gz: c768494a188d1e95a0a4a5b354b3dff0a18e890b
5
5
  SHA512:
6
- metadata.gz: a195b9bc34ecec7ce0c0990de4e3ce81abaf638da24deae18396e476eb0fb17e9e2e575ad6d090c37c7315fee52b6afb8f42d72f8e3e2513bae442d0b5435d42
7
- data.tar.gz: 7ebf9514e5d1eb2c4ac66f2bf802fde5a49276e79d21b89c1ca4c77c7448767bcf2540085521f48430b2a1336ba007ea90fc659b30bb367e9f59615e7184aa56
6
+ metadata.gz: f97be6a1d5ab7bc53b937d6a0b975ef98702980aad8adee48a073942533bd94b76980b12248dc55fd9e67a46b3e376332307edb2773b2470bea9f005182732d7
7
+ data.tar.gz: a73c19d8b8589231e59c75d6c03c495c3dd1fe1cd2b1e201a7426cf0aa5d59095ca7350b586eb5a5bcd6f7661f06e887f4e53972cf3a045f8bcb8dd7363ae025
@@ -1,3 +1,3 @@
1
1
  module OpsManagerUiDrivers
2
- VERSION = '2.22.2'
2
+ VERSION = '2.22.3'
3
3
  end
@@ -151,6 +151,49 @@ module OpsManagerUiDrivers
151
151
  }
152
152
  end
153
153
  end
154
+
155
+ class Google
156
+ def self.works_with?(iaas_type)
157
+ iaas_type == 'google'
158
+ end
159
+
160
+ def initialize(test_settings)
161
+ @test_settings = test_settings
162
+ end
163
+
164
+ def iaas_configuration_fields
165
+ {
166
+ 'project' => @test_settings.dig('ops_manager', 'google', 'project'),
167
+ 'region' => @test_settings.dig('ops_manager', 'google', 'region'),
168
+ 'ssh_private_key' => @test_settings.dig('ops_manager', 'google', 'ssh_private_key'),
169
+ }
170
+ end
171
+
172
+ def advanced_infrastructure_config_fields
173
+ {
174
+ }
175
+ end
176
+ end
177
+
178
+ class Azure
179
+ def self.works_with?(iaas_type)
180
+ iaas_type == 'azure'
181
+ end
182
+
183
+ def initialize(test_settings)
184
+ @test_settings = test_settings
185
+ end
186
+
187
+ def iaas_configuration_fields
188
+ {
189
+ }
190
+ end
191
+
192
+ def advanced_infrastructure_config_fields
193
+ {
194
+ }
195
+ end
196
+ end
154
197
  end
155
198
  end
156
199
  end
@@ -7,7 +7,7 @@ module OpsManagerUiDrivers
7
7
  def self.for(test_settings)
8
8
  iaas_type = test_settings.dig('iaas_type')
9
9
  settings_class =
10
- [Vcloud, Vsphere, AWS, OpenStack].find do |klass|
10
+ [Vcloud, Vsphere, AWS, OpenStack, Google, Azure].find do |klass|
11
11
  klass.works_with?(iaas_type)
12
12
  end or fail("Unsupported IaaS: #{iaas_type.inspect}")
13
13
  settings_class.new(test_settings)
@@ -24,6 +24,12 @@ module OpsManagerUiDrivers
24
24
 
25
25
  class OpenStack < Version17::Settings::OpenStack
26
26
  end
27
+
28
+ class Google < Version17::Settings::Google
29
+ end
30
+
31
+ class Azure < Version17::Settings::Azure
32
+ end
27
33
  end
28
34
  end
29
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_manager_ui_drivers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.22.2
4
+ version: 2.22.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pivotal, Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-20 00:00:00.000000000 Z
11
+ date: 2016-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport