3scale_toolbox 0.16.0 → 0.18.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/3scale_toolbox.gemspec +2 -2
- data/README.md +11 -8
- data/lib/3scale_toolbox.rb +3 -0
- data/lib/3scale_toolbox/3scale_client_factory.rb +3 -4
- data/lib/3scale_toolbox/cli/error_handler.rb +17 -14
- data/lib/3scale_toolbox/commands.rb +2 -0
- data/lib/3scale_toolbox/commands/backend_command/copy_command/copy_mapping_rules_task.rb +11 -27
- data/lib/3scale_toolbox/commands/backend_command/copy_command/copy_methods_task.rb +5 -10
- data/lib/3scale_toolbox/commands/backend_command/copy_command/copy_metrics_task.rb +4 -4
- data/lib/3scale_toolbox/commands/backend_command/copy_command/create_or_update_target_backend_task.rb +3 -2
- data/lib/3scale_toolbox/commands/backend_command/copy_command/task.rb +10 -32
- data/lib/3scale_toolbox/commands/import_command/issuer_type_transformer.rb +16 -0
- data/lib/3scale_toolbox/commands/import_command/openapi.rb +3 -0
- data/lib/3scale_toolbox/commands/import_command/openapi/create_activedocs_step.rb +3 -2
- data/lib/3scale_toolbox/commands/import_command/openapi/create_mapping_rule_step.rb +2 -1
- data/lib/3scale_toolbox/commands/import_command/openapi/create_method_step.rb +5 -14
- data/lib/3scale_toolbox/commands/import_command/openapi/step.rb +4 -0
- data/lib/3scale_toolbox/commands/import_command/openapi/update_service_proxy_step.rb +1 -0
- data/lib/3scale_toolbox/commands/methods_command/apply_command.rb +2 -4
- data/lib/3scale_toolbox/commands/methods_command/create_command.rb +0 -2
- data/lib/3scale_toolbox/commands/methods_command/delete_command.rb +1 -1
- data/lib/3scale_toolbox/commands/methods_command/list_command.rb +1 -9
- data/lib/3scale_toolbox/commands/metrics_command/list_command.rb +1 -1
- data/lib/3scale_toolbox/commands/plans_command/export/read_plan_limits_step.rb +1 -1
- data/lib/3scale_toolbox/commands/plans_command/export/read_plan_methods_step.rb +2 -2
- data/lib/3scale_toolbox/commands/plans_command/export/read_plan_metrics_step.rb +2 -2
- data/lib/3scale_toolbox/commands/plans_command/export/read_plan_pricing_rules_step.rb +1 -2
- data/lib/3scale_toolbox/commands/plans_command/export/step.rb +8 -20
- data/lib/3scale_toolbox/commands/plans_command/import/import_plan_limits_step.rb +12 -14
- data/lib/3scale_toolbox/commands/plans_command/import/import_plan_metrics_step.rb +6 -13
- data/lib/3scale_toolbox/commands/plans_command/import/import_plan_pricing_rules_step.rb +12 -20
- data/lib/3scale_toolbox/commands/plans_command/import/step.rb +2 -22
- data/lib/3scale_toolbox/commands/plans_command/list_command.rb +1 -1
- data/lib/3scale_toolbox/commands/plans_command/show_command.rb +1 -1
- data/lib/3scale_toolbox/commands/policies_command.rb +24 -0
- data/lib/3scale_toolbox/commands/policies_command/export_command.rb +98 -0
- data/lib/3scale_toolbox/commands/policies_command/import_command.rb +61 -0
- data/lib/3scale_toolbox/commands/product_command.rb +4 -0
- data/lib/3scale_toolbox/commands/product_command/copy_command.rb +7 -3
- data/lib/3scale_toolbox/commands/product_command/copy_command/copy_backends_task.rb +22 -5
- data/lib/3scale_toolbox/commands/product_command/export_command.rb +81 -0
- data/lib/3scale_toolbox/commands/product_command/import_command.rb +125 -0
- data/lib/3scale_toolbox/commands/proxy_config_command.rb +5 -0
- data/lib/3scale_toolbox/commands/proxy_config_command/deploy_command.rb +54 -0
- data/lib/3scale_toolbox/commands/proxy_config_command/export_command.rb +74 -0
- data/lib/3scale_toolbox/commands/proxy_config_command/helper.rb +15 -0
- data/lib/3scale_toolbox/commands/service_command/copy_command/copy_activedocs_task.rb +15 -12
- data/lib/3scale_toolbox/commands/service_command/copy_command/copy_app_plans_task.rb +15 -15
- data/lib/3scale_toolbox/commands/service_command/copy_command/copy_limits_task.rb +12 -13
- data/lib/3scale_toolbox/commands/service_command/copy_command/copy_mapping_rules_task.rb +11 -11
- data/lib/3scale_toolbox/commands/service_command/copy_command/copy_methods_task.rb +9 -12
- data/lib/3scale_toolbox/commands/service_command/copy_command/copy_metrics_task.rb +8 -8
- data/lib/3scale_toolbox/commands/service_command/copy_command/copy_policies_task.rb +1 -1
- data/lib/3scale_toolbox/commands/service_command/copy_command/copy_pricingrules_task.rb +15 -18
- data/lib/3scale_toolbox/commands/service_command/copy_command/copy_service_proxy_task.rb +17 -2
- data/lib/3scale_toolbox/commands/service_command/copy_command/create_or_update_service_task.rb +2 -1
- data/lib/3scale_toolbox/commands/service_command/copy_command/destroy_mapping_rules_task.rb +9 -5
- data/lib/3scale_toolbox/commands/service_command/copy_command/task.rb +20 -34
- data/lib/3scale_toolbox/commands/update_command.rb +1 -1
- data/lib/3scale_toolbox/commands/update_command/service_command.rb +3 -2
- data/lib/3scale_toolbox/commands/update_command/service_command/delete_activedocs_task.rb +1 -3
- data/lib/3scale_toolbox/crds.rb +16 -0
- data/lib/3scale_toolbox/crds/application_plan_dump.rb +19 -0
- data/lib/3scale_toolbox/crds/backend_dump.rb +39 -0
- data/lib/3scale_toolbox/crds/backend_mapping_rule_dump.rb +26 -0
- data/lib/3scale_toolbox/crds/backend_method_dump.rb +12 -0
- data/lib/3scale_toolbox/crds/backend_metric_dump.rb +13 -0
- data/lib/3scale_toolbox/crds/backend_parser.rb +55 -0
- data/lib/3scale_toolbox/crds/backend_usage_dump.rb +11 -0
- data/lib/3scale_toolbox/crds/limit_dump.rb +37 -0
- data/lib/3scale_toolbox/crds/mapping_rule_dump.rb +26 -0
- data/lib/3scale_toolbox/crds/method_dump.rb +12 -0
- data/lib/3scale_toolbox/crds/metric_dump.rb +13 -0
- data/lib/3scale_toolbox/crds/pricing_rule_dump.rb +38 -0
- data/lib/3scale_toolbox/crds/product_deployment_parser.rb +329 -0
- data/lib/3scale_toolbox/crds/product_dump.rb +157 -0
- data/lib/3scale_toolbox/crds/product_parser.rb +114 -0
- data/lib/3scale_toolbox/crds/remote.rb +682 -0
- data/lib/3scale_toolbox/entities.rb +3 -0
- data/lib/3scale_toolbox/entities/activedocs.rb +12 -0
- data/lib/3scale_toolbox/entities/application_plan.rb +74 -39
- data/lib/3scale_toolbox/entities/backend.rb +65 -30
- data/lib/3scale_toolbox/entities/backend_mapping_rule.rb +29 -3
- data/lib/3scale_toolbox/entities/backend_method.rb +25 -16
- data/lib/3scale_toolbox/entities/backend_metric.rb +12 -2
- data/lib/3scale_toolbox/entities/backend_usage.rb +7 -1
- data/lib/3scale_toolbox/entities/limit.rb +71 -0
- data/lib/3scale_toolbox/entities/mapping_rule.rb +90 -0
- data/lib/3scale_toolbox/entities/method.rb +33 -19
- data/lib/3scale_toolbox/entities/metric.rb +29 -18
- data/lib/3scale_toolbox/entities/pricing_rule.rb +63 -0
- data/lib/3scale_toolbox/entities/proxy_config.rb +0 -1
- data/lib/3scale_toolbox/entities/service.rb +149 -46
- data/lib/3scale_toolbox/error.rb +50 -0
- data/lib/3scale_toolbox/helper.rb +13 -16
- data/lib/3scale_toolbox/openapi/oas3.rb +1 -1
- data/lib/3scale_toolbox/proxy_logger.rb +4 -0
- data/lib/3scale_toolbox/remote_cache.rb +157 -0
- data/lib/3scale_toolbox/remotes.rb +2 -2
- data/lib/3scale_toolbox/version.rb +1 -1
- data/licenses.xml +113 -45
- metadata +37 -8
@@ -35,14 +35,14 @@ module ThreeScaleToolbox
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
-
def delete(key)
|
38
|
+
def delete(key, &block)
|
39
39
|
value = nil
|
40
40
|
update do |rmts|
|
41
41
|
# block should return rmts
|
42
42
|
# but main method should return deleted value
|
43
43
|
rmts.tap do |r|
|
44
44
|
value = if block_given?
|
45
|
-
r.delete(key, &
|
45
|
+
r.delete(key, &block)
|
46
46
|
else
|
47
47
|
r.delete(key)
|
48
48
|
end
|
data/licenses.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<dependencies>
|
4
4
|
<dependency>
|
5
5
|
<packageName>3scale-api</packageName>
|
6
|
-
<version>1.
|
6
|
+
<version>1.4.0</version>
|
7
7
|
<licenses>
|
8
8
|
<license>
|
9
9
|
<name>MIT</name>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
</dependency>
|
14
14
|
<dependency>
|
15
15
|
<packageName>3scale_toolbox</packageName>
|
16
|
-
<version>0.
|
16
|
+
<version>0.18.3</version>
|
17
17
|
<licenses>
|
18
18
|
<license>
|
19
19
|
<name>MIT</name>
|
@@ -23,7 +23,7 @@
|
|
23
23
|
</dependency>
|
24
24
|
<dependency>
|
25
25
|
<packageName>activesupport</packageName>
|
26
|
-
<version>6.
|
26
|
+
<version>6.1.3.2</version>
|
27
27
|
<licenses>
|
28
28
|
<license>
|
29
29
|
<name>MIT</name>
|
@@ -53,17 +53,27 @@
|
|
53
53
|
</dependency>
|
54
54
|
<dependency>
|
55
55
|
<packageName>bundler</packageName>
|
56
|
-
<version>1.
|
56
|
+
<version>2.1.4</version>
|
57
57
|
<licenses>
|
58
58
|
<license>
|
59
|
-
<name>
|
60
|
-
<url
|
59
|
+
<name>MIT</name>
|
60
|
+
<url>http://opensource.org/licenses/mit-license</url>
|
61
|
+
</license>
|
62
|
+
</licenses>
|
63
|
+
</dependency>
|
64
|
+
<dependency>
|
65
|
+
<packageName>codecov</packageName>
|
66
|
+
<version>0.5.1</version>
|
67
|
+
<licenses>
|
68
|
+
<license>
|
69
|
+
<name>MIT</name>
|
70
|
+
<url>http://opensource.org/licenses/mit-license</url>
|
61
71
|
</license>
|
62
72
|
</licenses>
|
63
73
|
</dependency>
|
64
74
|
<dependency>
|
65
75
|
<packageName>coderay</packageName>
|
66
|
-
<version>1.1.
|
76
|
+
<version>1.1.3</version>
|
67
77
|
<licenses>
|
68
78
|
<license>
|
69
79
|
<name>MIT</name>
|
@@ -73,7 +83,7 @@
|
|
73
83
|
</dependency>
|
74
84
|
<dependency>
|
75
85
|
<packageName>concurrent-ruby</packageName>
|
76
|
-
<version>1.1.
|
86
|
+
<version>1.1.9</version>
|
77
87
|
<licenses>
|
78
88
|
<license>
|
79
89
|
<name>MIT</name>
|
@@ -83,7 +93,7 @@
|
|
83
93
|
</dependency>
|
84
94
|
<dependency>
|
85
95
|
<packageName>crack</packageName>
|
86
|
-
<version>0.4.
|
96
|
+
<version>0.4.5</version>
|
87
97
|
<licenses>
|
88
98
|
<license>
|
89
99
|
<name>MIT</name>
|
@@ -93,7 +103,7 @@
|
|
93
103
|
</dependency>
|
94
104
|
<dependency>
|
95
105
|
<packageName>cri</packageName>
|
96
|
-
<version>2.15.
|
106
|
+
<version>2.15.11</version>
|
97
107
|
<licenses>
|
98
108
|
<license>
|
99
109
|
<name>MIT</name>
|
@@ -113,7 +123,7 @@
|
|
113
123
|
</dependency>
|
114
124
|
<dependency>
|
115
125
|
<packageName>diff-lcs</packageName>
|
116
|
-
<version>1.
|
126
|
+
<version>1.4.4</version>
|
117
127
|
<licenses>
|
118
128
|
<license>
|
119
129
|
<name>MIT</name>
|
@@ -128,10 +138,20 @@
|
|
128
138
|
<url></url>
|
129
139
|
</license>
|
130
140
|
</licenses>
|
141
|
+
</dependency>
|
142
|
+
<dependency>
|
143
|
+
<packageName>docile</packageName>
|
144
|
+
<version>1.3.5</version>
|
145
|
+
<licenses>
|
146
|
+
<license>
|
147
|
+
<name>MIT</name>
|
148
|
+
<url>http://opensource.org/licenses/mit-license</url>
|
149
|
+
</license>
|
150
|
+
</licenses>
|
131
151
|
</dependency>
|
132
152
|
<dependency>
|
133
153
|
<packageName>dotenv</packageName>
|
134
|
-
<version>2.7.
|
154
|
+
<version>2.7.6</version>
|
135
155
|
<licenses>
|
136
156
|
<license>
|
137
157
|
<name>MIT</name>
|
@@ -161,7 +181,7 @@
|
|
161
181
|
</dependency>
|
162
182
|
<dependency>
|
163
183
|
<packageName>hashdiff</packageName>
|
164
|
-
<version>1.0.
|
184
|
+
<version>1.0.1</version>
|
165
185
|
<licenses>
|
166
186
|
<license>
|
167
187
|
<name>MIT</name>
|
@@ -171,7 +191,7 @@
|
|
171
191
|
</dependency>
|
172
192
|
<dependency>
|
173
193
|
<packageName>i18n</packageName>
|
174
|
-
<version>1.8.
|
194
|
+
<version>1.8.10</version>
|
175
195
|
<licenses>
|
176
196
|
<license>
|
177
197
|
<name>MIT</name>
|
@@ -191,7 +211,7 @@
|
|
191
211
|
</dependency>
|
192
212
|
<dependency>
|
193
213
|
<packageName>license_finder</packageName>
|
194
|
-
<version>5.
|
214
|
+
<version>5.11.1</version>
|
195
215
|
<licenses>
|
196
216
|
<license>
|
197
217
|
<name>MIT</name>
|
@@ -201,7 +221,7 @@
|
|
201
221
|
</dependency>
|
202
222
|
<dependency>
|
203
223
|
<packageName>method_source</packageName>
|
204
|
-
<version>0.
|
224
|
+
<version>1.0.0</version>
|
205
225
|
<licenses>
|
206
226
|
<license>
|
207
227
|
<name>MIT</name>
|
@@ -211,7 +231,7 @@
|
|
211
231
|
</dependency>
|
212
232
|
<dependency>
|
213
233
|
<packageName>mini_portile2</packageName>
|
214
|
-
<version>2.
|
234
|
+
<version>2.5.3</version>
|
215
235
|
<licenses>
|
216
236
|
<license>
|
217
237
|
<name>MIT</name>
|
@@ -221,7 +241,7 @@
|
|
221
241
|
</dependency>
|
222
242
|
<dependency>
|
223
243
|
<packageName>minitest</packageName>
|
224
|
-
<version>5.14.
|
244
|
+
<version>5.14.4</version>
|
225
245
|
<licenses>
|
226
246
|
<license>
|
227
247
|
<name>MIT</name>
|
@@ -231,7 +251,7 @@
|
|
231
251
|
</dependency>
|
232
252
|
<dependency>
|
233
253
|
<packageName>mustermann</packageName>
|
234
|
-
<version>1.
|
254
|
+
<version>1.1.1</version>
|
235
255
|
<licenses>
|
236
256
|
<license>
|
237
257
|
<name>MIT</name>
|
@@ -241,7 +261,7 @@
|
|
241
261
|
</dependency>
|
242
262
|
<dependency>
|
243
263
|
<packageName>mustermann-contrib</packageName>
|
244
|
-
<version>1.
|
264
|
+
<version>1.1.1</version>
|
245
265
|
<licenses>
|
246
266
|
<license>
|
247
267
|
<name>MIT</name>
|
@@ -251,7 +271,7 @@
|
|
251
271
|
</dependency>
|
252
272
|
<dependency>
|
253
273
|
<packageName>nokogiri</packageName>
|
254
|
-
<version>1.
|
274
|
+
<version>1.11.7</version>
|
255
275
|
<licenses>
|
256
276
|
<license>
|
257
277
|
<name>MIT</name>
|
@@ -261,7 +281,7 @@
|
|
261
281
|
</dependency>
|
262
282
|
<dependency>
|
263
283
|
<packageName>oas_parser</packageName>
|
264
|
-
<version>0.
|
284
|
+
<version>0.25.4</version>
|
265
285
|
<licenses>
|
266
286
|
<license>
|
267
287
|
<name>MIT</name>
|
@@ -281,7 +301,7 @@
|
|
281
301
|
</dependency>
|
282
302
|
<dependency>
|
283
303
|
<packageName>pry</packageName>
|
284
|
-
<version>0.
|
304
|
+
<version>0.13.1</version>
|
285
305
|
<licenses>
|
286
306
|
<license>
|
287
307
|
<name>MIT</name>
|
@@ -291,27 +311,51 @@
|
|
291
311
|
</dependency>
|
292
312
|
<dependency>
|
293
313
|
<packageName>public_suffix</packageName>
|
294
|
-
<version>4.0.
|
314
|
+
<version>4.0.6</version>
|
295
315
|
<licenses>
|
296
316
|
<license>
|
297
317
|
<name>MIT</name>
|
298
318
|
<url>http://opensource.org/licenses/mit-license</url>
|
299
319
|
</license>
|
300
320
|
</licenses>
|
321
|
+
</dependency>
|
322
|
+
<dependency>
|
323
|
+
<packageName>racc</packageName>
|
324
|
+
<version>1.5.2</version>
|
325
|
+
<licenses>
|
326
|
+
<license>
|
327
|
+
<name>ruby</name>
|
328
|
+
<url>http://www.ruby-lang.org/en/LICENSE.txt</url>
|
329
|
+
</license>
|
330
|
+
<license>
|
331
|
+
<name>Simplified BSD</name>
|
332
|
+
<url>http://opensource.org/licenses/bsd-license</url>
|
333
|
+
</license>
|
334
|
+
</licenses>
|
301
335
|
</dependency>
|
302
336
|
<dependency>
|
303
337
|
<packageName>rake</packageName>
|
304
|
-
<version>
|
338
|
+
<version>13.0.3</version>
|
305
339
|
<licenses>
|
306
340
|
<license>
|
307
341
|
<name>MIT</name>
|
308
342
|
<url>http://opensource.org/licenses/mit-license</url>
|
309
343
|
</license>
|
310
344
|
</licenses>
|
345
|
+
</dependency>
|
346
|
+
<dependency>
|
347
|
+
<packageName>rexml</packageName>
|
348
|
+
<version>3.2.5</version>
|
349
|
+
<licenses>
|
350
|
+
<license>
|
351
|
+
<name>Simplified BSD</name>
|
352
|
+
<url>http://opensource.org/licenses/bsd-license</url>
|
353
|
+
</license>
|
354
|
+
</licenses>
|
311
355
|
</dependency>
|
312
356
|
<dependency>
|
313
357
|
<packageName>rspec</packageName>
|
314
|
-
<version>3.
|
358
|
+
<version>3.10.0</version>
|
315
359
|
<licenses>
|
316
360
|
<license>
|
317
361
|
<name>MIT</name>
|
@@ -321,7 +365,7 @@
|
|
321
365
|
</dependency>
|
322
366
|
<dependency>
|
323
367
|
<packageName>rspec-core</packageName>
|
324
|
-
<version>3.
|
368
|
+
<version>3.10.1</version>
|
325
369
|
<licenses>
|
326
370
|
<license>
|
327
371
|
<name>MIT</name>
|
@@ -331,7 +375,7 @@
|
|
331
375
|
</dependency>
|
332
376
|
<dependency>
|
333
377
|
<packageName>rspec-expectations</packageName>
|
334
|
-
<version>3.
|
378
|
+
<version>3.10.1</version>
|
335
379
|
<licenses>
|
336
380
|
<license>
|
337
381
|
<name>MIT</name>
|
@@ -341,7 +385,7 @@
|
|
341
385
|
</dependency>
|
342
386
|
<dependency>
|
343
387
|
<packageName>rspec-mocks</packageName>
|
344
|
-
<version>3.
|
388
|
+
<version>3.10.1</version>
|
345
389
|
<licenses>
|
346
390
|
<license>
|
347
391
|
<name>MIT</name>
|
@@ -351,17 +395,31 @@
|
|
351
395
|
</dependency>
|
352
396
|
<dependency>
|
353
397
|
<packageName>rspec-support</packageName>
|
354
|
-
<version>3.
|
398
|
+
<version>3.10.1</version>
|
355
399
|
<licenses>
|
356
400
|
<license>
|
357
401
|
<name>MIT</name>
|
358
402
|
<url>http://opensource.org/licenses/mit-license</url>
|
359
403
|
</license>
|
360
404
|
</licenses>
|
405
|
+
</dependency>
|
406
|
+
<dependency>
|
407
|
+
<packageName>ruby2_keywords</packageName>
|
408
|
+
<version>0.0.4</version>
|
409
|
+
<licenses>
|
410
|
+
<license>
|
411
|
+
<name>ruby</name>
|
412
|
+
<url>http://www.ruby-lang.org/en/LICENSE.txt</url>
|
413
|
+
</license>
|
414
|
+
<license>
|
415
|
+
<name>Simplified BSD</name>
|
416
|
+
<url>http://opensource.org/licenses/bsd-license</url>
|
417
|
+
</license>
|
418
|
+
</licenses>
|
361
419
|
</dependency>
|
362
420
|
<dependency>
|
363
421
|
<packageName>rubyzip</packageName>
|
364
|
-
<version>2.
|
422
|
+
<version>2.3.0</version>
|
365
423
|
<licenses>
|
366
424
|
<license>
|
367
425
|
<name>Simplified BSD</name>
|
@@ -370,8 +428,8 @@
|
|
370
428
|
</licenses>
|
371
429
|
</dependency>
|
372
430
|
<dependency>
|
373
|
-
<packageName>
|
374
|
-
<version>
|
431
|
+
<packageName>simplecov</packageName>
|
432
|
+
<version>0.21.2</version>
|
375
433
|
<licenses>
|
376
434
|
<license>
|
377
435
|
<name>MIT</name>
|
@@ -380,8 +438,8 @@
|
|
380
438
|
</licenses>
|
381
439
|
</dependency>
|
382
440
|
<dependency>
|
383
|
-
<packageName>
|
384
|
-
<version>0.
|
441
|
+
<packageName>simplecov-html</packageName>
|
442
|
+
<version>0.12.3</version>
|
385
443
|
<licenses>
|
386
444
|
<license>
|
387
445
|
<name>MIT</name>
|
@@ -390,12 +448,22 @@
|
|
390
448
|
</licenses>
|
391
449
|
</dependency>
|
392
450
|
<dependency>
|
393
|
-
<packageName>
|
394
|
-
<version>0.
|
451
|
+
<packageName>simplecov_json_formatter</packageName>
|
452
|
+
<version>0.1.2</version>
|
395
453
|
<licenses>
|
396
454
|
<license>
|
397
|
-
<name>
|
398
|
-
<url>http://
|
455
|
+
<name>MIT</name>
|
456
|
+
<url>http://opensource.org/licenses/mit-license</url>
|
457
|
+
</license>
|
458
|
+
</licenses>
|
459
|
+
</dependency>
|
460
|
+
<dependency>
|
461
|
+
<packageName>thor</packageName>
|
462
|
+
<version>1.0.1</version>
|
463
|
+
<licenses>
|
464
|
+
<license>
|
465
|
+
<name>MIT</name>
|
466
|
+
<url>http://opensource.org/licenses/mit-license</url>
|
399
467
|
</license>
|
400
468
|
</licenses>
|
401
469
|
</dependency>
|
@@ -411,7 +479,7 @@
|
|
411
479
|
</dependency>
|
412
480
|
<dependency>
|
413
481
|
<packageName>tzinfo</packageName>
|
414
|
-
<version>
|
482
|
+
<version>2.0.4</version>
|
415
483
|
<licenses>
|
416
484
|
<license>
|
417
485
|
<name>MIT</name>
|
@@ -421,7 +489,7 @@
|
|
421
489
|
</dependency>
|
422
490
|
<dependency>
|
423
491
|
<packageName>webmock</packageName>
|
424
|
-
<version>3.
|
492
|
+
<version>3.11.1</version>
|
425
493
|
<licenses>
|
426
494
|
<license>
|
427
495
|
<name>MIT</name>
|
@@ -441,17 +509,17 @@
|
|
441
509
|
</dependency>
|
442
510
|
<dependency>
|
443
511
|
<packageName>xml-simple</packageName>
|
444
|
-
<version>1.1.
|
512
|
+
<version>1.1.8</version>
|
445
513
|
<licenses>
|
446
514
|
<license>
|
447
|
-
<name>
|
448
|
-
<url>http://
|
515
|
+
<name>MIT</name>
|
516
|
+
<url>http://opensource.org/licenses/mit-license</url>
|
449
517
|
</license>
|
450
518
|
</licenses>
|
451
519
|
</dependency>
|
452
520
|
<dependency>
|
453
521
|
<packageName>zeitwerk</packageName>
|
454
|
-
<version>2.
|
522
|
+
<version>2.4.2</version>
|
455
523
|
<licenses>
|
456
524
|
<license>
|
457
525
|
<name>MIT</name>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: 3scale_toolbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michal Cichra
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-06-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -45,14 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
48
|
+
version: '13.0'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
55
|
+
version: '13.0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rspec
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,14 +87,14 @@ dependencies:
|
|
87
87
|
requirements:
|
88
88
|
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: '1.
|
90
|
+
version: '1.4'
|
91
91
|
type: :runtime
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '1.
|
97
|
+
version: '1.4'
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: cri
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -190,6 +190,7 @@ files:
|
|
190
190
|
- lib/3scale_toolbox/commands/help_command.rb
|
191
191
|
- lib/3scale_toolbox/commands/import_command.rb
|
192
192
|
- lib/3scale_toolbox/commands/import_command/import_csv.rb
|
193
|
+
- lib/3scale_toolbox/commands/import_command/issuer_type_transformer.rb
|
193
194
|
- lib/3scale_toolbox/commands/import_command/openapi.rb
|
194
195
|
- lib/3scale_toolbox/commands/import_command/openapi/create_activedocs_step.rb
|
195
196
|
- lib/3scale_toolbox/commands/import_command/openapi/create_mapping_rule_step.rb
|
@@ -234,13 +235,21 @@ files:
|
|
234
235
|
- lib/3scale_toolbox/commands/plans_command/import_command.rb
|
235
236
|
- lib/3scale_toolbox/commands/plans_command/list_command.rb
|
236
237
|
- lib/3scale_toolbox/commands/plans_command/show_command.rb
|
238
|
+
- lib/3scale_toolbox/commands/policies_command.rb
|
239
|
+
- lib/3scale_toolbox/commands/policies_command/export_command.rb
|
240
|
+
- lib/3scale_toolbox/commands/policies_command/import_command.rb
|
237
241
|
- lib/3scale_toolbox/commands/policy_registry_command.rb
|
238
242
|
- lib/3scale_toolbox/commands/policy_registry_command/copy_command.rb
|
239
243
|
- lib/3scale_toolbox/commands/product_command.rb
|
240
244
|
- lib/3scale_toolbox/commands/product_command/copy_command.rb
|
241
245
|
- lib/3scale_toolbox/commands/product_command/copy_command/copy_backends_task.rb
|
242
246
|
- lib/3scale_toolbox/commands/product_command/copy_command/delete_target_backend_usages_task.rb
|
247
|
+
- lib/3scale_toolbox/commands/product_command/export_command.rb
|
248
|
+
- lib/3scale_toolbox/commands/product_command/import_command.rb
|
243
249
|
- lib/3scale_toolbox/commands/proxy_config_command.rb
|
250
|
+
- lib/3scale_toolbox/commands/proxy_config_command/deploy_command.rb
|
251
|
+
- lib/3scale_toolbox/commands/proxy_config_command/export_command.rb
|
252
|
+
- lib/3scale_toolbox/commands/proxy_config_command/helper.rb
|
244
253
|
- lib/3scale_toolbox/commands/proxy_config_command/list_command.rb
|
245
254
|
- lib/3scale_toolbox/commands/proxy_config_command/promote_command.rb
|
246
255
|
- lib/3scale_toolbox/commands/proxy_config_command/show_command.rb
|
@@ -274,6 +283,23 @@ files:
|
|
274
283
|
- lib/3scale_toolbox/commands/update_command/service_command/copy_service_settings_task.rb
|
275
284
|
- lib/3scale_toolbox/commands/update_command/service_command/delete_activedocs_task.rb
|
276
285
|
- lib/3scale_toolbox/configuration.rb
|
286
|
+
- lib/3scale_toolbox/crds.rb
|
287
|
+
- lib/3scale_toolbox/crds/application_plan_dump.rb
|
288
|
+
- lib/3scale_toolbox/crds/backend_dump.rb
|
289
|
+
- lib/3scale_toolbox/crds/backend_mapping_rule_dump.rb
|
290
|
+
- lib/3scale_toolbox/crds/backend_method_dump.rb
|
291
|
+
- lib/3scale_toolbox/crds/backend_metric_dump.rb
|
292
|
+
- lib/3scale_toolbox/crds/backend_parser.rb
|
293
|
+
- lib/3scale_toolbox/crds/backend_usage_dump.rb
|
294
|
+
- lib/3scale_toolbox/crds/limit_dump.rb
|
295
|
+
- lib/3scale_toolbox/crds/mapping_rule_dump.rb
|
296
|
+
- lib/3scale_toolbox/crds/method_dump.rb
|
297
|
+
- lib/3scale_toolbox/crds/metric_dump.rb
|
298
|
+
- lib/3scale_toolbox/crds/pricing_rule_dump.rb
|
299
|
+
- lib/3scale_toolbox/crds/product_deployment_parser.rb
|
300
|
+
- lib/3scale_toolbox/crds/product_dump.rb
|
301
|
+
- lib/3scale_toolbox/crds/product_parser.rb
|
302
|
+
- lib/3scale_toolbox/crds/remote.rb
|
277
303
|
- lib/3scale_toolbox/entities.rb
|
278
304
|
- lib/3scale_toolbox/entities/account.rb
|
279
305
|
- lib/3scale_toolbox/entities/activedocs.rb
|
@@ -285,8 +311,11 @@ files:
|
|
285
311
|
- lib/3scale_toolbox/entities/backend_metric.rb
|
286
312
|
- lib/3scale_toolbox/entities/backend_usage.rb
|
287
313
|
- lib/3scale_toolbox/entities/base_entity.rb
|
314
|
+
- lib/3scale_toolbox/entities/limit.rb
|
315
|
+
- lib/3scale_toolbox/entities/mapping_rule.rb
|
288
316
|
- lib/3scale_toolbox/entities/method.rb
|
289
317
|
- lib/3scale_toolbox/entities/metric.rb
|
318
|
+
- lib/3scale_toolbox/entities/pricing_rule.rb
|
290
319
|
- lib/3scale_toolbox/entities/proxy_config.rb
|
291
320
|
- lib/3scale_toolbox/entities/service.rb
|
292
321
|
- lib/3scale_toolbox/error.rb
|
@@ -295,6 +324,7 @@ files:
|
|
295
324
|
- lib/3scale_toolbox/openapi/oas3.rb
|
296
325
|
- lib/3scale_toolbox/openapi/swagger.rb
|
297
326
|
- lib/3scale_toolbox/proxy_logger.rb
|
327
|
+
- lib/3scale_toolbox/remote_cache.rb
|
298
328
|
- lib/3scale_toolbox/remotes.rb
|
299
329
|
- lib/3scale_toolbox/resource_reader.rb
|
300
330
|
- lib/3scale_toolbox/version.rb
|
@@ -320,8 +350,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
320
350
|
- !ruby/object:Gem::Version
|
321
351
|
version: '0'
|
322
352
|
requirements: []
|
323
|
-
|
324
|
-
rubygems_version: 2.7.6
|
353
|
+
rubygems_version: 3.0.3
|
325
354
|
signing_key:
|
326
355
|
specification_version: 4
|
327
356
|
summary: 3scale Toolbox.
|