foreman_discovery 25.1.1 → 26.0.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af33d607c3774015ec63798d0a3e5efb4b856c8078bccc6bc777d28b34554b12
|
4
|
+
data.tar.gz: e311a429ae00fd700ec8c1b4b21858b208252d42fafc2eed068f6d9c7de39c8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61a4ec48b9096379c444779018e147a2d8840865dcd2398ecf85f483863ca6d25156936861301a29be4aad3a0fff50a3c278f6ccb4ef6dec5d0e6070371f2177
|
7
|
+
data.tar.gz: a8405492b24d139ac85de509f4b587f7a4d397fb2f3c500aaf31fbb48b1d75a98937e211efe25ac8352f063e055328983dbb230e5f4170420a06cc1c215b7d7e
|
@@ -82,7 +82,7 @@ module ForemanDiscovery::NodeAPI
|
|
82
82
|
def get(payload = {}, path = nil)
|
83
83
|
logger.debug("Image API GET #{url} (path=#{path}, payload=#{payload})")
|
84
84
|
if path
|
85
|
-
resource[
|
85
|
+
resource[CGI.escape(path)].get payload
|
86
86
|
else
|
87
87
|
resource.get payload
|
88
88
|
end
|
@@ -24,7 +24,7 @@ module ForemanDiscovery
|
|
24
24
|
initializer 'foreman_discovery.register_plugin', :before => :finisher_hook do |app|
|
25
25
|
app.reloader.to_prepare do
|
26
26
|
Foreman::Plugin.register :foreman_discovery do
|
27
|
-
requires_foreman '>= 3.
|
27
|
+
requires_foreman '>= 3.15'
|
28
28
|
register_gettext
|
29
29
|
|
30
30
|
# settings
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { Icon } from 'patternfly-react';
|
3
3
|
import {
|
4
|
-
Title,
|
5
4
|
EmptyState,
|
6
5
|
EmptyStateVariant,
|
7
6
|
EmptyStateBody,
|
8
|
-
|
7
|
+
EmptyStateActions,
|
8
|
+
EmptyStateHeader,
|
9
|
+
EmptyStateFooter,
|
9
10
|
} from '@patternfly/react-core';
|
10
11
|
import { emptyStatePatternPropTypes } from './EmptyStatePropTypes';
|
11
12
|
import { translate as __ } from '../../../common/I18n';
|
@@ -48,17 +49,15 @@ const EmptyStatePattern = props => {
|
|
48
49
|
{/* TODO: Add pf4 icons, Redmine issue: #30865 */}
|
49
50
|
<Icon name={icon} type={iconType} size="2x" />
|
50
51
|
</span>
|
51
|
-
<
|
52
|
-
{header}
|
53
|
-
</Title>
|
52
|
+
<EmptyStateHeader titleText={<>{header}</>} headingLevel="h5" />
|
54
53
|
<EmptyStateBody>
|
55
54
|
<div className="empty-state-description">{description}</div>
|
56
55
|
<DocumentationBlock />
|
57
56
|
</EmptyStateBody>
|
58
|
-
|
59
|
-
|
60
|
-
{secondaryActions}
|
61
|
-
</
|
57
|
+
<EmptyStateFooter>
|
58
|
+
{action}
|
59
|
+
<EmptyStateActions>{secondaryActions}</EmptyStateActions>
|
60
|
+
</EmptyStateFooter>
|
62
61
|
</EmptyState>
|
63
62
|
);
|
64
63
|
};
|
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:
|
4
|
+
version: 26.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aditi Puntambekar
|
@@ -76,7 +76,7 @@ authors:
|
|
76
76
|
autorequire:
|
77
77
|
bindir: bin
|
78
78
|
cert_chain: []
|
79
|
-
date: 2025-
|
79
|
+
date: 2025-04-02 00:00:00.000000000 Z
|
80
80
|
dependencies: []
|
81
81
|
description: MaaS Discovery Plugin engine for Foreman
|
82
82
|
email: gsutclif@redhat.com
|