iron_titan 0.0.6 → 0.0.7
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 +14 -3
- 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: 9289bb2d477603d934b30ada3cf2a6f110660ed3
|
4
|
+
data.tar.gz: cd02659c63e18627336170c2df6d785477eb515f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2408f371a6c2e03f2302207113143b556ed26b013eb14669ea706e9ace4e987b1917776f2264c3663f17cf84cb673e76624fd1a41e097feb37a34b1075580497
|
7
|
+
data.tar.gz: 6e15605c44309b758eb1deb5299592848b41d0d4246abbc520f81d43853d33beed7afc15a1eb35937b0eda18550c998db367b14d092dc2314e7df7ad0a863728
|
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.7
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -17,6 +17,9 @@ module IronTitan
|
|
17
17
|
# Docker image to use for job.
|
18
18
|
attr_accessor :image
|
19
19
|
|
20
|
+
# If this field is set, then this job is a retry of a previous job. retry_from_id points to the previous job.
|
21
|
+
attr_accessor :retry_from_id
|
22
|
+
|
20
23
|
# Time when job was submitted.
|
21
24
|
attr_accessor :created_at
|
22
25
|
|
@@ -53,7 +56,7 @@ module IronTitan
|
|
53
56
|
# Unique identifier representing a specific job.
|
54
57
|
attr_accessor :id
|
55
58
|
|
56
|
-
# If this field is set, then
|
59
|
+
# If this field is set, then this job was retried and RetryId points to new job.
|
57
60
|
attr_accessor :retry_id
|
58
61
|
|
59
62
|
# Status of job. One of: [pending, running, success, error, timeout]
|
@@ -65,6 +68,8 @@ module IronTitan
|
|
65
68
|
|
66
69
|
:'image' => :'image',
|
67
70
|
|
71
|
+
:'retry_from_id' => :'retry_from_id',
|
72
|
+
|
68
73
|
:'created_at' => :'created_at',
|
69
74
|
|
70
75
|
:'priority' => :'priority',
|
@@ -100,6 +105,7 @@ module IronTitan
|
|
100
105
|
def self.swagger_types
|
101
106
|
{
|
102
107
|
:'image' => :'String',
|
108
|
+
:'retry_from_id' => :'String',
|
103
109
|
:'created_at' => :'DateTime',
|
104
110
|
:'priority' => :'Integer',
|
105
111
|
:'retries_delay' => :'Integer',
|
@@ -129,6 +135,10 @@ module IronTitan
|
|
129
135
|
self.image = attributes[:'image']
|
130
136
|
end
|
131
137
|
|
138
|
+
if attributes[:'retry_from_id']
|
139
|
+
self.retry_from_id = attributes[:'retry_from_id']
|
140
|
+
end
|
141
|
+
|
132
142
|
if attributes[:'created_at']
|
133
143
|
self.created_at = attributes[:'created_at']
|
134
144
|
end
|
@@ -192,6 +202,7 @@ module IronTitan
|
|
192
202
|
return true if self.equal?(o)
|
193
203
|
self.class == o.class &&
|
194
204
|
image == o.image &&
|
205
|
+
retry_from_id == o.retry_from_id &&
|
195
206
|
created_at == o.created_at &&
|
196
207
|
priority == o.priority &&
|
197
208
|
retries_delay == o.retries_delay &&
|
@@ -215,7 +226,7 @@ module IronTitan
|
|
215
226
|
|
216
227
|
# Calculate hash code according to all attributes.
|
217
228
|
def hash
|
218
|
-
[image, created_at, priority, retries_delay, error, timeout, retries, completed_at, delay, payload, name, started_at, id, retry_id, status].hash
|
229
|
+
[image, retry_from_id, created_at, priority, retries_delay, error, timeout, retries, completed_at, delay, payload, name, started_at, id, retry_id, status].hash
|
219
230
|
end
|
220
231
|
|
221
232
|
# 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.7
|
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.7"
|
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.7
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -42,6 +42,16 @@ describe 'Job' do
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
+
describe 'test attribute "retry_from_id"' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here
|
48
|
+
# should be_a()
|
49
|
+
# should be_nil
|
50
|
+
# should ==
|
51
|
+
# should_not ==
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
45
55
|
describe 'test attribute "created_at"' do
|
46
56
|
it 'should work' do
|
47
57
|
# assertion here
|
data/spec/models/log_spec.rb
CHANGED
data/spec/models/new_job_spec.rb
CHANGED