cloudreactor_api_client 0.1.1.pre → 0.3.0.0
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/README.md +27 -14
- data/cloudreactor_api_client.md +11 -14
- data/lib/cloudreactor_api_client/api/alert_methods_api.rb +5 -5
- data/lib/cloudreactor_api_client/api/email_notification_profiles_api.rb +5 -5
- data/lib/cloudreactor_api_client/api/pagerduty_profiles_api.rb +5 -5
- data/lib/cloudreactor_api_client/api/run_environments_api.rb +5 -5
- data/lib/cloudreactor_api_client/api/task_executions_api.rb +4 -4
- data/lib/cloudreactor_api_client/api/tasks_api.rb +4 -4
- data/lib/cloudreactor_api_client/api/workflow_executions_api.rb +6 -6
- data/lib/cloudreactor_api_client/api/workflow_task_instances_api.rb +4 -4
- data/lib/cloudreactor_api_client/api/workflow_transitions_api.rb +4 -4
- data/lib/cloudreactor_api_client/api/workflows_api.rb +5 -5
- data/lib/cloudreactor_api_client/api_client.rb +1 -1
- data/lib/cloudreactor_api_client/api_error.rb +1 -1
- data/lib/cloudreactor_api_client/configuration.rb +3 -3
- data/lib/cloudreactor_api_client/models/alert_method.rb +1 -36
- data/lib/cloudreactor_api_client/models/aws_ecs_execution_method.rb +1 -26
- data/lib/cloudreactor_api_client/models/aws_ecs_execution_method_capability.rb +1 -41
- data/lib/cloudreactor_api_client/models/aws_ecs_launch_type.rb +1 -1
- data/lib/cloudreactor_api_client/models/aws_ecs_run_environment_execution_method_capability.rb +1 -36
- data/lib/cloudreactor_api_client/models/aws_ecs_service_load_balancer_details.rb +1 -1
- data/lib/cloudreactor_api_client/models/aws_ecs_service_options.rb +1 -6
- data/lib/cloudreactor_api_client/models/current_service_info.rb +2 -11
- data/lib/cloudreactor_api_client/models/email_notification_profile.rb +1 -31
- data/lib/cloudreactor_api_client/models/execution_method_capability.rb +1 -1
- data/lib/cloudreactor_api_client/models/failure_behavior_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/group.rb +1 -11
- data/lib/cloudreactor_api_client/models/link.rb +1 -6
- data/lib/cloudreactor_api_client/models/name_and_uuid.rb +1 -1
- data/lib/cloudreactor_api_client/models/notification_severity.rb +1 -1
- data/lib/cloudreactor_api_client/models/pager_duty_profile.rb +1 -31
- data/lib/cloudreactor_api_client/models/paginated_alert_method_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_email_notification_profile_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_pager_duty_profile_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_run_environment_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_task_execution_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_task_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_workflow_execution_summary_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_workflow_summary_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_workflow_task_instance_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/paginated_workflow_transition_list.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_alert_method.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_email_notification_profile.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_pager_duty_profile.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_run_environment.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_task.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_task_execution.rb +4 -1
- data/lib/cloudreactor_api_client/models/patched_workflow.rb +2 -1
- data/lib/cloudreactor_api_client/models/patched_workflow_execution.rb +7 -52
- data/lib/cloudreactor_api_client/models/patched_workflow_task_instance.rb +1 -1
- data/lib/cloudreactor_api_client/models/patched_workflow_transition.rb +1 -1
- data/lib/cloudreactor_api_client/models/propagate_tags_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/rule_type_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/run_environment.rb +1 -36
- data/lib/cloudreactor_api_client/models/start_transition_condition_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/stop_reason_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/task.rb +1 -36
- data/lib/cloudreactor_api_client/models/task_execution.rb +4 -46
- data/lib/cloudreactor_api_client/models/task_execution_status.rb +1 -1
- data/lib/cloudreactor_api_client/models/threshold_property_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/timeout_behavior_enum.rb +1 -1
- data/lib/cloudreactor_api_client/models/unknown_execution_method_capability.rb +1 -11
- data/lib/cloudreactor_api_client/models/workflow.rb +2 -41
- data/lib/cloudreactor_api_client/models/workflow_execution.rb +7 -112
- data/lib/cloudreactor_api_client/models/workflow_execution_run_reason.rb +38 -0
- data/lib/cloudreactor_api_client/models/workflow_execution_status.rb +1 -1
- data/lib/cloudreactor_api_client/models/workflow_execution_stop_reason.rb +37 -0
- data/lib/cloudreactor_api_client/models/workflow_execution_summary.rb +4 -83
- data/lib/cloudreactor_api_client/models/workflow_summary.rb +2 -31
- data/lib/cloudreactor_api_client/models/workflow_task_instance.rb +1 -21
- data/lib/cloudreactor_api_client/models/workflow_task_instance_execution.rb +1 -16
- data/lib/cloudreactor_api_client/models/workflow_task_instance_execution_base.rb +1 -16
- data/lib/cloudreactor_api_client/models/workflow_transition.rb +1 -21
- data/lib/cloudreactor_api_client/models/workflow_transition_evaluation.rb +1 -16
- data/lib/cloudreactor_api_client/version.rb +2 -2
- data/lib/cloudreactor_api_client.rb +3 -16
- data/lib/cloudreactor_wrapper_io/status_updater.rb +41 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/integration/task_execution_integration_spec.rb +2 -2
- data/spec/models/workflow_execution_run_reason_spec.rb +28 -0
- data/spec/models/workflow_execution_stop_reason_spec.rb +28 -0
- data/spec/spec_helper.rb +1 -1
- metadata +10 -4
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -341,11 +341,14 @@ module CloudReactorAPIClient
|
|
341
341
|
:'environment_variables_overrides',
|
342
342
|
:'execution_method',
|
343
343
|
:'finished_at',
|
344
|
+
:'marked_done_by',
|
344
345
|
:'marked_done_at',
|
345
346
|
:'marked_outdated_at',
|
347
|
+
:'killed_by',
|
346
348
|
:'kill_started_at',
|
347
349
|
:'kill_finished_at',
|
348
350
|
:'kill_error_code',
|
351
|
+
:'stop_reason',
|
349
352
|
:'last_heartbeat_at',
|
350
353
|
:'exit_code',
|
351
354
|
:'last_status_message',
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -115,6 +115,7 @@ module CloudReactorAPIClient
|
|
115
115
|
Set.new([
|
116
116
|
:'max_concurrency',
|
117
117
|
:'max_age_seconds',
|
118
|
+
:'latest_workflow_execution',
|
118
119
|
:'created_by_group',
|
119
120
|
:'run_environment',
|
120
121
|
])
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -14,6 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module CloudReactorAPIClient
|
17
|
+
# A WorkflowExecution holds data on a specific execution (run) of a Workflow.
|
17
18
|
class PatchedWorkflowExecution
|
18
19
|
attr_accessor :url
|
19
20
|
|
@@ -109,12 +110,12 @@ module CloudReactorAPIClient
|
|
109
110
|
:'dashboard_url' => :'String',
|
110
111
|
:'workflow' => :'NameAndUuid',
|
111
112
|
:'status' => :'WorkflowExecutionStatus',
|
112
|
-
:'run_reason' => :'
|
113
|
+
:'run_reason' => :'WorkflowExecutionRunReason',
|
113
114
|
:'started_at' => :'Time',
|
114
115
|
:'started_by' => :'String',
|
115
116
|
:'finished_at' => :'Time',
|
116
117
|
:'last_heartbeat_at' => :'Time',
|
117
|
-
:'stop_reason' => :'
|
118
|
+
:'stop_reason' => :'WorkflowExecutionStopReason',
|
118
119
|
:'marked_done_at' => :'Time',
|
119
120
|
:'marked_done_by' => :'String',
|
120
121
|
:'kill_started_at' => :'Time',
|
@@ -134,11 +135,13 @@ module CloudReactorAPIClient
|
|
134
135
|
# List of attributes with nullable: true
|
135
136
|
def self.openapi_nullable
|
136
137
|
Set.new([
|
138
|
+
:'started_by',
|
137
139
|
:'finished_at',
|
138
140
|
:'last_heartbeat_at',
|
139
|
-
:'stop_reason',
|
140
141
|
:'marked_done_at',
|
142
|
+
:'marked_done_by',
|
141
143
|
:'kill_started_at',
|
144
|
+
:'killed_by',
|
142
145
|
:'kill_finished_at',
|
143
146
|
:'kill_error_code',
|
144
147
|
])
|
@@ -266,22 +269,6 @@ module CloudReactorAPIClient
|
|
266
269
|
# @return Array for valid properties with the reasons
|
267
270
|
def list_invalid_properties
|
268
271
|
invalid_properties = Array.new
|
269
|
-
if !@run_reason.nil? && @run_reason > 2147483647
|
270
|
-
invalid_properties.push('invalid value for "run_reason", must be smaller than or equal to 2147483647.')
|
271
|
-
end
|
272
|
-
|
273
|
-
if !@run_reason.nil? && @run_reason < -2147483648
|
274
|
-
invalid_properties.push('invalid value for "run_reason", must be greater than or equal to -2147483648.')
|
275
|
-
end
|
276
|
-
|
277
|
-
if !@stop_reason.nil? && @stop_reason > 2147483647
|
278
|
-
invalid_properties.push('invalid value for "stop_reason", must be smaller than or equal to 2147483647.')
|
279
|
-
end
|
280
|
-
|
281
|
-
if !@stop_reason.nil? && @stop_reason < -2147483648
|
282
|
-
invalid_properties.push('invalid value for "stop_reason", must be greater than or equal to -2147483648.')
|
283
|
-
end
|
284
|
-
|
285
272
|
if !@kill_error_code.nil? && @kill_error_code > 2147483647
|
286
273
|
invalid_properties.push('invalid value for "kill_error_code", must be smaller than or equal to 2147483647.')
|
287
274
|
end
|
@@ -312,10 +299,6 @@ module CloudReactorAPIClient
|
|
312
299
|
# Check to see if the all the properties in the model are valid
|
313
300
|
# @return true if the model is valid
|
314
301
|
def valid?
|
315
|
-
return false if !@run_reason.nil? && @run_reason > 2147483647
|
316
|
-
return false if !@run_reason.nil? && @run_reason < -2147483648
|
317
|
-
return false if !@stop_reason.nil? && @stop_reason > 2147483647
|
318
|
-
return false if !@stop_reason.nil? && @stop_reason < -2147483648
|
319
302
|
return false if !@kill_error_code.nil? && @kill_error_code > 2147483647
|
320
303
|
return false if !@kill_error_code.nil? && @kill_error_code < -2147483648
|
321
304
|
return false if !@failed_attempts.nil? && @failed_attempts > 2147483647
|
@@ -325,34 +308,6 @@ module CloudReactorAPIClient
|
|
325
308
|
true
|
326
309
|
end
|
327
310
|
|
328
|
-
# Custom attribute writer method with validation
|
329
|
-
# @param [Object] run_reason Value to be assigned
|
330
|
-
def run_reason=(run_reason)
|
331
|
-
if !run_reason.nil? && run_reason > 2147483647
|
332
|
-
fail ArgumentError, 'invalid value for "run_reason", must be smaller than or equal to 2147483647.'
|
333
|
-
end
|
334
|
-
|
335
|
-
if !run_reason.nil? && run_reason < -2147483648
|
336
|
-
fail ArgumentError, 'invalid value for "run_reason", must be greater than or equal to -2147483648.'
|
337
|
-
end
|
338
|
-
|
339
|
-
@run_reason = run_reason
|
340
|
-
end
|
341
|
-
|
342
|
-
# Custom attribute writer method with validation
|
343
|
-
# @param [Object] stop_reason Value to be assigned
|
344
|
-
def stop_reason=(stop_reason)
|
345
|
-
if !stop_reason.nil? && stop_reason > 2147483647
|
346
|
-
fail ArgumentError, 'invalid value for "stop_reason", must be smaller than or equal to 2147483647.'
|
347
|
-
end
|
348
|
-
|
349
|
-
if !stop_reason.nil? && stop_reason < -2147483648
|
350
|
-
fail ArgumentError, 'invalid value for "stop_reason", must be greater than or equal to -2147483648.'
|
351
|
-
end
|
352
|
-
|
353
|
-
@stop_reason = stop_reason
|
354
|
-
end
|
355
|
-
|
356
311
|
# Custom attribute writer method with validation
|
357
312
|
# @param [Object] kill_error_code Value to be assigned
|
358
313
|
def kill_error_code=(kill_error_code)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -209,14 +209,6 @@ module CloudReactorAPIClient
|
|
209
209
|
# @return Array for valid properties with the reasons
|
210
210
|
def list_invalid_properties
|
211
211
|
invalid_properties = Array.new
|
212
|
-
if @url.nil?
|
213
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
214
|
-
end
|
215
|
-
|
216
|
-
if @uuid.nil?
|
217
|
-
invalid_properties.push('invalid value for "uuid", uuid cannot be nil.')
|
218
|
-
end
|
219
|
-
|
220
212
|
if @name.nil?
|
221
213
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
222
214
|
end
|
@@ -229,22 +221,6 @@ module CloudReactorAPIClient
|
|
229
221
|
invalid_properties.push('invalid value for "description", the character length must be smaller than or equal to 5000.')
|
230
222
|
end
|
231
223
|
|
232
|
-
if @dashboard_url.nil?
|
233
|
-
invalid_properties.push('invalid value for "dashboard_url", dashboard_url cannot be nil.')
|
234
|
-
end
|
235
|
-
|
236
|
-
if @created_by_user.nil?
|
237
|
-
invalid_properties.push('invalid value for "created_by_user", created_by_user cannot be nil.')
|
238
|
-
end
|
239
|
-
|
240
|
-
if @created_at.nil?
|
241
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
242
|
-
end
|
243
|
-
|
244
|
-
if @updated_at.nil?
|
245
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
246
|
-
end
|
247
|
-
|
248
224
|
if !@aws_account_id.nil? && @aws_account_id.to_s.length > 200
|
249
225
|
invalid_properties.push('invalid value for "aws_account_id", the character length must be smaller than or equal to 200.')
|
250
226
|
end
|
@@ -273,25 +249,15 @@ module CloudReactorAPIClient
|
|
273
249
|
invalid_properties.push('invalid value for "aws_workflow_starter_access_key", the character length must be smaller than or equal to 1000.')
|
274
250
|
end
|
275
251
|
|
276
|
-
if @execution_method_capabilities.nil?
|
277
|
-
invalid_properties.push('invalid value for "execution_method_capabilities", execution_method_capabilities cannot be nil.')
|
278
|
-
end
|
279
|
-
|
280
252
|
invalid_properties
|
281
253
|
end
|
282
254
|
|
283
255
|
# Check to see if the all the properties in the model are valid
|
284
256
|
# @return true if the model is valid
|
285
257
|
def valid?
|
286
|
-
return false if @url.nil?
|
287
|
-
return false if @uuid.nil?
|
288
258
|
return false if @name.nil?
|
289
259
|
return false if @name.to_s.length > 200
|
290
260
|
return false if !@description.nil? && @description.to_s.length > 5000
|
291
|
-
return false if @dashboard_url.nil?
|
292
|
-
return false if @created_by_user.nil?
|
293
|
-
return false if @created_at.nil?
|
294
|
-
return false if @updated_at.nil?
|
295
261
|
return false if !@aws_account_id.nil? && @aws_account_id.to_s.length > 200
|
296
262
|
return false if !@aws_default_region.nil? && @aws_default_region.to_s.length > 20
|
297
263
|
return false if !@aws_access_key.nil? && @aws_access_key.to_s.length > 100
|
@@ -299,7 +265,6 @@ module CloudReactorAPIClient
|
|
299
265
|
return false if !@aws_events_role_arn.nil? && @aws_events_role_arn.to_s.length > 100
|
300
266
|
return false if !@aws_workflow_starter_lambda_arn.nil? && @aws_workflow_starter_lambda_arn.to_s.length > 1000
|
301
267
|
return false if !@aws_workflow_starter_access_key.nil? && @aws_workflow_starter_access_key.to_s.length > 1000
|
302
|
-
return false if @execution_method_capabilities.nil?
|
303
268
|
true
|
304
269
|
end
|
305
270
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -373,14 +373,6 @@ module CloudReactorAPIClient
|
|
373
373
|
# @return Array for valid properties with the reasons
|
374
374
|
def list_invalid_properties
|
375
375
|
invalid_properties = Array.new
|
376
|
-
if @url.nil?
|
377
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
378
|
-
end
|
379
|
-
|
380
|
-
if @uuid.nil?
|
381
|
-
invalid_properties.push('invalid value for "uuid", uuid cannot be nil.')
|
382
|
-
end
|
383
|
-
|
384
376
|
if @name.nil?
|
385
377
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
386
378
|
end
|
@@ -393,10 +385,6 @@ module CloudReactorAPIClient
|
|
393
385
|
invalid_properties.push('invalid value for "description", the character length must be smaller than or equal to 5000.')
|
394
386
|
end
|
395
387
|
|
396
|
-
if @dashboard_url.nil?
|
397
|
-
invalid_properties.push('invalid value for "dashboard_url", dashboard_url cannot be nil.')
|
398
|
-
end
|
399
|
-
|
400
388
|
if !@max_manual_start_delay_before_alert_seconds.nil? && @max_manual_start_delay_before_alert_seconds > 2147483647
|
401
389
|
invalid_properties.push('invalid value for "max_manual_start_delay_before_alert_seconds", must be smaller than or equal to 2147483647.')
|
402
390
|
end
|
@@ -449,10 +437,6 @@ module CloudReactorAPIClient
|
|
449
437
|
invalid_properties.push('invalid value for "scheduled_instance_count", must be greater than or equal to 0.')
|
450
438
|
end
|
451
439
|
|
452
|
-
if @is_service.nil?
|
453
|
-
invalid_properties.push('invalid value for "is_service", is_service cannot be nil.')
|
454
|
-
end
|
455
|
-
|
456
440
|
if !@service_instance_count.nil? && @service_instance_count > 2147483647
|
457
441
|
invalid_properties.push('invalid value for "service_instance_count", must be smaller than or equal to 2147483647.')
|
458
442
|
end
|
@@ -501,30 +485,15 @@ module CloudReactorAPIClient
|
|
501
485
|
invalid_properties.push('invalid value for "log_query", the character length must be smaller than or equal to 1000.')
|
502
486
|
end
|
503
487
|
|
504
|
-
if @created_by_user.nil?
|
505
|
-
invalid_properties.push('invalid value for "created_by_user", created_by_user cannot be nil.')
|
506
|
-
end
|
507
|
-
|
508
|
-
if @created_at.nil?
|
509
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
510
|
-
end
|
511
|
-
|
512
|
-
if @updated_at.nil?
|
513
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
514
|
-
end
|
515
|
-
|
516
488
|
invalid_properties
|
517
489
|
end
|
518
490
|
|
519
491
|
# Check to see if the all the properties in the model are valid
|
520
492
|
# @return true if the model is valid
|
521
493
|
def valid?
|
522
|
-
return false if @url.nil?
|
523
|
-
return false if @uuid.nil?
|
524
494
|
return false if @name.nil?
|
525
495
|
return false if @name.to_s.length > 200
|
526
496
|
return false if !@description.nil? && @description.to_s.length > 5000
|
527
|
-
return false if @dashboard_url.nil?
|
528
497
|
return false if !@max_manual_start_delay_before_alert_seconds.nil? && @max_manual_start_delay_before_alert_seconds > 2147483647
|
529
498
|
return false if !@max_manual_start_delay_before_alert_seconds.nil? && @max_manual_start_delay_before_alert_seconds < 0
|
530
499
|
return false if !@max_manual_start_delay_before_abandonment_seconds.nil? && @max_manual_start_delay_before_abandonment_seconds > 2147483647
|
@@ -538,7 +507,6 @@ module CloudReactorAPIClient
|
|
538
507
|
return false if !@schedule.nil? && @schedule.to_s.length > 1000
|
539
508
|
return false if !@scheduled_instance_count.nil? && @scheduled_instance_count > 2147483647
|
540
509
|
return false if !@scheduled_instance_count.nil? && @scheduled_instance_count < 0
|
541
|
-
return false if @is_service.nil?
|
542
510
|
return false if !@service_instance_count.nil? && @service_instance_count > 2147483647
|
543
511
|
return false if !@service_instance_count.nil? && @service_instance_count < 0
|
544
512
|
return false if !@min_service_instance_count.nil? && @min_service_instance_count > 2147483647
|
@@ -551,9 +519,6 @@ module CloudReactorAPIClient
|
|
551
519
|
return false if !@default_max_retries.nil? && @default_max_retries < 0
|
552
520
|
return false if !@project_url.nil? && @project_url.to_s.length > 1000
|
553
521
|
return false if !@log_query.nil? && @log_query.to_s.length > 1000
|
554
|
-
return false if @created_by_user.nil?
|
555
|
-
return false if @created_at.nil?
|
556
|
-
return false if @updated_at.nil?
|
557
522
|
true
|
558
523
|
end
|
559
524
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#CloudReactor API Documentation
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 0.3.0
|
7
7
|
Contact: jeff@cloudreactor.io
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.4.0
|
@@ -341,11 +341,14 @@ module CloudReactorAPIClient
|
|
341
341
|
:'environment_variables_overrides',
|
342
342
|
:'execution_method',
|
343
343
|
:'finished_at',
|
344
|
+
:'marked_done_by',
|
344
345
|
:'marked_done_at',
|
345
346
|
:'marked_outdated_at',
|
347
|
+
:'killed_by',
|
346
348
|
:'kill_started_at',
|
347
349
|
:'kill_finished_at',
|
348
350
|
:'kill_error_code',
|
351
|
+
:'stop_reason',
|
349
352
|
:'last_heartbeat_at',
|
350
353
|
:'exit_code',
|
351
354
|
:'last_status_message',
|
@@ -710,18 +713,6 @@ module CloudReactorAPIClient
|
|
710
713
|
# @return Array for valid properties with the reasons
|
711
714
|
def list_invalid_properties
|
712
715
|
invalid_properties = Array.new
|
713
|
-
if @url.nil?
|
714
|
-
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
715
|
-
end
|
716
|
-
|
717
|
-
if @uuid.nil?
|
718
|
-
invalid_properties.push('invalid value for "uuid", uuid cannot be nil.')
|
719
|
-
end
|
720
|
-
|
721
|
-
if @dashboard_url.nil?
|
722
|
-
invalid_properties.push('invalid value for "dashboard_url", dashboard_url cannot be nil.')
|
723
|
-
end
|
724
|
-
|
725
716
|
if !@task_version_number.nil? && @task_version_number > 9223372036854775807
|
726
717
|
invalid_properties.push('invalid value for "task_version_number", must be smaller than or equal to 9223372036854775807.')
|
727
718
|
end
|
@@ -746,22 +737,6 @@ module CloudReactorAPIClient
|
|
746
737
|
invalid_properties.push('invalid value for "status", status cannot be nil.')
|
747
738
|
end
|
748
739
|
|
749
|
-
if @started_by.nil?
|
750
|
-
invalid_properties.push('invalid value for "started_by", started_by cannot be nil.')
|
751
|
-
end
|
752
|
-
|
753
|
-
if @started_at.nil?
|
754
|
-
invalid_properties.push('invalid value for "started_at", started_at cannot be nil.')
|
755
|
-
end
|
756
|
-
|
757
|
-
if @marked_done_by.nil?
|
758
|
-
invalid_properties.push('invalid value for "marked_done_by", marked_done_by cannot be nil.')
|
759
|
-
end
|
760
|
-
|
761
|
-
if @killed_by.nil?
|
762
|
-
invalid_properties.push('invalid value for "killed_by", killed_by cannot be nil.')
|
763
|
-
end
|
764
|
-
|
765
740
|
if !@kill_error_code.nil? && @kill_error_code > 2147483647
|
766
741
|
invalid_properties.push('invalid value for "kill_error_code", must be smaller than or equal to 2147483647.')
|
767
742
|
end
|
@@ -1054,33 +1029,18 @@ module CloudReactorAPIClient
|
|
1054
1029
|
invalid_properties.push('invalid value for "error_log_tail", the character length must be smaller than or equal to 5000000.')
|
1055
1030
|
end
|
1056
1031
|
|
1057
|
-
if @created_at.nil?
|
1058
|
-
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
1059
|
-
end
|
1060
|
-
|
1061
|
-
if @updated_at.nil?
|
1062
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
1063
|
-
end
|
1064
|
-
|
1065
1032
|
invalid_properties
|
1066
1033
|
end
|
1067
1034
|
|
1068
1035
|
# Check to see if the all the properties in the model are valid
|
1069
1036
|
# @return true if the model is valid
|
1070
1037
|
def valid?
|
1071
|
-
return false if @url.nil?
|
1072
|
-
return false if @uuid.nil?
|
1073
|
-
return false if @dashboard_url.nil?
|
1074
1038
|
return false if !@task_version_number.nil? && @task_version_number > 9223372036854775807
|
1075
1039
|
return false if !@task_version_number.nil? && @task_version_number < -9223372036854775808
|
1076
1040
|
return false if !@task_version_text.nil? && @task_version_text.to_s.length > 200
|
1077
1041
|
return false if !@task_version_signature.nil? && @task_version_signature.to_s.length > 200
|
1078
1042
|
return false if !@hostname.nil? && @hostname.to_s.length > 1000
|
1079
1043
|
return false if @status.nil?
|
1080
|
-
return false if @started_by.nil?
|
1081
|
-
return false if @started_at.nil?
|
1082
|
-
return false if @marked_done_by.nil?
|
1083
|
-
return false if @killed_by.nil?
|
1084
1044
|
return false if !@kill_error_code.nil? && @kill_error_code > 2147483647
|
1085
1045
|
return false if !@kill_error_code.nil? && @kill_error_code < -2147483648
|
1086
1046
|
return false if !@failed_attempts.nil? && @failed_attempts > 2147483647
|
@@ -1154,8 +1114,6 @@ module CloudReactorAPIClient
|
|
1154
1114
|
return false if !@status_update_message_max_bytes.nil? && @status_update_message_max_bytes < -2147483648
|
1155
1115
|
return false if !@debug_log_tail.nil? && @debug_log_tail.to_s.length > 5000000
|
1156
1116
|
return false if !@error_log_tail.nil? && @error_log_tail.to_s.length > 5000000
|
1157
|
-
return false if @created_at.nil?
|
1158
|
-
return false if @updated_at.nil?
|
1159
1117
|
true
|
1160
1118
|
end
|
1161
1119
|
|