foreman_scc_manager 1.8.12 → 1.8.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,562 +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:78
117
- msgid "Subscribe SCC Product"
118
- msgstr "Subscribe SCC Product"
119
-
120
- #: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:76
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:77
133
- msgid "Update SUSE repositories"
134
- msgstr ""
135
-
136
- #: ../app/lib/actions/scc_manager/sync_products.rb:36 action_names.rb:79
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:75
141
- msgid "Sync SUSE subscriptions (Repositories)"
142
- msgstr "Sync SUSE subscriptions (Repositories)"
143
-
144
- #: ../app/models/scc_account.rb:57
145
- msgid "never synced"
146
- msgstr ""
147
-
148
- #: ../app/models/scc_account.rb:104
149
- msgid "Interval cannot be nil"
150
- msgstr ""
151
-
152
- #: ../app/models/scc_account.rb:111
153
- msgid "Interval not set correctly"
154
- msgstr ""
155
-
156
- #: ../app/models/scc_account.rb:116
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:79
265
- msgid "SUSE Subscriptions"
266
- msgstr "SUSE Subscriptions"
267
-
268
- #: action_names.rb:2
269
- msgid "Copy version units to library"
270
- msgstr ""
271
-
272
- #: action_names.rb:3
273
- msgid "Import"
274
- msgstr ""
275
-
276
- #: action_names.rb:4
277
- msgid "Export Library"
278
- msgstr ""
279
-
280
- #: action_names.rb:5
281
- msgid "Export"
282
- msgstr ""
283
-
284
- #: action_names.rb:6
285
- msgid "Hypervisors update"
286
- msgstr ""
287
-
288
- #: action_names.rb:7
289
- msgid "Update for host"
290
- msgstr ""
291
-
292
- #: action_names.rb:8
293
- msgid "Update Content Overrides"
294
- msgstr ""
295
-
296
- #: action_names.rb:9
297
- msgid "Remove subscriptions"
298
- msgstr ""
299
-
300
- #: action_names.rb:10
301
- msgid "Hypervisors"
302
- msgstr ""
303
-
304
- #: action_names.rb:11
305
- msgid "Install Applicable Errata"
306
- msgstr ""
307
-
308
- #: action_names.rb:12
309
- msgid "Destroy Content Host"
310
- msgstr ""
311
-
312
- #: action_names.rb:13
313
- msgid "Auto attach subscriptions"
314
- msgstr ""
315
-
316
- #: action_names.rb:14
317
- msgid "Attach subscriptions"
318
- msgstr ""
319
-
320
- #: action_names.rb:15
321
- msgid "Update"
322
- msgstr ""
323
-
324
- #: action_names.rb:16
325
- msgid "Publish Lifecycle Environment Repositories"
326
- msgstr ""
327
-
328
- #: action_names.rb:17
329
- msgid "Delete Package Group"
330
- msgstr ""
331
-
332
- #: action_names.rb:18
333
- msgid "Delete"
334
- msgstr ""
335
-
336
- #: action_names.rb:19
337
- msgid "Create"
338
- msgstr ""
339
-
340
- #: action_names.rb:20
341
- msgid "Delete Lifecycle Environment"
342
- msgstr ""
343
-
344
- #: action_names.rb:21
345
- msgid "Republish Version Repositories"
346
- msgstr ""
347
-
348
- #: action_names.rb:22
349
- msgid "Synchronize"
350
- msgstr ""
351
-
352
- #: action_names.rb:23
353
- msgid "Remove Content"
354
- msgstr ""
355
-
356
- #: action_names.rb:24
357
- msgid "Incremental Update"
358
- msgstr ""
359
-
360
- #: action_names.rb:25
361
- msgid "Import Default Content View"
362
- msgstr ""
363
-
364
- #: action_names.rb:26
365
- msgid "Import Content View Version"
366
- msgstr ""
367
-
368
- #: action_names.rb:27
369
- msgid "Enable"
370
- msgstr ""
371
-
372
- #: action_names.rb:28
373
- msgid "Disable"
374
- msgstr ""
375
-
376
- #: action_names.rb:29
377
- msgid "Verify checksum"
378
- msgstr ""
379
-
380
- #: action_names.rb:30
381
- msgid "Filtered index content"
382
- msgstr ""
383
-
384
- #: action_names.rb:31
385
- msgid "Fetch pxe files"
386
- msgstr ""
387
-
388
- #: action_names.rb:32
389
- msgid "Errata mail"
390
- msgstr ""
391
-
392
- #: action_names.rb:33
393
- msgid "Discover"
394
- msgstr ""
395
-
396
- #: action_names.rb:34
397
- msgid "Remove Version"
398
- msgstr ""
399
-
400
- #: action_names.rb:35
401
- msgid "Remove from Environment"
402
- msgstr ""
403
-
404
- #: action_names.rb:36
405
- msgid "Remove Versions and Associations"
406
- msgstr ""
407
-
408
- #: action_names.rb:37
409
- msgid "Publish"
410
- msgstr ""
411
-
412
- #: action_names.rb:38
413
- msgid "Promotion to Environment"
414
- msgstr ""
415
-
416
- #: action_names.rb:39
417
- msgid "Product Create"
418
- msgstr ""
419
-
420
- #: action_names.rb:40
421
- msgid "Destroy"
422
- msgstr ""
423
-
424
- #: action_names.rb:41
425
- msgid "Create Import History"
426
- msgstr ""
427
-
428
- #: action_names.rb:42
429
- msgid "Create Export History"
430
- msgstr ""
431
-
432
- #: action_names.rb:43
433
- msgid "Update http proxy"
434
- msgstr ""
435
-
436
- #: action_names.rb:44
437
- msgid "Promote"
438
- msgstr ""
439
-
440
- #: action_names.rb:45
441
- msgid "Reindex subscriptions"
442
- msgstr ""
443
-
444
- #: action_names.rb:46
445
- msgid "Delete Product"
446
- msgstr ""
447
-
448
- #: action_names.rb:47
449
- msgid "Instance update"
450
- msgstr ""
451
-
452
- #: action_names.rb:48
453
- msgid "Index package groups"
454
- msgstr ""
455
-
456
- #: action_names.rb:49
457
- msgid "Index module streams"
458
- msgstr ""
459
-
460
- #: action_names.rb:50
461
- msgid "Index errata"
462
- msgstr ""
463
-
464
- #: action_names.rb:51
465
- msgid "Index content"
466
- msgstr ""
467
-
468
- #: action_names.rb:52
469
- msgid "Upload into"
470
- msgstr ""
471
-
472
- #: action_names.rb:53
473
- msgid "Create Package Group"
474
- msgstr ""
475
-
476
- #: action_names.rb:54
477
- msgid "Update redhat repository"
478
- msgstr ""
479
-
480
- #: action_names.rb:55
481
- msgid "Update http proxy details"
482
- msgstr ""
483
-
484
- #: action_names.rb:56
485
- msgid "Update content urls"
486
- msgstr ""
487
-
488
- #: action_names.rb:57
489
- msgid "Run Sync Plan:"
490
- msgstr ""
491
-
492
- #: action_names.rb:58
493
- msgid "Combined Profile Update"
494
- msgstr ""
495
-
496
- #: action_names.rb:59
497
- msgid "Package Profile Update"
498
- msgstr ""
499
-
500
- #: action_names.rb:60
501
- msgid "Updating System Purpose for host"
502
- msgstr ""
503
-
504
- #: action_names.rb:61
505
- msgid "Update release version for host"
506
- msgstr ""
507
-
508
- #: action_names.rb:62
509
- msgid "Incremental Update of Content View Version(s) "
510
- msgstr ""
511
-
512
- #: action_names.rb:63
513
- msgid "Sync capsule"
514
- msgstr ""
515
-
516
- #: action_names.rb:64
517
- msgid "Synchronize smart proxy"
518
- msgstr ""
519
-
520
- #: action_names.rb:65
521
- msgid "Generate repository applicability"
522
- msgstr ""
523
-
524
- #: action_names.rb:66
525
- msgid "Bulk generate applicability for hosts"
526
- msgstr ""
527
-
528
- #: action_names.rb:67
529
- msgid "Generate host applicability"
530
- msgstr ""
531
-
532
- #: action_names.rb:68
533
- msgid "Agent action"
534
- msgstr ""
535
-
536
- #: action_names.rb:69
537
- msgid "Delete Activation Key"
538
- msgstr ""
539
-
540
- #: action_names.rb:70
541
- msgid "Abstract async task"
542
- msgstr ""
543
-
544
- #: action_names.rb:71
545
- msgid "Remote action:"
546
- msgstr ""
547
-
548
- #: action_names.rb:72
549
- msgid "Import Puppet classes"
550
- msgstr ""
551
-
552
- #: action_names.rb:73
553
- msgid "Import facts"
554
- msgstr ""
555
-
556
- #: action_names.rb:74
557
- msgid "Action with sub plans"
558
- msgstr ""
559
-
560
- #: gemspec.rb:2
561
- msgid "Foreman plugin to sync SUSE Customer Center products and repositories into Katello."
562
- 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,6 +0,0 @@
1
- # create a couple of products as scc_extensions
2
- <% 1.upto(10) do |i| %>
3
- p_extending_<%= i %>:
4
- scc_product_id: 4
5
- scc_extension_id: <%= 4 + i %>
6
- <% 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