foreman_rh_cloud 11.1.0 → 11.2.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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_rh_cloud/locale/en/foreman_rh_cloud.js +248 -161
  3. data/app/assets/javascripts/foreman_rh_cloud/locale/fr/foreman_rh_cloud.js +393 -306
  4. data/app/assets/javascripts/foreman_rh_cloud/locale/ja/foreman_rh_cloud.js +393 -306
  5. data/app/assets/javascripts/foreman_rh_cloud/locale/ka/foreman_rh_cloud.js +393 -306
  6. data/app/assets/javascripts/foreman_rh_cloud/locale/ko/foreman_rh_cloud.js +589 -0
  7. data/app/assets/javascripts/foreman_rh_cloud/locale/zh_CN/foreman_rh_cloud.js +393 -306
  8. data/app/controllers/insights_cloud/api/machine_telemetries_controller.rb +9 -1
  9. data/app/services/foreman_rh_cloud/cloud_request_forwarder.rb +4 -2
  10. data/app/services/foreman_rh_cloud/hits_uploader.rb +3 -8
  11. data/app/services/foreman_rh_cloud/rules_ingester.rb +61 -0
  12. data/app/services/foreman_rh_cloud/template_renderer_helper.rb +1 -1
  13. data/config/routes.rb +10 -4
  14. data/db/seeds.d/189_add_host_inventory_param.rb +7 -0
  15. data/lib/foreman_inventory_upload/async/upload_report_job.rb +1 -1
  16. data/lib/foreman_inventory_upload/generators/queries.rb +1 -1
  17. data/lib/foreman_rh_cloud/version.rb +1 -1
  18. data/lib/insights_cloud.rb +4 -0
  19. data/lib/tasks/insights.rake +10 -7
  20. data/lib/tasks/rh_cloud_inventory.rake +8 -3
  21. data/locale/Makefile +12 -2
  22. data/locale/en/LC_MESSAGES/foreman_rh_cloud.mo +0 -0
  23. data/locale/en/foreman_rh_cloud.po +111 -22
  24. data/locale/foreman_rh_cloud.pot +217 -96
  25. data/locale/fr/LC_MESSAGES/foreman_rh_cloud.mo +0 -0
  26. data/locale/fr/foreman_rh_cloud.po +106 -19
  27. data/locale/ja/LC_MESSAGES/foreman_rh_cloud.mo +0 -0
  28. data/locale/ja/foreman_rh_cloud.po +106 -19
  29. data/locale/ka/LC_MESSAGES/foreman_rh_cloud.mo +0 -0
  30. data/locale/ka/foreman_rh_cloud.po +106 -19
  31. data/locale/ko/LC_MESSAGES/foreman_rh_cloud.mo +0 -0
  32. data/locale/ko/foreman_rh_cloud.po +591 -0
  33. data/locale/zh_CN/LC_MESSAGES/foreman_rh_cloud.mo +0 -0
  34. data/locale/zh_CN/foreman_rh_cloud.po +106 -19
  35. data/package.json +1 -1
  36. data/test/unit/services/foreman_rh_cloud/cloud_request_forwarder_test.rb +24 -0
  37. data/test/unit/services/foreman_rh_cloud/hits_uploader_test.rb +13 -2
  38. data/test/unit/services/foreman_rh_cloud/rules_ingester_test.rb +60 -0
  39. data/test/unit/slice_generator_test.rb +24 -2
  40. data/webpack/InsightsCloudSync/Components/RemediationModal/RemediationModal.js +5 -1
  41. metadata +10 -3
@@ -14,7 +14,7 @@
14
14
  #
15
15
  msgid ""
16
16
  msgstr ""
17
- "Project-Id-Version: foreman_rh_cloud 1.0.0\n"
17
+ "Project-Id-Version: foreman_rh_cloud 11.1.0\n"
18
18
  "Report-Msgid-Bugs-To: \n"
19
19
  "PO-Revision-Date: 2023-01-20 13:26+0000\n"
20
20
  "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
@@ -27,8 +27,8 @@ msgstr ""
27
27
  "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 100000"
28
28
  "0 == 0 ? 1 : 2;\n"
29
29
 
30
- msgid " Sync inventory status"
31
- msgstr "Sync statuts inventaires"
30
+ msgid " Sync all inventory status"
31
+ msgstr ""
32
32
 
33
33
  msgid "%s organizations"
34
34
  msgstr "%s organisations"
@@ -93,12 +93,12 @@ msgstr "Terminé"
93
93
  msgid "Configure"
94
94
  msgstr "Configurer"
95
95
 
96
- msgid "Configure Cloud Connector"
97
- msgstr "Configurer le connecteur cloud"
98
-
99
96
  msgid "Configure Cloud Connector on given hosts"
100
97
  msgstr "Configurer Cloud Connector sur des hôtes donnés"
101
98
 
99
+ msgid "Configure cloud connector"
100
+ msgstr ""
101
+
102
102
  msgid "Connectivity test"
103
103
  msgstr "Test de connectivité"
104
104
 
@@ -159,6 +159,9 @@ msgstr "Exclure les paquets du téléchargement vers Red Hat Cloud"
159
159
  msgid "Exit Code: %s"
160
160
  msgstr "Code de sortie : %s"
161
161
 
162
+ msgid "Fetch Insights-related host details"
163
+ msgstr ""
164
+
162
165
  msgid "Fetching data about your accounts"
163
166
  msgstr "Récupérer des données sur vos comptes"
164
167
 
@@ -183,14 +186,17 @@ msgstr "Plugin Foreman qui traite et télécharge les données vers Red Hat Clou
183
186
  msgid "Full Screen"
184
187
  msgstr "Plein écran"
185
188
 
189
+ msgid "Generate and upload report"
190
+ msgstr ""
191
+
186
192
  msgid "Generate the report, but do not upload"
187
193
  msgstr ""
188
194
 
189
195
  msgid "Generating"
190
196
  msgstr "En cours de génération"
191
197
 
192
- msgid "Go to Satellite Insights page"
193
- msgstr "Aller à la page Satellite Insights"
198
+ msgid "Go to Foreman Insights page"
199
+ msgstr ""
194
200
 
195
201
  msgid "Go to first page"
196
202
  msgstr "Aller à la première page"
@@ -231,9 +237,6 @@ msgstr "Inclure des paramètres dans les rapports insights-clients"
231
237
  msgid "Insights"
232
238
  msgstr "Insights"
233
239
 
234
- msgid "Insights synchronization process is used to provide Insights recommendations output for hosts managed here."
235
- msgstr "Le processus de synchronisation Insights est utilisé pour fournir des recommandations Insights pour les hôtes gérés ici."
236
-
237
240
  msgid "Inventory"
238
241
  msgstr "Inventaire"
239
242
 
@@ -255,6 +258,9 @@ msgstr "Articles par page"
255
258
  msgid "Knowledgebase article"
256
259
  msgstr "Article de base de connaissances"
257
260
 
261
+ msgid "List of host UUIDs"
262
+ msgstr ""
263
+
258
264
  msgid "Loading"
259
265
  msgstr "Chargement"
260
266
 
@@ -357,8 +363,8 @@ msgstr "Recommandations sélectionnées : %s."
357
363
  msgid "Recommendations synced successfully"
358
364
  msgstr "Les recommandations ont été synchronisées"
359
365
 
360
- msgid "Reconfigure Cloud Connector"
361
- msgstr "Reconfigurer le connecteur cloud"
366
+ msgid "Reconfigure cloud connector"
367
+ msgstr ""
362
368
 
363
369
  msgid "Red Hat Cloud Inventory"
364
370
  msgstr "Inventaire Red Hat Cloud"
@@ -387,9 +393,6 @@ msgstr "Rapports"
387
393
  msgid "Resolution"
388
394
  msgstr "Résolution"
389
395
 
390
- msgid "Restart"
391
- msgstr "Redémarrer"
392
-
393
396
  msgid "Run RH Cloud playbook"
394
397
  msgstr "Exécuter le playbook RH Cloud"
395
398
 
@@ -420,6 +423,9 @@ msgstr "L'importation doit-elle inclure les balises de paramètres de Foreman ?"
420
423
  msgid "Show Advanced Settings"
421
424
  msgstr "Afficher les paramètres avancés"
422
425
 
426
+ msgid "Show if system is configured to use local iop-advisor-engine."
427
+ msgstr ""
428
+
423
429
  msgid "Start inventory synchronization"
424
430
  msgstr "Démarrer la synchronisation de l'inventaire"
425
431
 
@@ -441,15 +447,18 @@ msgstr "Recommandations de sync"
441
447
  msgid "Synchronize recommendations Automatically"
442
448
  msgstr "Synchroniser automatiquement les recommandations"
443
449
 
444
- msgid "The Red Hat Hybrid Cloud Console provides a set of cloud services, including Red Hat Insights and Subscriptions, that provide predictive analysis, remediation of issues, and unified subscription reporting for this Satellite instance."
450
+ msgid "The Foreman inventory upload plugin automatically uploads Foreman host inventory data to the Inventory service of Insights, where it can also be used by the Subscriptions service for subscription reporting. If you use the Subscriptions service, enabling inventory uploads is required."
445
451
  msgstr ""
446
452
 
447
- msgid "The Satellite inventory upload plugin automatically uploads Satellite host inventory data to the Inventory service of Insights, where it can also be used by the Subscriptions service for subscription reporting. If you use the Subscriptions service, enabling inventory uploads is required."
453
+ msgid "The Red Hat Hybrid Cloud Console provides a set of cloud services, including Red Hat Insights and Subscriptions, that provide predictive analysis, remediation of issues, and unified subscription reporting for this Foreman instance."
448
454
  msgstr ""
449
455
 
450
456
  msgid "The report file %{filename} doesn't exist"
451
457
  msgstr "Le fichier de rapport %{filename} n'existe pas"
452
458
 
459
+ msgid "The scheduled process is disabled because this Foreman is configured with the use_local_advisor_engine option."
460
+ msgstr ""
461
+
453
462
  msgid "The server returned the following error: %s"
454
463
  msgstr "Le serveur a renvoyé l'erreur suivante : %s"
455
464
 
@@ -462,7 +471,7 @@ msgstr ""
462
471
  msgid "This action will also enable automatic reports upload"
463
472
  msgstr "Cette action permettra également le téléchargement automatique des rapports"
464
473
 
465
- msgid "To enable this reporting for all Satellite organizations, set {uploadButtonName} to on. The data will be reported automatically once per day."
474
+ msgid "To enable this reporting for all Foreman organizations, set {uploadButtonName} to on. The data will be reported automatically once per day."
466
475
  msgstr ""
467
476
 
468
477
  msgid "To manually upload the data for a specific organization, select an organization and click {restartButtonName}."
@@ -474,6 +483,15 @@ msgstr "Risque total"
474
483
  msgid "Total risks"
475
484
  msgstr "Risques totaux"
476
485
 
486
+ msgid "Upload hits from iop-advisor-engine"
487
+ msgstr ""
488
+
489
+ msgid "Upload hits information"
490
+ msgstr ""
491
+
492
+ msgid "Upload rules related to the hits"
493
+ msgstr ""
494
+
477
495
  msgid "Uploading"
478
496
  msgstr "Téléchargement"
479
497
 
@@ -489,18 +507,87 @@ msgstr "Afficher Red Hat Insights."
489
507
  msgid "Wait and %s"
490
508
  msgstr "Attendez et %s"
491
509
 
510
+ msgid "Whether the resolution requires reboot"
511
+ msgstr ""
512
+
513
+ msgid "category name"
514
+ msgstr ""
515
+
516
+ msgid "generic"
517
+ msgstr ""
518
+
492
519
  msgid "hosts page"
493
520
  msgstr "page hôtes"
494
521
 
522
+ msgid "impact name"
523
+ msgstr ""
524
+
525
+ msgid "iop payload including resolutions, rules, hits"
526
+ msgstr ""
527
+
495
528
  msgid "items"
496
529
  msgstr "articles"
497
530
 
531
+ msgid "likelihood number"
532
+ msgstr ""
533
+
534
+ msgid "more info"
535
+ msgstr ""
536
+
498
537
  msgid "page"
499
538
  msgstr "page"
500
539
 
501
540
  msgid "per page"
502
541
  msgstr "par page"
503
542
 
543
+ msgid "publish date (YYYY-MM-DD)"
544
+ msgstr ""
545
+
546
+ msgid "rating"
547
+ msgstr ""
548
+
549
+ msgid "reason"
550
+ msgstr ""
551
+
552
+ msgid "reboot required"
553
+ msgstr ""
554
+
555
+ msgid "resolution description"
556
+ msgstr ""
557
+
558
+ msgid "resolution risk"
559
+ msgstr ""
560
+
561
+ msgid "result url"
562
+ msgstr ""
563
+
564
+ msgid "rule description"
565
+ msgstr ""
566
+
567
+ msgid "rule id"
568
+ msgstr ""
569
+
570
+ msgid "rule title"
571
+ msgstr ""
572
+
573
+ msgid "solution url"
574
+ msgstr ""
575
+
576
+ msgid "summary"
577
+ msgstr ""
578
+
579
+ msgid "total risk"
580
+ msgstr ""
581
+
582
+ msgid "type"
583
+ msgstr ""
584
+
585
+ msgid "upload hits details json"
586
+ msgstr ""
587
+
588
+ msgid "upload resolutions related to the hits"
589
+ msgstr ""
590
+
504
591
  msgid "view the job in progress"
505
592
  msgstr "visualiser job en cours"
506
593
 
@@ -8,7 +8,7 @@
8
8
  #
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: foreman_rh_cloud 1.0.0\n"
11
+ "Project-Id-Version: foreman_rh_cloud 11.1.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
13
  "PO-Revision-Date: 2023-01-20 13:26+0000\n"
14
14
  "Last-Translator: Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarde"
@@ -20,8 +20,8 @@ msgstr ""
20
20
  "Language: ja\n"
21
21
  "Plural-Forms: nplurals=1; plural=0;\n"
22
22
 
23
- msgid " Sync inventory status"
24
- msgstr " インベントリーステータスの同期"
23
+ msgid " Sync all inventory status"
24
+ msgstr ""
25
25
 
26
26
  msgid "%s organizations"
27
27
  msgstr "組織 %s 件"
@@ -86,12 +86,12 @@ msgstr "完了"
86
86
  msgid "Configure"
87
87
  msgstr "設定"
88
88
 
89
- msgid "Configure Cloud Connector"
90
- msgstr "Cloud Connector の設定"
91
-
92
89
  msgid "Configure Cloud Connector on given hosts"
93
90
  msgstr "特定のホストで Cloud Connector を設定します。"
94
91
 
92
+ msgid "Configure cloud connector"
93
+ msgstr ""
94
+
95
95
  msgid "Connectivity test"
96
96
  msgstr "接続性テスト"
97
97
 
@@ -152,6 +152,9 @@ msgstr "パッケージが Red Hat クラウドにアップロードされない
152
152
  msgid "Exit Code: %s"
153
153
  msgstr "終了コード: %s"
154
154
 
155
+ msgid "Fetch Insights-related host details"
156
+ msgstr ""
157
+
155
158
  msgid "Fetching data about your accounts"
156
159
  msgstr "アカウントに関するデータの取得"
157
160
 
@@ -176,14 +179,17 @@ msgstr "データを処理して Red Hat Cloud にアップロードする Forem
176
179
  msgid "Full Screen"
177
180
  msgstr "全画面"
178
181
 
182
+ msgid "Generate and upload report"
183
+ msgstr ""
184
+
179
185
  msgid "Generate the report, but do not upload"
180
186
  msgstr ""
181
187
 
182
188
  msgid "Generating"
183
189
  msgstr "生成中"
184
190
 
185
- msgid "Go to Satellite Insights page"
186
- msgstr "Satellite Insights ページに移動する"
191
+ msgid "Go to Foreman Insights page"
192
+ msgstr ""
187
193
 
188
194
  msgid "Go to first page"
189
195
  msgstr "最初のページに移動"
@@ -224,9 +230,6 @@ msgstr "Insights クライアントレポートにパラメーターを含める
224
230
  msgid "Insights"
225
231
  msgstr "Insights"
226
232
 
227
- msgid "Insights synchronization process is used to provide Insights recommendations output for hosts managed here."
228
- msgstr "Insights の同期プロセスを使用して、ここで管理するホストに対して Insights の推奨事項の出力を提供します。"
229
-
230
233
  msgid "Inventory"
231
234
  msgstr "インベントリー"
232
235
 
@@ -248,6 +251,9 @@ msgstr "各ページの項目"
248
251
  msgid "Knowledgebase article"
249
252
  msgstr "ナレッジベースアーティクル"
250
253
 
254
+ msgid "List of host UUIDs"
255
+ msgstr ""
256
+
251
257
  msgid "Loading"
252
258
  msgstr "ロード中"
253
259
 
@@ -350,8 +356,8 @@ msgstr "選択済みの推奨事項: %s 件"
350
356
  msgid "Recommendations synced successfully"
351
357
  msgstr "推奨事項が正常に同期されました"
352
358
 
353
- msgid "Reconfigure Cloud Connector"
354
- msgstr "Cloud Connector の再設定"
359
+ msgid "Reconfigure cloud connector"
360
+ msgstr ""
355
361
 
356
362
  msgid "Red Hat Cloud Inventory"
357
363
  msgstr "Red Hat Cloud インベントリー"
@@ -380,9 +386,6 @@ msgstr "レポート"
380
386
  msgid "Resolution"
381
387
  msgstr "解決策"
382
388
 
383
- msgid "Restart"
384
- msgstr "再起動"
385
-
386
389
  msgid "Run RH Cloud playbook"
387
390
  msgstr "RH Cloud Playbook の実行"
388
391
 
@@ -413,6 +416,9 @@ msgstr "インポートには Foreman からのパラメータータグを含め
413
416
  msgid "Show Advanced Settings"
414
417
  msgstr "詳細設定の表示"
415
418
 
419
+ msgid "Show if system is configured to use local iop-advisor-engine."
420
+ msgstr ""
421
+
416
422
  msgid "Start inventory synchronization"
417
423
  msgstr "インベントリー同期の開始"
418
424
 
@@ -434,15 +440,18 @@ msgstr "同期の推奨事項"
434
440
  msgid "Synchronize recommendations Automatically"
435
441
  msgstr "推奨事項を自動的に同期する"
436
442
 
437
- msgid "The Red Hat Hybrid Cloud Console provides a set of cloud services, including Red Hat Insights and Subscriptions, that provide predictive analysis, remediation of issues, and unified subscription reporting for this Satellite instance."
443
+ msgid "The Foreman inventory upload plugin automatically uploads Foreman host inventory data to the Inventory service of Insights, where it can also be used by the Subscriptions service for subscription reporting. If you use the Subscriptions service, enabling inventory uploads is required."
438
444
  msgstr ""
439
445
 
440
- msgid "The Satellite inventory upload plugin automatically uploads Satellite host inventory data to the Inventory service of Insights, where it can also be used by the Subscriptions service for subscription reporting. If you use the Subscriptions service, enabling inventory uploads is required."
446
+ msgid "The Red Hat Hybrid Cloud Console provides a set of cloud services, including Red Hat Insights and Subscriptions, that provide predictive analysis, remediation of issues, and unified subscription reporting for this Foreman instance."
441
447
  msgstr ""
442
448
 
443
449
  msgid "The report file %{filename} doesn't exist"
444
450
  msgstr "%{filename} レポートファイルがありません"
445
451
 
452
+ msgid "The scheduled process is disabled because this Foreman is configured with the use_local_advisor_engine option."
453
+ msgstr ""
454
+
446
455
  msgid "The server returned the following error: %s"
447
456
  msgstr "サーバーは以下のエラーを返しました: %s"
448
457
 
@@ -455,7 +464,7 @@ msgstr ""
455
464
  msgid "This action will also enable automatic reports upload"
456
465
  msgstr "このアクションを実行すると、自動レポートのアップロードも有効になります。"
457
466
 
458
- msgid "To enable this reporting for all Satellite organizations, set {uploadButtonName} to on. The data will be reported automatically once per day."
467
+ msgid "To enable this reporting for all Foreman organizations, set {uploadButtonName} to on. The data will be reported automatically once per day."
459
468
  msgstr ""
460
469
 
461
470
  msgid "To manually upload the data for a specific organization, select an organization and click {restartButtonName}."
@@ -467,6 +476,15 @@ msgstr "リスクの総数"
467
476
  msgid "Total risks"
468
477
  msgstr "リスクの総数"
469
478
 
479
+ msgid "Upload hits from iop-advisor-engine"
480
+ msgstr ""
481
+
482
+ msgid "Upload hits information"
483
+ msgstr ""
484
+
485
+ msgid "Upload rules related to the hits"
486
+ msgstr ""
487
+
470
488
  msgid "Uploading"
471
489
  msgstr "アップロード中..."
472
490
 
@@ -482,18 +500,87 @@ msgstr "Red Hat Insights での表示"
482
500
  msgid "Wait and %s"
483
501
  msgstr "待機して %s"
484
502
 
503
+ msgid "Whether the resolution requires reboot"
504
+ msgstr ""
505
+
506
+ msgid "category name"
507
+ msgstr ""
508
+
509
+ msgid "generic"
510
+ msgstr ""
511
+
485
512
  msgid "hosts page"
486
513
  msgstr "ホストページ"
487
514
 
515
+ msgid "impact name"
516
+ msgstr ""
517
+
518
+ msgid "iop payload including resolutions, rules, hits"
519
+ msgstr ""
520
+
488
521
  msgid "items"
489
522
  msgstr "項目"
490
523
 
524
+ msgid "likelihood number"
525
+ msgstr ""
526
+
527
+ msgid "more info"
528
+ msgstr ""
529
+
491
530
  msgid "page"
492
531
  msgstr "ページ"
493
532
 
494
533
  msgid "per page"
495
534
  msgstr "/ページ"
496
535
 
536
+ msgid "publish date (YYYY-MM-DD)"
537
+ msgstr ""
538
+
539
+ msgid "rating"
540
+ msgstr ""
541
+
542
+ msgid "reason"
543
+ msgstr ""
544
+
545
+ msgid "reboot required"
546
+ msgstr ""
547
+
548
+ msgid "resolution description"
549
+ msgstr ""
550
+
551
+ msgid "resolution risk"
552
+ msgstr ""
553
+
554
+ msgid "result url"
555
+ msgstr ""
556
+
557
+ msgid "rule description"
558
+ msgstr ""
559
+
560
+ msgid "rule id"
561
+ msgstr ""
562
+
563
+ msgid "rule title"
564
+ msgstr ""
565
+
566
+ msgid "solution url"
567
+ msgstr ""
568
+
569
+ msgid "summary"
570
+ msgstr ""
571
+
572
+ msgid "total risk"
573
+ msgstr ""
574
+
575
+ msgid "type"
576
+ msgstr ""
577
+
578
+ msgid "upload hits details json"
579
+ msgstr ""
580
+
581
+ msgid "upload resolutions related to the hits"
582
+ msgstr ""
583
+
497
584
  msgid "view the job in progress"
498
585
  msgstr "処理中のジョブを表示する"
499
586