foreman_remote_execution 11.1.3 → 12.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.rubocop_todo.yml +0 -8
- data/.tx/config +2 -2
- data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +27 -21
- data/app/assets/javascripts/foreman_remote_execution/locale/en/foreman_remote_execution.js +24 -15
- data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +27 -9
- data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +27 -24
- data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +27 -24
- data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +27 -24
- data/app/assets/javascripts/foreman_remote_execution/locale/ka/foreman_remote_execution.js +1587 -0
- data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +27 -15
- data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +27 -24
- data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +27 -15
- data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +27 -24
- data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +27 -15
- data/app/controllers/ui_job_wizard_controller.rb +1 -4
- data/app/helpers/remote_execution_helper.rb +10 -4
- data/app/lib/actions/remote_execution/event_helpers.rb +42 -0
- data/app/lib/actions/remote_execution/run_host_job.rb +3 -16
- data/app/lib/actions/remote_execution/run_hosts_job.rb +7 -5
- data/app/models/concerns/api/v2/hosts_controller_extensions.rb +12 -0
- data/app/models/job_invocation_composer.rb +0 -1
- data/app/views/api/v2/job_invocations/base.json.rabl +14 -0
- data/app/views/templates/script/convert2rhel_analyze.erb +0 -3
- data/config/routes.rb +2 -0
- data/db/migrate/20151215114631_add_host_id_to_template_invocation.rb +1 -1
- data/db/migrate/20151217092555_migrate_to_task_groups.rb +1 -1
- data/db/migrate/20160113162007_expand_all_template_invocations.rb +2 -2
- data/db/migrate/20160114125628_rename_job_name_to_job_category.rb +2 -2
- data/db/migrate/20200623073022_rename_sudo_password_to_effective_user_password.rb +2 -2
- data/db/migrate/20220321101835_rename_ssh_provider_to_script.rb +1 -1
- data/extra/cockpit/foreman-cockpit-session +1 -1
- data/foreman_remote_execution.gemspec +3 -1
- data/lib/foreman_remote_execution/engine.rb +14 -9
- data/lib/foreman_remote_execution/version.rb +1 -1
- data/locale/Makefile +3 -4
- data/locale/action_names.rb +0 -5
- data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/de/foreman_remote_execution.po +24 -15
- data/locale/en/foreman_remote_execution.po +24 -15
- data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/en_GB/foreman_remote_execution.po +24 -15
- data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/es/foreman_remote_execution.po +24 -15
- data/locale/foreman_remote_execution.pot +82 -69
- data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/fr/foreman_remote_execution.po +24 -15
- data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ja/foreman_remote_execution.po +24 -15
- data/locale/ka/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ka/foreman_remote_execution.po +1576 -0
- data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ko/foreman_remote_execution.po +24 -15
- data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/pt_BR/foreman_remote_execution.po +24 -15
- data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ru/foreman_remote_execution.po +24 -15
- data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_CN/foreman_remote_execution.po +24 -15
- data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_TW/foreman_remote_execution.po +24 -15
- data/test/unit/actions/run_hosts_job_test.rb +1 -1
- data/test/unit/api_params_test.rb +2 -10
- data/webpack/JobInvocationDetail/JobInvocationActions.js +22 -0
- data/webpack/JobInvocationDetail/JobInvocationConstants.js +7 -0
- data/webpack/JobInvocationDetail/JobInvocationOverview.js +104 -0
- data/webpack/JobInvocationDetail/JobInvocationSelectors.js +5 -0
- data/webpack/JobInvocationDetail/index.js +77 -0
- data/webpack/JobWizard/JobWizardPageRerun.js +10 -25
- data/webpack/JobWizard/index.js +9 -18
- data/webpack/Routes/routes.js +6 -0
- data/webpack/react_app/components/FeaturesDropdown/actions.js +4 -2
- data/webpack/react_app/components/FeaturesDropdown/constants.js +5 -0
- data/webpack/react_app/components/FeaturesDropdown/index.js +53 -14
- data/webpack/react_app/components/FeaturesDropdown/index.scss +11 -0
- data/webpack/react_app/extend/Fills.js +6 -0
- metadata +24 -10
- data/webpack/react_app/components/FeaturesDropdown/constant.js +0 -3
- /data/test/graphql/mutations/job_invocations/{create.rb → create_test.rb} +0 -0
- /data/test/unit/{renderer_scope_input.rb → renderer_scope_input_test.rb} +0 -0
Binary file
|
@@ -78,9 +78,6 @@ msgstr "스크립트를 실행하는 데 사용할 사용자입니다. 이 사
|
|
78
78
|
msgid "Abort Job"
|
79
79
|
msgstr ""
|
80
80
|
|
81
|
-
msgid "Action with sub plans"
|
82
|
-
msgstr "하위 계획이 있는 작업"
|
83
|
-
|
84
81
|
msgid "Actions"
|
85
82
|
msgstr "작업"
|
86
83
|
|
@@ -165,9 +162,6 @@ msgstr ""
|
|
165
162
|
msgid "Category and template"
|
166
163
|
msgstr ""
|
167
164
|
|
168
|
-
msgid "Check for long running tasks"
|
169
|
-
msgstr ""
|
170
|
-
|
171
165
|
msgid "Choose a job template that is pre-selected in job invocation form"
|
172
166
|
msgstr ""
|
173
167
|
|
@@ -300,9 +294,6 @@ msgstr "외부 입력 세트 삭제"
|
|
300
294
|
msgid "Delete a job template"
|
301
295
|
msgstr "작업 템플릿 삭제"
|
302
296
|
|
303
|
-
msgid "Deliver notifications about long running tasks"
|
304
|
-
msgstr ""
|
305
|
-
|
306
297
|
msgid "Description"
|
307
298
|
msgstr "설명"
|
308
299
|
|
@@ -366,6 +357,9 @@ msgstr ""
|
|
366
357
|
msgid "Effective user password is only applicable for SSH provider. Other providers ignore this field. Password is stored encrypted in DB until the job finishes. For future or recurring executions, it is removed after the last execution."
|
367
358
|
msgstr ""
|
368
359
|
|
360
|
+
msgid "Effective user:"
|
361
|
+
msgstr ""
|
362
|
+
|
369
363
|
msgid "Enable Global Proxy"
|
370
364
|
msgstr ""
|
371
365
|
|
@@ -537,15 +531,9 @@ msgstr ""
|
|
537
531
|
msgid "Import"
|
538
532
|
msgstr "불러오기"
|
539
533
|
|
540
|
-
msgid "Import Puppet classes"
|
541
|
-
msgstr "Puppet 클래스 가져오기"
|
542
|
-
|
543
534
|
msgid "Import a job template from ERB"
|
544
535
|
msgstr ""
|
545
536
|
|
546
|
-
msgid "Import facts"
|
547
|
-
msgstr "팩트 불러오기"
|
548
|
-
|
549
537
|
msgid "Include all inputs from the foreign template"
|
550
538
|
msgstr ""
|
551
539
|
|
@@ -624,6 +612,9 @@ msgstr "작업 호출"
|
|
624
612
|
msgid "Job invocations"
|
625
613
|
msgstr "작업 호출"
|
626
614
|
|
615
|
+
msgid "Job invocations detail"
|
616
|
+
msgstr ""
|
617
|
+
|
627
618
|
msgid "Job result"
|
628
619
|
msgstr ""
|
629
620
|
|
@@ -729,6 +720,9 @@ msgstr "사용 안 함"
|
|
729
720
|
msgid "New Job Template"
|
730
721
|
msgstr "새 작업 템플릿"
|
731
722
|
|
723
|
+
msgid "New UI"
|
724
|
+
msgstr ""
|
725
|
+
|
732
726
|
msgid "Next"
|
733
727
|
msgstr ""
|
734
728
|
|
@@ -756,6 +750,9 @@ msgstr "%{feature_name} 기능에 매핑된 템플릿이 없습니다."
|
|
756
750
|
msgid "Not all required inputs have values. Missing inputs: %s"
|
757
751
|
msgstr "값이 없는 필수 입력이 있습니다. 누락된 입력: %s"
|
758
752
|
|
753
|
+
msgid "Not yet"
|
754
|
+
msgstr ""
|
755
|
+
|
759
756
|
msgid "Now"
|
760
757
|
msgstr ""
|
761
758
|
|
@@ -996,6 +993,9 @@ msgstr "SSH 공급자 관련 옵션"
|
|
996
993
|
msgid "SSH user"
|
997
994
|
msgstr ""
|
998
995
|
|
996
|
+
msgid "SSH user:"
|
997
|
+
msgstr ""
|
998
|
+
|
999
999
|
msgid "Schedule"
|
1000
1000
|
msgstr "스케줄 "
|
1001
1001
|
|
@@ -1125,6 +1125,9 @@ msgstr ""
|
|
1125
1125
|
msgid "Started"
|
1126
1126
|
msgstr ""
|
1127
1127
|
|
1128
|
+
msgid "Started at:"
|
1129
|
+
msgstr ""
|
1130
|
+
|
1128
1131
|
msgid "Starts"
|
1129
1132
|
msgstr "시작 "
|
1130
1133
|
|
@@ -1167,6 +1170,9 @@ msgstr "성공"
|
|
1167
1170
|
msgid "Success"
|
1168
1171
|
msgstr "성공"
|
1169
1172
|
|
1173
|
+
msgid "Switch to the new job invocation detail UI"
|
1174
|
+
msgstr ""
|
1175
|
+
|
1170
1176
|
msgid "Sync Job Templates"
|
1171
1177
|
msgstr ""
|
1172
1178
|
|
@@ -1206,6 +1212,9 @@ msgstr "템플릿 버전"
|
|
1206
1212
|
msgid "Template with id '%{id}' was not found"
|
1207
1213
|
msgstr "ID가 '%{id}'인 템플릿을 찾을 수 없습니다."
|
1208
1214
|
|
1215
|
+
msgid "Template:"
|
1216
|
+
msgstr ""
|
1217
|
+
|
1209
1218
|
msgid "Templates list failed with:"
|
1210
1219
|
msgstr ""
|
1211
1220
|
|
Binary file
|
@@ -80,9 +80,6 @@ msgstr "Usuário a ser usado para a execução de script. Se ele for diferente d
|
|
80
80
|
msgid "Abort Job"
|
81
81
|
msgstr "Sobre o trabalho"
|
82
82
|
|
83
|
-
msgid "Action with sub plans"
|
84
|
-
msgstr "Ação com subplanos "
|
85
|
-
|
86
83
|
msgid "Actions"
|
87
84
|
msgstr "Ações"
|
88
85
|
|
@@ -167,9 +164,6 @@ msgstr "A lista de categorias falhou:"
|
|
167
164
|
msgid "Category and template"
|
168
165
|
msgstr ""
|
169
166
|
|
170
|
-
msgid "Check for long running tasks"
|
171
|
-
msgstr ""
|
172
|
-
|
173
167
|
msgid "Choose a job template that is pre-selected in job invocation form"
|
174
168
|
msgstr "Escolha um template de trabalho pré-selecionado no formulário de invocação de trabalho"
|
175
169
|
|
@@ -302,9 +296,6 @@ msgstr "Remover um conjunto de entradas externas"
|
|
302
296
|
msgid "Delete a job template"
|
303
297
|
msgstr "Remover um modelo de trabalho "
|
304
298
|
|
305
|
-
msgid "Deliver notifications about long running tasks"
|
306
|
-
msgstr ""
|
307
|
-
|
308
299
|
msgid "Description"
|
309
300
|
msgstr "Descrição"
|
310
301
|
|
@@ -368,6 +359,9 @@ msgstr "A senha efetiva do usuário só é aplicável para o provedor SSH. Outro
|
|
368
359
|
msgid "Effective user password is only applicable for SSH provider. Other providers ignore this field. Password is stored encrypted in DB until the job finishes. For future or recurring executions, it is removed after the last execution."
|
369
360
|
msgstr "A senha efetiva do usuário só é aplicável para o provedor SSH. Outros provedores ignoram este campo. A senha é armazenada criptografada no DB até que o trabalho termine. Para execuções futuras ou recorrentes, ela é removida após a última execução."
|
370
361
|
|
362
|
+
msgid "Effective user:"
|
363
|
+
msgstr ""
|
364
|
+
|
371
365
|
msgid "Enable Global Proxy"
|
372
366
|
msgstr "Ativar o proxy global"
|
373
367
|
|
@@ -539,15 +533,9 @@ msgstr ""
|
|
539
533
|
msgid "Import"
|
540
534
|
msgstr "Importar"
|
541
535
|
|
542
|
-
msgid "Import Puppet classes"
|
543
|
-
msgstr "Importar classes de Puppet"
|
544
|
-
|
545
536
|
msgid "Import a job template from ERB"
|
546
537
|
msgstr "Importar um modelo de trabalho do ERB "
|
547
538
|
|
548
|
-
msgid "Import facts"
|
549
|
-
msgstr "Importar fatos"
|
550
|
-
|
551
539
|
msgid "Include all inputs from the foreign template"
|
552
540
|
msgstr "Incluir todas as entradas do modelo externo "
|
553
541
|
|
@@ -626,6 +614,9 @@ msgstr "Invocação de trabalho"
|
|
626
614
|
msgid "Job invocations"
|
627
615
|
msgstr "Invocações de trabalho"
|
628
616
|
|
617
|
+
msgid "Job invocations detail"
|
618
|
+
msgstr ""
|
619
|
+
|
629
620
|
msgid "Job result"
|
630
621
|
msgstr "Resultado do trabalho"
|
631
622
|
|
@@ -731,6 +722,9 @@ msgstr "Nunca"
|
|
731
722
|
msgid "New Job Template"
|
732
723
|
msgstr "Novo Modelo de Trabalho "
|
733
724
|
|
725
|
+
msgid "New UI"
|
726
|
+
msgstr ""
|
727
|
+
|
734
728
|
msgid "Next"
|
735
729
|
msgstr ""
|
736
730
|
|
@@ -758,6 +752,9 @@ msgstr "Nenhum template mapeado para o recurso %{feature_name}"
|
|
758
752
|
msgid "Not all required inputs have values. Missing inputs: %s"
|
759
753
|
msgstr "Nem todas as entradas necessárias possuem valores. Entradas ausentes: %s"
|
760
754
|
|
755
|
+
msgid "Not yet"
|
756
|
+
msgstr ""
|
757
|
+
|
761
758
|
msgid "Now"
|
762
759
|
msgstr ""
|
763
760
|
|
@@ -998,6 +995,9 @@ msgstr "Opções específicas do provedor SSH "
|
|
998
995
|
msgid "SSH user"
|
999
996
|
msgstr ""
|
1000
997
|
|
998
|
+
msgid "SSH user:"
|
999
|
+
msgstr ""
|
1000
|
+
|
1001
1001
|
msgid "Schedule"
|
1002
1002
|
msgstr "Agendamento"
|
1003
1003
|
|
@@ -1127,6 +1127,9 @@ msgstr ""
|
|
1127
1127
|
msgid "Started"
|
1128
1128
|
msgstr "Iniciado em"
|
1129
1129
|
|
1130
|
+
msgid "Started at:"
|
1131
|
+
msgstr ""
|
1132
|
+
|
1130
1133
|
msgid "Starts"
|
1131
1134
|
msgstr "Inicia"
|
1132
1135
|
|
@@ -1169,6 +1172,9 @@ msgstr "Êxito"
|
|
1169
1172
|
msgid "Success"
|
1170
1173
|
msgstr "Sucesso"
|
1171
1174
|
|
1175
|
+
msgid "Switch to the new job invocation detail UI"
|
1176
|
+
msgstr ""
|
1177
|
+
|
1172
1178
|
msgid "Sync Job Templates"
|
1173
1179
|
msgstr "Sincronizar modelos de trabalho"
|
1174
1180
|
|
@@ -1208,6 +1214,9 @@ msgstr "Versão do modelo"
|
|
1208
1214
|
msgid "Template with id '%{id}' was not found"
|
1209
1215
|
msgstr "Template com id '%{id}' não foi localizado"
|
1210
1216
|
|
1217
|
+
msgid "Template:"
|
1218
|
+
msgstr ""
|
1219
|
+
|
1211
1220
|
msgid "Templates list failed with:"
|
1212
1221
|
msgstr "A lista de gabaritos falhou:"
|
1213
1222
|
|
Binary file
|
@@ -82,9 +82,6 @@ msgstr "Пользователь, от имени которого должен
|
|
82
82
|
msgid "Abort Job"
|
83
83
|
msgstr ""
|
84
84
|
|
85
|
-
msgid "Action with sub plans"
|
86
|
-
msgstr "Действия с подпланами"
|
87
|
-
|
88
85
|
msgid "Actions"
|
89
86
|
msgstr "Действия"
|
90
87
|
|
@@ -169,9 +166,6 @@ msgstr ""
|
|
169
166
|
msgid "Category and template"
|
170
167
|
msgstr ""
|
171
168
|
|
172
|
-
msgid "Check for long running tasks"
|
173
|
-
msgstr ""
|
174
|
-
|
175
169
|
msgid "Choose a job template that is pre-selected in job invocation form"
|
176
170
|
msgstr ""
|
177
171
|
|
@@ -304,9 +298,6 @@ msgstr "Удалить набор входных параметров"
|
|
304
298
|
msgid "Delete a job template"
|
305
299
|
msgstr "Удалить шаблон задания"
|
306
300
|
|
307
|
-
msgid "Deliver notifications about long running tasks"
|
308
|
-
msgstr ""
|
309
|
-
|
310
301
|
msgid "Description"
|
311
302
|
msgstr "Описание"
|
312
303
|
|
@@ -370,6 +361,9 @@ msgstr ""
|
|
370
361
|
msgid "Effective user password is only applicable for SSH provider. Other providers ignore this field. Password is stored encrypted in DB until the job finishes. For future or recurring executions, it is removed after the last execution."
|
371
362
|
msgstr ""
|
372
363
|
|
364
|
+
msgid "Effective user:"
|
365
|
+
msgstr ""
|
366
|
+
|
373
367
|
msgid "Enable Global Proxy"
|
374
368
|
msgstr ""
|
375
369
|
|
@@ -541,15 +535,9 @@ msgstr ""
|
|
541
535
|
msgid "Import"
|
542
536
|
msgstr "Импорт"
|
543
537
|
|
544
|
-
msgid "Import Puppet classes"
|
545
|
-
msgstr "Импорт классов Puppet"
|
546
|
-
|
547
538
|
msgid "Import a job template from ERB"
|
548
539
|
msgstr "Импорт шаблона из ERB"
|
549
540
|
|
550
|
-
msgid "Import facts"
|
551
|
-
msgstr "Импорт фактов"
|
552
|
-
|
553
541
|
msgid "Include all inputs from the foreign template"
|
554
542
|
msgstr "Добавить все входные параметры из внешнего шаблона"
|
555
543
|
|
@@ -628,6 +616,9 @@ msgstr "Вызов задания"
|
|
628
616
|
msgid "Job invocations"
|
629
617
|
msgstr "Вызовы заданий"
|
630
618
|
|
619
|
+
msgid "Job invocations detail"
|
620
|
+
msgstr ""
|
621
|
+
|
631
622
|
msgid "Job result"
|
632
623
|
msgstr ""
|
633
624
|
|
@@ -733,6 +724,9 @@ msgstr "Никогда"
|
|
733
724
|
msgid "New Job Template"
|
734
725
|
msgstr "Создать шаблон задания"
|
735
726
|
|
727
|
+
msgid "New UI"
|
728
|
+
msgstr ""
|
729
|
+
|
736
730
|
msgid "Next"
|
737
731
|
msgstr ""
|
738
732
|
|
@@ -760,6 +754,9 @@ msgstr "С %{feature_name} не связан ни один шаблон."
|
|
760
754
|
msgid "Not all required inputs have values. Missing inputs: %s"
|
761
755
|
msgstr "Отсутствуют значения некоторых обязательных входных данных: %s"
|
762
756
|
|
757
|
+
msgid "Not yet"
|
758
|
+
msgstr ""
|
759
|
+
|
763
760
|
msgid "Now"
|
764
761
|
msgstr ""
|
765
762
|
|
@@ -1000,6 +997,9 @@ msgstr "Параметры провайдера SSH"
|
|
1000
997
|
msgid "SSH user"
|
1001
998
|
msgstr ""
|
1002
999
|
|
1000
|
+
msgid "SSH user:"
|
1001
|
+
msgstr ""
|
1002
|
+
|
1003
1003
|
msgid "Schedule"
|
1004
1004
|
msgstr "Расписание"
|
1005
1005
|
|
@@ -1129,6 +1129,9 @@ msgstr ""
|
|
1129
1129
|
msgid "Started"
|
1130
1130
|
msgstr ""
|
1131
1131
|
|
1132
|
+
msgid "Started at:"
|
1133
|
+
msgstr ""
|
1134
|
+
|
1132
1135
|
msgid "Starts"
|
1133
1136
|
msgstr "Начало"
|
1134
1137
|
|
@@ -1171,6 +1174,9 @@ msgstr "Успешно"
|
|
1171
1174
|
msgid "Success"
|
1172
1175
|
msgstr "Успешно"
|
1173
1176
|
|
1177
|
+
msgid "Switch to the new job invocation detail UI"
|
1178
|
+
msgstr ""
|
1179
|
+
|
1174
1180
|
msgid "Sync Job Templates"
|
1175
1181
|
msgstr ""
|
1176
1182
|
|
@@ -1210,6 +1216,9 @@ msgstr "Версия шаблона"
|
|
1210
1216
|
msgid "Template with id '%{id}' was not found"
|
1211
1217
|
msgstr "Шаблон «%{id}» не найден."
|
1212
1218
|
|
1219
|
+
msgid "Template:"
|
1220
|
+
msgstr ""
|
1221
|
+
|
1213
1222
|
msgid "Templates list failed with:"
|
1214
1223
|
msgstr ""
|
1215
1224
|
|
Binary file
|
@@ -78,9 +78,6 @@ msgstr "要使用執行這 script 的使用者。如果使用者與 SSH 使用
|
|
78
78
|
msgid "Abort Job"
|
79
79
|
msgstr "终止作业"
|
80
80
|
|
81
|
-
msgid "Action with sub plans"
|
82
|
-
msgstr "有子计划的操作"
|
83
|
-
|
84
81
|
msgid "Actions"
|
85
82
|
msgstr "操作"
|
86
83
|
|
@@ -165,9 +162,6 @@ msgstr "类别列表失败并带有:"
|
|
165
162
|
msgid "Category and template"
|
166
163
|
msgstr ""
|
167
164
|
|
168
|
-
msgid "Check for long running tasks"
|
169
|
-
msgstr ""
|
170
|
-
|
171
165
|
msgid "Choose a job template that is pre-selected in job invocation form"
|
172
166
|
msgstr "选择在作业调用表单中预先选择的作业模板"
|
173
167
|
|
@@ -300,9 +294,6 @@ msgstr "删除外部输入集"
|
|
300
294
|
msgid "Delete a job template"
|
301
295
|
msgstr "删除作业模板"
|
302
296
|
|
303
|
-
msgid "Deliver notifications about long running tasks"
|
304
|
-
msgstr ""
|
305
|
-
|
306
297
|
msgid "Description"
|
307
298
|
msgstr "描述"
|
308
299
|
|
@@ -366,6 +357,9 @@ msgstr "有效用户密码只适用于 SSH 提供商。其他提供商会忽略
|
|
366
357
|
msgid "Effective user password is only applicable for SSH provider. Other providers ignore this field. Password is stored encrypted in DB until the job finishes. For future or recurring executions, it is removed after the last execution."
|
367
358
|
msgstr "有效用户密码只适用于 SSH 提供商。其他提供商会忽略此字段。在任务完成之前,密码会以加密方式存储在数据库中。对于未来或周期性执行,该密码将在最后一次执行后删除。"
|
368
359
|
|
360
|
+
msgid "Effective user:"
|
361
|
+
msgstr ""
|
362
|
+
|
369
363
|
msgid "Enable Global Proxy"
|
370
364
|
msgstr "启用全局代理服务器"
|
371
365
|
|
@@ -537,15 +531,9 @@ msgstr ""
|
|
537
531
|
msgid "Import"
|
538
532
|
msgstr "导入"
|
539
533
|
|
540
|
-
msgid "Import Puppet classes"
|
541
|
-
msgstr "导入 Puppet 类"
|
542
|
-
|
543
534
|
msgid "Import a job template from ERB"
|
544
535
|
msgstr "从 ERB 导入作业模版"
|
545
536
|
|
546
|
-
msgid "Import facts"
|
547
|
-
msgstr "导入事实"
|
548
|
-
|
549
537
|
msgid "Include all inputs from the foreign template"
|
550
538
|
msgstr "在外部模板中包含所有输入格式"
|
551
539
|
|
@@ -624,6 +612,9 @@ msgstr "工作调用"
|
|
624
612
|
msgid "Job invocations"
|
625
613
|
msgstr "作业调用"
|
626
614
|
|
615
|
+
msgid "Job invocations detail"
|
616
|
+
msgstr ""
|
617
|
+
|
627
618
|
msgid "Job result"
|
628
619
|
msgstr "作业结果"
|
629
620
|
|
@@ -729,6 +720,9 @@ msgstr "决不"
|
|
729
720
|
msgid "New Job Template"
|
730
721
|
msgstr "新作业模板"
|
731
722
|
|
723
|
+
msgid "New UI"
|
724
|
+
msgstr ""
|
725
|
+
|
732
726
|
msgid "Next"
|
733
727
|
msgstr ""
|
734
728
|
|
@@ -756,6 +750,9 @@ msgstr "没有映射到功能 %{feature_name} 的模板"
|
|
756
750
|
msgid "Not all required inputs have values. Missing inputs: %s"
|
757
751
|
msgstr "並不是所有需要的輸入都有值。缺少的输入:%s"
|
758
752
|
|
753
|
+
msgid "Not yet"
|
754
|
+
msgstr ""
|
755
|
+
|
759
756
|
msgid "Now"
|
760
757
|
msgstr ""
|
761
758
|
|
@@ -996,6 +993,9 @@ msgstr "SSH 供应商特定的选项"
|
|
996
993
|
msgid "SSH user"
|
997
994
|
msgstr ""
|
998
995
|
|
996
|
+
msgid "SSH user:"
|
997
|
+
msgstr ""
|
998
|
+
|
999
999
|
msgid "Schedule"
|
1000
1000
|
msgstr "调度"
|
1001
1001
|
|
@@ -1125,6 +1125,9 @@ msgstr ""
|
|
1125
1125
|
msgid "Started"
|
1126
1126
|
msgstr "已启动"
|
1127
1127
|
|
1128
|
+
msgid "Started at:"
|
1129
|
+
msgstr ""
|
1130
|
+
|
1128
1131
|
msgid "Starts"
|
1129
1132
|
msgstr "开始"
|
1130
1133
|
|
@@ -1167,6 +1170,9 @@ msgstr "已成功"
|
|
1167
1170
|
msgid "Success"
|
1168
1171
|
msgstr "成功"
|
1169
1172
|
|
1173
|
+
msgid "Switch to the new job invocation detail UI"
|
1174
|
+
msgstr ""
|
1175
|
+
|
1170
1176
|
msgid "Sync Job Templates"
|
1171
1177
|
msgstr "同步作业模板"
|
1172
1178
|
|
@@ -1206,6 +1212,9 @@ msgstr "模板版本"
|
|
1206
1212
|
msgid "Template with id '%{id}' was not found"
|
1207
1213
|
msgstr "找不到 id 为 '%{id}' 的模板"
|
1208
1214
|
|
1215
|
+
msgid "Template:"
|
1216
|
+
msgstr ""
|
1217
|
+
|
1209
1218
|
msgid "Templates list failed with:"
|
1210
1219
|
msgstr "模板列表失败并带有:"
|
1211
1220
|
|
Binary file
|
@@ -79,9 +79,6 @@ msgstr "要使用執行這 script 的使用者。如果使用者與 SSH 使用
|
|
79
79
|
msgid "Abort Job"
|
80
80
|
msgstr ""
|
81
81
|
|
82
|
-
msgid "Action with sub plans"
|
83
|
-
msgstr "有子計畫的動作"
|
84
|
-
|
85
82
|
msgid "Actions"
|
86
83
|
msgstr "動作"
|
87
84
|
|
@@ -166,9 +163,6 @@ msgstr ""
|
|
166
163
|
msgid "Category and template"
|
167
164
|
msgstr ""
|
168
165
|
|
169
|
-
msgid "Check for long running tasks"
|
170
|
-
msgstr ""
|
171
|
-
|
172
166
|
msgid "Choose a job template that is pre-selected in job invocation form"
|
173
167
|
msgstr ""
|
174
168
|
|
@@ -301,9 +295,6 @@ msgstr "刪除外部輸入集"
|
|
301
295
|
msgid "Delete a job template"
|
302
296
|
msgstr "刪除工作範本"
|
303
297
|
|
304
|
-
msgid "Deliver notifications about long running tasks"
|
305
|
-
msgstr ""
|
306
|
-
|
307
298
|
msgid "Description"
|
308
299
|
msgstr "說明"
|
309
300
|
|
@@ -367,6 +358,9 @@ msgstr ""
|
|
367
358
|
msgid "Effective user password is only applicable for SSH provider. Other providers ignore this field. Password is stored encrypted in DB until the job finishes. For future or recurring executions, it is removed after the last execution."
|
368
359
|
msgstr ""
|
369
360
|
|
361
|
+
msgid "Effective user:"
|
362
|
+
msgstr ""
|
363
|
+
|
370
364
|
msgid "Enable Global Proxy"
|
371
365
|
msgstr ""
|
372
366
|
|
@@ -538,15 +532,9 @@ msgstr ""
|
|
538
532
|
msgid "Import"
|
539
533
|
msgstr "匯入"
|
540
534
|
|
541
|
-
msgid "Import Puppet classes"
|
542
|
-
msgstr "匯入 Puppet 類別"
|
543
|
-
|
544
535
|
msgid "Import a job template from ERB"
|
545
536
|
msgstr ""
|
546
537
|
|
547
|
-
msgid "Import facts"
|
548
|
-
msgstr "匯入詳情"
|
549
|
-
|
550
538
|
msgid "Include all inputs from the foreign template"
|
551
539
|
msgstr ""
|
552
540
|
|
@@ -625,6 +613,9 @@ msgstr "工作祈願"
|
|
625
613
|
msgid "Job invocations"
|
626
614
|
msgstr "工作祈願"
|
627
615
|
|
616
|
+
msgid "Job invocations detail"
|
617
|
+
msgstr ""
|
618
|
+
|
628
619
|
msgid "Job result"
|
629
620
|
msgstr ""
|
630
621
|
|
@@ -730,6 +721,9 @@ msgstr "永不"
|
|
730
721
|
msgid "New Job Template"
|
731
722
|
msgstr "新工作範本"
|
732
723
|
|
724
|
+
msgid "New UI"
|
725
|
+
msgstr ""
|
726
|
+
|
733
727
|
msgid "Next"
|
734
728
|
msgstr ""
|
735
729
|
|
@@ -757,6 +751,9 @@ msgstr "沒有範本定義至功能 %{feature_name}"
|
|
757
751
|
msgid "Not all required inputs have values. Missing inputs: %s"
|
758
752
|
msgstr "並不是所需的輸入都有值。缺少的輸入:%s"
|
759
753
|
|
754
|
+
msgid "Not yet"
|
755
|
+
msgstr ""
|
756
|
+
|
760
757
|
msgid "Now"
|
761
758
|
msgstr ""
|
762
759
|
|
@@ -997,6 +994,9 @@ msgstr "SSH 供應者特定選項"
|
|
997
994
|
msgid "SSH user"
|
998
995
|
msgstr ""
|
999
996
|
|
997
|
+
msgid "SSH user:"
|
998
|
+
msgstr ""
|
999
|
+
|
1000
1000
|
msgid "Schedule"
|
1001
1001
|
msgstr "排程"
|
1002
1002
|
|
@@ -1126,6 +1126,9 @@ msgstr ""
|
|
1126
1126
|
msgid "Started"
|
1127
1127
|
msgstr ""
|
1128
1128
|
|
1129
|
+
msgid "Started at:"
|
1130
|
+
msgstr ""
|
1131
|
+
|
1129
1132
|
msgid "Starts"
|
1130
1133
|
msgstr "起始"
|
1131
1134
|
|
@@ -1168,6 +1171,9 @@ msgstr "已成功"
|
|
1168
1171
|
msgid "Success"
|
1169
1172
|
msgstr "成功"
|
1170
1173
|
|
1174
|
+
msgid "Switch to the new job invocation detail UI"
|
1175
|
+
msgstr ""
|
1176
|
+
|
1171
1177
|
msgid "Sync Job Templates"
|
1172
1178
|
msgstr ""
|
1173
1179
|
|
@@ -1207,6 +1213,9 @@ msgstr "範本版本"
|
|
1207
1213
|
msgid "Template with id '%{id}' was not found"
|
1208
1214
|
msgstr "找不到 ID 為 '%{id}' 的範本"
|
1209
1215
|
|
1216
|
+
msgid "Template:"
|
1217
|
+
msgstr ""
|
1218
|
+
|
1210
1219
|
msgid "Templates list failed with:"
|
1211
1220
|
msgstr ""
|
1212
1221
|
|
@@ -39,7 +39,7 @@ module ForemanRemoteExecution
|
|
39
39
|
end
|
40
40
|
let(:action) do
|
41
41
|
create_action(Actions::RemoteExecution::RunHostsJob).tap do |action|
|
42
|
-
action.expects(:action_subject).with(job_invocation)
|
42
|
+
action.expects(:action_subject).with(job_invocation, job_features: [])
|
43
43
|
ForemanTasks::Task::DynflowTask.stubs(:where).returns(mock.tap { |m| m.stubs(:first! => task) })
|
44
44
|
end
|
45
45
|
end
|
@@ -11,23 +11,15 @@ class ApiParamsTest < ActiveSupport::TestCase
|
|
11
11
|
end
|
12
12
|
|
13
13
|
it 'honors explicitly supplied time zone' do
|
14
|
-
|
14
|
+
Time.use_zone(ActiveSupport::TimeZone['America/New_York']) do
|
15
15
|
assert_equal '2022-07-08 08:53', params.send(:format_datetime, '2022-07-08 12:53:20 UTC')
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
19
|
it 'implicitly honors current user\'s time zone' do
|
20
|
-
|
20
|
+
Time.use_zone(ActiveSupport::TimeZone['America/New_York']) do
|
21
21
|
assert_equal '2022-07-08 12:53', params.send(:format_datetime, '2022-07-08 12:53:20')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
25
|
-
|
26
|
-
def in_time_zone(zone)
|
27
|
-
old_tz = Time.zone
|
28
|
-
Time.zone = zone
|
29
|
-
yield
|
30
|
-
ensure
|
31
|
-
Time.zone = old_tz
|
32
|
-
end
|
33
25
|
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { get } from 'foremanReact/redux/API';
|
2
|
+
import {
|
3
|
+
withInterval,
|
4
|
+
stopInterval,
|
5
|
+
} from 'foremanReact/redux/middlewares/IntervalMiddleware';
|
6
|
+
import { JOB_INVOCATION_KEY } from './JobInvocationConstants';
|
7
|
+
|
8
|
+
export const getData = url => dispatch => {
|
9
|
+
const fetchData = withInterval(
|
10
|
+
get({
|
11
|
+
key: JOB_INVOCATION_KEY,
|
12
|
+
params: { include_permissions: true },
|
13
|
+
url,
|
14
|
+
handleError: () => {
|
15
|
+
dispatch(stopInterval(JOB_INVOCATION_KEY));
|
16
|
+
},
|
17
|
+
}),
|
18
|
+
1000
|
19
|
+
);
|
20
|
+
|
21
|
+
dispatch(fetchData);
|
22
|
+
};
|