iron_titan 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/iron_titan/api/core_api.rb +1 -1
- data/lib/iron_titan/api/jobs_api.rb +1 -1
- data/lib/iron_titan/api_client.rb +1 -1
- data/lib/iron_titan/api_error.rb +1 -1
- data/lib/iron_titan/models/error.rb +1 -1
- data/lib/iron_titan/models/error_body.rb +1 -1
- data/lib/iron_titan/models/job.rb +13 -2
- data/lib/iron_titan/models/job_array.rb +1 -1
- data/lib/iron_titan/models/job_wrapper.rb +1 -1
- data/lib/iron_titan/models/log.rb +1 -1
- data/lib/iron_titan/models/new_job.rb +1 -1
- data/lib/iron_titan/models/new_job_array.rb +1 -1
- data/lib/iron_titan/version.rb +2 -2
- data/lib/iron_titan.rb +1 -1
- data/spec/api/core_api_spec.rb +1 -1
- data/spec/api/jobs_api_spec.rb +1 -1
- data/spec/models/Error_spec.rb +1 -1
- data/spec/models/Job_spec.rb +11 -1
- data/spec/models/error_body_spec.rb +1 -1
- data/spec/models/job_array_spec.rb +1 -1
- data/spec/models/job_wrapper_spec.rb +1 -1
- data/spec/models/log_spec.rb +1 -1
- data/spec/models/new_job_array_spec.rb +1 -1
- data/spec/models/new_job_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 307b52a98bf126f51fe7dc60c2476947040a15c1
|
4
|
+
data.tar.gz: f1b22ec241975007a3c2ca4156c8d1d8412e592c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9367d8eb876b3bd8388764eaf3c9871a706d26849893257ad1ee7e29e770b09b0aa4ef6cb630f38651631efffc7973adffded9a0c4c8e31159402c69393e028
|
7
|
+
data.tar.gz: 49f3691965c83eee8390091685a3b8caf9d39c0bbbf974d36ed5c36bf0e7fc04ed2c2c131e2e163ba6fb3b5a1a841f016b572f0ae3a011bf203917ca64ee4523
|
data/lib/iron_titan/api_error.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.
|
6
|
+
OpenAPI spec version: 0.0.6
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -53,6 +53,9 @@ module IronTitan
|
|
53
53
|
# Unique identifier representing a specific job.
|
54
54
|
attr_accessor :id
|
55
55
|
|
56
|
+
# If this field is set, then the job was retried and RetryId points to new job.
|
57
|
+
attr_accessor :retry_id
|
58
|
+
|
56
59
|
# Status of job. One of: [pending, running, success, error, timeout]
|
57
60
|
attr_accessor :status
|
58
61
|
|
@@ -86,6 +89,8 @@ module IronTitan
|
|
86
89
|
|
87
90
|
:'id' => :'id',
|
88
91
|
|
92
|
+
:'retry_id' => :'retry_id',
|
93
|
+
|
89
94
|
:'status' => :'status'
|
90
95
|
|
91
96
|
}
|
@@ -107,6 +112,7 @@ module IronTitan
|
|
107
112
|
:'name' => :'String',
|
108
113
|
:'started_at' => :'DateTime',
|
109
114
|
:'id' => :'String',
|
115
|
+
:'retry_id' => :'String',
|
110
116
|
:'status' => :'String'
|
111
117
|
|
112
118
|
}
|
@@ -171,6 +177,10 @@ module IronTitan
|
|
171
177
|
self.id = attributes[:'id']
|
172
178
|
end
|
173
179
|
|
180
|
+
if attributes[:'retry_id']
|
181
|
+
self.retry_id = attributes[:'retry_id']
|
182
|
+
end
|
183
|
+
|
174
184
|
if attributes[:'status']
|
175
185
|
self.status = attributes[:'status']
|
176
186
|
end
|
@@ -194,6 +204,7 @@ module IronTitan
|
|
194
204
|
name == o.name &&
|
195
205
|
started_at == o.started_at &&
|
196
206
|
id == o.id &&
|
207
|
+
retry_id == o.retry_id &&
|
197
208
|
status == o.status
|
198
209
|
end
|
199
210
|
|
@@ -204,7 +215,7 @@ module IronTitan
|
|
204
215
|
|
205
216
|
# Calculate hash code according to all attributes.
|
206
217
|
def hash
|
207
|
-
[image, created_at, priority, retries_delay, error, timeout, retries, completed_at, delay, payload, name, started_at, id, status].hash
|
218
|
+
[image, created_at, priority, retries_delay, error, timeout, retries, completed_at, delay, payload, name, started_at, id, retry_id, status].hash
|
208
219
|
end
|
209
220
|
|
210
221
|
# build the object from hash
|
data/lib/iron_titan/version.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.
|
6
|
+
OpenAPI spec version: 0.0.6
|
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.
|
14
|
+
VERSION = "0.0.6"
|
15
15
|
end
|
data/lib/iron_titan.rb
CHANGED
data/spec/api/core_api_spec.rb
CHANGED
data/spec/api/jobs_api_spec.rb
CHANGED
data/spec/models/Error_spec.rb
CHANGED
data/spec/models/Job_spec.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.
|
6
|
+
OpenAPI spec version: 0.0.6
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -162,6 +162,16 @@ describe 'Job' do
|
|
162
162
|
end
|
163
163
|
end
|
164
164
|
|
165
|
+
describe 'test attribute "retry_id"' do
|
166
|
+
it 'should work' do
|
167
|
+
# assertion here
|
168
|
+
# should be_a()
|
169
|
+
# should be_nil
|
170
|
+
# should ==
|
171
|
+
# should_not ==
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
165
175
|
describe 'test attribute "status"' do
|
166
176
|
it 'should work' do
|
167
177
|
# assertion here
|
data/spec/models/log_spec.rb
CHANGED
data/spec/models/new_job_spec.rb
CHANGED