foreman_scc_manager 1.8.10 → 1.8.16
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 +4 -4
- data/README.md +18 -10
- data/Rakefile +5 -9
- data/app/controllers/api/v2/scc_products_controller.rb +14 -3
- data/app/controllers/scc_accounts_controller.rb +7 -3
- data/app/lib/actions/scc_manager/subscribe_product.rb +5 -1
- data/app/lib/scc_manager.rb +5 -9
- data/app/models/scc_account.rb +6 -6
- data/app/models/scc_repository.rb +2 -2
- data/config/routes.rb +1 -1
- data/db/migrate/20201119084201_add_gpg_key_to_scc_account.rb +6 -2
- data/db/migrate/20210713092440_add_permissions.rb +8 -8
- data/lib/foreman_scc_manager/engine.rb +22 -4
- data/lib/foreman_scc_manager/version.rb +1 -1
- data/test/actions/sync_test.rb +24 -0
- data/test/controllers/api/v2/scc_products_test.rb +21 -1
- data/test/fixtures/models/scc_products.yml +18 -3
- data/test/models/scc_product_test.rb +1 -1
- data/test/test_plugin_helper.rb +2 -0
- metadata +16 -20
- data/locale/de/foreman_scc_manager.edit.po +0 -574
- data/locale/de/foreman_scc_manager.po.time_stamp +0 -0
- data/locale/en/foreman_scc_manager.edit.po +0 -566
- data/locale/en/foreman_scc_manager.po.time_stamp +0 -0
- data/test/controllers/scc_accounts_controller_test2.rb +0 -51
- data/test/fixtures/models/scc_extendings.yml +0 -6
- data/test/test_controller_helper.rb +0 -15
- data/test/unit/access_permissions_test.rb +0 -16
@@ -1,566 +0,0 @@
|
|
1
|
-
# English translations for foreman_scc_manager package.
|
2
|
-
# Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the foreman_scc_manager package.
|
4
|
-
# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
|
5
|
-
#
|
6
|
-
msgid ""
|
7
|
-
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_scc_manager 1.7.0\n"
|
9
|
-
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"PO-Revision-Date: 2017-04-24 12:30+0000\n"
|
11
|
-
"Last-Translator: ATIX AG <info@atix.de>\n"
|
12
|
-
"Language-Team: English\n"
|
13
|
-
"Language: en\n"
|
14
|
-
"MIME-Version: 1.0\n"
|
15
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
16
|
-
"Content-Transfer-Encoding: 8bit\n"
|
17
|
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
18
|
-
"\n"
|
19
|
-
|
20
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:15
|
21
|
-
msgid "List all scc_accounts"
|
22
|
-
msgstr ""
|
23
|
-
|
24
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:24
|
25
|
-
msgid "Show scc_account"
|
26
|
-
msgstr ""
|
27
|
-
|
28
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:32
|
29
|
-
msgid "Name of the scc_account"
|
30
|
-
msgstr ""
|
31
|
-
|
32
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:33 ../app/controllers/api/v2/scc_accounts_controller.rb:65
|
33
|
-
msgid "Login id of scc_account"
|
34
|
-
msgstr ""
|
35
|
-
|
36
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:34 ../app/controllers/api/v2/scc_accounts_controller.rb:66
|
37
|
-
msgid "Password of scc_account"
|
38
|
-
msgstr ""
|
39
|
-
|
40
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:35 ../app/controllers/api/v2/scc_accounts_controller.rb:67
|
41
|
-
msgid "URL of SUSE for scc_account"
|
42
|
-
msgstr ""
|
43
|
-
|
44
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:36
|
45
|
-
msgid "Interval for syncing scc_account"
|
46
|
-
msgstr ""
|
47
|
-
|
48
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:37
|
49
|
-
msgid "Date and time relative to which the sync interval is run"
|
50
|
-
msgstr ""
|
51
|
-
|
52
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:38
|
53
|
-
msgid "Associated gpg key of scc_account"
|
54
|
-
msgstr ""
|
55
|
-
|
56
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:42
|
57
|
-
msgid "Create an scc_account"
|
58
|
-
msgstr ""
|
59
|
-
|
60
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:49
|
61
|
-
msgid "Update scc_account"
|
62
|
-
msgstr ""
|
63
|
-
|
64
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:56
|
65
|
-
msgid "Delete scc_account"
|
66
|
-
msgstr ""
|
67
|
-
|
68
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:62 ../app/controllers/api/v2/scc_accounts_controller.rb:63
|
69
|
-
msgid "Test connection for scc_account"
|
70
|
-
msgstr ""
|
71
|
-
|
72
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:90
|
73
|
-
msgid "Sync scc_account"
|
74
|
-
msgstr ""
|
75
|
-
|
76
|
-
#: ../app/controllers/api/v2/scc_accounts_controller.rb:104
|
77
|
-
msgid "Bulk subscription of scc_products for scc_account"
|
78
|
-
msgstr ""
|
79
|
-
|
80
|
-
#: ../app/controllers/api/v2/scc_products_controller.rb:15
|
81
|
-
msgid "List all products for scc_account"
|
82
|
-
msgstr ""
|
83
|
-
|
84
|
-
#: ../app/controllers/api/v2/scc_products_controller.rb:24
|
85
|
-
msgid "Show an scc_account product"
|
86
|
-
msgstr ""
|
87
|
-
|
88
|
-
#: ../app/controllers/api/v2/scc_products_controller.rb:29
|
89
|
-
msgid "Subscribe product"
|
90
|
-
msgstr ""
|
91
|
-
|
92
|
-
#: ../app/controllers/scc_accounts_controller.rb:71
|
93
|
-
msgid "Sync task started."
|
94
|
-
msgstr "Sync task started."
|
95
|
-
|
96
|
-
#: ../app/controllers/scc_accounts_controller.rb:73 ../app/controllers/scc_accounts_controller.rb:93
|
97
|
-
msgid "Failed to add task to queue: %s"
|
98
|
-
msgstr "Failed to add task to queue: %s"
|
99
|
-
|
100
|
-
#: ../app/controllers/scc_accounts_controller.rb:75 ../app/controllers/scc_accounts_controller.rb:95
|
101
|
-
msgid "Lock on SCC account already taken: %s"
|
102
|
-
msgstr "Lock on SCC account already taken: %s"
|
103
|
-
|
104
|
-
#: ../app/controllers/scc_accounts_controller.rb:88
|
105
|
-
msgid "Task to subscribe products started."
|
106
|
-
msgstr ""
|
107
|
-
|
108
|
-
#: ../app/controllers/scc_accounts_controller.rb:90
|
109
|
-
msgid "No products selected."
|
110
|
-
msgstr ""
|
111
|
-
|
112
|
-
#: ../app/lib/actions/scc_manager/subscribe_product.rb:5
|
113
|
-
msgid "Product already subscribed!"
|
114
|
-
msgstr "Product already subscribed!"
|
115
|
-
|
116
|
-
#: ../app/lib/actions/scc_manager/subscribe_product.rb:46 action_names.rb:5
|
117
|
-
msgid "Subscribe SCC Product"
|
118
|
-
msgstr "Subscribe SCC Product"
|
119
|
-
|
120
|
-
#: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:4
|
121
|
-
msgid "Sync SUSE subscriptions"
|
122
|
-
msgstr "Sync SUSE subscriptions"
|
123
|
-
|
124
|
-
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
|
125
|
-
msgid "Update SUSE repositories %s"
|
126
|
-
msgstr ""
|
127
|
-
|
128
|
-
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
|
129
|
-
msgid "Unknown"
|
130
|
-
msgstr ""
|
131
|
-
|
132
|
-
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:33 action_names.rb:9
|
133
|
-
msgid "Update SUSE repositories"
|
134
|
-
msgstr ""
|
135
|
-
|
136
|
-
#: ../app/lib/actions/scc_manager/sync_products.rb:36 action_names.rb:3
|
137
|
-
msgid "Sync SUSE subscriptions (Products)"
|
138
|
-
msgstr "Sync SUSE subscriptions (Products)"
|
139
|
-
|
140
|
-
#: ../app/lib/actions/scc_manager/sync_repositories.rb:34 action_names.rb:2
|
141
|
-
msgid "Sync SUSE subscriptions (Repositories)"
|
142
|
-
msgstr "Sync SUSE subscriptions (Repositories)"
|
143
|
-
|
144
|
-
#: ../app/models/scc_account.rb:62
|
145
|
-
msgid "never synced"
|
146
|
-
msgstr ""
|
147
|
-
|
148
|
-
#: ../app/models/scc_account.rb:109
|
149
|
-
msgid "Interval cannot be nil"
|
150
|
-
msgstr ""
|
151
|
-
|
152
|
-
#: ../app/models/scc_account.rb:116
|
153
|
-
msgid "Interval not set correctly"
|
154
|
-
msgstr ""
|
155
|
-
|
156
|
-
#: ../app/models/scc_account.rb:121
|
157
|
-
msgid "Cron expression is not valid!"
|
158
|
-
msgstr ""
|
159
|
-
|
160
|
-
#: ../app/models/scc_account_sync_plan_task_group.rb:5
|
161
|
-
msgid "SUSE Subscription"
|
162
|
-
msgstr ""
|
163
|
-
|
164
|
-
#: ../app/views/scc_account_sync_plan_task_groups/_scc_account_sync_plan_task_groups.html.erb:1
|
165
|
-
msgid "SUSE Subscription: "
|
166
|
-
msgstr ""
|
167
|
-
|
168
|
-
#: ../app/views/scc_accounts/_form.html.erb:7
|
169
|
-
msgid "SUSE Customer Center account"
|
170
|
-
msgstr "SUSE Customer Center account"
|
171
|
-
|
172
|
-
#: ../app/views/scc_accounts/_form.html.erb:14
|
173
|
-
msgid "Use your 'Organization credentials' obtained from the SUSE Customer Center."
|
174
|
-
msgstr ""
|
175
|
-
|
176
|
-
#: ../app/views/scc_accounts/_form.html.erb:16
|
177
|
-
msgid "Base URL"
|
178
|
-
msgstr "Base URL"
|
179
|
-
|
180
|
-
#: ../app/views/scc_accounts/_form.html.erb:18
|
181
|
-
msgid "Sync interval"
|
182
|
-
msgstr ""
|
183
|
-
|
184
|
-
#: ../app/views/scc_accounts/_form.html.erb:18
|
185
|
-
msgid "The sync interval is used to periodically update the SCC authentication tokens of any imported products."
|
186
|
-
msgstr ""
|
187
|
-
|
188
|
-
#: ../app/views/scc_accounts/_form.html.erb:19
|
189
|
-
msgid "Sync Date"
|
190
|
-
msgstr ""
|
191
|
-
|
192
|
-
#: ../app/views/scc_accounts/_form.html.erb:23
|
193
|
-
msgid "None"
|
194
|
-
msgstr ""
|
195
|
-
|
196
|
-
#: ../app/views/scc_accounts/_form.html.erb:24
|
197
|
-
msgid "Use GPG key for SUSE products"
|
198
|
-
msgstr ""
|
199
|
-
|
200
|
-
#: ../app/views/scc_accounts/_form.html.erb:26
|
201
|
-
msgid "Use this setting if you want to automatically add a GPG key to your SUSE products upon subscription. You can change this setting in the 'Content' > 'Products' menu, later."
|
202
|
-
msgstr ""
|
203
|
-
|
204
|
-
#: ../app/views/scc_accounts/_form.html.erb:31
|
205
|
-
msgid "Test Connection"
|
206
|
-
msgstr "Test Connection"
|
207
|
-
|
208
|
-
#: ../app/views/scc_accounts/edit.html.erb:1
|
209
|
-
msgid "Edit %s"
|
210
|
-
msgstr ""
|
211
|
-
|
212
|
-
#: ../app/views/scc_accounts/index.html.erb:2
|
213
|
-
msgid "SUSE subscriptions"
|
214
|
-
msgstr "SUSE subscriptions"
|
215
|
-
|
216
|
-
#: ../app/views/scc_accounts/index.html.erb:3
|
217
|
-
msgid "Add SCC account"
|
218
|
-
msgstr "Add SCC account"
|
219
|
-
|
220
|
-
#: ../app/views/scc_accounts/index.html.erb:9
|
221
|
-
msgid "Products"
|
222
|
-
msgstr ""
|
223
|
-
|
224
|
-
#: ../app/views/scc_accounts/index.html.erb:10
|
225
|
-
msgid "Last synced"
|
226
|
-
msgstr "Last synced"
|
227
|
-
|
228
|
-
#: ../app/views/scc_accounts/index.html.erb:11
|
229
|
-
msgid "Actions"
|
230
|
-
msgstr ""
|
231
|
-
|
232
|
-
#: ../app/views/scc_accounts/index.html.erb:24
|
233
|
-
msgid "Select products"
|
234
|
-
msgstr ""
|
235
|
-
|
236
|
-
#: ../app/views/scc_accounts/index.html.erb:25
|
237
|
-
msgid "Sync"
|
238
|
-
msgstr "Sync"
|
239
|
-
|
240
|
-
#: ../app/views/scc_accounts/index.html.erb:28
|
241
|
-
msgid "Delete %s?"
|
242
|
-
msgstr ""
|
243
|
-
|
244
|
-
#: ../app/views/scc_accounts/new.html.erb:1
|
245
|
-
msgid "Add SUSE Customer Center Account"
|
246
|
-
msgstr "Add SUSE Customer Center Account"
|
247
|
-
|
248
|
-
#: ../app/views/scc_accounts/show.html.erb:1
|
249
|
-
msgid "Product Selection for Account %s"
|
250
|
-
msgstr ""
|
251
|
-
|
252
|
-
#: ../app/views/scc_accounts/show.html.erb:17
|
253
|
-
msgid "(WARNING: Please check your SUSE subscription)"
|
254
|
-
msgstr ""
|
255
|
-
|
256
|
-
#: ../app/views/scc_accounts/show.html.erb:33
|
257
|
-
msgid "SUSE Customer Center"
|
258
|
-
msgstr "SUSE Customer Center"
|
259
|
-
|
260
|
-
#: ../app/views/scc_accounts/show.html.erb:44
|
261
|
-
msgid "Please sync your SUSE subscriptions first."
|
262
|
-
msgstr "Please sync your SUSE subscriptions first."
|
263
|
-
|
264
|
-
#: ../lib/foreman_scc_manager/engine.rb:77
|
265
|
-
msgid "SUSE Subscriptions"
|
266
|
-
msgstr "SUSE Subscriptions"
|
267
|
-
|
268
|
-
#: action_names.rb:6
|
269
|
-
msgid "Action with sub plans"
|
270
|
-
msgstr ""
|
271
|
-
|
272
|
-
#: action_names.rb:7
|
273
|
-
msgid "Import facts"
|
274
|
-
msgstr ""
|
275
|
-
|
276
|
-
#: action_names.rb:8
|
277
|
-
msgid "Import Puppet classes"
|
278
|
-
msgstr ""
|
279
|
-
|
280
|
-
#: action_names.rb:10
|
281
|
-
msgid "Abstract async task"
|
282
|
-
msgstr ""
|
283
|
-
|
284
|
-
#: action_names.rb:11
|
285
|
-
msgid "Export"
|
286
|
-
msgstr ""
|
287
|
-
|
288
|
-
#: action_names.rb:12
|
289
|
-
msgid "Import"
|
290
|
-
msgstr ""
|
291
|
-
|
292
|
-
#: action_names.rb:13
|
293
|
-
msgid "Copy version units to library"
|
294
|
-
msgstr ""
|
295
|
-
|
296
|
-
#: action_names.rb:14
|
297
|
-
msgid "Create"
|
298
|
-
msgstr ""
|
299
|
-
|
300
|
-
#: action_names.rb:15
|
301
|
-
msgid "Delete Activation Key"
|
302
|
-
msgstr ""
|
303
|
-
|
304
|
-
#: action_names.rb:16
|
305
|
-
msgid "Update"
|
306
|
-
msgstr ""
|
307
|
-
|
308
|
-
#: action_names.rb:17
|
309
|
-
msgid "Generate host applicability"
|
310
|
-
msgstr ""
|
311
|
-
|
312
|
-
#: action_names.rb:18
|
313
|
-
msgid "Bulk generate applicability for hosts"
|
314
|
-
msgstr ""
|
315
|
-
|
316
|
-
#: action_names.rb:19
|
317
|
-
msgid "Generate repository applicability"
|
318
|
-
msgstr ""
|
319
|
-
|
320
|
-
#: action_names.rb:20
|
321
|
-
msgid "Synchronize smart proxy"
|
322
|
-
msgstr ""
|
323
|
-
|
324
|
-
#: action_names.rb:21
|
325
|
-
msgid "Sync capsule"
|
326
|
-
msgstr ""
|
327
|
-
|
328
|
-
#: action_names.rb:22
|
329
|
-
msgid "Delete"
|
330
|
-
msgstr ""
|
331
|
-
|
332
|
-
#: action_names.rb:23
|
333
|
-
msgid "Errata mail"
|
334
|
-
msgstr ""
|
335
|
-
|
336
|
-
#: action_names.rb:24
|
337
|
-
msgid "Incremental Update of Content View Version(s) "
|
338
|
-
msgstr ""
|
339
|
-
|
340
|
-
#: action_names.rb:25
|
341
|
-
msgid "Promote"
|
342
|
-
msgstr ""
|
343
|
-
|
344
|
-
#: action_names.rb:26
|
345
|
-
msgid "Promotion to Environment"
|
346
|
-
msgstr ""
|
347
|
-
|
348
|
-
#: action_names.rb:27
|
349
|
-
msgid "Publish"
|
350
|
-
msgstr ""
|
351
|
-
|
352
|
-
#: action_names.rb:28
|
353
|
-
msgid "Remove Versions and Associations"
|
354
|
-
msgstr ""
|
355
|
-
|
356
|
-
#: action_names.rb:29
|
357
|
-
msgid "Remove from Environment"
|
358
|
-
msgstr ""
|
359
|
-
|
360
|
-
#: action_names.rb:30
|
361
|
-
msgid "Remove Version"
|
362
|
-
msgstr ""
|
363
|
-
|
364
|
-
#: action_names.rb:31
|
365
|
-
msgid "Auto attach subscriptions"
|
366
|
-
msgstr ""
|
367
|
-
|
368
|
-
#: action_names.rb:32
|
369
|
-
msgid "Destroy Content Host"
|
370
|
-
msgstr ""
|
371
|
-
|
372
|
-
#: action_names.rb:33
|
373
|
-
msgid "Install Applicable Errata"
|
374
|
-
msgstr ""
|
375
|
-
|
376
|
-
#: action_names.rb:34
|
377
|
-
msgid "Install erratum"
|
378
|
-
msgstr ""
|
379
|
-
|
380
|
-
#: action_names.rb:35
|
381
|
-
msgid "Hypervisors"
|
382
|
-
msgstr ""
|
383
|
-
|
384
|
-
#: action_names.rb:36
|
385
|
-
msgid "Import Content View Version"
|
386
|
-
msgstr ""
|
387
|
-
|
388
|
-
#: action_names.rb:37
|
389
|
-
msgid "Incremental Update"
|
390
|
-
msgstr ""
|
391
|
-
|
392
|
-
#: action_names.rb:38
|
393
|
-
msgid "Republish Version Repositories"
|
394
|
-
msgstr ""
|
395
|
-
|
396
|
-
#: action_names.rb:39
|
397
|
-
msgid "Delete Lifecycle Environment"
|
398
|
-
msgstr ""
|
399
|
-
|
400
|
-
#: action_names.rb:40
|
401
|
-
msgid "Publish Lifecycle Environment Repositories"
|
402
|
-
msgstr ""
|
403
|
-
|
404
|
-
#: action_names.rb:41
|
405
|
-
msgid "Attach subscriptions"
|
406
|
-
msgstr ""
|
407
|
-
|
408
|
-
#: action_names.rb:42
|
409
|
-
msgid "Remove subscriptions"
|
410
|
-
msgstr ""
|
411
|
-
|
412
|
-
#: action_names.rb:43
|
413
|
-
msgid "Update Content Overrides"
|
414
|
-
msgstr ""
|
415
|
-
|
416
|
-
#: action_names.rb:44
|
417
|
-
msgid "Hypervisors update"
|
418
|
-
msgstr ""
|
419
|
-
|
420
|
-
#: action_names.rb:45
|
421
|
-
msgid "Install package"
|
422
|
-
msgstr ""
|
423
|
-
|
424
|
-
#: action_names.rb:46
|
425
|
-
msgid "Remove package"
|
426
|
-
msgstr ""
|
427
|
-
|
428
|
-
#: action_names.rb:47
|
429
|
-
msgid "Update package"
|
430
|
-
msgstr ""
|
431
|
-
|
432
|
-
#: action_names.rb:48
|
433
|
-
msgid "Install package group"
|
434
|
-
msgstr ""
|
435
|
-
|
436
|
-
#: action_names.rb:49
|
437
|
-
msgid "Remove package group"
|
438
|
-
msgstr ""
|
439
|
-
|
440
|
-
#: action_names.rb:50
|
441
|
-
msgid "Updating System Purpose for host"
|
442
|
-
msgstr ""
|
443
|
-
|
444
|
-
#: action_names.rb:51
|
445
|
-
msgid "Package Profile Update"
|
446
|
-
msgstr ""
|
447
|
-
|
448
|
-
#: action_names.rb:52
|
449
|
-
msgid "Update for host"
|
450
|
-
msgstr ""
|
451
|
-
|
452
|
-
#: action_names.rb:53
|
453
|
-
msgid "Update release version for host"
|
454
|
-
msgstr ""
|
455
|
-
|
456
|
-
#: action_names.rb:54
|
457
|
-
msgid "Combined Profile Update"
|
458
|
-
msgstr ""
|
459
|
-
|
460
|
-
#: action_names.rb:55
|
461
|
-
msgid "Destroy"
|
462
|
-
msgstr ""
|
463
|
-
|
464
|
-
#: action_names.rb:56
|
465
|
-
msgid "Run Sync Plan:"
|
466
|
-
msgstr ""
|
467
|
-
|
468
|
-
#: action_names.rb:57
|
469
|
-
msgid "Product Create"
|
470
|
-
msgstr ""
|
471
|
-
|
472
|
-
#: action_names.rb:58
|
473
|
-
msgid "Disable"
|
474
|
-
msgstr ""
|
475
|
-
|
476
|
-
#: action_names.rb:59
|
477
|
-
msgid "Delete Product"
|
478
|
-
msgstr ""
|
479
|
-
|
480
|
-
#: action_names.rb:60
|
481
|
-
msgid "Enable"
|
482
|
-
msgstr ""
|
483
|
-
|
484
|
-
#: action_names.rb:61
|
485
|
-
msgid "Create Package Group"
|
486
|
-
msgstr ""
|
487
|
-
|
488
|
-
#: action_names.rb:62
|
489
|
-
msgid "Reindex subscriptions"
|
490
|
-
msgstr ""
|
491
|
-
|
492
|
-
#: action_names.rb:63
|
493
|
-
msgid "Verify checksum"
|
494
|
-
msgstr ""
|
495
|
-
|
496
|
-
#: action_names.rb:64
|
497
|
-
msgid "Upload into"
|
498
|
-
msgstr ""
|
499
|
-
|
500
|
-
#: action_names.rb:65
|
501
|
-
msgid "Upload errata into"
|
502
|
-
msgstr ""
|
503
|
-
|
504
|
-
#: action_names.rb:66
|
505
|
-
msgid "Update http proxy"
|
506
|
-
msgstr ""
|
507
|
-
|
508
|
-
#: action_names.rb:67
|
509
|
-
msgid "Update redhat repository"
|
510
|
-
msgstr ""
|
511
|
-
|
512
|
-
#: action_names.rb:68
|
513
|
-
msgid "Update http proxy details"
|
514
|
-
msgstr ""
|
515
|
-
|
516
|
-
#: action_names.rb:69
|
517
|
-
msgid "Update content urls"
|
518
|
-
msgstr ""
|
519
|
-
|
520
|
-
#: action_names.rb:70
|
521
|
-
msgid "Synchronize"
|
522
|
-
msgstr ""
|
523
|
-
|
524
|
-
#: action_names.rb:71
|
525
|
-
msgid "Remove Content"
|
526
|
-
msgstr ""
|
527
|
-
|
528
|
-
#: action_names.rb:72
|
529
|
-
msgid "Delete Package Group"
|
530
|
-
msgstr ""
|
531
|
-
|
532
|
-
#: action_names.rb:73
|
533
|
-
msgid "Discover"
|
534
|
-
msgstr ""
|
535
|
-
|
536
|
-
#: action_names.rb:74
|
537
|
-
msgid "Instance update"
|
538
|
-
msgstr ""
|
539
|
-
|
540
|
-
#: action_names.rb:75
|
541
|
-
msgid "Fetch pxe files"
|
542
|
-
msgstr ""
|
543
|
-
|
544
|
-
#: action_names.rb:76
|
545
|
-
msgid "Index module streams"
|
546
|
-
msgstr ""
|
547
|
-
|
548
|
-
#: action_names.rb:77
|
549
|
-
msgid "Index package groups"
|
550
|
-
msgstr ""
|
551
|
-
|
552
|
-
#: action_names.rb:78
|
553
|
-
msgid "Filtered index content"
|
554
|
-
msgstr ""
|
555
|
-
|
556
|
-
#: action_names.rb:79
|
557
|
-
msgid "Index errata"
|
558
|
-
msgstr ""
|
559
|
-
|
560
|
-
#: action_names.rb:80
|
561
|
-
msgid "Index content"
|
562
|
-
msgstr ""
|
563
|
-
|
564
|
-
#: gemspec.rb:2
|
565
|
-
msgid "Foreman plugin to sync SUSE Customer Center products and repositories into Katello."
|
566
|
-
msgstr "Foreman plugin to sync SUSE Customer Center products and repositories into Katello."
|
File without changes
|
@@ -1,51 +0,0 @@
|
|
1
|
-
require 'test_plugin_helper'
|
2
|
-
|
3
|
-
class SccAccountsControllerTest2 < ActionDispatch::IntegrationTest
|
4
|
-
setup do
|
5
|
-
@scc_account = scc_accounts(:one)
|
6
|
-
end
|
7
|
-
|
8
|
-
test 'should get index' do
|
9
|
-
get scc_accounts_url, session: set_session_user
|
10
|
-
# post path, params: { :id => "#{taxonomies(:empty_organization).id}-#{taxonomies(:empty_organization).name}" }
|
11
|
-
# post path, params: {:toState => scc_accounts_url, :bastion_page => "select_organization"}
|
12
|
-
# follow_redirect!
|
13
|
-
assert_response :success
|
14
|
-
end
|
15
|
-
|
16
|
-
test 'should get new' do
|
17
|
-
get new_scc_account_url
|
18
|
-
assert_response :success
|
19
|
-
end
|
20
|
-
|
21
|
-
test 'should create scc_account' do
|
22
|
-
assert_difference('SccAccount.count') do
|
23
|
-
post scc_accounts_url, params: { scc_account: {} }
|
24
|
-
end
|
25
|
-
|
26
|
-
assert_redirected_to scc_account_url(SccAccount.last)
|
27
|
-
end
|
28
|
-
|
29
|
-
test 'should show scc_account' do
|
30
|
-
get scc_account_url(@scc_account)
|
31
|
-
assert_response :success
|
32
|
-
end
|
33
|
-
|
34
|
-
test 'should get edit' do
|
35
|
-
get edit_scc_account_url(@scc_account)
|
36
|
-
assert_response :success
|
37
|
-
end
|
38
|
-
|
39
|
-
test 'should update scc_account' do
|
40
|
-
patch scc_account_url(@scc_account), params: { scc_account: {} }
|
41
|
-
assert_redirected_to scc_account_url(@scc_account)
|
42
|
-
end
|
43
|
-
|
44
|
-
test 'should destroy scc_account' do
|
45
|
-
assert_difference('SccAccount.count', -1) do
|
46
|
-
delete scc_account_url(@scc_account)
|
47
|
-
end
|
48
|
-
|
49
|
-
assert_redirected_to scc_accounts_url
|
50
|
-
end
|
51
|
-
end
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# This calls the main test_helper in Foreman-core
|
2
|
-
require 'test_helper'
|
3
|
-
# require "#{Katello::Engine.root}/test/katello_test_helper"
|
4
|
-
|
5
|
-
require 'foreman_tasks/test_helpers'
|
6
|
-
|
7
|
-
module SignInHelper
|
8
|
-
def sign_in_as(user)
|
9
|
-
post sign_in_url(username: user.login, password: user.password)
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
class ActionDispatch::IntegrationTest
|
14
|
-
include SignInHelper
|
15
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
require 'test_plugin_helper'
|
2
|
-
require 'unit/shared/access_permissions_test_base'
|
3
|
-
|
4
|
-
# Permissions are added in AccessPermissions with lists of controllers and
|
5
|
-
# actions that they enable access to. For non-admin users, we need to test
|
6
|
-
# that there are permissions available that cover every controller action, else
|
7
|
-
# it can't be delegated and this will lead to parts of the application that
|
8
|
-
# aren't functional for non-admin users.
|
9
|
-
#
|
10
|
-
# In particular, it's important that actions for AJAX requests are added to
|
11
|
-
# an appropriate permission so views using those requests function.
|
12
|
-
class AccessPermissionsTest < ActiveSupport::TestCase
|
13
|
-
include AccessPermissionsTestBase
|
14
|
-
|
15
|
-
check_routes(ForemanSccManager::Engine.routes, [])
|
16
|
-
end
|