foreman_remote_execution 12.0.0 → 12.0.1

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: 43196184773df228503a8a6e25cbdb70669802ee31814e75abfb497807764229
4
- data.tar.gz: 93e1f84e0d59c23a771a061f0d152afa5e8c8bc3be3e5c5043510e18c95b8d9d
3
+ metadata.gz: 6385c407f978cf02cd096ef099c9c1304da27c67afcea48e91bd484b869a2635
4
+ data.tar.gz: 5997c4f5af4cc4624f3955f869e4076856918c0611da644d75a95017a5dd2dac
5
5
  SHA512:
6
- metadata.gz: ddc91fbaa8ffe72952982ebe84a288f43aed56fe7ec731d39d93527a3f12d636f517e5f65a42c42a0f635c7eddbe7c28dd14e5243d27f68e4009999f48591297
7
- data.tar.gz: f28441ee7476bdbdfc35589d83442c27d07c86fab85882ae8b67ae6eb396d4e35b5066d385380139ad7d67b3ba89a5656f34819bcca3b8f2340560866c131c91
6
+ metadata.gz: e24eb75f9d677836b32f4f6c4b6bb4d4b43a0934d63bb3ea80b2e66e6f9787d5792bef99ed5c01d9b1ec23547e0c5cc79660205ce3040612d940a19b64f3e8d2
7
+ data.tar.gz: 1957e681e82ad9093d95949b47dec5d273b0c14f1aee46465490126dd97eb5d3f85b8335183ca56629d36fff439b7f4ae9624bbe9c236715d5e7f82fab20a6f0
@@ -64,7 +64,10 @@ class UiJobWizardController < ApplicationController
64
64
  job = JobInvocation.authorized.find(params[:id])
65
65
  composer = JobInvocationComposer.from_job_invocation(job, params).params
66
66
  job_template_inputs = JobTemplate.authorized.find(composer[:template_invocations][0][:template_id]).template_inputs_with_foreign
67
- inputs = Hash[job_template_inputs.map { |input| ["inputs[#{input[:name]}]", {:advanced => input[:advanced], :value => (composer[:template_invocations][0][:input_values].find { |value| value[:template_input_id] == input[:id] }).try(:[], :value)}] }]
67
+ job_template_inputs_hash = Hash[job_template_inputs.map { |input| ["inputs[#{input[:name]}]", {:advanced => input[:advanced], :value => (composer[:template_invocations][0][:input_values].find { |value| value[:template_input_id] == input[:id] }).try(:[], :value)}] }]
68
+ provider_inputs = composer[:template_invocations][0][:provider_input_values]
69
+ provider_inputs_hash = Hash[provider_inputs.map { |input| ["inputs[#{input[:name]}]", {:advanced => true, :value => input[:value]}] }]
70
+ inputs = job_template_inputs_hash.merge(provider_inputs_hash)
68
71
  job_organization = Taxonomy.find_by(id: job.task.input[:current_organization_id])
69
72
  job_location = Taxonomy.find_by(id: job.task.input[:current_location_id])
70
73
  render :json => {
@@ -271,6 +271,7 @@ class JobInvocationComposer
271
271
  job_invocation.pattern_template_invocations.map do |template_invocation|
272
272
  params = template_invocation.attributes.slice('template_id', 'effective_user')
273
273
  params['input_values'] = template_invocation.input_values.map { |v| v.attributes.slice('template_input_id', 'value') }
274
+ params['provider_input_values'] = template_invocation.provider_input_values.map { |v| v.attributes.slice('name', 'value') }
274
275
  params
275
276
  end
276
277
  end
@@ -31,6 +31,9 @@ export CONVERT2RHEL_DISABLE_TELEMETRY=1
31
31
 
32
32
  /usr/bin/convert2rhel analyze -y
33
33
 
34
+ # Workaround for https://issues.redhat.com/browse/RHELC-1280
35
+ subscription-manager facts --update
36
+
34
37
  if grep -q ERROR /var/log/convert2rhel/convert2rhel-pre-conversion.json; then
35
38
  echo "Error: Some error(s) have been found."
36
39
  echo "Exiting ..."
@@ -1,3 +1,3 @@
1
1
  module ForemanRemoteExecution
2
- VERSION = '12.0.0'.freeze
2
+ VERSION = '12.0.1'.freeze
3
3
  end
@@ -1,2 +1,7 @@
1
1
  # Autogenerated!
2
+ _("Action with sub plans")
3
+ _("Check for long running tasks")
4
+ _("Deliver notifications about long running tasks")
5
+ _("Import Puppet classes")
6
+ _("Import facts")
2
7
  _("Remote action:")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_remote_execution
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.0.0
4
+ version: 12.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Remote Execution team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-01 00:00:00.000000000 Z
11
+ date: 2024-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface