allq_rest 1.4.0 → 1.5.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: 62692a617b224335c350bcd0176f3784a5af46c80ca8c16907534358ccb10574
4
- data.tar.gz: 89bcfe367f2f17d7a878edbdabe327e690c8c1c7b1acb99eca0aec4b4d69faac
3
+ metadata.gz: 82bbdad947580e4ceaf457cf1b9ea1c32d4cf9e73ff709bea1392ad680c761b6
4
+ data.tar.gz: 120732961079ccc2f9184f60d60f849fe53ac079d2d5e91a430ecdd228e34f40
5
5
  SHA512:
6
- metadata.gz: f320241198a93d8043c581b6d626b45237ecac5c0583c619631b27f1b78057614386acc166469d318bb84c82fb0082180cf10c35e73dfc4e352d5120dadb501d
7
- data.tar.gz: c7b64a3e2c0ae77bd1b834cf78e845a94eec05cfcb87127c96304d95bc2a90c05cd0683e4e75e2919a97840aded0673cc29a91831a06d8c3fa72e64dfe9d05ff
6
+ metadata.gz: a4c93bf763048574c9afc6eecc4ead8115b2f4f5145950ebcb5ea745e8e53c6e6b244adf18f22440d6c458734b536eab644f8071c922043747c9f7ea1660162d
7
+ data.tar.gz: 0c201c4606699e2096d1dffcfccbe7f8e243aaa96da958a45c23a22dbad6773e2af8f8f6e1e23a5550644cbfdc3cb90d615810222c9d11f060d85df56eb64e3a
Binary file
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.4.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
@@ -511,6 +510,7 @@ module Allq
511
510
  # query parameters
512
511
  query_params = {}
513
512
  query_params[:'job_id'] = job_id
513
+ query_params[:'delay'] = opts[:'delay'] if !opts[:'delay'].nil?
514
514
 
515
515
  # header parameters
516
516
  header_params = {}
@@ -541,6 +541,7 @@ module Allq
541
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.
542
542
  # @param job_id Job ID
543
543
  # @param [Hash] opts the optional parameters
544
+ # @option opts [String] :force_now Force parent to start now
544
545
  # @return [BasicResponse]
545
546
  def set_children_started_put(job_id, opts = {})
546
547
  data, _status_code, _headers = set_children_started_put_with_http_info(job_id, opts)
@@ -551,6 +552,7 @@ module Allq
551
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.
552
553
  # @param job_id Job ID
553
554
  # @param [Hash] opts the optional parameters
555
+ # @option opts [String] :force_now Force parent to start now
554
556
  # @return [Array<(BasicResponse, Fixnum, Hash)>] BasicResponse data, response status code and response headers
555
557
  def set_children_started_put_with_http_info(job_id, opts = {})
556
558
  if @api_client.config.debugging
@@ -566,6 +568,7 @@ module Allq
566
568
  # query parameters
567
569
  query_params = {}
568
570
  query_params[:'job_id'] = job_id
571
+ query_params[:'force_now'] = opts[:'force_now'] if !opts[:'force_now'].nil?
569
572
 
570
573
  # header parameters
571
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.4.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.4.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: 2022-12-30 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
@@ -84,6 +84,8 @@ files:
84
84
  - allq_rest-1.2.92.gem
85
85
  - allq_rest-1.2.93.gem
86
86
  - allq_rest-1.3.0.gem
87
+ - allq_rest-1.4.0.gem
88
+ - allq_rest-1.5.0.gem
87
89
  - allq_rest.gemspec
88
90
  - deploy.sh
89
91
  - docs/ActionsApi.md