allq_rest 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7775b76aa3f9ff837e532a5ee1823917793ad2c32891e2ef477f817df1ac92bd
4
- data.tar.gz: 6d6691f6966a56eccd3f21a148a88eccb0634255e68d3c895caf031b38d93964
3
+ metadata.gz: 82bbdad947580e4ceaf457cf1b9ea1c32d4cf9e73ff709bea1392ad680c761b6
4
+ data.tar.gz: 120732961079ccc2f9184f60d60f849fe53ac079d2d5e91a430ecdd228e34f40
5
5
  SHA512:
6
- metadata.gz: 0733d376d6a87cd5f7058ad5b102deb86524bcf2345ae98154eb2c7fa467ff2d6db464ddd276a10fb882b158b84e13949df3ecab2feadabb8a7b05d5195a0e2d
7
- data.tar.gz: 1cd72e03081e428a78802cdf0b2b6cdb212b46db3074fff4fec6a32ff444f7014e6372b11d9961b6a1b57420603d6999f34a05b7fcf7f797a132f9500747848f
6
+ metadata.gz: a4c93bf763048574c9afc6eecc4ead8115b2f4f5145950ebcb5ea745e8e53c6e6b244adf18f22440d6c458734b536eab644f8071c922043747c9f7ea1660162d
7
+ data.tar.gz: 0c201c4606699e2096d1dffcfccbe7f8e243aaa96da958a45c23a22dbad6773e2af8f8f6e1e23a5550644cbfdc3cb90d615810222c9d11f060d85df56eb64e3a
Binary file
data/deploy.sh CHANGED
@@ -1,4 +1,4 @@
1
1
  echo "Did you update the version?"
2
2
  gem build allq_rest.gemspec
3
- gem push allq_rest-1.5.0.gem
3
+ gem push allq_rest-1.5.1.gem
4
4
  #rm allq_rest-1.2.9.gem
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.2
9
+ Swagger Codegen version: 2.4.32
10
10
 
11
11
  =end
12
12
 
@@ -74,63 +74,6 @@ module Allq
74
74
  end
75
75
  return data, status_code, headers
76
76
  end
77
-
78
- # kick
79
- # kick Job
80
- # @param tube Job ID
81
- # @param [Hash] opts the optional parameters
82
- # @return [BasicResponse]
83
- def kick_put(tube, opts = {})
84
- data, _status_code, _headers = kick_put_with_http_info(tube, opts)
85
- data
86
- end
87
-
88
- # kick
89
- # kick Job
90
- # @param tube Job ID
91
- # @param [Hash] opts the optional parameters
92
- # @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
93
- def kick_put_with_http_info(tube, opts = {})
94
- if @api_client.config.debugging
95
- @api_client.config.logger.debug 'Calling API: ActionsApi.kick_put ...'
96
- end
97
- # verify the required parameter 'tube' is set
98
- if @api_client.config.client_side_validation && tube.nil?
99
- fail ArgumentError, "Missing the required parameter 'tube' when calling ActionsApi.kick_put"
100
- end
101
- # resource path
102
- local_var_path = '/kick'
103
-
104
- # query parameters
105
- query_params = {}
106
- query_params[:'tube'] = tube
107
-
108
- # header parameters
109
- header_params = {}
110
- # HTTP header 'Accept' (if needed)
111
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
112
- # HTTP header 'Content-Type'
113
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
114
-
115
- # form parameters
116
- form_params = {}
117
-
118
- # http body (model)
119
- post_body = nil
120
- auth_names = []
121
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
122
- :header_params => header_params,
123
- :query_params => query_params,
124
- :form_params => form_params,
125
- :body => post_body,
126
- :auth_names => auth_names,
127
- :return_type => 'BasicResponse')
128
- if @api_client.config.debugging
129
- @api_client.config.logger.debug "API called: ActionsApi#kick_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
130
- end
131
- return data, status_code, headers
132
- end
133
-
134
77
  # Delete
135
78
  # Finished Job
136
79
  # @param job_id Job ID
@@ -301,7 +244,61 @@ module Allq
301
244
  end
302
245
  return data, status_code, headers
303
246
  end
247
+ # Kicj
248
+ # Kick Job
249
+ # @param tube Job ID
250
+ # @param [Hash] opts the optional parameters
251
+ # @return [BasicResponse]
252
+ def kick_put(tube, opts = {})
253
+ data, _status_code, _headers = kick_put_with_http_info(tube, opts)
254
+ data
255
+ end
256
+
257
+ # Kicj
258
+ # Kick Job
259
+ # @param tube Job ID
260
+ # @param [Hash] opts the optional parameters
261
+ # @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
262
+ def kick_put_with_http_info(tube, opts = {})
263
+ if @api_client.config.debugging
264
+ @api_client.config.logger.debug 'Calling API: ActionsApi.kick_put ...'
265
+ end
266
+ # verify the required parameter 'tube' is set
267
+ if @api_client.config.client_side_validation && tube.nil?
268
+ fail ArgumentError, "Missing the required parameter 'tube' when calling ActionsApi.kick_put"
269
+ end
270
+ # resource path
271
+ local_var_path = '/kick'
272
+
273
+ # query parameters
274
+ query_params = {}
275
+ query_params[:'tube'] = tube
276
+
277
+ # header parameters
278
+ header_params = {}
279
+ # HTTP header 'Accept' (if needed)
280
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
281
+ # HTTP header 'Content-Type'
282
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
304
283
 
284
+ # form parameters
285
+ form_params = {}
286
+
287
+ # http body (model)
288
+ post_body = nil
289
+ auth_names = []
290
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
291
+ :header_params => header_params,
292
+ :query_params => query_params,
293
+ :form_params => form_params,
294
+ :body => post_body,
295
+ :auth_names => auth_names,
296
+ :return_type => 'BasicResponse')
297
+ if @api_client.config.debugging
298
+ @api_client.config.logger.debug "API called: ActionsApi#kick_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
299
+ end
300
+ return data, status_code, headers
301
+ end
305
302
  # Multiple Job
306
303
  # Get multiple jobs from queue
307
304
  # @param tube Name of tube
@@ -367,8 +364,6 @@ module Allq
367
364
  end
368
365
  return data, status_code, headers
369
366
  end
370
-
371
-
372
367
  # Parent Job
373
368
  # Create a parent job
374
369
  # @param new_parent_job New Parent Job Data
@@ -428,6 +423,7 @@ module Allq
428
423
  # @param tube Tube name
429
424
  # @param [Hash] opts the optional parameters
430
425
  # @option opts [String] :buried Look in buried (default to false)
426
+ # @option opts [String] :offset Offset from start (default to 0)
431
427
  # @return [JobResponse]
432
428
  def peek_get(tube, opts = {})
433
429
  data, _status_code, _headers = peek_get_with_http_info(tube, opts)
@@ -439,6 +435,7 @@ module Allq
439
435
  # @param tube Tube name
440
436
  # @param [Hash] opts the optional parameters
441
437
  # @option opts [String] :buried Look in buried
438
+ # @option opts [String] :offset Offset from start
442
439
  # @return [Array<(JobResponse, Fixnum, Hash)>] JobResponse data, response status code and response headers
443
440
  def peek_get_with_http_info(tube, opts = {})
444
441
  if @api_client.config.debugging
@@ -486,6 +483,7 @@ module Allq
486
483
  # Releases job back into queue
487
484
  # @param job_id Job ID
488
485
  # @param [Hash] opts the optional parameters
486
+ # @option opts [Integer] :delay Delay for re-enqueue
489
487
  # @return [BasicResponse]
490
488
  def release_put(job_id, opts = {})
491
489
  data, _status_code, _headers = release_put_with_http_info(job_id, opts)
@@ -496,6 +494,7 @@ module Allq
496
494
  # Releases job back into queue
497
495
  # @param job_id Job ID
498
496
  # @param [Hash] opts the optional parameters
497
+ # @option opts [Integer] :delay Delay for re-enqueue
499
498
  # @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
500
499
  def release_put_with_http_info(job_id, opts = {})
501
500
  if @api_client.config.debugging
@@ -542,6 +541,7 @@ module Allq
542
541
  # When a parent job doesn't know how many children are going to be added, this is the event that sets the final children count on the parent_job, allowing it to run when the children are done.
543
542
  # @param job_id Job ID
544
543
  # @param [Hash] opts the optional parameters
544
+ # @option opts [String] :force_now Force parent to start now
545
545
  # @return [BasicResponse]
546
546
  def set_children_started_put(job_id, opts = {})
547
547
  data, _status_code, _headers = set_children_started_put_with_http_info(job_id, opts)
@@ -552,6 +552,7 @@ module Allq
552
552
  # When a parent job doesn&#39;t know how many children are going to be added, this is the event that sets the final children count on the parent_job, allowing it to run when the children are done.
553
553
  # @param job_id Job ID
554
554
  # @param [Hash] opts the optional parameters
555
+ # @option opts [String] :force_now Force parent to start now
555
556
  # @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
556
557
  def set_children_started_put_with_http_info(job_id, opts = {})
557
558
  if @api_client.config.debugging
@@ -567,6 +568,7 @@ module Allq
567
568
  # query parameters
568
569
  query_params = {}
569
570
  query_params[:'job_id'] = job_id
571
+ query_params[:'force_now'] = opts[:'force_now'] if !opts[:'force_now'].nil?
570
572
 
571
573
  # header parameters
572
574
  header_params = {}
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.2
11
11
  =end
12
12
 
13
13
  module Allq
14
- VERSION = '1.5.0'
14
+ VERSION = '1.5.1'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allq_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - support@blitline.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2023-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -85,6 +85,7 @@ files:
85
85
  - allq_rest-1.2.93.gem
86
86
  - allq_rest-1.3.0.gem
87
87
  - allq_rest-1.4.0.gem
88
+ - allq_rest-1.5.0.gem
88
89
  - allq_rest.gemspec
89
90
  - deploy.sh
90
91
  - docs/ActionsApi.md