iron_titan 0.0.7 → 0.0.8
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 +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 +1 -1
- 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 +16 -5
- 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 +1 -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 +11 -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: 6d3385262ff56541dcf90bdf723effa9179fe946
|
4
|
+
data.tar.gz: 96dd6eeb1f0b9a832154e177e3f9660cf1762fc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd3c7c22fb30229d727a23a26019f7c7c3a42d959b42506721f2ac16fa6ed75a01432a95cef8f886cfde8d1afbe01609b51df7065c4b8a24e13de5df223c55a1
|
7
|
+
data.tar.gz: 75e5ebd498e56d653cbd0d5ef9696ba2ad71e5975512cd037826997da197d753917c81a50474957508c23adfddd5d5ba16ba8e266bf8bef2abcdecc85ac14b32
|
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.8
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -38,6 +38,9 @@ module IronTitan
|
|
38
38
|
# Time in seconds to wait before next attempt. Default 60.
|
39
39
|
attr_accessor :retries_delay
|
40
40
|
|
41
|
+
# If this field is set, then this job is a retry of a previous job. retry_from_id points to the previous job.
|
42
|
+
attr_accessor :retry_from_id
|
43
|
+
|
41
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
45
|
def self.attribute_map
|
43
46
|
{
|
@@ -56,7 +59,9 @@ module IronTitan
|
|
56
59
|
|
57
60
|
:'retries' => :'retries',
|
58
61
|
|
59
|
-
:'retries_delay' => :'retries_delay'
|
62
|
+
:'retries_delay' => :'retries_delay',
|
63
|
+
|
64
|
+
:'retry_from_id' => :'retry_from_id'
|
60
65
|
|
61
66
|
}
|
62
67
|
end
|
@@ -71,7 +76,8 @@ module IronTitan
|
|
71
76
|
:'timeout' => :'Integer',
|
72
77
|
:'priority' => :'Integer',
|
73
78
|
:'retries' => :'Integer',
|
74
|
-
:'retries_delay' => :'Integer'
|
79
|
+
:'retries_delay' => :'Integer',
|
80
|
+
:'retry_from_id' => :'String'
|
75
81
|
|
76
82
|
}
|
77
83
|
end
|
@@ -115,6 +121,10 @@ module IronTitan
|
|
115
121
|
self.retries_delay = attributes[:'retries_delay']
|
116
122
|
end
|
117
123
|
|
124
|
+
if attributes[:'retry_from_id']
|
125
|
+
self.retry_from_id = attributes[:'retry_from_id']
|
126
|
+
end
|
127
|
+
|
118
128
|
end
|
119
129
|
|
120
130
|
# Check equality by comparing each attribute.
|
@@ -128,7 +138,8 @@ module IronTitan
|
|
128
138
|
timeout == o.timeout &&
|
129
139
|
priority == o.priority &&
|
130
140
|
retries == o.retries &&
|
131
|
-
retries_delay == o.retries_delay
|
141
|
+
retries_delay == o.retries_delay &&
|
142
|
+
retry_from_id == o.retry_from_id
|
132
143
|
end
|
133
144
|
|
134
145
|
# @see the `==` method
|
@@ -138,7 +149,7 @@ module IronTitan
|
|
138
149
|
|
139
150
|
# Calculate hash code according to all attributes.
|
140
151
|
def hash
|
141
|
-
[name, image, payload, delay, timeout, priority, retries, retries_delay].hash
|
152
|
+
[name, image, payload, delay, timeout, priority, retries, retries_delay, retry_from_id].hash
|
142
153
|
end
|
143
154
|
|
144
155
|
# 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.8
|
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.8"
|
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
data/spec/models/log_spec.rb
CHANGED
data/spec/models/new_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.8
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
|
@@ -112,5 +112,15 @@ describe 'NewJob' do
|
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
115
|
+
describe 'test attribute "retry_from_id"' do
|
116
|
+
it 'should work' do
|
117
|
+
# assertion here
|
118
|
+
# should be_a()
|
119
|
+
# should be_nil
|
120
|
+
# should ==
|
121
|
+
# should_not ==
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
115
125
|
end
|
116
126
|
|