foreman_scc_manager 1.7.1 → 1.8.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 +1 -1
- data/app/assets/javascripts/foreman_scc_manager/scc_accounts.js.coffee +1 -1
- data/app/lib/actions/scc_manager/sync_products.rb +7 -8
- data/app/lib/actions/scc_manager/sync_repositories.rb +7 -8
- data/app/lib/scc_manager.rb +2 -2
- data/app/models/scc_account.rb +6 -7
- data/app/views/scc_accounts/_form.html.erb +2 -3
- data/config/routes.rb +1 -2
- data/lib/foreman_scc_manager/engine.rb +2 -4
- data/lib/foreman_scc_manager/version.rb +1 -1
- data/locale/de/LC_MESSAGES/foreman_scc_manager.mo +0 -0
- data/locale/de/foreman_scc_manager.po +121 -124
- data/locale/en/foreman_scc_manager.po +139 -86
- data/locale/foreman_scc_manager.pot +11 -17
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fa5a1408caba6e4ca5d6e2c634020444f644ab964f7448ff36ede9f2fe48ff4
|
4
|
+
data.tar.gz: 0a641b367ce578003d72c7b05fd0e4a2d10dc7856d3ecbf80b333d723f5edaa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 767cf999eb62e84fe53ca718515e1e9655dee77f614ebd178cc3d52eb1e8568bad6924efca15c81cfb8fa796a30fb7f2162aa116d731121b7341480b50255334
|
7
|
+
data.tar.gz: e2117f9f03baf0d70a0b1514fc7533f0d3656b12c22150260a3f58fb4708176e87a9b35a46bc10d1aa9caa7bf13d34d498dcfdeddde42dbba5283d479fbb5cbc
|
data/README.md
CHANGED
@@ -13,7 +13,7 @@ for how to install Foreman plugins
|
|
13
13
|
|
14
14
|
| Foreman Version | Katello Version | Plugin Version |
|
15
15
|
| --------------- | --------------- | -------------- |
|
16
|
-
| 1.24 | 3.14 | ~> 1.
|
16
|
+
| 1.24 | 3.14 | ~> 1.8.0 |
|
17
17
|
| 1.22 | 3.12 | ~> 1.7.0 |
|
18
18
|
| 1.21 | 3.10 | ~> 1.6.0 |
|
19
19
|
| 1.20 | 3.9 | ~> 1.6.0 |
|
@@ -1,15 +1,12 @@
|
|
1
1
|
module Actions
|
2
2
|
module SccManager
|
3
3
|
class SyncProducts < Actions::EntryAction
|
4
|
-
include EncryptValue
|
5
|
-
|
6
4
|
def plan(scc_account)
|
7
5
|
action_subject(scc_account)
|
8
|
-
password = encrypt_field(scc_account.password)
|
9
6
|
plan_self(id: scc_account.id,
|
10
7
|
base_url: scc_account.base_url,
|
11
8
|
login: scc_account.login,
|
12
|
-
password: password)
|
9
|
+
password: scc_account.password)
|
13
10
|
end
|
14
11
|
|
15
12
|
def run
|
@@ -18,11 +15,9 @@ module Actions
|
|
18
15
|
products = ::SccManager.get_scc_data(input.fetch(:base_url),
|
19
16
|
'/connect/organizations/products',
|
20
17
|
input.fetch(:login),
|
21
|
-
|
18
|
+
input.fetch(:password))
|
22
19
|
output[:data] = ::SccManager.sanitize_products(products).values
|
23
|
-
rescue StandardError
|
24
|
-
::Foreman::Logging.logger('foreman_scc_manager').error "Error while syncronizing SCC-Products: #{e}"
|
25
|
-
output[:error] = e.to_s
|
20
|
+
rescue StandardError
|
26
21
|
output[:status] = 'FAILURE'
|
27
22
|
end
|
28
23
|
end
|
@@ -39,6 +34,10 @@ module Actions
|
|
39
34
|
_('Sync SUSE subscriptions (Products)')
|
40
35
|
end
|
41
36
|
|
37
|
+
def humanized_input
|
38
|
+
input.dup.update(password: '***')
|
39
|
+
end
|
40
|
+
|
42
41
|
def humanized_output
|
43
42
|
output.dup.update(data: 'Trimmed')
|
44
43
|
end
|
@@ -1,14 +1,11 @@
|
|
1
1
|
module Actions
|
2
2
|
module SccManager
|
3
3
|
class SyncRepositories < Actions::EntryAction
|
4
|
-
include EncryptValue
|
5
|
-
|
6
4
|
def plan(scc_account)
|
7
5
|
action_subject(scc_account)
|
8
|
-
password = encrypt_field(scc_account.password)
|
9
6
|
plan_self(base_url: scc_account.base_url,
|
10
7
|
login: scc_account.login,
|
11
|
-
password: password)
|
8
|
+
password: scc_account.password)
|
12
9
|
end
|
13
10
|
|
14
11
|
def run
|
@@ -17,11 +14,9 @@ module Actions
|
|
17
14
|
output[:data] = ::SccManager.get_scc_data(input[:base_url],
|
18
15
|
'/connect/organizations/repositories',
|
19
16
|
input[:login],
|
20
|
-
|
17
|
+
input[:password])
|
21
18
|
output[:status] = 'SUCCESS'
|
22
|
-
rescue StandardError
|
23
|
-
::Foreman::Logging.logger('foreman_scc_manager').error "Error while syncronizing SCC-Repositories: #{e}"
|
24
|
-
output[:error] = e.to_s
|
19
|
+
rescue StandardError
|
25
20
|
output[:status] = 'FAILURE'
|
26
21
|
end
|
27
22
|
end
|
@@ -38,6 +33,10 @@ module Actions
|
|
38
33
|
_('Sync SUSE subscriptions (Repositories)')
|
39
34
|
end
|
40
35
|
|
36
|
+
def humanized_input
|
37
|
+
input.dup.update(password: '***')
|
38
|
+
end
|
39
|
+
|
41
40
|
def humanized_output
|
42
41
|
output.dup.update(data: "Trimmed (got #{output[:data]&.length} repositories")
|
43
42
|
end
|
data/app/lib/scc_manager.rb
CHANGED
@@ -8,8 +8,8 @@ module SccManager
|
|
8
8
|
uri.scheme = URI.parse(proxy_config[:host]).scheme
|
9
9
|
uri.host = URI.parse(proxy_config[:host]).host
|
10
10
|
uri.port = proxy_config[:port].try(:to_s)
|
11
|
-
uri.user = proxy_config[:user]
|
12
|
-
uri.password = proxy_config[:password]
|
11
|
+
uri.user = proxy_config[:user].try(:to_s)
|
12
|
+
uri.password = proxy_config[:password].try(:to_s)
|
13
13
|
|
14
14
|
RestClient.proxy = uri.to_s
|
15
15
|
end
|
data/app/models/scc_account.rb
CHANGED
@@ -166,8 +166,7 @@ class SccAccount < ApplicationRecord
|
|
166
166
|
def test_connection
|
167
167
|
get_scc_data('/connect/organizations/subscriptions')
|
168
168
|
true
|
169
|
-
rescue StandardError
|
170
|
-
::Foreman::Logging.logger('foreman_scc_manager').warn "Error occurred while testing SCC-Connection to Account #{self}: #{e}"
|
169
|
+
rescue StandardError
|
171
170
|
false
|
172
171
|
end
|
173
172
|
|
@@ -186,10 +185,10 @@ class SccAccount < ApplicationRecord
|
|
186
185
|
cached_repository.save!
|
187
186
|
upstream_repo_ids << ur['id']
|
188
187
|
end
|
189
|
-
|
188
|
+
logger.debug "Found #{upstream_repo_ids.length} repositories"
|
190
189
|
# delete repositories beeing removed upstream
|
191
190
|
to_delete = scc_repositories.where.not(scc_id: upstream_repo_ids)
|
192
|
-
|
191
|
+
logger.debug "Deleting #{to_delete.count} old repositories"
|
193
192
|
to_delete.destroy_all
|
194
193
|
end
|
195
194
|
|
@@ -209,10 +208,10 @@ class SccAccount < ApplicationRecord
|
|
209
208
|
cached_product.save!
|
210
209
|
upstream_product_ids << up['id']
|
211
210
|
end
|
212
|
-
|
211
|
+
logger.debug "Found #{upstream_product_ids.length} products"
|
213
212
|
# delete products beeing removed upstream
|
214
213
|
to_delete = scc_products.where.not(scc_id: upstream_product_ids)
|
215
|
-
|
214
|
+
logger.debug "Deleting #{to_delete.count} old products"
|
216
215
|
to_delete.destroy_all
|
217
216
|
# rewire product to product relationships
|
218
217
|
upstream_products.each do |up|
|
@@ -220,7 +219,7 @@ class SccAccount < ApplicationRecord
|
|
220
219
|
begin
|
221
220
|
scc_products.find_by!(scc_id: up['id']).update!(scc_extensions: extensions)
|
222
221
|
rescue ActiveRecord::RecordNotFound
|
223
|
-
|
222
|
+
logger.info "Failed to find parent scc_product '#{up['name']}'."
|
224
223
|
end
|
225
224
|
end
|
226
225
|
end
|
@@ -13,8 +13,7 @@
|
|
13
13
|
<%= text_f f, :login, :help_block => _("Use your 'Organization credentials' obtained from the SUSE Customer Center.") %>
|
14
14
|
<%= password_f f, :password %>
|
15
15
|
<%= text_f f, :base_url, label: _('Base URL') %>
|
16
|
-
<%= selectable_f f, :interval, SccAccount::TYPES,
|
17
|
-
{ :label => _('Sync interval'), :help_block => _("The sync interval is used to periodically update the SCC authentication tokens of any imported products.") } %>
|
16
|
+
<%= selectable_f f, :interval, SccAccount::TYPES, label: _('Interval') %>
|
18
17
|
<%= field f, :sync_date, label: _('Sync Date') do
|
19
18
|
f.datetime_field :sync_date, placeholder: Time.now
|
20
19
|
end %>
|
@@ -26,7 +25,7 @@
|
|
26
25
|
id: 'test_scc_connection_btn',
|
27
26
|
spinner_id: 'test_scc_connection_indicator',
|
28
27
|
class: 'btn-default',
|
29
|
-
'data-url': @scc_account
|
28
|
+
'data-url': test_connection_scc_accounts_path(scc_account_id: @scc_account)) %>
|
30
29
|
</div>
|
31
30
|
<div class='col-md-2'>
|
32
31
|
<span id='connection_test_result'></span>
|
data/config/routes.rb
CHANGED
@@ -2,11 +2,10 @@ Rails.application.routes.draw do
|
|
2
2
|
resources :scc_accounts do
|
3
3
|
collection do
|
4
4
|
post 'test_connection'
|
5
|
-
put 'test_connection'
|
6
5
|
get 'auto_complete_search'
|
7
6
|
end
|
8
7
|
member do
|
9
|
-
|
8
|
+
put 'test_connection'
|
10
9
|
put 'sync'
|
11
10
|
put 'bulk_subscribe'
|
12
11
|
end
|
@@ -10,7 +10,7 @@ module ForemanSccManager
|
|
10
10
|
config.autoload_paths += Dir["#{config.root}/app/overrides"]
|
11
11
|
|
12
12
|
config.to_prepare do
|
13
|
-
ForemanTasks::RecurringLogic.
|
13
|
+
ForemanTasks::RecurringLogic.include Concerns::RecurringLogicExtensions
|
14
14
|
end
|
15
15
|
|
16
16
|
# Add any db migrations
|
@@ -56,9 +56,7 @@ module ForemanSccManager
|
|
56
56
|
end
|
57
57
|
|
58
58
|
# Add a new role called 'SccManager' if it doesn't exist
|
59
|
-
role 'SccManager',
|
60
|
-
%i[view_scc use_scc new_scc edit_scc delete_scc sync_scc],
|
61
|
-
'Role granting permissons to manage SUSE Subscriptions'
|
59
|
+
role 'SccManager', %i[view_scc use_scc new_scc edit_scc delete_scc sync_scc]
|
62
60
|
|
63
61
|
# add menu entry
|
64
62
|
menu :top_menu, :scc_manager,
|
Binary file
|
@@ -2,7 +2,7 @@
|
|
2
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
4
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
|
-
#
|
5
|
+
#
|
6
6
|
# Translators:
|
7
7
|
# Wiederoder <stefanwiederoder@googlemail.com>, 2019
|
8
8
|
# Bryan Kearney <bryan.kearney@gmail.com>, 2019
|
@@ -11,11 +11,13 @@
|
|
11
11
|
# Michael Moll, 2019
|
12
12
|
# Lukas K. <kallies@puzzle.ch>, 2019
|
13
13
|
# Markus Bucher <bucher@atix.de>, 2019
|
14
|
-
#
|
14
|
+
#
|
15
|
+
#, fuzzy
|
15
16
|
msgid ""
|
16
17
|
msgstr ""
|
17
18
|
"Project-Id-Version: foreman_scc_manager 1.7.0\n"
|
18
19
|
"Report-Msgid-Bugs-To: \n"
|
20
|
+
"POT-Creation-Date: 2019-10-22 13:59+0000\n"
|
19
21
|
"PO-Revision-Date: 2019-10-17 13:28+0000\n"
|
20
22
|
"Last-Translator: Markus Bucher <bucher@atix.de>, 2019\n"
|
21
23
|
"Language-Team: German (https://www.transifex.com/foreman/teams/114/de/)\n"
|
@@ -25,173 +27,168 @@ msgstr ""
|
|
25
27
|
"Language: de\n"
|
26
28
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
27
29
|
|
28
|
-
|
29
|
-
|
30
|
+
#: ../app/controllers/scc_accounts_controller.rb:64
|
31
|
+
msgid "Sync task started."
|
32
|
+
msgstr "Sync Job gestartet."
|
30
33
|
|
31
|
-
|
32
|
-
|
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"
|
33
38
|
|
34
|
-
|
35
|
-
|
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"
|
36
43
|
|
37
|
-
|
38
|
-
|
44
|
+
#: ../app/controllers/scc_accounts_controller.rb:81
|
45
|
+
msgid "Task to subscribe products started."
|
46
|
+
msgstr "Job zum abonnieren von Produkten gestartet."
|
39
47
|
|
40
|
-
|
41
|
-
|
48
|
+
#: ../app/controllers/scc_accounts_controller.rb:83
|
49
|
+
msgid "No products selected."
|
50
|
+
msgstr "Keine Produkte ausgewählt."
|
42
51
|
|
43
|
-
|
44
|
-
|
52
|
+
#: ../app/lib/actions/scc_manager/subscribe_product.rb:5
|
53
|
+
msgid "Product already subscribed!"
|
54
|
+
msgstr "Produkt wurde bereits abonniert!"
|
45
55
|
|
46
|
-
|
47
|
-
|
56
|
+
#: ../app/lib/actions/scc_manager/subscribe_product.rb:35 action_names.rb:1
|
57
|
+
msgid "Subscribe SCC Product"
|
58
|
+
msgstr "SCC Produkt abonnieren"
|
48
59
|
|
49
|
-
|
50
|
-
|
60
|
+
#: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:2
|
61
|
+
msgid "Sync SUSE subscriptions"
|
62
|
+
msgstr "SUSE Abonnements synchronisieren"
|
51
63
|
|
52
|
-
|
53
|
-
|
64
|
+
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
|
65
|
+
msgid "Update SUSE repositories %s"
|
66
|
+
msgstr "SUSE Repositorien %s aktualisieren"
|
54
67
|
|
55
|
-
|
56
|
-
|
68
|
+
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
|
69
|
+
msgid "Unknown"
|
70
|
+
msgstr "Unbekannt"
|
57
71
|
|
58
|
-
|
59
|
-
|
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"
|
60
76
|
|
61
|
-
|
62
|
-
|
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"
|
80
|
+
|
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"
|
63
84
|
|
85
|
+
#: ../app/models/scc_account.rb:58
|
86
|
+
msgid "never synced"
|
87
|
+
msgstr "Nie synchronisiert"
|
88
|
+
|
89
|
+
#: ../app/models/scc_account.rb:105
|
64
90
|
msgid "Interval cannot be nil"
|
65
91
|
msgstr "Intervall darf nicht Null sein"
|
66
92
|
|
67
|
-
|
68
|
-
msgstr ""
|
69
|
-
|
93
|
+
#: ../app/models/scc_account.rb:112
|
70
94
|
msgid "Interval not set correctly"
|
71
95
|
msgstr "Intervall nicht richtig gesetzt"
|
72
96
|
|
73
|
-
|
74
|
-
|
97
|
+
#: ../app/models/scc_account.rb:117
|
98
|
+
msgid "Cron expression is not valid!"
|
99
|
+
msgstr "Cron-Ausdruck ungültig!"
|
75
100
|
|
76
|
-
|
77
|
-
|
101
|
+
#: ../app/models/scc_account_sync_plan_task_group.rb:5
|
102
|
+
msgid "SUSE Subscription"
|
103
|
+
msgstr "SUSE Abonnement"
|
78
104
|
|
79
|
-
|
105
|
+
#: ../app/views/scc_account_sync_plan_task_groups/_scc_account_sync_plan_task_groups.html.erb:1
|
106
|
+
msgid "SUSE Subscription: "
|
80
107
|
msgstr ""
|
81
108
|
|
82
|
-
|
109
|
+
#: ../app/views/scc_accounts/_form.html.erb:6
|
110
|
+
msgid "SUSE Customer Center account"
|
111
|
+
msgstr "SUSE Customer Center Konto"
|
112
|
+
|
113
|
+
#: ../app/views/scc_accounts/_form.html.erb:13
|
114
|
+
msgid ""
|
115
|
+
"Use your 'Organization credentials' obtained from the SUSE Customer Center."
|
83
116
|
msgstr ""
|
117
|
+
"Verwenden Sie die \"Organisationszugangsdaten\" aus dem SUSE Customer "
|
118
|
+
"Center."
|
84
119
|
|
85
|
-
|
86
|
-
|
120
|
+
#: ../app/views/scc_accounts/_form.html.erb:15
|
121
|
+
msgid "Base URL"
|
122
|
+
msgstr "Basis URL"
|
87
123
|
|
88
|
-
|
89
|
-
|
124
|
+
#: ../app/views/scc_accounts/_form.html.erb:16
|
125
|
+
msgid "Interval"
|
126
|
+
msgstr "Intervall"
|
90
127
|
|
91
|
-
|
92
|
-
|
128
|
+
#: ../app/views/scc_accounts/_form.html.erb:17
|
129
|
+
msgid "Sync Date"
|
130
|
+
msgstr "Synchronisationsdatum"
|
93
131
|
|
94
|
-
|
95
|
-
|
132
|
+
#: ../app/views/scc_accounts/_form.html.erb:24
|
133
|
+
msgid "Test Connection"
|
134
|
+
msgstr "Verbindung testen"
|
96
135
|
|
97
|
-
|
98
|
-
|
136
|
+
#: ../app/views/scc_accounts/edit.html.erb:1
|
137
|
+
msgid "Edit %s"
|
138
|
+
msgstr "%s bearbeiten"
|
99
139
|
|
100
|
-
|
101
|
-
|
140
|
+
#: ../app/views/scc_accounts/index.html.erb:2
|
141
|
+
msgid "SUSE subscriptions"
|
142
|
+
msgstr "SUSE Abonnements"
|
102
143
|
|
103
|
-
|
104
|
-
|
144
|
+
#: ../app/views/scc_accounts/index.html.erb:3
|
145
|
+
msgid "Add SCC account"
|
146
|
+
msgstr "SCC Konto hinzufügen"
|
105
147
|
|
148
|
+
#: ../app/views/scc_accounts/index.html.erb:9
|
106
149
|
msgid "Products"
|
107
150
|
msgstr "Produkte"
|
108
151
|
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
msgid "SUSE Customer Center account"
|
113
|
-
msgstr "SUSE Customer Center Konto"
|
114
|
-
|
115
|
-
msgid "SUSE Subscription"
|
116
|
-
msgstr "SUSE Abonnement"
|
117
|
-
|
118
|
-
msgid "SUSE Subscription: "
|
119
|
-
msgstr "SUSE Abonnement:"
|
120
|
-
|
121
|
-
msgid "SUSE Subscriptions"
|
122
|
-
msgstr "SUSE Abonnements"
|
152
|
+
#: ../app/views/scc_accounts/index.html.erb:10
|
153
|
+
msgid "Last synced"
|
154
|
+
msgstr "Letzte Synchronisation"
|
123
155
|
|
124
|
-
|
125
|
-
|
156
|
+
#: ../app/views/scc_accounts/index.html.erb:11
|
157
|
+
msgid "Actions"
|
158
|
+
msgstr "Aktionen"
|
126
159
|
|
160
|
+
#: ../app/views/scc_accounts/index.html.erb:24
|
127
161
|
msgid "Select products"
|
128
162
|
msgstr "Produkte auswählen"
|
129
163
|
|
130
|
-
|
131
|
-
msgstr ""
|
132
|
-
|
133
|
-
msgid "Show scc_account"
|
134
|
-
msgstr ""
|
135
|
-
|
136
|
-
msgid "Subscribe SCC Product"
|
137
|
-
msgstr "SCC Produkt abonnieren"
|
138
|
-
|
139
|
-
msgid "Subscribe product"
|
140
|
-
msgstr ""
|
141
|
-
|
164
|
+
#: ../app/views/scc_accounts/index.html.erb:25
|
142
165
|
msgid "Sync"
|
143
166
|
msgstr "Synchronisation"
|
144
167
|
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
msgid "Sync SUSE subscriptions"
|
149
|
-
msgstr "SUSE Abonnements synchronisieren"
|
150
|
-
|
151
|
-
msgid "Sync SUSE subscriptions (Products)"
|
152
|
-
msgstr "SUSE Abonnements (Produkte) synchronisieren"
|
153
|
-
|
154
|
-
msgid "Sync SUSE subscriptions (Repositories)"
|
155
|
-
msgstr "SUSE Abonnements (Repositorien) synchronisieren"
|
156
|
-
|
157
|
-
msgid "Sync interval"
|
158
|
-
msgstr ""
|
159
|
-
|
160
|
-
msgid "Sync scc_account"
|
161
|
-
msgstr ""
|
162
|
-
|
163
|
-
msgid "Sync task started."
|
164
|
-
msgstr "Sync Job gestartet."
|
165
|
-
|
166
|
-
msgid "Task to subscribe products started."
|
167
|
-
msgstr "Job zum abonnieren von Produkten gestartet."
|
168
|
-
|
169
|
-
msgid "Test Connection"
|
170
|
-
msgstr "Verbindung testen"
|
171
|
-
|
172
|
-
msgid "Test connection for scc_account"
|
173
|
-
msgstr ""
|
174
|
-
|
175
|
-
msgid "The sync interval is used to periodically update the SCC authentication tokens of any imported products."
|
176
|
-
msgstr ""
|
168
|
+
#: ../app/views/scc_accounts/index.html.erb:28
|
169
|
+
msgid "Delete %s?"
|
170
|
+
msgstr "%s löschen?"
|
177
171
|
|
178
|
-
|
179
|
-
|
172
|
+
#: ../app/views/scc_accounts/new.html.erb:1
|
173
|
+
msgid "Add SUSE Customer Center Account"
|
174
|
+
msgstr "SUSE Customer Center Konto hinzufügen"
|
180
175
|
|
181
|
-
|
182
|
-
|
176
|
+
#: ../app/views/scc_accounts/show.html.erb:25
|
177
|
+
msgid "SUSE Customer Center"
|
178
|
+
msgstr "SUSE Customer Center"
|
183
179
|
|
184
|
-
|
185
|
-
|
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."
|
186
183
|
|
187
|
-
|
188
|
-
|
184
|
+
#: ../lib/foreman_scc_manager/engine.rb:45
|
185
|
+
msgid "SUSE Subscriptions"
|
186
|
+
msgstr "SUSE Abonnements"
|
189
187
|
|
190
|
-
|
188
|
+
#: gemspec.rb:2
|
189
|
+
msgid ""
|
190
|
+
"Foreman plugin to sync SUSE Customer Center products and repositories into "
|
191
|
+
"Katello."
|
191
192
|
msgstr ""
|
192
|
-
|
193
|
-
|
194
|
-
msgstr "Verwenden Sie die \"Organisationszugangsdaten\" aus dem SUSE Customer Center."
|
195
|
-
|
196
|
-
msgid "never synced"
|
197
|
-
msgstr "Nie synchronisiert"
|
193
|
+
"Foreman Plugin um SUSE Customer Center Produkte und Repositorien in Katello "
|
194
|
+
"zu importieren."
|
@@ -17,173 +17,226 @@ msgstr ""
|
|
17
17
|
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
18
18
|
"\n"
|
19
19
|
|
20
|
-
|
20
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:15
|
21
|
+
msgid "List all scc_accounts"
|
21
22
|
msgstr ""
|
22
23
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
msgid "Add SUSE Customer Center Account"
|
27
|
-
msgstr "Add SUSE Customer Center Account"
|
28
|
-
|
29
|
-
msgid "Base URL"
|
30
|
-
msgstr "Base URL"
|
31
|
-
|
32
|
-
msgid "Bulk subscription of scc_products for scc_account"
|
24
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:24
|
25
|
+
msgid "Show scc_account"
|
33
26
|
msgstr ""
|
34
27
|
|
35
|
-
|
28
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:32
|
29
|
+
msgid "Name of the scc_account"
|
36
30
|
msgstr ""
|
37
31
|
|
38
|
-
|
32
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:33 ../app/controllers/api/v2/scc_accounts_controller.rb:64
|
33
|
+
msgid "Login id of scc_account"
|
39
34
|
msgstr ""
|
40
35
|
|
41
|
-
|
36
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:34 ../app/controllers/api/v2/scc_accounts_controller.rb:65
|
37
|
+
msgid "Password of scc_account"
|
42
38
|
msgstr ""
|
43
39
|
|
44
|
-
|
40
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:35 ../app/controllers/api/v2/scc_accounts_controller.rb:66
|
41
|
+
msgid "URL of SUSE for scc_account"
|
45
42
|
msgstr ""
|
46
43
|
|
47
|
-
|
44
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:36
|
45
|
+
msgid "Interval for syncing scc_account"
|
48
46
|
msgstr ""
|
49
47
|
|
50
|
-
|
51
|
-
|
48
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:37
|
49
|
+
msgid "Last Sync time of scc_account"
|
50
|
+
msgstr ""
|
52
51
|
|
53
|
-
|
54
|
-
|
52
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:41
|
53
|
+
msgid "Create an scc_account"
|
54
|
+
msgstr ""
|
55
55
|
|
56
|
-
|
56
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:48
|
57
|
+
msgid "Update scc_account"
|
57
58
|
msgstr ""
|
58
59
|
|
59
|
-
|
60
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:55
|
61
|
+
msgid "Delete scc_account"
|
60
62
|
msgstr ""
|
61
63
|
|
62
|
-
|
64
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:61 ../app/controllers/api/v2/scc_accounts_controller.rb:62
|
65
|
+
msgid "Test connection for scc_account"
|
63
66
|
msgstr ""
|
64
67
|
|
65
|
-
|
68
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:89
|
69
|
+
msgid "Sync scc_account"
|
66
70
|
msgstr ""
|
67
71
|
|
68
|
-
|
69
|
-
|
72
|
+
#: ../app/controllers/api/v2/scc_accounts_controller.rb:103
|
73
|
+
msgid "Bulk subscription of scc_products for scc_account"
|
74
|
+
msgstr ""
|
70
75
|
|
76
|
+
#: ../app/controllers/api/v2/scc_products_controller.rb:15
|
71
77
|
msgid "List all products for scc_account"
|
72
78
|
msgstr ""
|
73
79
|
|
74
|
-
|
80
|
+
#: ../app/controllers/api/v2/scc_products_controller.rb:24
|
81
|
+
msgid "Show an scc_account product"
|
82
|
+
msgstr ""
|
83
|
+
|
84
|
+
#: ../app/controllers/api/v2/scc_products_controller.rb:29
|
85
|
+
msgid "Subscribe product"
|
75
86
|
msgstr ""
|
76
87
|
|
88
|
+
#: ../app/controllers/scc_accounts_controller.rb:64
|
89
|
+
msgid "Sync task started."
|
90
|
+
msgstr "Sync task started."
|
91
|
+
|
92
|
+
#: ../app/controllers/scc_accounts_controller.rb:66 ../app/controllers/scc_accounts_controller.rb:86
|
93
|
+
msgid "Failed to add task to queue: %s"
|
94
|
+
msgstr "Failed to add task to queue: %s"
|
95
|
+
|
96
|
+
#: ../app/controllers/scc_accounts_controller.rb:68 ../app/controllers/scc_accounts_controller.rb:88
|
77
97
|
msgid "Lock on SCC account already taken: %s"
|
78
98
|
msgstr "Lock on SCC account already taken: %s"
|
79
99
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
msgid "Name of the scc_account"
|
100
|
+
#: ../app/controllers/scc_accounts_controller.rb:81
|
101
|
+
msgid "Task to subscribe products started."
|
84
102
|
msgstr ""
|
85
103
|
|
104
|
+
#: ../app/controllers/scc_accounts_controller.rb:83
|
86
105
|
msgid "No products selected."
|
87
106
|
msgstr ""
|
88
107
|
|
89
|
-
|
90
|
-
msgstr ""
|
91
|
-
|
92
|
-
msgid "Please sync your SUSE subscriptions first."
|
93
|
-
msgstr "Please sync your SUSE subscriptions first."
|
94
|
-
|
108
|
+
#: ../app/lib/actions/scc_manager/subscribe_product.rb:5
|
95
109
|
msgid "Product already subscribed!"
|
96
110
|
msgstr "Product already subscribed!"
|
97
111
|
|
98
|
-
|
99
|
-
|
112
|
+
#: ../app/lib/actions/scc_manager/subscribe_product.rb:35 action_names.rb:21
|
113
|
+
msgid "Subscribe SCC Product"
|
114
|
+
msgstr "Subscribe SCC Product"
|
100
115
|
|
101
|
-
|
102
|
-
|
116
|
+
#: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:22
|
117
|
+
msgid "Sync SUSE subscriptions"
|
118
|
+
msgstr "Sync SUSE subscriptions"
|
103
119
|
|
104
|
-
|
105
|
-
|
120
|
+
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
|
121
|
+
msgid "Update SUSE repositories %s"
|
122
|
+
msgstr ""
|
106
123
|
|
107
|
-
|
124
|
+
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
|
125
|
+
msgid "Unknown"
|
108
126
|
msgstr ""
|
109
127
|
|
110
|
-
|
128
|
+
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:33 action_names.rb:71
|
129
|
+
msgid "Update SUSE repositories"
|
111
130
|
msgstr ""
|
112
131
|
|
113
|
-
|
114
|
-
|
132
|
+
#: ../app/lib/actions/scc_manager/sync_products.rb:34 action_names.rb:72
|
133
|
+
msgid "Sync SUSE subscriptions (Products)"
|
134
|
+
msgstr "Sync SUSE subscriptions (Products)"
|
115
135
|
|
116
|
-
|
117
|
-
|
136
|
+
#: ../app/lib/actions/scc_manager/sync_repositories.rb:33 action_names.rb:73
|
137
|
+
msgid "Sync SUSE subscriptions (Repositories)"
|
138
|
+
msgstr "Sync SUSE subscriptions (Repositories)"
|
118
139
|
|
119
|
-
|
140
|
+
#: ../app/models/scc_account.rb:59
|
141
|
+
msgid "never synced"
|
120
142
|
msgstr ""
|
121
143
|
|
122
|
-
|
144
|
+
#: ../app/models/scc_account.rb:106
|
145
|
+
msgid "Interval cannot be nil"
|
123
146
|
msgstr ""
|
124
147
|
|
125
|
-
|
148
|
+
#: ../app/models/scc_account.rb:113
|
149
|
+
msgid "Interval not set correctly"
|
126
150
|
msgstr ""
|
127
151
|
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
msgid "Subscribe product"
|
152
|
+
#: ../app/models/scc_account.rb:118
|
153
|
+
msgid "Cron expression is not valid!"
|
132
154
|
msgstr ""
|
133
155
|
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
msgid "Sync Date"
|
156
|
+
#: ../app/models/scc_account_sync_plan_task_group.rb:5
|
157
|
+
msgid "SUSE Subscription"
|
138
158
|
msgstr ""
|
139
159
|
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
msgid "Sync SUSE subscriptions (Products)"
|
144
|
-
msgstr "Sync SUSE subscriptions (Products)"
|
160
|
+
#: ../app/views/scc_account_sync_plan_task_groups/_scc_account_sync_plan_task_groups.html.erb:1
|
161
|
+
msgid "SUSE Subscription: "
|
162
|
+
msgstr ""
|
145
163
|
|
146
|
-
|
147
|
-
|
164
|
+
#: ../app/views/scc_accounts/_form.html.erb:6
|
165
|
+
msgid "SUSE Customer Center account"
|
166
|
+
msgstr "SUSE Customer Center account"
|
148
167
|
|
149
|
-
|
168
|
+
#: ../app/views/scc_accounts/_form.html.erb:13
|
169
|
+
msgid "Use your 'Organization credentials' obtained from the SUSE Customer Center."
|
150
170
|
msgstr ""
|
151
171
|
|
152
|
-
|
153
|
-
|
172
|
+
#: ../app/views/scc_accounts/_form.html.erb:15
|
173
|
+
msgid "Base URL"
|
174
|
+
msgstr "Base URL"
|
154
175
|
|
155
|
-
|
156
|
-
|
176
|
+
#: ../app/views/scc_accounts/_form.html.erb:16
|
177
|
+
msgid "Interval"
|
178
|
+
msgstr ""
|
157
179
|
|
158
|
-
|
180
|
+
#: ../app/views/scc_accounts/_form.html.erb:17
|
181
|
+
msgid "Sync Date"
|
159
182
|
msgstr ""
|
160
183
|
|
184
|
+
#: ../app/views/scc_accounts/_form.html.erb:24
|
161
185
|
msgid "Test Connection"
|
162
186
|
msgstr "Test Connection"
|
163
187
|
|
164
|
-
|
188
|
+
#: ../app/views/scc_accounts/edit.html.erb:1
|
189
|
+
msgid "Edit %s"
|
165
190
|
msgstr ""
|
166
191
|
|
167
|
-
|
168
|
-
|
192
|
+
#: ../app/views/scc_accounts/index.html.erb:2
|
193
|
+
msgid "SUSE subscriptions"
|
194
|
+
msgstr "SUSE subscriptions"
|
169
195
|
|
170
|
-
|
171
|
-
|
196
|
+
#: ../app/views/scc_accounts/index.html.erb:3
|
197
|
+
msgid "Add SCC account"
|
198
|
+
msgstr "Add SCC account"
|
172
199
|
|
173
|
-
|
200
|
+
#: ../app/views/scc_accounts/index.html.erb:9
|
201
|
+
msgid "Products"
|
174
202
|
msgstr ""
|
175
203
|
|
176
|
-
|
177
|
-
|
204
|
+
#: ../app/views/scc_accounts/index.html.erb:10
|
205
|
+
msgid "Last synced"
|
206
|
+
msgstr "Last synced"
|
178
207
|
|
179
|
-
|
208
|
+
#: ../app/views/scc_accounts/index.html.erb:11
|
209
|
+
msgid "Actions"
|
180
210
|
msgstr ""
|
181
211
|
|
182
|
-
|
212
|
+
#: ../app/views/scc_accounts/index.html.erb:24
|
213
|
+
msgid "Select products"
|
183
214
|
msgstr ""
|
184
215
|
|
185
|
-
|
186
|
-
|
216
|
+
#: ../app/views/scc_accounts/index.html.erb:25
|
217
|
+
msgid "Sync"
|
218
|
+
msgstr "Sync"
|
187
219
|
|
188
|
-
|
220
|
+
#: ../app/views/scc_accounts/index.html.erb:28
|
221
|
+
msgid "Delete %s?"
|
189
222
|
msgstr ""
|
223
|
+
|
224
|
+
#: ../app/views/scc_accounts/new.html.erb:1
|
225
|
+
msgid "Add SUSE Customer Center Account"
|
226
|
+
msgstr "Add SUSE Customer Center Account"
|
227
|
+
|
228
|
+
#: ../app/views/scc_accounts/show.html.erb:25
|
229
|
+
msgid "SUSE Customer Center"
|
230
|
+
msgstr "SUSE Customer Center"
|
231
|
+
|
232
|
+
#: ../app/views/scc_accounts/show.html.erb:36
|
233
|
+
msgid "Please sync your SUSE subscriptions first."
|
234
|
+
msgstr "Please sync your SUSE subscriptions first."
|
235
|
+
|
236
|
+
#: ../lib/foreman_scc_manager/engine.rb:64
|
237
|
+
msgid "SUSE Subscriptions"
|
238
|
+
msgstr "SUSE Subscriptions"
|
239
|
+
|
240
|
+
#: gemspec.rb:2
|
241
|
+
msgid "Foreman plugin to sync SUSE Customer Center products and repositories into Katello."
|
242
|
+
msgstr "Foreman plugin to sync SUSE Customer Center products and repositories into Katello."
|
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: foreman_scc_manager 1.0.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2019-11-12 12:27+0000\n"
|
12
|
+
"PO-Revision-Date: 2019-11-12 12:27+0000\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -116,11 +116,11 @@ msgstr ""
|
|
116
116
|
msgid "Product already subscribed!"
|
117
117
|
msgstr ""
|
118
118
|
|
119
|
-
#: ../app/lib/actions/scc_manager/subscribe_product.rb:35 action_names.rb:
|
119
|
+
#: ../app/lib/actions/scc_manager/subscribe_product.rb:35 action_names.rb:21
|
120
120
|
msgid "Subscribe SCC Product"
|
121
121
|
msgstr ""
|
122
122
|
|
123
|
-
#: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:
|
123
|
+
#: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:22
|
124
124
|
msgid "Sync SUSE subscriptions"
|
125
125
|
msgstr ""
|
126
126
|
|
@@ -133,15 +133,15 @@ msgid "Unknown"
|
|
133
133
|
msgstr ""
|
134
134
|
|
135
135
|
#: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:33
|
136
|
-
#: action_names.rb:
|
136
|
+
#: action_names.rb:71
|
137
137
|
msgid "Update SUSE repositories"
|
138
138
|
msgstr ""
|
139
139
|
|
140
|
-
#: ../app/lib/actions/scc_manager/sync_products.rb:34 action_names.rb:
|
140
|
+
#: ../app/lib/actions/scc_manager/sync_products.rb:34 action_names.rb:72
|
141
141
|
msgid "Sync SUSE subscriptions (Products)"
|
142
142
|
msgstr ""
|
143
143
|
|
144
|
-
#: ../app/lib/actions/scc_manager/sync_repositories.rb:33 action_names.rb:
|
144
|
+
#: ../app/lib/actions/scc_manager/sync_repositories.rb:33 action_names.rb:73
|
145
145
|
msgid "Sync SUSE subscriptions (Repositories)"
|
146
146
|
msgstr ""
|
147
147
|
|
@@ -182,21 +182,15 @@ msgstr ""
|
|
182
182
|
msgid "Base URL"
|
183
183
|
msgstr ""
|
184
184
|
|
185
|
-
#: ../app/views/scc_accounts/_form.html.erb:
|
186
|
-
msgid "
|
185
|
+
#: ../app/views/scc_accounts/_form.html.erb:16
|
186
|
+
msgid "Interval"
|
187
187
|
msgstr ""
|
188
188
|
|
189
189
|
#: ../app/views/scc_accounts/_form.html.erb:17
|
190
|
-
msgid ""
|
191
|
-
"The sync interval is used to periodically update the SCC authentication tokens"
|
192
|
-
" of any imported products."
|
193
|
-
msgstr ""
|
194
|
-
|
195
|
-
#: ../app/views/scc_accounts/_form.html.erb:18
|
196
190
|
msgid "Sync Date"
|
197
191
|
msgstr ""
|
198
192
|
|
199
|
-
#: ../app/views/scc_accounts/_form.html.erb:
|
193
|
+
#: ../app/views/scc_accounts/_form.html.erb:24
|
200
194
|
msgid "Test Connection"
|
201
195
|
msgstr ""
|
202
196
|
|
@@ -248,7 +242,7 @@ msgstr ""
|
|
248
242
|
msgid "Please sync your SUSE subscriptions first."
|
249
243
|
msgstr ""
|
250
244
|
|
251
|
-
#: ../lib/foreman_scc_manager/engine.rb:
|
245
|
+
#: ../lib/foreman_scc_manager/engine.rb:64
|
252
246
|
msgid "SUSE Subscriptions"
|
253
247
|
msgstr ""
|
254
248
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_scc_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ATIX AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.75.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.75.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: webmock
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,14 +56,14 @@ dependencies:
|
|
56
56
|
name: foreman-tasks
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0.10'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.10'
|
69
69
|
- !ruby/object:Gem::Dependency
|