cf-perm-test-helpers 0.0.5 → 0.0.6
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb2319b5392a977c171d2fdc1e3120b0748822d4278b1ebeb328f92f11fea67e
|
4
|
+
data.tar.gz: a4bf14623e5b329b75154e9b374c22d3c2ff405b32ccbd7d94a9e5e1e8b117e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c787ff1f9ab85e8df1788d96767c3e6135abeafe26f0a2efe42a3afe5c87c937224ae9d9f6f81d531b83b16082587baa090a444484a15dd1ace803b7e140bfd2
|
7
|
+
data.tar.gz: 1bb6e65c9fb2852d54321d50f936317ff6d3c00b41f27867b93e41e1ee79bfd14a255516d4b733c8d3dee1b4f5234b62a316c294df1891646134631b718b84c8
|
@@ -26,6 +26,7 @@ module CloudFoundry
|
|
26
26
|
@tls_ca_path = options.attr(:tls_ca_path, 'PERM_TEST_TLS_CA_PATH', File.join(cert_path, 'tls_ca.crt'))
|
27
27
|
@audit_file_path = options.attr(:audit_file_path, 'PERM_TEST_AUDIT_FILE_PATH', '/dev/null')
|
28
28
|
@tls_ca = File.open(tls_ca_path).read
|
29
|
+
@keepalive = options.attr(:keepalive, 'PERM_TEST_KEEPALIVE', '10s')
|
29
30
|
|
30
31
|
@stdout = options.attr(:stdout, 'PERM_TEST_STDOUT_PATH', STDOUT)
|
31
32
|
@stderr = options.attr(:stderr, 'PERM_TEST_STDERR_PATH', STDERR)
|
@@ -54,7 +55,7 @@ module CloudFoundry
|
|
54
55
|
end
|
55
56
|
|
56
57
|
attr_writer :port
|
57
|
-
attr_reader :perm_path, :log_level, :process, :tls_cert, :tls_key, :audit_file_path
|
58
|
+
attr_reader :perm_path, :log_level, :process, :tls_cert, :tls_key, :audit_file_path, :keepalive
|
58
59
|
attr_reader :stdout, :stderr
|
59
60
|
|
60
61
|
# rubocop:disable Metrics/AbcSize, Metrics/MethodLength
|
@@ -72,7 +73,8 @@ module CloudFoundry
|
|
72
73
|
'--tls-certificate', tls_cert,
|
73
74
|
'--tls-key', tls_key,
|
74
75
|
'--db-driver', 'in-memory',
|
75
|
-
'--audit-file-path', audit_file_path
|
76
|
+
'--audit-file-path', audit_file_path,
|
77
|
+
'--max-connection-idle', @keepalive
|
76
78
|
]
|
77
79
|
|
78
80
|
process = Subprocess.popen(cmd, stdout: stdout, stderr: stderr)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cf-perm-test-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CloudFoundry Permissions Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: subprocess
|