iron_titan 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +100 -29
  3. data/lib/iron_titan/api/core_api.rb +71 -12
  4. data/lib/iron_titan/api/images_api.rb +32 -32
  5. data/lib/iron_titan/api/jobs_api.rb +335 -75
  6. data/lib/iron_titan/api_client.rb +2 -2
  7. data/lib/iron_titan/api_error.rb +1 -1
  8. data/lib/iron_titan/models/error.rb +1 -1
  9. data/lib/iron_titan/models/error_body.rb +1 -1
  10. data/lib/iron_titan/models/id_status.rb +182 -0
  11. data/lib/iron_titan/models/image.rb +8 -8
  12. data/lib/iron_titan/models/image_wrapper.rb +1 -1
  13. data/lib/iron_titan/models/images_wrapper.rb +1 -1
  14. data/lib/iron_titan/models/job.rb +110 -103
  15. data/lib/iron_titan/models/job_wrapper.rb +1 -1
  16. data/lib/iron_titan/models/jobs_wrapper.rb +15 -5
  17. data/lib/iron_titan/models/new_job.rb +27 -50
  18. data/lib/iron_titan/models/new_job_with_image.rb +249 -0
  19. data/lib/iron_titan/models/new_jobs_wrapper.rb +2 -2
  20. data/lib/iron_titan/models/reason.rb +152 -0
  21. data/lib/iron_titan/version.rb +2 -2
  22. data/lib/iron_titan.rb +11 -9
  23. data/spec/api/core_api_spec.rb +21 -5
  24. data/spec/api/images_api_spec.rb +12 -12
  25. data/spec/api/jobs_api_spec.rb +92 -24
  26. data/spec/models/Error_spec.rb +2 -2
  27. data/spec/models/Job_spec.rb +15 -25
  28. data/spec/models/error_body_spec.rb +2 -2
  29. data/spec/models/id_status_spec.rb +56 -0
  30. data/spec/models/image_spec.rb +3 -3
  31. data/spec/models/image_wrapper_spec.rb +2 -2
  32. data/spec/models/images_wrapper_spec.rb +2 -2
  33. data/spec/models/job_wrapper_spec.rb +2 -2
  34. data/spec/models/jobs_wrapper_spec.rb +12 -2
  35. data/spec/models/log_spec.rb +1 -1
  36. data/spec/models/new_job_spec.rb +3 -33
  37. data/spec/models/new_job_with_image_spec.rb +116 -0
  38. data/spec/models/new_jobs_wrapper_spec.rb +2 -2
  39. data/spec/models/reason_spec.rb +36 -0
  40. metadata +11 -2
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.1.1
6
+ OpenAPI spec version: 0.2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -17,22 +17,24 @@ require 'iron_titan/version'
17
17
  require 'iron_titan/configuration'
18
18
 
19
19
  # Models
20
- require 'iron_titan/models/jobs_wrapper'
20
+ require 'iron_titan/models/error'
21
21
  require 'iron_titan/models/error_body'
22
- require 'iron_titan/models/new_jobs_wrapper'
22
+ require 'iron_titan/models/id_status'
23
+ require 'iron_titan/models/image'
23
24
  require 'iron_titan/models/image_wrapper'
24
- require 'iron_titan/models/log'
25
25
  require 'iron_titan/models/images_wrapper'
26
- require 'iron_titan/models/error'
27
- require 'iron_titan/models/job_wrapper'
28
26
  require 'iron_titan/models/job'
29
- require 'iron_titan/models/image'
27
+ require 'iron_titan/models/job_wrapper'
28
+ require 'iron_titan/models/jobs_wrapper'
30
29
  require 'iron_titan/models/new_job'
30
+ require 'iron_titan/models/new_job_with_image'
31
+ require 'iron_titan/models/new_jobs_wrapper'
32
+ require 'iron_titan/models/reason'
31
33
 
32
34
  # APIs
33
- require 'iron_titan/api/jobs_api'
34
- require 'iron_titan/api/images_api'
35
35
  require 'iron_titan/api/core_api'
36
+ require 'iron_titan/api/images_api'
37
+ require 'iron_titan/api/jobs_api'
36
38
 
37
39
  module IronTitan
38
40
  class << self
@@ -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.1.1
6
+ OpenAPI spec version: 0.2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -32,6 +32,22 @@ describe 'CoreApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for job_id_delete
36
+ # Delete the job.
37
+ # Delete only succeeds if job status is one of `succeeded\n| failed | cancelled`. Cancel a job if it is another state and needs to\nbe deleted. All information about the job, including the log, is\nirretrievably lost when this is invoked.
38
+ # @param id Job id
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [nil]
41
+ describe 'job_id_delete test' do
42
+ it "should work" do
43
+ # assertion here
44
+ # should be_a()
45
+ # should be_nil
46
+ # should ==
47
+ # should_not ==
48
+ end
49
+ end
50
+
35
51
  # unit tests for job_id_get
36
52
  # Gets job by id
37
53
  # Gets a job by id.
@@ -48,13 +64,13 @@ describe 'CoreApi' do
48
64
  end
49
65
  end
50
66
 
51
- # unit tests for jobs_get
67
+ # unit tests for jobs_consume_get
52
68
  # Get next job.
53
- # Gets the next job in the queue, ready for processing.
69
+ # Gets the next job in the queue, ready for processing. Titan may return &lt;=n jobs. Consumers should start processing jobs in order. Each returned job is set to `status` \&quot;running\&quot; and `started_at` is set to the current time. No other consumer can retrieve this job.
54
70
  # @param [Hash] opts the optional parameters
55
71
  # @option opts [Integer] :n Number of jobs to return.
56
72
  # @return [JobsWrapper]
57
- describe 'jobs_get test' do
73
+ describe 'jobs_consume_get test' do
58
74
  it "should work" do
59
75
  # assertion here
60
76
  # should be_a()
@@ -66,7 +82,7 @@ describe 'CoreApi' do
66
82
 
67
83
  # unit tests for jobs_post
68
84
  # Enqueue Job
69
- # Enqueues a job.
85
+ # Enqueues job(s). If any of the jobs is invalid, none of the jobs are enqueued.
70
86
  # @param body Array of jobs to post.
71
87
  # @param [Hash] opts the optional parameters
72
88
  # @return [JobsWrapper]
@@ -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.1.1
6
+ OpenAPI spec version: 0.2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -32,12 +32,13 @@ describe 'ImagesApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for images_get
36
- # Get all image names.
37
- # TODO: Using images for lack of a better term. See https://github.com/iron-io/titan/issues/43 for discussion.
35
+ # unit tests for image_id_get
36
+ # Get information for image id.
37
+ # This gives more details about on image, such as the image name and other statistics.
38
+ # @param id ID of the image.
38
39
  # @param [Hash] opts the optional parameters
39
- # @return [ImagesWrapper]
40
- describe 'images_get test' do
40
+ # @return [ImageWrapper]
41
+ describe 'image_id_get test' do
41
42
  it "should work" do
42
43
  # assertion here
43
44
  # should be_a()
@@ -47,13 +48,12 @@ describe 'ImagesApi' do
47
48
  end
48
49
  end
49
50
 
50
- # unit tests for images_name_get
51
- # Get image by name.
52
- # NOT IMPLEMENTED YET. This gives more details about on image, such as statistics and what not.
53
- # @param name Name of the image.
51
+ # unit tests for images_get
52
+ # Get all image names.
53
+ # TODO: Using images for lack of a better term. See https://github.com/iron-io/titan/issues/43 for discussion.
54
54
  # @param [Hash] opts the optional parameters
55
- # @return [ImageWrapper]
56
- describe 'images_name_get test' do
55
+ # @return [ImagesWrapper]
56
+ describe 'images_get test' do
57
57
  it "should work" do
58
58
  # assertion here
59
59
  # should be_a()
@@ -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.1.1
6
+ OpenAPI spec version: 0.2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -32,13 +32,30 @@ describe 'JobsApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for job_id_get
36
- # Gets job by id
37
- # Gets a job by id.
35
+ # unit tests for job_id_cancel_post
36
+ # Cancel a job.
37
+ # Cancels a job in delayed, queued or running status. The worker may continue to run a running job. reason is set to `client_request`.
38
38
  # @param id Job id
39
+ # @param details Human-readable detailed message explaining cancellation reason.
39
40
  # @param [Hash] opts the optional parameters
40
41
  # @return [JobWrapper]
41
- describe 'job_id_get test' do
42
+ describe 'job_id_cancel_post test' do
43
+ it "should work" do
44
+ # assertion here
45
+ # should be_a()
46
+ # should be_nil
47
+ # should ==
48
+ # should_not ==
49
+ end
50
+ end
51
+
52
+ # unit tests for job_id_delete
53
+ # Delete the job.
54
+ # Delete only succeeds if job status is one of `succeeded\n| failed | cancelled`. Cancel a job if it is another state and needs to\nbe deleted. All information about the job, including the log, is\nirretrievably lost when this is invoked.
55
+ # @param id Job id
56
+ # @param [Hash] opts the optional parameters
57
+ # @return [nil]
58
+ describe 'job_id_delete test' do
42
59
  it "should work" do
43
60
  # assertion here
44
61
  # should be_a()
@@ -48,14 +65,16 @@ describe 'JobsApi' do
48
65
  end
49
66
  end
50
67
 
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.
68
+ # unit tests for job_id_fail_post
69
+ # Mark job as failed.
70
+ # Job is marked as failed if it was in a valid state. Job&#39;s `completed_at` time is initialized.
54
71
  # @param id Job id
55
- # @param body Job data to post
72
+ # @param reason Reason for job failure.
73
+ # @param details Details of job failure.
74
+ # @param log Output log for the job. Content-Type must be \&quot;text/plain; charset=utf-8\&quot;.
56
75
  # @param [Hash] opts the optional parameters
57
76
  # @return [JobWrapper]
58
- describe 'job_id_patch test' do
77
+ describe 'job_id_fail_post test' do
59
78
  it "should work" do
60
79
  # assertion here
61
80
  # should be_a()
@@ -65,13 +84,13 @@ describe 'JobsApi' do
65
84
  end
66
85
  end
67
86
 
68
- # unit tests for job_id_cancel_post
69
- # Cancel a job.
70
- # This will prevent a job from running. TODO: should we attempt to kill a running job?
87
+ # unit tests for job_id_get
88
+ # Gets job by id
89
+ # Gets a job by id.
71
90
  # @param id Job id
72
91
  # @param [Hash] opts the optional parameters
73
92
  # @return [JobWrapper]
74
- describe 'job_id_cancel_post test' do
93
+ describe 'job_id_get test' do
75
94
  it "should work" do
76
95
  # assertion here
77
96
  # should be_a()
@@ -86,7 +105,7 @@ describe 'JobsApi' do
86
105
  # Retrieves the log from log storage.
87
106
  # @param id Job id
88
107
  # @param [Hash] opts the optional parameters
89
- # @return [Log]
108
+ # @return [String]
90
109
  describe 'job_id_log_get test' do
91
110
  it "should work" do
92
111
  # assertion here
@@ -99,7 +118,7 @@ describe 'JobsApi' do
99
118
 
100
119
  # unit tests for job_id_retry_post
101
120
  # Retry a job.
102
- # If a job fails, you can retry the job with the original payload.
121
+ # The /retry endpoint can be used to force a retry of jobs with status succeeded or cancelled. It can also be used to retry jobs that in the failed state, but whose max_retries field is 0. The retried job will continue to have max_retries = 0.
103
122
  # @param id Job id
104
123
  # @param [Hash] opts the optional parameters
105
124
  # @return [JobWrapper]
@@ -113,13 +132,46 @@ describe 'JobsApi' do
113
132
  end
114
133
  end
115
134
 
116
- # unit tests for jobs_get
135
+ # unit tests for job_id_success_post
136
+ # Mark job as succeeded.
137
+ # Job status is changed to succeeded if it was in a valid state before. Job&#39;s `completed_at` time is initialized.
138
+ # @param id Job id
139
+ # @param log Output log for the job. Content-Type must be \&quot;text/plain; charset=utf-8\&quot;.
140
+ # @param [Hash] opts the optional parameters
141
+ # @return [JobWrapper]
142
+ describe 'job_id_success_post test' do
143
+ it "should work" do
144
+ # assertion here
145
+ # should be_a()
146
+ # should be_nil
147
+ # should ==
148
+ # should_not ==
149
+ end
150
+ end
151
+
152
+ # unit tests for job_id_touch_post
153
+ # Extend job timeout.
154
+ # Consumers can sometimes take a while to run the task after accepting it. An example is when the runner does not have the docker image locally, it can spend a significant time downloading the image.\nIf the timeout is small, the job may never get to run, or run but not be accepted by Titan. Consumers can touch the job before it times out. Titan will reset the timeout, giving the consumer another timeout seconds to run the job.\nTouch is only valid while the job is in a running state. If touch fails, the runner may stop running the job.
155
+ # @param id Job id
156
+ # @param [Hash] opts the optional parameters
157
+ # @return [nil]
158
+ describe 'job_id_touch_post test' do
159
+ it "should work" do
160
+ # assertion here
161
+ # should be_a()
162
+ # should be_nil
163
+ # should ==
164
+ # should_not ==
165
+ end
166
+ end
167
+
168
+ # unit tests for jobs_consume_get
117
169
  # Get next job.
118
- # Gets the next job in the queue, ready for processing.
170
+ # Gets the next job in the queue, ready for processing. Titan may return &lt;=n jobs. Consumers should start processing jobs in order. Each returned job is set to `status` \&quot;running\&quot; and `started_at` is set to the current time. No other consumer can retrieve this job.
119
171
  # @param [Hash] opts the optional parameters
120
172
  # @option opts [Integer] :n Number of jobs to return.
121
173
  # @return [JobsWrapper]
122
- describe 'jobs_get test' do
174
+ describe 'jobs_consume_get test' do
123
175
  it "should work" do
124
176
  # assertion here
125
177
  # should be_a()
@@ -129,13 +181,13 @@ describe 'JobsApi' do
129
181
  end
130
182
  end
131
183
 
132
- # unit tests for jobs_post
133
- # Enqueue Job
134
- # Enqueues a job.
135
- # @param body Array of jobs to post.
184
+ # unit tests for jobs_get
185
+ # Peek at list of jobs.
186
+ # Get a list of active jobs. This endpoint can be used to observe the state of jobs in Titan. To run a job, use /jobs/consume. TODO: Needs pagination support.
136
187
  # @param [Hash] opts the optional parameters
188
+ # @option opts [Integer] :n Number of jobs to return. Titan may return &lt;=n jobs. Titan does not make any guarantees about job ordering, but jobs will not be repeated. To make sure you get unique jobs, use the cursor effectively. TODO: We don&#39;t actually support pagination.
137
189
  # @return [JobsWrapper]
138
- describe 'jobs_post test' do
190
+ describe 'jobs_get test' do
139
191
  it "should work" do
140
192
  # assertion here
141
193
  # should be_a()
@@ -163,4 +215,20 @@ describe 'JobsApi' do
163
215
  end
164
216
  end
165
217
 
218
+ # unit tests for jobs_post
219
+ # Enqueue Job
220
+ # Enqueues job(s). If any of the jobs is invalid, none of the jobs are enqueued.
221
+ # @param body Array of jobs to post.
222
+ # @param [Hash] opts the optional parameters
223
+ # @return [JobsWrapper]
224
+ describe 'jobs_post test' do
225
+ it "should work" do
226
+ # assertion here
227
+ # should be_a()
228
+ # should be_nil
229
+ # should ==
230
+ # should_not ==
231
+ end
232
+ end
233
+
166
234
  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.1.1
6
+ OpenAPI spec version: 0.2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,7 +14,7 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for IronTitan::
17
+ # Unit tests for IronTitan::Error
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'Error' do
@@ -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.1.1
6
+ OpenAPI spec version: 0.2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,7 +14,7 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for IronTitan::
17
+ # Unit tests for IronTitan::Job
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'Job' do
@@ -32,7 +32,7 @@ describe 'Job' do
32
32
  @instance.should be_a(IronTitan::Job)
33
33
  end
34
34
  end
35
- describe 'test attribute "image"' do
35
+ describe 'test attribute "payload"' do
36
36
  it 'should work' do
37
37
  # assertion here
38
38
  # should be_a()
@@ -42,7 +42,7 @@ describe 'Job' do
42
42
  end
43
43
  end
44
44
 
45
- describe 'test attribute "retry_from_id"' do
45
+ describe 'test attribute "delay"' do
46
46
  it 'should work' do
47
47
  # assertion here
48
48
  # should be_a()
@@ -52,7 +52,7 @@ describe 'Job' do
52
52
  end
53
53
  end
54
54
 
55
- describe 'test attribute "created_at"' do
55
+ describe 'test attribute "timeout"' do
56
56
  it 'should work' do
57
57
  # assertion here
58
58
  # should be_a()
@@ -72,7 +72,7 @@ describe 'Job' do
72
72
  end
73
73
  end
74
74
 
75
- describe 'test attribute "retries_delay"' do
75
+ describe 'test attribute "max_retries"' do
76
76
  it 'should work' do
77
77
  # assertion here
78
78
  # should be_a()
@@ -82,7 +82,7 @@ describe 'Job' do
82
82
  end
83
83
  end
84
84
 
85
- describe 'test attribute "error"' do
85
+ describe 'test attribute "retries_delay"' do
86
86
  it 'should work' do
87
87
  # assertion here
88
88
  # should be_a()
@@ -92,7 +92,7 @@ describe 'Job' do
92
92
  end
93
93
  end
94
94
 
95
- describe 'test attribute "timeout"' do
95
+ describe 'test attribute "id"' do
96
96
  it 'should work' do
97
97
  # assertion here
98
98
  # should be_a()
@@ -102,7 +102,7 @@ describe 'Job' do
102
102
  end
103
103
  end
104
104
 
105
- describe 'test attribute "retries"' do
105
+ describe 'test attribute "status"' do
106
106
  it 'should work' do
107
107
  # assertion here
108
108
  # should be_a()
@@ -112,7 +112,7 @@ describe 'Job' do
112
112
  end
113
113
  end
114
114
 
115
- describe 'test attribute "completed_at"' do
115
+ describe 'test attribute "image_id"' do
116
116
  it 'should work' do
117
117
  # assertion here
118
118
  # should be_a()
@@ -122,7 +122,7 @@ describe 'Job' do
122
122
  end
123
123
  end
124
124
 
125
- describe 'test attribute "delay"' do
125
+ describe 'test attribute "reason"' do
126
126
  it 'should work' do
127
127
  # assertion here
128
128
  # should be_a()
@@ -132,7 +132,7 @@ describe 'Job' do
132
132
  end
133
133
  end
134
134
 
135
- describe 'test attribute "payload"' do
135
+ describe 'test attribute "details"' do
136
136
  it 'should work' do
137
137
  # assertion here
138
138
  # should be_a()
@@ -142,7 +142,7 @@ describe 'Job' do
142
142
  end
143
143
  end
144
144
 
145
- describe 'test attribute "name"' do
145
+ describe 'test attribute "created_at"' do
146
146
  it 'should work' do
147
147
  # assertion here
148
148
  # should be_a()
@@ -162,17 +162,7 @@ describe 'Job' do
162
162
  end
163
163
  end
164
164
 
165
- describe 'test attribute "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
-
175
- describe 'test attribute "retry_id"' do
165
+ describe 'test attribute "completed_at"' do
176
166
  it 'should work' do
177
167
  # assertion here
178
168
  # should be_a()
@@ -182,7 +172,7 @@ describe 'Job' do
182
172
  end
183
173
  end
184
174
 
185
- describe 'test attribute "status"' do
175
+ describe 'test attribute "retry_of"' do
186
176
  it 'should work' do
187
177
  # assertion here
188
178
  # should be_a()
@@ -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.1.1
6
+ OpenAPI spec version: 0.2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,7 +14,7 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for IronTitan::
17
+ # Unit tests for IronTitan::ErrorBody
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'ErrorBody' do
@@ -0,0 +1,56 @@
1
+ =begin
2
+ Titan API
3
+
4
+ The ultimate, language agnostic, container based job processing framework.
5
+
6
+ OpenAPI spec version: 0.2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for IronTitan::IdStatus
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'IdStatus' do
21
+ before do
22
+ # run before each test
23
+ @instance = IronTitan::IdStatus.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of IdStatus' do
31
+ it 'should create an instact of IdStatus' do
32
+ @instance.should be_a(IronTitan::IdStatus)
33
+ end
34
+ end
35
+ describe 'test attribute "id"' do
36
+ it 'should work' do
37
+ # assertion here
38
+ # should be_a()
39
+ # should be_nil
40
+ # should ==
41
+ # should_not ==
42
+ end
43
+ end
44
+
45
+ describe 'test attribute "status"' 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
+
55
+ end
56
+
@@ -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.1.1
6
+ OpenAPI spec version: 0.2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,7 +14,7 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for IronTitan::
17
+ # Unit tests for IronTitan::Image
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'Image' do
@@ -32,7 +32,7 @@ describe 'Image' do
32
32
  @instance.should be_a(IronTitan::Image)
33
33
  end
34
34
  end
35
- describe 'test attribute "name"' do
35
+ describe 'test attribute "image"' do
36
36
  it 'should work' do
37
37
  # assertion here
38
38
  # should be_a()
@@ -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.1.1
6
+ OpenAPI spec version: 0.2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,7 +14,7 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for IronTitan::
17
+ # Unit tests for IronTitan::ImageWrapper
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'ImageWrapper' do
@@ -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.1.1
6
+ OpenAPI spec version: 0.2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,7 +14,7 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for IronTitan::
17
+ # Unit tests for IronTitan::ImagesWrapper
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'ImagesWrapper' do
@@ -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.1.1
6
+ OpenAPI spec version: 0.2.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,7 +14,7 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for IronTitan::
17
+ # Unit tests for IronTitan::JobWrapper
18
18
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
19
  # Please update as you see appropriate
20
20
  describe 'JobWrapper' do