hammer_cli_katello 1.7.2 → 1.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hammer_cli_katello/acs.rb +15 -0
- data/lib/hammer_cli_katello/repository.rb +2 -0
- data/lib/hammer_cli_katello/version.rb +1 -1
- data/test/functional/acs/info_test.rb +21 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d29a271233a5b6f0d8400b941d0f2bd79940e81c2a91b33d84be37ddc0fdc27e
|
4
|
+
data.tar.gz: 56ffdda5ff8ec1aba31f64ba15572104b47daff2a68d26d4de852333a8ff1b87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6dda42194326f0c4fe514997eebf1e656a09483b3177f3cc3dcd5b9bccfde01cb0348c6228f689fce324f4474c122828436131720a6216856cab2fd087a3d68
|
7
|
+
data.tar.gz: 5b2ba7fd4b72b51617fe35d76a696a8dcb31eaaa5a04e7a2c2700effadb351bddcc3dc9cb5d954d70e5e5bc4aa616a350d089e790eabe42a4334f0fad257d04f
|
@@ -32,6 +32,21 @@ module HammerCLIKatello
|
|
32
32
|
field :content_type, _('Content type')
|
33
33
|
field :alternate_content_source_type, _('Alternate content source type')
|
34
34
|
field :upstream_username, _('Upstream username'), Fields::Field, :hide_blank => true
|
35
|
+
field :verify_ssl, _('Verify SSL'), Fields::Field, :hide_blank => true
|
36
|
+
collection :ssl_ca_cert, _('SSL CA Cert') do
|
37
|
+
field :id, _('Id'), Fields::Field, :hide_blank => true
|
38
|
+
field :name, _('Name'), Fields::Field, :hide_blank => true
|
39
|
+
end
|
40
|
+
|
41
|
+
collection :ssl_client_cert, _('SSL Client Cert') do
|
42
|
+
field :id, _('Id'), Fields::Field, :hide_blank => true
|
43
|
+
field :name, _('Name'), Fields::Field, :hide_blank => true
|
44
|
+
end
|
45
|
+
|
46
|
+
collection :ssl_client_key, _('SSL Client Key') do
|
47
|
+
field :id, _('Id'), Fields::Field, :hide_blank => true
|
48
|
+
field :name, _('Name'), Fields::Field, :hide_blank => true
|
49
|
+
end
|
35
50
|
|
36
51
|
collection :subpaths, _('Subpaths') do
|
37
52
|
field nil, _('')
|
@@ -16,6 +16,18 @@ describe 'get acs info' do
|
|
16
16
|
'base_url' => 'https://proxy.example.com',
|
17
17
|
'content_type' => 'yum',
|
18
18
|
'alternate_content_source_type' => 'custom',
|
19
|
+
'ssl_ca_cert' => {
|
20
|
+
'id' => 1,
|
21
|
+
'name' => 'CA'
|
22
|
+
},
|
23
|
+
"ssl_client_cert" => {
|
24
|
+
"id" => 3,
|
25
|
+
"name" => "cert"
|
26
|
+
},
|
27
|
+
"ssl_client_key" => {
|
28
|
+
"id" => 2,
|
29
|
+
"name" => "KEY"
|
30
|
+
},
|
19
31
|
'subpaths' => [
|
20
32
|
'test/repo1'
|
21
33
|
],
|
@@ -34,6 +46,15 @@ describe 'get acs info' do
|
|
34
46
|
['Base URL', 'https://proxy.example.com'],
|
35
47
|
['Content type', 'yum'],
|
36
48
|
['Alternate content source type', 'custom'],
|
49
|
+
['SSL CA Cert', ''],
|
50
|
+
['Id', '1'],
|
51
|
+
['Name', 'CA'],
|
52
|
+
['SSL Client Cert', ''],
|
53
|
+
['Id', '1'],
|
54
|
+
['Name', 'cert'],
|
55
|
+
['SSL Client Key', ''],
|
56
|
+
['Id', '1'],
|
57
|
+
['Name', 'KEY'],
|
37
58
|
['Subpaths', ''],
|
38
59
|
['', 'test/repo1'],
|
39
60
|
['Smart proxies', ''],
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Price
|
@@ -35,7 +35,7 @@ authors:
|
|
35
35
|
autorequire:
|
36
36
|
bindir: bin
|
37
37
|
cert_chain: []
|
38
|
-
date: 2023-
|
38
|
+
date: 2023-03-02 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: hammer_cli_foreman
|