foreman_scc_manager 1.8.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0fa5a1408caba6e4ca5d6e2c634020444f644ab964f7448ff36ede9f2fe48ff4
4
- data.tar.gz: 0a641b367ce578003d72c7b05fd0e4a2d10dc7856d3ecbf80b333d723f5edaa1
3
+ metadata.gz: '09a32f8e4e63e7db95e16152e955a5b3e361529312345b10499fcf0503113c93'
4
+ data.tar.gz: dceb4ab2c290b98e1fd76525880c1a6a37555152c900e23b80bf15cf9ae7d773
5
5
  SHA512:
6
- metadata.gz: 767cf999eb62e84fe53ca718515e1e9655dee77f614ebd178cc3d52eb1e8568bad6924efca15c81cfb8fa796a30fb7f2162aa116d731121b7341480b50255334
7
- data.tar.gz: e2117f9f03baf0d70a0b1514fc7533f0d3656b12c22150260a3f58fb4708176e87a9b35a46bc10d1aa9caa7bf13d34d498dcfdeddde42dbba5283d479fbb5cbc
6
+ metadata.gz: 8f7c83c275080208924404819315b1f0c261b80a606204b906d9bf38d128aadc8286e222d57faa940c97d1799d6f2a9ad71dd98cbabd53bde6099990799ec6f1
7
+ data.tar.gz: '092749ae41aed39acabdd28f02532ffd2d45581b073ac4fc57a9f7b4515f27a6c4f8b48b1b15ffaa62bd955ba296464b8f678b9ea63f2fe1e709249aaac806e5'
@@ -26,7 +26,7 @@ $ ->
26
26
  $('#connection_test_result')[0].innerHTML = ''
27
27
  $('#test_scc_connection_indicator').show()
28
28
  $.ajax event.target.parentNode.dataset['url'],
29
- type: 'PUT'
29
+ type: 'POST'
30
30
  dataType: 'JSON'
31
31
  data: $('form').serialize()
32
32
  success: (result) ->
@@ -13,7 +13,8 @@
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, label: _('Interval') %>
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.") } %>
17
18
  <%= field f, :sync_date, label: _('Sync Date') do
18
19
  f.datetime_field :sync_date, placeholder: Time.now
19
20
  end %>
@@ -25,7 +26,7 @@
25
26
  id: 'test_scc_connection_btn',
26
27
  spinner_id: 'test_scc_connection_indicator',
27
28
  class: 'btn-default',
28
- 'data-url': test_connection_scc_accounts_path(scc_account_id: @scc_account)) %>
29
+ 'data-url': @scc_account.id ? test_connection_scc_account_path : test_connection_scc_accounts_path ) %>
29
30
  </div>
30
31
  <div class='col-md-2'>
31
32
  <span id='connection_test_result'></span>
@@ -2,10 +2,11 @@ Rails.application.routes.draw do
2
2
  resources :scc_accounts do
3
3
  collection do
4
4
  post 'test_connection'
5
+ put 'test_connection'
5
6
  get 'auto_complete_search'
6
7
  end
7
8
  member do
8
- put 'test_connection'
9
+ patch 'test_connection'
9
10
  put 'sync'
10
11
  put 'bulk_subscribe'
11
12
  end
@@ -56,7 +56,9 @@ module ForemanSccManager
56
56
  end
57
57
 
58
58
  # Add a new role called 'SccManager' if it doesn't exist
59
- role 'SccManager', %i[view_scc use_scc new_scc edit_scc delete_scc sync_scc]
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'
60
62
 
61
63
  # add menu entry
62
64
  menu :top_menu, :scc_manager,
@@ -1,3 +1,3 @@
1
1
  module ForemanSccManager
2
- VERSION = '1.8.0'.freeze
2
+ VERSION = '1.8.1'.freeze
3
3
  end
@@ -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,13 +11,11 @@
11
11
  # Michael Moll, 2019
12
12
  # Lukas K. <kallies@puzzle.ch>, 2019
13
13
  # Markus Bucher <bucher@atix.de>, 2019
14
- #
15
- #, fuzzy
14
+ #
16
15
  msgid ""
17
16
  msgstr ""
18
17
  "Project-Id-Version: foreman_scc_manager 1.7.0\n"
19
18
  "Report-Msgid-Bugs-To: \n"
20
- "POT-Creation-Date: 2019-10-22 13:59+0000\n"
21
19
  "PO-Revision-Date: 2019-10-17 13:28+0000\n"
22
20
  "Last-Translator: Markus Bucher <bucher@atix.de>, 2019\n"
23
21
  "Language-Team: German (https://www.transifex.com/foreman/teams/114/de/)\n"
@@ -27,168 +25,173 @@ msgstr ""
27
25
  "Language: de\n"
28
26
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
29
27
 
30
- #: ../app/controllers/scc_accounts_controller.rb:64
31
- msgid "Sync task started."
32
- msgstr "Sync Job gestartet."
33
-
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"
38
-
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"
28
+ msgid "Actions"
29
+ msgstr "Aktionen"
43
30
 
44
- #: ../app/controllers/scc_accounts_controller.rb:81
45
- msgid "Task to subscribe products started."
46
- msgstr "Job zum abonnieren von Produkten gestartet."
31
+ msgid "Add SCC account"
32
+ msgstr "SCC Konto hinzufügen"
47
33
 
48
- #: ../app/controllers/scc_accounts_controller.rb:83
49
- msgid "No products selected."
50
- msgstr "Keine Produkte ausgewählt."
34
+ msgid "Add SUSE Customer Center Account"
35
+ msgstr "SUSE Customer Center Konto hinzufügen"
51
36
 
52
- #: ../app/lib/actions/scc_manager/subscribe_product.rb:5
53
- msgid "Product already subscribed!"
54
- msgstr "Produkt wurde bereits abonniert!"
37
+ msgid "Base URL"
38
+ msgstr "Basis URL"
55
39
 
56
- #: ../app/lib/actions/scc_manager/subscribe_product.rb:35 action_names.rb:1
57
- msgid "Subscribe SCC Product"
58
- msgstr "SCC Produkt abonnieren"
40
+ msgid "Bulk subscription of scc_products for scc_account"
41
+ msgstr ""
59
42
 
60
- #: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:2
61
- msgid "Sync SUSE subscriptions"
62
- msgstr "SUSE Abonnements synchronisieren"
43
+ msgid "Create an scc_account"
44
+ msgstr ""
63
45
 
64
- #: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
65
- msgid "Update SUSE repositories %s"
66
- msgstr "SUSE Repositorien %s aktualisieren"
46
+ msgid "Cron expression is not valid!"
47
+ msgstr "Cron-Ausdruck ungültig!"
67
48
 
68
- #: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
69
- msgid "Unknown"
70
- msgstr "Unbekannt"
49
+ msgid "Delete %s?"
50
+ msgstr "%s löschen?"
71
51
 
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"
52
+ msgid "Delete scc_account"
53
+ msgstr ""
76
54
 
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"
55
+ msgid "Edit %s"
56
+ msgstr "%s bearbeiten"
80
57
 
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"
58
+ msgid "Failed to add task to queue: %s"
59
+ msgstr "Aufgabe konnte nicht in die Warteschlange gestellt werden: %s"
84
60
 
85
- #: ../app/models/scc_account.rb:58
86
- msgid "never synced"
87
- msgstr "Nie synchronisiert"
61
+ msgid "Foreman plugin to sync SUSE Customer Center products and repositories into Katello."
62
+ msgstr "Foreman Plugin um SUSE Customer Center Produkte und Repositorien in Katello zu importieren."
88
63
 
89
- #: ../app/models/scc_account.rb:105
90
64
  msgid "Interval cannot be nil"
91
65
  msgstr "Intervall darf nicht Null sein"
92
66
 
93
- #: ../app/models/scc_account.rb:112
67
+ msgid "Interval for syncing scc_account"
68
+ msgstr ""
69
+
94
70
  msgid "Interval not set correctly"
95
71
  msgstr "Intervall nicht richtig gesetzt"
96
72
 
97
- #: ../app/models/scc_account.rb:117
98
- msgid "Cron expression is not valid!"
99
- msgstr "Cron-Ausdruck ungültig!"
73
+ msgid "Last Sync time of scc_account"
74
+ msgstr ""
100
75
 
101
- #: ../app/models/scc_account_sync_plan_task_group.rb:5
102
- msgid "SUSE Subscription"
103
- msgstr "SUSE Abonnement"
76
+ msgid "Last synced"
77
+ msgstr "Letzte Synchronisation"
104
78
 
105
- #: ../app/views/scc_account_sync_plan_task_groups/_scc_account_sync_plan_task_groups.html.erb:1
106
- msgid "SUSE Subscription: "
79
+ msgid "List all products for scc_account"
107
80
  msgstr ""
108
81
 
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."
82
+ msgid "List all scc_accounts"
116
83
  msgstr ""
117
- "Verwenden Sie die \"Organisationszugangsdaten\" aus dem SUSE Customer "
118
- "Center."
119
84
 
120
- #: ../app/views/scc_accounts/_form.html.erb:15
121
- msgid "Base URL"
122
- msgstr "Basis URL"
85
+ msgid "Lock on SCC account already taken: %s"
86
+ msgstr "Lock für SCC Zugang bereits vergeben: %s"
123
87
 
124
- #: ../app/views/scc_accounts/_form.html.erb:16
125
- msgid "Interval"
126
- msgstr "Intervall"
88
+ msgid "Login id of scc_account"
89
+ msgstr ""
127
90
 
128
- #: ../app/views/scc_accounts/_form.html.erb:17
129
- msgid "Sync Date"
130
- msgstr "Synchronisationsdatum"
91
+ msgid "Name of the scc_account"
92
+ msgstr ""
131
93
 
132
- #: ../app/views/scc_accounts/_form.html.erb:24
133
- msgid "Test Connection"
134
- msgstr "Verbindung testen"
94
+ msgid "No products selected."
95
+ msgstr "Keine Produkte ausgewählt."
135
96
 
136
- #: ../app/views/scc_accounts/edit.html.erb:1
137
- msgid "Edit %s"
138
- msgstr "%s bearbeiten"
97
+ msgid "Password of scc_account"
98
+ msgstr ""
139
99
 
140
- #: ../app/views/scc_accounts/index.html.erb:2
141
- msgid "SUSE subscriptions"
142
- msgstr "SUSE Abonnements"
100
+ msgid "Please sync your SUSE subscriptions first."
101
+ msgstr "Bitte synchronisieren Sie zuerst Ihre SUSE Abonnements."
143
102
 
144
- #: ../app/views/scc_accounts/index.html.erb:3
145
- msgid "Add SCC account"
146
- msgstr "SCC Konto hinzufügen"
103
+ msgid "Product already subscribed!"
104
+ msgstr "Produkt wurde bereits abonniert!"
147
105
 
148
- #: ../app/views/scc_accounts/index.html.erb:9
149
106
  msgid "Products"
150
107
  msgstr "Produkte"
151
108
 
152
- #: ../app/views/scc_accounts/index.html.erb:10
153
- msgid "Last synced"
154
- msgstr "Letzte Synchronisation"
109
+ msgid "SUSE Customer Center"
110
+ msgstr "SUSE Customer Center"
155
111
 
156
- #: ../app/views/scc_accounts/index.html.erb:11
157
- msgid "Actions"
158
- msgstr "Aktionen"
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"
123
+
124
+ msgid "SUSE subscriptions"
125
+ msgstr "SUSE Abonnements"
159
126
 
160
- #: ../app/views/scc_accounts/index.html.erb:24
161
127
  msgid "Select products"
162
128
  msgstr "Produkte auswählen"
163
129
 
164
- #: ../app/views/scc_accounts/index.html.erb:25
130
+ msgid "Show an scc_account product"
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
+
165
142
  msgid "Sync"
166
143
  msgstr "Synchronisation"
167
144
 
168
- #: ../app/views/scc_accounts/index.html.erb:28
169
- msgid "Delete %s?"
170
- msgstr "%s löschen?"
145
+ msgid "Sync Date"
146
+ msgstr "Synchronisationsdatum"
171
147
 
172
- #: ../app/views/scc_accounts/new.html.erb:1
173
- msgid "Add SUSE Customer Center Account"
174
- msgstr "SUSE Customer Center Konto hinzufügen"
148
+ msgid "Sync SUSE subscriptions"
149
+ msgstr "SUSE Abonnements synchronisieren"
175
150
 
176
- #: ../app/views/scc_accounts/show.html.erb:25
177
- msgid "SUSE Customer Center"
178
- msgstr "SUSE Customer Center"
151
+ msgid "Sync SUSE subscriptions (Products)"
152
+ msgstr "SUSE Abonnements (Produkte) synchronisieren"
179
153
 
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."
154
+ msgid "Sync SUSE subscriptions (Repositories)"
155
+ msgstr "SUSE Abonnements (Repositorien) synchronisieren"
183
156
 
184
- #: ../lib/foreman_scc_manager/engine.rb:45
185
- msgid "SUSE Subscriptions"
186
- msgstr "SUSE Abonnements"
157
+ msgid "Sync interval"
158
+ msgstr ""
187
159
 
188
- #: gemspec.rb:2
189
- msgid ""
190
- "Foreman plugin to sync SUSE Customer Center products and repositories into "
191
- "Katello."
160
+ msgid "Sync scc_account"
192
161
  msgstr ""
193
- "Foreman Plugin um SUSE Customer Center Produkte und Repositorien in Katello "
194
- "zu importieren."
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 ""
177
+
178
+ msgid "URL of SUSE for scc_account"
179
+ msgstr ""
180
+
181
+ msgid "Unknown"
182
+ msgstr "Unbekannt"
183
+
184
+ msgid "Update SUSE repositories"
185
+ msgstr "SUSE Repositorien aktualisieren"
186
+
187
+ msgid "Update SUSE repositories %s"
188
+ msgstr "SUSE Repositorien %s aktualisieren"
189
+
190
+ msgid "Update scc_account"
191
+ msgstr ""
192
+
193
+ msgid "Use your 'Organization credentials' obtained from the SUSE Customer Center."
194
+ msgstr "Verwenden Sie die \"Organisationszugangsdaten\" aus dem SUSE Customer Center."
195
+
196
+ msgid "never synced"
197
+ msgstr "Nie synchronisiert"
@@ -17,226 +17,173 @@ msgstr ""
17
17
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
18
  "\n"
19
19
 
20
- #: ../app/controllers/api/v2/scc_accounts_controller.rb:15
21
- msgid "List all scc_accounts"
20
+ msgid "Actions"
22
21
  msgstr ""
23
22
 
24
- #: ../app/controllers/api/v2/scc_accounts_controller.rb:24
25
- msgid "Show scc_account"
26
- msgstr ""
23
+ msgid "Add SCC account"
24
+ msgstr "Add SCC account"
27
25
 
28
- #: ../app/controllers/api/v2/scc_accounts_controller.rb:32
29
- msgid "Name of the scc_account"
30
- msgstr ""
26
+ msgid "Add SUSE Customer Center Account"
27
+ msgstr "Add SUSE Customer Center Account"
31
28
 
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"
34
- msgstr ""
29
+ msgid "Base URL"
30
+ msgstr "Base URL"
35
31
 
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"
32
+ msgid "Bulk subscription of scc_products for scc_account"
38
33
  msgstr ""
39
34
 
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"
35
+ msgid "Create an scc_account"
42
36
  msgstr ""
43
37
 
44
- #: ../app/controllers/api/v2/scc_accounts_controller.rb:36
45
- msgid "Interval for syncing scc_account"
38
+ msgid "Cron expression is not valid!"
46
39
  msgstr ""
47
40
 
48
- #: ../app/controllers/api/v2/scc_accounts_controller.rb:37
49
- msgid "Last Sync time of scc_account"
41
+ msgid "Delete %s?"
50
42
  msgstr ""
51
43
 
52
- #: ../app/controllers/api/v2/scc_accounts_controller.rb:41
53
- msgid "Create an scc_account"
44
+ msgid "Delete scc_account"
54
45
  msgstr ""
55
46
 
56
- #: ../app/controllers/api/v2/scc_accounts_controller.rb:48
57
- msgid "Update scc_account"
47
+ msgid "Edit %s"
58
48
  msgstr ""
59
49
 
60
- #: ../app/controllers/api/v2/scc_accounts_controller.rb:55
61
- msgid "Delete scc_account"
62
- msgstr ""
50
+ msgid "Failed to add task to queue: %s"
51
+ msgstr "Failed to add task to queue: %s"
63
52
 
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"
66
- msgstr ""
53
+ msgid "Foreman plugin to sync SUSE Customer Center products and repositories into Katello."
54
+ msgstr "Foreman plugin to sync SUSE Customer Center products and repositories into Katello."
67
55
 
68
- #: ../app/controllers/api/v2/scc_accounts_controller.rb:89
69
- msgid "Sync scc_account"
56
+ msgid "Interval cannot be nil"
70
57
  msgstr ""
71
58
 
72
- #: ../app/controllers/api/v2/scc_accounts_controller.rb:103
73
- msgid "Bulk subscription of scc_products for scc_account"
59
+ msgid "Interval for syncing scc_account"
74
60
  msgstr ""
75
61
 
76
- #: ../app/controllers/api/v2/scc_products_controller.rb:15
77
- msgid "List all products for scc_account"
62
+ msgid "Interval not set correctly"
78
63
  msgstr ""
79
64
 
80
- #: ../app/controllers/api/v2/scc_products_controller.rb:24
81
- msgid "Show an scc_account product"
65
+ msgid "Last Sync time of scc_account"
82
66
  msgstr ""
83
67
 
84
- #: ../app/controllers/api/v2/scc_products_controller.rb:29
85
- msgid "Subscribe product"
86
- msgstr ""
68
+ msgid "Last synced"
69
+ msgstr "Last synced"
87
70
 
88
- #: ../app/controllers/scc_accounts_controller.rb:64
89
- msgid "Sync task started."
90
- msgstr "Sync task started."
71
+ msgid "List all products for scc_account"
72
+ msgstr ""
91
73
 
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"
74
+ msgid "List all scc_accounts"
75
+ msgstr ""
95
76
 
96
- #: ../app/controllers/scc_accounts_controller.rb:68 ../app/controllers/scc_accounts_controller.rb:88
97
77
  msgid "Lock on SCC account already taken: %s"
98
78
  msgstr "Lock on SCC account already taken: %s"
99
79
 
100
- #: ../app/controllers/scc_accounts_controller.rb:81
101
- msgid "Task to subscribe products started."
80
+ msgid "Login id of scc_account"
81
+ msgstr ""
82
+
83
+ msgid "Name of the scc_account"
102
84
  msgstr ""
103
85
 
104
- #: ../app/controllers/scc_accounts_controller.rb:83
105
86
  msgid "No products selected."
106
87
  msgstr ""
107
88
 
108
- #: ../app/lib/actions/scc_manager/subscribe_product.rb:5
89
+ msgid "Password of scc_account"
90
+ msgstr ""
91
+
92
+ msgid "Please sync your SUSE subscriptions first."
93
+ msgstr "Please sync your SUSE subscriptions first."
94
+
109
95
  msgid "Product already subscribed!"
110
96
  msgstr "Product already subscribed!"
111
97
 
112
- #: ../app/lib/actions/scc_manager/subscribe_product.rb:35 action_names.rb:21
113
- msgid "Subscribe SCC Product"
114
- msgstr "Subscribe SCC Product"
98
+ msgid "Products"
99
+ msgstr ""
115
100
 
116
- #: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:22
117
- msgid "Sync SUSE subscriptions"
118
- msgstr "Sync SUSE subscriptions"
101
+ msgid "SUSE Customer Center"
102
+ msgstr "SUSE Customer Center"
119
103
 
120
- #: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
121
- msgid "Update SUSE repositories %s"
122
- msgstr ""
104
+ msgid "SUSE Customer Center account"
105
+ msgstr "SUSE Customer Center account"
123
106
 
124
- #: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:31
125
- msgid "Unknown"
107
+ msgid "SUSE Subscription"
126
108
  msgstr ""
127
109
 
128
- #: ../app/lib/actions/scc_manager/sync_plan_account_repositories.rb:33 action_names.rb:71
129
- msgid "Update SUSE repositories"
110
+ msgid "SUSE Subscription: "
130
111
  msgstr ""
131
112
 
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)"
113
+ msgid "SUSE Subscriptions"
114
+ msgstr "SUSE Subscriptions"
135
115
 
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)"
116
+ msgid "SUSE subscriptions"
117
+ msgstr "SUSE subscriptions"
139
118
 
140
- #: ../app/models/scc_account.rb:59
141
- msgid "never synced"
119
+ msgid "Select products"
142
120
  msgstr ""
143
121
 
144
- #: ../app/models/scc_account.rb:106
145
- msgid "Interval cannot be nil"
122
+ msgid "Show an scc_account product"
146
123
  msgstr ""
147
124
 
148
- #: ../app/models/scc_account.rb:113
149
- msgid "Interval not set correctly"
125
+ msgid "Show scc_account"
150
126
  msgstr ""
151
127
 
152
- #: ../app/models/scc_account.rb:118
153
- msgid "Cron expression is not valid!"
154
- msgstr ""
128
+ msgid "Subscribe SCC Product"
129
+ msgstr "Subscribe SCC Product"
155
130
 
156
- #: ../app/models/scc_account_sync_plan_task_group.rb:5
157
- msgid "SUSE Subscription"
131
+ msgid "Subscribe product"
158
132
  msgstr ""
159
133
 
160
- #: ../app/views/scc_account_sync_plan_task_groups/_scc_account_sync_plan_task_groups.html.erb:1
161
- msgid "SUSE Subscription: "
134
+ msgid "Sync"
135
+ msgstr "Sync"
136
+
137
+ msgid "Sync Date"
162
138
  msgstr ""
163
139
 
164
- #: ../app/views/scc_accounts/_form.html.erb:6
165
- msgid "SUSE Customer Center account"
166
- msgstr "SUSE Customer Center account"
140
+ msgid "Sync SUSE subscriptions"
141
+ msgstr "Sync SUSE subscriptions"
167
142
 
168
- #: ../app/views/scc_accounts/_form.html.erb:13
169
- msgid "Use your 'Organization credentials' obtained from the SUSE Customer Center."
170
- msgstr ""
143
+ msgid "Sync SUSE subscriptions (Products)"
144
+ msgstr "Sync SUSE subscriptions (Products)"
171
145
 
172
- #: ../app/views/scc_accounts/_form.html.erb:15
173
- msgid "Base URL"
174
- msgstr "Base URL"
146
+ msgid "Sync SUSE subscriptions (Repositories)"
147
+ msgstr "Sync SUSE subscriptions (Repositories)"
175
148
 
176
- #: ../app/views/scc_accounts/_form.html.erb:16
177
- msgid "Interval"
149
+ msgid "Sync interval"
178
150
  msgstr ""
179
151
 
180
- #: ../app/views/scc_accounts/_form.html.erb:17
181
- msgid "Sync Date"
152
+ msgid "Sync scc_account"
182
153
  msgstr ""
183
154
 
184
- #: ../app/views/scc_accounts/_form.html.erb:24
185
- msgid "Test Connection"
186
- msgstr "Test Connection"
155
+ msgid "Sync task started."
156
+ msgstr "Sync task started."
187
157
 
188
- #: ../app/views/scc_accounts/edit.html.erb:1
189
- msgid "Edit %s"
158
+ msgid "Task to subscribe products started."
190
159
  msgstr ""
191
160
 
192
- #: ../app/views/scc_accounts/index.html.erb:2
193
- msgid "SUSE subscriptions"
194
- msgstr "SUSE subscriptions"
195
-
196
- #: ../app/views/scc_accounts/index.html.erb:3
197
- msgid "Add SCC account"
198
- msgstr "Add SCC account"
161
+ msgid "Test Connection"
162
+ msgstr "Test Connection"
199
163
 
200
- #: ../app/views/scc_accounts/index.html.erb:9
201
- msgid "Products"
164
+ msgid "Test connection for scc_account"
202
165
  msgstr ""
203
166
 
204
- #: ../app/views/scc_accounts/index.html.erb:10
205
- msgid "Last synced"
206
- msgstr "Last synced"
207
-
208
- #: ../app/views/scc_accounts/index.html.erb:11
209
- msgid "Actions"
167
+ msgid "The sync interval is used to periodically update the SCC authentication tokens of any imported products."
210
168
  msgstr ""
211
169
 
212
- #: ../app/views/scc_accounts/index.html.erb:24
213
- msgid "Select products"
170
+ msgid "URL of SUSE for scc_account"
214
171
  msgstr ""
215
172
 
216
- #: ../app/views/scc_accounts/index.html.erb:25
217
- msgid "Sync"
218
- msgstr "Sync"
219
-
220
- #: ../app/views/scc_accounts/index.html.erb:28
221
- msgid "Delete %s?"
173
+ msgid "Unknown"
222
174
  msgstr ""
223
175
 
224
- #: ../app/views/scc_accounts/new.html.erb:1
225
- msgid "Add SUSE Customer Center Account"
226
- msgstr "Add SUSE Customer Center Account"
176
+ msgid "Update SUSE repositories"
177
+ msgstr ""
227
178
 
228
- #: ../app/views/scc_accounts/show.html.erb:25
229
- msgid "SUSE Customer Center"
230
- msgstr "SUSE Customer Center"
179
+ msgid "Update SUSE repositories %s"
180
+ msgstr ""
231
181
 
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."
182
+ msgid "Update scc_account"
183
+ msgstr ""
235
184
 
236
- #: ../lib/foreman_scc_manager/engine.rb:64
237
- msgid "SUSE Subscriptions"
238
- msgstr "SUSE Subscriptions"
185
+ msgid "Use your 'Organization credentials' obtained from the SUSE Customer Center."
186
+ msgstr ""
239
187
 
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."
188
+ msgid "never synced"
189
+ msgstr ""
@@ -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: 2019-11-12 12:27+0000\n"
12
- "PO-Revision-Date: 2019-11-12 12:27+0000\n"
11
+ "POT-Creation-Date: 2020-03-02 13:47+0000\n"
12
+ "PO-Revision-Date: 2020-03-02 13:47+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:21
119
+ #: ../app/lib/actions/scc_manager/subscribe_product.rb:35 action_names.rb:68
120
120
  msgid "Subscribe SCC Product"
121
121
  msgstr ""
122
122
 
123
- #: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:22
123
+ #: ../app/lib/actions/scc_manager/sync.rb:27 action_names.rb:69
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:71
136
+ #: action_names.rb:70
137
137
  msgid "Update SUSE repositories"
138
138
  msgstr ""
139
139
 
140
- #: ../app/lib/actions/scc_manager/sync_products.rb:34 action_names.rb:72
140
+ #: ../app/lib/actions/scc_manager/sync_products.rb:34 action_names.rb:71
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:73
144
+ #: ../app/lib/actions/scc_manager/sync_repositories.rb:33 action_names.rb:72
145
145
  msgid "Sync SUSE subscriptions (Repositories)"
146
146
  msgstr ""
147
147
 
@@ -182,15 +182,21 @@ msgstr ""
182
182
  msgid "Base URL"
183
183
  msgstr ""
184
184
 
185
- #: ../app/views/scc_accounts/_form.html.erb:16
186
- msgid "Interval"
185
+ #: ../app/views/scc_accounts/_form.html.erb:17
186
+ msgid "Sync 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
190
196
  msgid "Sync Date"
191
197
  msgstr ""
192
198
 
193
- #: ../app/views/scc_accounts/_form.html.erb:24
199
+ #: ../app/views/scc_accounts/_form.html.erb:25
194
200
  msgid "Test Connection"
195
201
  msgstr ""
196
202
 
@@ -242,7 +248,7 @@ msgstr ""
242
248
  msgid "Please sync your SUSE subscriptions first."
243
249
  msgstr ""
244
250
 
245
- #: ../lib/foreman_scc_manager/engine.rb:64
251
+ #: ../lib/foreman_scc_manager/engine.rb:66
246
252
  msgid "SUSE Subscriptions"
247
253
  msgstr ""
248
254
 
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.8.0
4
+ version: 1.8.1
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-01-22 00:00:00.000000000 Z
11
+ date: 2020-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.75.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 2.0.1
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 2.0.1
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: webmock
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -186,7 +200,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
200
  - !ruby/object:Gem::Version
187
201
  version: '0'
188
202
  requirements: []
189
- rubygems_version: 3.0.6
203
+ rubyforge_project:
204
+ rubygems_version: 2.7.9
190
205
  signing_key:
191
206
  specification_version: 4
192
207
  summary: Suse Customer Center plugin for Foreman