iron_titan 0.0.8 → 0.0.9

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
  SHA1:
3
- metadata.gz: 6d3385262ff56541dcf90bdf723effa9179fe946
4
- data.tar.gz: 96dd6eeb1f0b9a832154e177e3f9660cf1762fc0
3
+ metadata.gz: f5bfe7603f33a81662fc0179641328b4e322b3f0
4
+ data.tar.gz: 2c54ee04cd8394f309bad2a1e64b026d610a5f25
5
5
  SHA512:
6
- metadata.gz: dd3c7c22fb30229d727a23a26019f7c7c3a42d959b42506721f2ac16fa6ed75a01432a95cef8f886cfde8d1afbe01609b51df7065c4b8a24e13de5df223c55a1
7
- data.tar.gz: 75e5ebd498e56d653cbd0d5ef9696ba2ad71e5975512cd037826997da197d753917c81a50474957508c23adfddd5d5ba16ba8e266bf8bef2abcdecc85ac14b32
6
+ metadata.gz: 8fe61b4d4391a5d7306eea2d57ce82ea1a85c3d953f6dd218881becd755c958aae29609a2212c327afd95aa58269da72211ae2856ceda33fe6830b8be7403209
7
+ data.tar.gz: 5c243ccbbcb6e055ac50b8abfb745c5175cf0a760bfa5cff5319df4bbb93fe06b34e839f00969f4a85abdb8559135eabf2610c66ab537813403e69e6e200ab9a
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -80,71 +80,6 @@ module IronTitan
80
80
  return data, status_code, headers
81
81
  end
82
82
 
83
- # Update a job
84
- # Typically used to update status on error/completion. TODO: only allow 'status' field.
85
- # @param id Job id
86
- # @param body Job data to post
87
- # @param [Hash] opts the optional parameters
88
- # @return [JobWrapper]
89
- def job_id_patch(id, body, opts = {})
90
- data, status_code, headers = job_id_patch_with_http_info(id, body, opts)
91
- return data
92
- end
93
-
94
- # Update a job
95
- # Typically used to update status on error/completion. TODO: only allow 'status' field.
96
- # @param id Job id
97
- # @param body Job data to post
98
- # @param [Hash] opts the optional parameters
99
- # @return [Array<(JobWrapper, Fixnum, Hash)>] JobWrapper data, response status code and response headers
100
- def job_id_patch_with_http_info(id, body, opts = {})
101
- if @api_client.config.debugging
102
- @api_client.config.logger.debug "Calling API: CoreApi#job_id_patch ..."
103
- end
104
-
105
- # verify the required parameter 'id' is set
106
- fail "Missing the required parameter 'id' when calling job_id_patch" if id.nil?
107
-
108
- # verify the required parameter 'body' is set
109
- fail "Missing the required parameter 'body' when calling job_id_patch" if body.nil?
110
-
111
- # resource path
112
- local_var_path = "/job/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
113
-
114
- # query parameters
115
- query_params = {}
116
-
117
- # header parameters
118
- header_params = {}
119
-
120
- # HTTP header 'Accept' (if needed)
121
- _header_accept = ['application/json']
122
- _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
123
-
124
- # HTTP header 'Content-Type'
125
- _header_content_type = ['application/json']
126
- header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
127
-
128
- # form parameters
129
- form_params = {}
130
-
131
- # http body (model)
132
- post_body = @api_client.object_to_http_body(body)
133
-
134
- auth_names = []
135
- data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
136
- :header_params => header_params,
137
- :query_params => query_params,
138
- :form_params => form_params,
139
- :body => post_body,
140
- :auth_names => auth_names,
141
- :return_type => 'JobWrapper')
142
- if @api_client.config.debugging
143
- @api_client.config.logger.debug "API called: CoreApi#job_id_patch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
144
- end
145
- return data, status_code, headers
146
- end
147
-
148
83
  # Get next job.
149
84
  # Gets the next job in the queue, ready for processing.
150
85
  # @param [Hash] opts the optional parameters
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -442,5 +442,71 @@ module IronTitan
442
442
  end
443
443
  return data, status_code, headers
444
444
  end
445
+
446
+ # Get job list by name.
447
+ # Gets the next job in the queue, ready for processing.
448
+ # @param name Name of this set of jobs.
449
+ # @param [Hash] opts the optional parameters
450
+ # @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
451
+ # @option opts [Integer] :n Number of jobs to return.
452
+ # @return [JobArray]
453
+ def jobs_name_get(name, opts = {})
454
+ data, status_code, headers = jobs_name_get_with_http_info(name, opts)
455
+ return data
456
+ end
457
+
458
+ # Get job list by name.
459
+ # Gets the next job in the queue, ready for processing.
460
+ # @param name Name of this set of jobs.
461
+ # @param [Hash] opts the optional parameters
462
+ # @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
463
+ # @option opts [Integer] :n Number of jobs to return.
464
+ # @return [Array<(JobArray, Fixnum, Hash)>] JobArray data, response status code and response headers
465
+ def jobs_name_get_with_http_info(name, opts = {})
466
+ if @api_client.config.debugging
467
+ @api_client.config.logger.debug "Calling API: JobsApi#jobs_name_get ..."
468
+ end
469
+
470
+ # verify the required parameter 'name' is set
471
+ fail "Missing the required parameter 'name' when calling jobs_name_get" if name.nil?
472
+
473
+ # resource path
474
+ local_var_path = "/jobs/{name}".sub('{format}','json').sub('{' + 'name' + '}', name.to_s)
475
+
476
+ # query parameters
477
+ query_params = {}
478
+ query_params[:'created_after'] = opts[:'created_after'] if opts[:'created_after']
479
+ query_params[:'n'] = opts[:'n'] if opts[:'n']
480
+
481
+ # header parameters
482
+ header_params = {}
483
+
484
+ # HTTP header 'Accept' (if needed)
485
+ _header_accept = ['application/json']
486
+ _header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
487
+
488
+ # HTTP header 'Content-Type'
489
+ _header_content_type = ['application/json']
490
+ header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
491
+
492
+ # form parameters
493
+ form_params = {}
494
+
495
+ # http body (model)
496
+ post_body = nil
497
+
498
+ auth_names = []
499
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
500
+ :header_params => header_params,
501
+ :query_params => query_params,
502
+ :form_params => form_params,
503
+ :body => post_body,
504
+ :auth_names => auth_names,
505
+ :return_type => 'JobArray')
506
+ if @api_client.config.debugging
507
+ @api_client.config.logger.debug "API called: JobsApi#jobs_name_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
508
+ end
509
+ return data, status_code, headers
510
+ end
445
511
  end
446
512
  end
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -11,5 +11,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  =end
12
12
 
13
13
  module IronTitan
14
- VERSION = "0.0.8"
14
+ VERSION = "0.0.9"
15
15
  end
data/lib/iron_titan.rb CHANGED
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -48,23 +48,6 @@ describe 'CoreApi' do
48
48
  end
49
49
  end
50
50
 
51
- # unit tests for job_id_patch
52
- # Update a job
53
- # Typically used to update status on error/completion. TODO: only allow &#39;status&#39; field.
54
- # @param id Job id
55
- # @param body Job data to post
56
- # @param [Hash] opts the optional parameters
57
- # @return [JobWrapper]
58
- describe 'job_id_patch test' do
59
- it "should work" do
60
- # assertion here
61
- # should be_a()
62
- # should be_nil
63
- # should ==
64
- # should_not ==
65
- end
66
- end
67
-
68
51
  # unit tests for jobs_get
69
52
  # Get next job.
70
53
  # Gets the next job in the queue, ready for processing.
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -145,4 +145,22 @@ describe 'JobsApi' do
145
145
  end
146
146
  end
147
147
 
148
+ # unit tests for jobs_name_get
149
+ # Get job list by name.
150
+ # Gets the next job in the queue, ready for processing.
151
+ # @param name Name of this set of jobs.
152
+ # @param [Hash] opts the optional parameters
153
+ # @option opts [DateTime] :created_after Will return jobs created after this time. In RFC3339 format.
154
+ # @option opts [Integer] :n Number of jobs to return.
155
+ # @return [JobArray]
156
+ describe 'jobs_name_get test' do
157
+ it "should work" do
158
+ # assertion here
159
+ # should be_a()
160
+ # should be_nil
161
+ # should ==
162
+ # should_not ==
163
+ end
164
+ end
165
+
148
166
  end
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@ Titan API
3
3
 
4
4
  The ultimate, language agnostic, container based job processing framework.
5
5
 
6
- OpenAPI spec version: 0.0.8
6
+ OpenAPI spec version: 0.0.9
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iron_titan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-07 00:00:00.000000000 Z
11
+ date: 2016-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus