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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb97632da9337d54a6770e62cb8fecb78ac0ea2848e1546636971c7fd3f48a7b
4
- data.tar.gz: e286e0be4a070083b700ac99350dfce21193c7a283a609ff75ef5e693f47d74a
3
+ metadata.gz: d29a271233a5b6f0d8400b941d0f2bd79940e81c2a91b33d84be37ddc0fdc27e
4
+ data.tar.gz: 56ffdda5ff8ec1aba31f64ba15572104b47daff2a68d26d4de852333a8ff1b87
5
5
  SHA512:
6
- metadata.gz: da60a711c58cf448cf8c8f8ac84951fe92f5412a07083d473d088377b4ad4e3d53c4a692e086422b0eeee0253a65f45e2fe620312c5d080de82bce210a478b77
7
- data.tar.gz: 23ca6673e08d895616be451ca7183ba7c82f86044050b40e46e87170efd0163d25c07aa9f36c747f229e966f191f055e3fc237558ece03ac5d8300548e19e22a
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, _('')
@@ -353,6 +353,8 @@ module HammerCLIKatello
353
353
  field :indexed, _('Indexed?')
354
354
  end
355
355
  end
356
+
357
+ build_options
356
358
  end
357
359
 
358
360
  # rubocop:disable ClassLength
@@ -1,5 +1,5 @@
1
1
  module HammerCLIKatello
2
2
  def self.version
3
- @version ||= Gem::Version.new('1.7.2')
3
+ @version ||= Gem::Version.new('1.7.3')
4
4
  end
5
5
  end
@@ -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.2
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-01-23 00:00:00.000000000 Z
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