hammer_cli_katello 1.7.2 → 1.8.0
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: 5559307a7e9a2174ef030c6c92ad8c2d9a2c9e63e7e3c55799fe43cf864661a3
|
4
|
+
data.tar.gz: 3d32b7c76563f4c6e77d863bd005cc9ee6f13d53553287660783061606f87d39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e9c68ab0111cf95ed634eb7e71b472183405fd4a7985b4bf80193d84e1f55053b61a4fa88620f7f2f46846990002acf5173f280dcfe41ed1c4d57dd9722d646
|
7
|
+
data.tar.gz: 5c3e8fd0886c574ef7fc896f1b36392ce53f1401c5d9e623b56de5c697ba5a44e797c601dd5fb2b55a96fe742d016e42200a94f316db1b0c2c566e883ee80aa0
|
@@ -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.
|
4
|
+
version: 1.8.0
|
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-02-23 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: hammer_cli_foreman
|