ops_manager_ui_drivers 2.29.0 → 2.30.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86556ab5023acf0bb8d15ec0f453878c4c355a77
4
- data.tar.gz: 9b876bcc55f8090931d145cf4e0ab41d398ed8bb
3
+ metadata.gz: 149c3a5d06d22c573a767a39a062128150dea595
4
+ data.tar.gz: 3ba62d70eac91251cc1c9002b999376c084029cc
5
5
  SHA512:
6
- metadata.gz: 47412c86a58520a62794e355805fc4577140e355dc4cecf161f358284e5716043f7f2099a748052782d224c323f2ccb577239984f4ef034c0a328f080a13656a
7
- data.tar.gz: 95b8f5247571a498b8c97e1aaf12da4af0150bdc57d5bc78fdd8be230b5deeadcc087a24a57904ec58bbab9f5959f4748f77d51402cbba742848c47da93c282c
6
+ metadata.gz: 5a1dfa69094017801133674e59f3bb7dbd44e00f9e93f1655e03a068e0d824ec71a91cd08df90c8c9548a64baeab5b6b5d037d519cd457fc5cc4f052c8e8d46b
7
+ data.tar.gz: 9bdd8d43e1bb9a840ba8dcccd44e0d41ca78e49211154fa800d5a5cbcc7d3ffd275af7d6b1aa14ab295d42f0b90414de8a76f874359ba6269e4fcf223ff05e66
@@ -1,3 +1,3 @@
1
1
  module OpsManagerUiDrivers
2
- VERSION = '2.29.0'
2
+ VERSION = '2.30.0'
3
3
  end
@@ -12,6 +12,13 @@ module OpsManagerUiDrivers
12
12
  settings_class.new(test_settings)
13
13
  end
14
14
 
15
+ def self.build_browser_command(command, arg)
16
+ {
17
+ 'browser_command' => command,
18
+ 'browser_arg' => arg,
19
+ }
20
+ end
21
+
15
22
  class Vcloud
16
23
  def self.works_with?(iaas_type)
17
24
  iaas_type == 'vcloud'
@@ -99,17 +106,10 @@ module OpsManagerUiDrivers
99
106
 
100
107
  private
101
108
 
102
- def build_browser_command(command, arg)
103
- {
104
- 'browser_command' => command,
105
- 'browser_arg' => arg,
106
- }
107
- end
108
-
109
109
  def iaas_security_configuration_fields
110
110
  if @test_settings.dig('ops_manager', 'aws', 'instance_profile')
111
111
  {
112
- 'access_type' => build_browser_command('choose', 'Use AWS Instance Profile'),
112
+ 'access_type' => Settings.build_browser_command('choose', 'Use AWS Instance Profile'),
113
113
  'iam_instance_profile' => @test_settings.dig('ops_manager', 'aws', 'instance_profile'),
114
114
  }
115
115
  else
@@ -13,6 +13,13 @@ module OpsManagerUiDrivers
13
13
  settings_class.new(test_settings)
14
14
  end
15
15
 
16
+ def self.build_browser_command(command, arg)
17
+ {
18
+ 'browser_command' => command,
19
+ 'browser_arg' => arg,
20
+ }
21
+ end
22
+
16
23
  class Vcloud < Version17::Settings::Vcloud
17
24
  end
18
25
 
@@ -39,13 +46,28 @@ module OpsManagerUiDrivers
39
46
  'project' => @test_settings.dig('ops_manager', 'google', 'project'),
40
47
  'region' => @test_settings.dig('ops_manager', 'google', 'region'),
41
48
  'ssh_private_key' => @test_settings.dig('ops_manager', 'google', 'ssh_private_key'),
42
- }
49
+ }.merge(iaas_security_configuration_fields)
43
50
  end
44
51
 
45
52
  def advanced_infrastructure_config_fields
46
53
  {
47
54
  }
48
55
  end
56
+
57
+ private
58
+
59
+ def iaas_security_configuration_fields
60
+ if @test_settings.dig('ops_manager', 'google', 'auth_json')
61
+ {
62
+ 'access_type' => Settings.build_browser_command('choose', 'AuthJSON'),
63
+ 'auth_json' => @test_settings.dig('ops_manager', 'google', 'auth_json'),
64
+ }
65
+ else
66
+ {
67
+ 'access_type' => Settings.build_browser_command('choose', 'Default Service Account'),
68
+ }
69
+ end
70
+ end
49
71
  end
50
72
 
51
73
  class Azure
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.29.0
4
+ version: 2.30.0
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-08-15 00:00:00.000000000 Z
11
+ date: 2016-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport