ops_manager_ui_drivers 2.9.4 → 2.9.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81472edf97ad30249748d708446f5dfd68a896ea
|
4
|
+
data.tar.gz: 11c6c423054bab0b7d761aac7a3d551883ca5d40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0648f83f586a0011f1854ddc1f9ea1bebee6f72d8e1dd098c313b16565804c5900543c18f7d812512098242d66c95d608246f14d49d09ad07eb0ae1e73fdca8
|
7
|
+
data.tar.gz: ded76b78fffcef7c2f3da6bf199f6f1b12ad401873485c0f83d523df90e614139eb42bcd57071d993db82ad02e2daca706bbb154c6495edfbc1e68afc7482a5b
|
@@ -23,11 +23,23 @@ module OpsManagerUiDrivers
|
|
23
23
|
browser.find_field(name)
|
24
24
|
end
|
25
25
|
|
26
|
-
def generate_self_signed_cert(wildcard_domain, property_reference)
|
27
|
-
|
26
|
+
def generate_self_signed_cert(wildcard_domain, property_reference, selector_property_reference = nil, selector_option_name = nil)
|
27
|
+
if selector_property_reference && selector_option_name
|
28
|
+
private_key_field_name = "#{form_name}[#{selector_property_reference}][#{selector_option_name}][#{property_reference}][private_key_pem]"
|
29
|
+
else
|
30
|
+
private_key_field_name = "#{form_name}[#{property_reference}][private_key_pem]"
|
31
|
+
end
|
32
|
+
|
33
|
+
change_link = browser.first(%Q(a[data-masked-input-name="#{private_key_field_name}"]))
|
28
34
|
change_link.click if change_link
|
29
35
|
disable_css_transitions!
|
30
|
-
|
36
|
+
|
37
|
+
generate_rsa_link = browser.first("textarea[name='#{private_key_field_name}'] + a")
|
38
|
+
unless generate_rsa_link
|
39
|
+
puts 'Unable to find the Generate RSA Certificate link for the given property. If you are in a selector, please be sure to provide the two optional parameters to this method.'
|
40
|
+
end
|
41
|
+
generate_rsa_link.click
|
42
|
+
|
31
43
|
browser.within '#rsa-certificate-form' do
|
32
44
|
browser.fill_in 'rsa_certificate[domains]', with: wildcard_domain
|
33
45
|
browser.click_on 'save-rsa-certificate-action'
|
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.9.
|
4
|
+
version: 2.9.5
|
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-03-
|
11
|
+
date: 2016-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|