foreman_discovery 26.0.0 → 26.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af33d607c3774015ec63798d0a3e5efb4b856c8078bccc6bc777d28b34554b12
4
- data.tar.gz: e311a429ae00fd700ec8c1b4b21858b208252d42fafc2eed068f6d9c7de39c8e
3
+ metadata.gz: 5b9b5d53b2dece6cbdde60133ed1e5c6bba608ca4f602f4f55e9314eeff5f50d
4
+ data.tar.gz: 277543a8e091865fae5eabf4c77c563b7905c1ecb4c61a207e5e4254a750eb6f
5
5
  SHA512:
6
- metadata.gz: 61a4ec48b9096379c444779018e147a2d8840865dcd2398ecf85f483863ca6d25156936861301a29be4aad3a0fff50a3c278f6ccb4ef6dec5d0e6070371f2177
7
- data.tar.gz: a8405492b24d139ac85de509f4b587f7a4d397fb2f3c500aaf31fbb48b1d75a98937e211efe25ac8352f063e055328983dbb230e5f4170420a06cc1c215b7d7e
6
+ metadata.gz: 4d6a458d08fa9184583f85252bca8ae9e5af4a63fc4c8a062e2c7ba57f6cadbee604d6d4f4965863286e0e47e7bb8e592ae1a6cab52402f11f00ab05bddde698
7
+ data.tar.gz: 48fcf8bd684e224ae9c776151fb846d075254ebf240f07daf13a331bc2c30d342687bb36c4a530abcb45698a1434c6982e8a6a59ad7995708cfd7d89c6b72b18
@@ -18,7 +18,7 @@ module ForemanDiscovery::NodeAPI
18
18
 
19
19
  @connect_params.merge!(
20
20
  :ssl_client_cert => OpenSSL::X509::Certificate.new(File.read(cert)),
21
- :ssl_client_key => OpenSSL::PKey::RSA.new(File.read(hostprivkey)),
21
+ :ssl_client_key => OpenSSL::PKey.read(File.read(hostprivkey)),
22
22
  :ssl_ca_file => ca_cert,
23
23
  :verify_ssl => OpenSSL::SSL::VERIFY_PEER
24
24
  )
@@ -88,7 +88,7 @@ module ForemanDiscovery
88
88
  setting "discovery_prefix",
89
89
  type: :string,
90
90
  default: "mac",
91
- validate: { presence: true },
91
+ validate: { presence: true, format: { with: /\A[a-zA-Z]/, message: _("must start with a letter") } },
92
92
  full_name: N_("Hostname prefix"),
93
93
  description: N_("The default prefix to use for the host name, must start with a letter")
94
94
 
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "26.0.0"
2
+ VERSION = "26.0.1"
3
3
  end
@@ -310,7 +310,7 @@ class HostDiscoveredTest < ActiveSupport::TestCase
310
310
 
311
311
  test "provisioning a discovered host without saving it doesn't create a token" do
312
312
  Setting[:token_duration] = 30 #enable tokens so that we only test the CR
313
- Setting[:discovery_prefix] = '123'
313
+ Setting[:discovery_prefix] = 'test123'
314
314
  host = discover_host_from_facts(@facts)
315
315
  host.save
316
316
  h = ::ForemanDiscovery::HostConverter.to_managed(host)
@@ -27,6 +27,7 @@ const DefaultEmptyState = props => {
27
27
  component="a"
28
28
  onClick={() => actionButtonClickHandler(action)}
29
29
  variant="primary"
30
+ ouiaId="empty-state-primary-action-button"
30
31
  >
31
32
  {action.title}
32
33
  </Button>
@@ -39,6 +40,7 @@ const DefaultEmptyState = props => {
39
40
  key={`sec-button-${title}`}
40
41
  onClick={() => actionButtonClickHandler({ url, onClick })}
41
42
  variant="secondary"
43
+ ouiaId="empty-state-secondary-action-button"
42
44
  >
43
45
  {title}
44
46
  </Button>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_discovery
3
3
  version: !ruby/object:Gem::Version
4
- version: 26.0.0
4
+ version: 26.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditi Puntambekar
@@ -73,10 +73,9 @@ authors:
73
73
  - Tom Caspy
74
74
  - Tomer Brisker
75
75
  - Yann Cézard
76
- autorequire:
77
76
  bindir: bin
78
77
  cert_chain: []
79
- date: 2025-04-02 00:00:00.000000000 Z
78
+ date: 1980-01-02 00:00:00.000000000 Z
80
79
  dependencies: []
81
80
  description: MaaS Discovery Plugin engine for Foreman
82
81
  email: gsutclif@redhat.com
@@ -313,7 +312,6 @@ homepage: https://github.com/theforeman/foreman_discovery
313
312
  licenses:
314
313
  - GPL-3.0
315
314
  metadata: {}
316
- post_install_message:
317
315
  rdoc_options: []
318
316
  require_paths:
319
317
  - lib
@@ -328,8 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
328
326
  - !ruby/object:Gem::Version
329
327
  version: '0'
330
328
  requirements: []
331
- rubygems_version: 3.5.22
332
- signing_key:
329
+ rubygems_version: 3.6.9
333
330
  specification_version: 4
334
331
  summary: MaaS Discovery Plugin for Foreman
335
332
  test_files: