foreman_scc_manager 1.6.3 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/Rakefile +1 -1
- data/app/controllers/api/v2/scc_accounts_controller.rb +159 -0
- data/app/controllers/api/v2/scc_products_controller.rb +64 -0
- data/app/models/scc_account.rb +2 -1
- data/app/models/scc_product.rb +1 -0
- data/app/views/api/v2/scc_accounts/base.json.rabl +5 -0
- data/app/views/api/v2/scc_accounts/index.json.rabl +4 -0
- data/app/views/api/v2/scc_accounts/main.json.rabl +5 -0
- data/app/views/api/v2/scc_accounts/show.json.rabl +4 -0
- data/app/views/api/v2/scc_products/base.json.rabl +5 -0
- data/app/views/api/v2/scc_products/index.json.rabl +4 -0
- data/app/views/api/v2/scc_products/main.json.rabl +5 -0
- data/app/views/api/v2/scc_products/show.json.rabl +5 -0
- data/config/routes.rb +30 -1
- data/lib/foreman_scc_manager/engine.rb +28 -9
- data/lib/foreman_scc_manager/version.rb +1 -1
- data/lib/tasks/rubocop.rake +0 -1
- data/locale/action_names.rb +5 -61
- data/locale/de/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/de/foreman_scc_manager.po +139 -210
- data/locale/en/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/en/foreman_scc_manager.po +129 -152
- data/locale/foreman_scc_manager.pot +120 -212
- data/test/controllers/api/v2/scc_accounts_test.rb +302 -0
- data/test/controllers/api/v2/scc_products_test.rb +40 -0
- data/test/features/sync_test.rb +3 -6
- data/test/{features → fixtures/files}/data_products_page1.json +0 -0
- data/test/{features → fixtures/files}/data_products_page2.json +0 -0
- data/test/fixtures/files/data_repositories.json +502 -0
- data/test/{features → fixtures/files}/data_subscriptions.json +0 -0
- data/test/models/scc_account_test.rb +4 -4
- data/test/models/scc_product_test.rb +2 -2
- data/test/test_plugin_helper.rb +2 -0
- metadata +25 -10
data/locale/action_names.rb
CHANGED
@@ -1,61 +1,5 @@
|
|
1
|
-
|
2
|
-
_(
|
3
|
-
_(
|
4
|
-
_(
|
5
|
-
_(
|
6
|
-
_('Install package')
|
7
|
-
_('Remove package')
|
8
|
-
_('Update for host')
|
9
|
-
_('Install Applicable Errata')
|
10
|
-
_('Update package')
|
11
|
-
_('Update')
|
12
|
-
_('Install package group')
|
13
|
-
_('Package Profile Update')
|
14
|
-
_('Configure capsule')
|
15
|
-
_('Auto-attach subscriptions')
|
16
|
-
_('Create repos')
|
17
|
-
_('Create')
|
18
|
-
_('Remove package group')
|
19
|
-
_('Install erratum')
|
20
|
-
_('Register Host')
|
21
|
-
_('Remove subscriptions')
|
22
|
-
_('Unregister Host')
|
23
|
-
_('Delete Activation Key')
|
24
|
-
_('Abstract async task')
|
25
|
-
_('Incremental Update')
|
26
|
-
_('Destroy')
|
27
|
-
_('Synchronize capsule content')
|
28
|
-
_('Product Create')
|
29
|
-
_('Export')
|
30
|
-
_('Delete Product')
|
31
|
-
_('Delete')
|
32
|
-
_('Auto attach subscriptions')
|
33
|
-
_('Reindex subscriptions')
|
34
|
-
_('Errata mail')
|
35
|
-
_('Attach subscriptions')
|
36
|
-
_('Incremental Update of 0 Content View Version(s) ')
|
37
|
-
_('Import Puppet classes')
|
38
|
-
_('Import facts')
|
39
|
-
_('Filtered index content')
|
40
|
-
_('Upload into')
|
41
|
-
_('Action with sub plans')
|
42
|
-
_('Upload errata into')
|
43
|
-
_('Remove from Environment')
|
44
|
-
_('Sync SUSE subscriptions')
|
45
|
-
_('Enable')
|
46
|
-
_('Index errata')
|
47
|
-
_('Remove Version')
|
48
|
-
_('Index package groups')
|
49
|
-
_('Add Sync Plan Products')
|
50
|
-
_('Sync SUSE subscriptions (Products)')
|
51
|
-
_('Remove Content')
|
52
|
-
_('Index content')
|
53
|
-
_('Disable')
|
54
|
-
_('Sync SUSE subscriptions (Repositories)')
|
55
|
-
_('Subscribe SCC Product')
|
56
|
-
_('Remove Versions and Associations')
|
57
|
-
_('Synchronize')
|
58
|
-
_('Publish')
|
59
|
-
_('Update Sync Plan Products')
|
60
|
-
_('Promotion')
|
61
|
-
_('Update Sync Plan')
|
1
|
+
_("Subscribe SCC Product")
|
2
|
+
_("Sync SUSE subscriptions")
|
3
|
+
_("Update SUSE repositories")
|
4
|
+
_("Sync SUSE subscriptions (Products)")
|
5
|
+
_("Sync SUSE subscriptions (Repositories)")
|
Binary file
|
@@ -1,265 +1,194 @@
|
|
1
|
-
#
|
2
|
-
# Copyright (C)
|
1
|
+
# SOME DESCRIPTIVE TITLE.
|
2
|
+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
3
|
# This file is distributed under the same license as the foreman_scc_manager package.
|
4
|
-
# FIRST AUTHOR <EMAIL@ADDRESS>,
|
5
|
-
#
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
|
+
#
|
6
|
+
# Translators:
|
7
|
+
# Wiederoder <stefanwiederoder@googlemail.com>, 2019
|
8
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2019
|
9
|
+
# simon11 <simon.stieger.98@live.de>, 2019
|
10
|
+
# Crited <Alexander.Stoll@netways.de>, 2019
|
11
|
+
# Michael Moll, 2019
|
12
|
+
# Lukas K. <kallies@puzzle.ch>, 2019
|
13
|
+
# Markus Bucher <bucher@atix.de>, 2019
|
14
|
+
#
|
15
|
+
#, fuzzy
|
6
16
|
msgid ""
|
7
17
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_scc_manager 1.
|
18
|
+
"Project-Id-Version: foreman_scc_manager 1.7.0\n"
|
9
19
|
"Report-Msgid-Bugs-To: \n"
|
10
|
-
"
|
11
|
-
"
|
12
|
-
"
|
13
|
-
"Language: de\n"
|
20
|
+
"POT-Creation-Date: 2019-10-22 13:59+0000\n"
|
21
|
+
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
22
|
+
"Last-Translator: Markus Bucher <bucher@atix.de>, 2019\n"
|
23
|
+
"Language-Team: German (https://www.transifex.com/foreman/teams/114/de/)\n"
|
14
24
|
"MIME-Version: 1.0\n"
|
15
25
|
"Content-Type: text/plain; charset=UTF-8\n"
|
16
26
|
"Content-Transfer-Encoding: 8bit\n"
|
17
|
-
"
|
18
|
-
"
|
19
|
-
|
20
|
-
msgid "Abstract async task"
|
21
|
-
msgstr ""
|
22
|
-
|
23
|
-
msgid "Action with sub plans"
|
24
|
-
msgstr ""
|
25
|
-
|
26
|
-
msgid "Actions"
|
27
|
-
msgstr ""
|
28
|
-
|
29
|
-
msgid "Add SCC account"
|
30
|
-
msgstr "SCC Zugang hinzufügen"
|
31
|
-
|
32
|
-
msgid "Add SUSE Customer Center Account"
|
33
|
-
msgstr "SUSE Customer Center hinzufügen"
|
34
|
-
|
35
|
-
msgid "Add Sync Plan Products"
|
36
|
-
msgstr ""
|
37
|
-
|
38
|
-
msgid "Attach subscriptions"
|
39
|
-
msgstr ""
|
27
|
+
"Language: de\n"
|
28
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
40
29
|
|
41
|
-
|
42
|
-
|
30
|
+
#: ../app/controllers/scc_accounts_controller.rb:64
|
31
|
+
msgid "Sync task started."
|
32
|
+
msgstr "Sync Job gestartet."
|
43
33
|
|
44
|
-
|
45
|
-
|
34
|
+
#: ../app/controllers/scc_accounts_controller.rb:66
|
35
|
+
#: ../app/controllers/scc_accounts_controller.rb:86
|
36
|
+
msgid "Failed to add task to queue: %s"
|
37
|
+
msgstr "Aufgabe konnte nicht in die Warteschlange gestellt werden: %s"
|
46
38
|
|
47
|
-
|
48
|
-
|
39
|
+
#: ../app/controllers/scc_accounts_controller.rb:68
|
40
|
+
#: ../app/controllers/scc_accounts_controller.rb:88
|
41
|
+
msgid "Lock on SCC account already taken: %s"
|
42
|
+
msgstr "Lock für SCC Zugang bereits vergeben: %s"
|
49
43
|
|
50
|
-
|
51
|
-
|
44
|
+
#: ../app/controllers/scc_accounts_controller.rb:81
|
45
|
+
msgid "Task to subscribe products started."
|
46
|
+
msgstr "Job zum abonnieren von Produkten gestartet."
|
52
47
|
|
53
|
-
|
54
|
-
|
48
|
+
#: ../app/controllers/scc_accounts_controller.rb:83
|
49
|
+
msgid "No products selected."
|
50
|
+
msgstr "Keine Produkte ausgewählt."
|
55
51
|
|
56
|
-
|
57
|
-
|
52
|
+
#: ../app/lib/actions/scc_manager/subscribe_product.rb:5
|
53
|
+
msgid "Product already subscribed!"
|
54
|
+
msgstr "Produkt wurde bereits abonniert!"
|
58
55
|
|
59
|
-
|
60
|
-
|
56
|
+
#: ../app/lib/actions/scc_manager/subscribe_product.rb:35 action_names.rb:1
|
57
|
+
msgid "Subscribe SCC Product"
|
58
|
+
msgstr "SCC Produkt abonnieren"
|
61
59
|
|
62
|
-
|
63
|
-
|
60
|
+
#: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:2
|
61
|
+
msgid "Sync SUSE subscriptions"
|
62
|
+
msgstr "SUSE Abonnements synchronisieren"
|
64
63
|
|
65
|
-
|
66
|
-
|
64
|
+
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
|
65
|
+
msgid "Update SUSE repositories %s"
|
66
|
+
msgstr "SUSE Repositorien %s aktualisieren"
|
67
67
|
|
68
|
-
|
69
|
-
|
68
|
+
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
|
69
|
+
msgid "Unknown"
|
70
|
+
msgstr "Unbekannt"
|
70
71
|
|
71
|
-
|
72
|
-
|
72
|
+
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:33
|
73
|
+
#: action_names.rb:3
|
74
|
+
msgid "Update SUSE repositories"
|
75
|
+
msgstr "SUSE Repositorien aktualisieren"
|
73
76
|
|
74
|
-
|
75
|
-
|
77
|
+
#: ../app/lib/actions/scc_manager/sync_products.rb:34 action_names.rb:4
|
78
|
+
msgid "Sync SUSE subscriptions (Products)"
|
79
|
+
msgstr "SUSE Abonnements (Produkte) synchronisieren"
|
76
80
|
|
77
|
-
|
78
|
-
|
81
|
+
#: ../app/lib/actions/scc_manager/sync_repositories.rb:33 action_names.rb:5
|
82
|
+
msgid "Sync SUSE subscriptions (Repositories)"
|
83
|
+
msgstr "SUSE Abonnements (Repositorien) synchronisieren"
|
79
84
|
|
80
|
-
|
81
|
-
|
85
|
+
#: ../app/models/scc_account.rb:58
|
86
|
+
msgid "never synced"
|
87
|
+
msgstr "Nie synchronisiert"
|
82
88
|
|
83
|
-
|
84
|
-
|
89
|
+
#: ../app/models/scc_account.rb:105
|
90
|
+
msgid "Interval cannot be nil"
|
91
|
+
msgstr "Intervall darf nicht Null sein"
|
85
92
|
|
86
|
-
|
87
|
-
|
93
|
+
#: ../app/models/scc_account.rb:112
|
94
|
+
msgid "Interval not set correctly"
|
95
|
+
msgstr "Intervall nicht richtig gesetzt"
|
88
96
|
|
89
|
-
|
90
|
-
|
97
|
+
#: ../app/models/scc_account.rb:117
|
98
|
+
msgid "Cron expression is not valid!"
|
99
|
+
msgstr "Cron-Ausdruck ungültig!"
|
91
100
|
|
92
|
-
|
93
|
-
|
101
|
+
#: ../app/models/scc_account_sync_plan_task_group.rb:5
|
102
|
+
msgid "SUSE Subscription"
|
103
|
+
msgstr "SUSE Abonnement"
|
94
104
|
|
95
|
-
|
105
|
+
#: ../app/views/scc_account_sync_plan_task_groups/_scc_account_sync_plan_task_groups.html.erb:1
|
106
|
+
msgid "SUSE Subscription: "
|
96
107
|
msgstr ""
|
97
108
|
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
msgid "Filtered index content"
|
102
|
-
msgstr ""
|
109
|
+
#: ../app/views/scc_accounts/_form.html.erb:6
|
110
|
+
msgid "SUSE Customer Center account"
|
111
|
+
msgstr "SUSE Customer Center Konto"
|
103
112
|
|
113
|
+
#: ../app/views/scc_accounts/_form.html.erb:13
|
104
114
|
msgid ""
|
105
|
-
"
|
106
|
-
"Katello."
|
107
|
-
msgstr ""
|
108
|
-
"Foreman plugin um SUSE Customer Center Producte and Repositories in Katello "
|
109
|
-
"zu synchronisieren."
|
110
|
-
|
111
|
-
msgid "Hypervisors"
|
112
|
-
msgstr ""
|
113
|
-
|
114
|
-
msgid "Hypervisors update"
|
115
|
-
msgstr ""
|
116
|
-
|
117
|
-
msgid "Import Puppet classes"
|
115
|
+
"Use your 'Organization credentials' obtained from the SUSE Customer Center."
|
118
116
|
msgstr ""
|
117
|
+
"Verwenden Sie die \"Organisationszugangsdaten\" aus dem SUSE Customer "
|
118
|
+
"Center."
|
119
119
|
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
msgid "Incremental Update"
|
124
|
-
msgstr ""
|
125
|
-
|
126
|
-
msgid "Incremental Update of 0 Content View Version(s) "
|
127
|
-
msgstr ""
|
128
|
-
|
129
|
-
msgid "Index content"
|
130
|
-
msgstr ""
|
131
|
-
|
132
|
-
msgid "Index errata"
|
133
|
-
msgstr ""
|
134
|
-
|
135
|
-
msgid "Index package groups"
|
136
|
-
msgstr ""
|
137
|
-
|
138
|
-
msgid "Install Applicable Errata"
|
139
|
-
msgstr ""
|
140
|
-
|
141
|
-
msgid "Install erratum"
|
142
|
-
msgstr ""
|
143
|
-
|
144
|
-
msgid "Install package"
|
145
|
-
msgstr ""
|
146
|
-
|
147
|
-
msgid "Install package group"
|
148
|
-
msgstr ""
|
120
|
+
#: ../app/views/scc_accounts/_form.html.erb:15
|
121
|
+
msgid "Base URL"
|
122
|
+
msgstr "Basis URL"
|
149
123
|
|
150
|
-
|
151
|
-
|
124
|
+
#: ../app/views/scc_accounts/_form.html.erb:16
|
125
|
+
msgid "Interval"
|
126
|
+
msgstr "Intervall"
|
152
127
|
|
153
|
-
|
154
|
-
|
128
|
+
#: ../app/views/scc_accounts/_form.html.erb:17
|
129
|
+
msgid "Sync Date"
|
130
|
+
msgstr "Synchronisationsdatum"
|
155
131
|
|
156
|
-
|
157
|
-
|
132
|
+
#: ../app/views/scc_accounts/_form.html.erb:24
|
133
|
+
msgid "Test Connection"
|
134
|
+
msgstr "Verbindung testen"
|
158
135
|
|
159
|
-
|
160
|
-
|
136
|
+
#: ../app/views/scc_accounts/edit.html.erb:1
|
137
|
+
msgid "Edit %s"
|
138
|
+
msgstr "%s bearbeiten"
|
161
139
|
|
162
|
-
|
163
|
-
|
140
|
+
#: ../app/views/scc_accounts/index.html.erb:2
|
141
|
+
msgid "SUSE subscriptions"
|
142
|
+
msgstr "SUSE Abonnements"
|
164
143
|
|
165
|
-
|
166
|
-
|
144
|
+
#: ../app/views/scc_accounts/index.html.erb:3
|
145
|
+
msgid "Add SCC account"
|
146
|
+
msgstr "SCC Konto hinzufügen"
|
167
147
|
|
148
|
+
#: ../app/views/scc_accounts/index.html.erb:9
|
168
149
|
msgid "Products"
|
169
|
-
msgstr ""
|
170
|
-
|
171
|
-
msgid "Promotion"
|
172
|
-
msgstr ""
|
173
|
-
|
174
|
-
msgid "Publish"
|
175
|
-
msgstr ""
|
150
|
+
msgstr "Produkte"
|
176
151
|
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
msgid "Reindex subscriptions"
|
181
|
-
msgstr ""
|
182
|
-
|
183
|
-
msgid "Remove Content"
|
184
|
-
msgstr ""
|
185
|
-
|
186
|
-
msgid "Remove Version"
|
187
|
-
msgstr ""
|
152
|
+
#: ../app/views/scc_accounts/index.html.erb:10
|
153
|
+
msgid "Last synced"
|
154
|
+
msgstr "Letzte Synchronisation"
|
188
155
|
|
189
|
-
|
190
|
-
|
156
|
+
#: ../app/views/scc_accounts/index.html.erb:11
|
157
|
+
msgid "Actions"
|
158
|
+
msgstr "Aktionen"
|
191
159
|
|
192
|
-
|
193
|
-
|
160
|
+
#: ../app/views/scc_accounts/index.html.erb:24
|
161
|
+
msgid "Select products"
|
162
|
+
msgstr "Produkte auswählen"
|
194
163
|
|
195
|
-
|
196
|
-
|
164
|
+
#: ../app/views/scc_accounts/index.html.erb:25
|
165
|
+
msgid "Sync"
|
166
|
+
msgstr "Synchronisation"
|
197
167
|
|
198
|
-
|
199
|
-
|
168
|
+
#: ../app/views/scc_accounts/index.html.erb:28
|
169
|
+
msgid "Delete %s?"
|
170
|
+
msgstr "%s löschen?"
|
200
171
|
|
201
|
-
|
202
|
-
|
172
|
+
#: ../app/views/scc_accounts/new.html.erb:1
|
173
|
+
msgid "Add SUSE Customer Center Account"
|
174
|
+
msgstr "SUSE Customer Center Konto hinzufügen"
|
203
175
|
|
176
|
+
#: ../app/views/scc_accounts/show.html.erb:25
|
204
177
|
msgid "SUSE Customer Center"
|
205
178
|
msgstr "SUSE Customer Center"
|
206
179
|
|
207
|
-
|
208
|
-
|
180
|
+
#: ../app/views/scc_accounts/show.html.erb:36
|
181
|
+
msgid "Please sync your SUSE subscriptions first."
|
182
|
+
msgstr "Bitte synchronisieren Sie zuerst Ihre SUSE Abonnements."
|
209
183
|
|
184
|
+
#: ../lib/foreman_scc_manager/engine.rb:45
|
210
185
|
msgid "SUSE Subscriptions"
|
211
186
|
msgstr "SUSE Abonnements"
|
212
187
|
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
msgstr "SCC Produkt abonnieren"
|
218
|
-
|
219
|
-
msgid "Sync"
|
220
|
-
msgstr "Aktualisieren"
|
221
|
-
|
222
|
-
msgid "Sync SUSE subscriptions"
|
223
|
-
msgstr "SUSE Abonnements aktualisieren"
|
224
|
-
|
225
|
-
msgid "Sync SUSE subscriptions (Products)"
|
226
|
-
msgstr "SUSE Abonnements aktualisieren (Produkte)"
|
227
|
-
|
228
|
-
msgid "Sync SUSE subscriptions (Repositories)"
|
229
|
-
msgstr "SUSE Abonnements aktualisieren (Repositories)"
|
230
|
-
|
231
|
-
msgid "Sync task started."
|
232
|
-
msgstr "Sync task gestartet."
|
233
|
-
|
234
|
-
msgid "Synchronize"
|
235
|
-
msgstr "Synchronisieren"
|
236
|
-
|
237
|
-
msgid "Synchronize capsule content"
|
238
|
-
msgstr ""
|
239
|
-
|
240
|
-
msgid "Test Connection"
|
241
|
-
msgstr "Verbindung testen"
|
242
|
-
|
243
|
-
msgid "Unregister Host"
|
244
|
-
msgstr ""
|
245
|
-
|
246
|
-
msgid "Update"
|
247
|
-
msgstr ""
|
248
|
-
|
249
|
-
msgid "Update Sync Plan"
|
250
|
-
msgstr ""
|
251
|
-
|
252
|
-
msgid "Update Sync Plan Products"
|
253
|
-
msgstr ""
|
254
|
-
|
255
|
-
msgid "Update for host"
|
256
|
-
msgstr ""
|
257
|
-
|
258
|
-
msgid "Update package"
|
259
|
-
msgstr ""
|
260
|
-
|
261
|
-
msgid "Upload errata into"
|
262
|
-
msgstr ""
|
263
|
-
|
264
|
-
msgid "Upload into"
|
188
|
+
#: gemspec.rb:2
|
189
|
+
msgid ""
|
190
|
+
"Foreman plugin to sync SUSE Customer Center products and repositories into "
|
191
|
+
"Katello."
|
265
192
|
msgstr ""
|
193
|
+
"Foreman Plugin um SUSE Customer Center Produkte und Repositorien in Katello "
|
194
|
+
"zu importieren."
|