cloudreactor_api_client 0.1.0.pre

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.
Files changed (151) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +92 -0
  4. data/cloudreactor_api_client.md +226 -0
  5. data/lib/cloudreactor_api_client/api/alert_methods_api.rb +482 -0
  6. data/lib/cloudreactor_api_client/api/email_notification_profiles_api.rb +482 -0
  7. data/lib/cloudreactor_api_client/api/pagerduty_profiles_api.rb +482 -0
  8. data/lib/cloudreactor_api_client/api/run_environments_api.rb +479 -0
  9. data/lib/cloudreactor_api_client/api/task_executions_api.rb +409 -0
  10. data/lib/cloudreactor_api_client/api/tasks_api.rb +412 -0
  11. data/lib/cloudreactor_api_client/api/workflow_executions_api.rb +549 -0
  12. data/lib/cloudreactor_api_client/api/workflow_task_instances_api.rb +424 -0
  13. data/lib/cloudreactor_api_client/api/workflow_transitions_api.rb +406 -0
  14. data/lib/cloudreactor_api_client/api/workflows_api.rb +482 -0
  15. data/lib/cloudreactor_api_client/api_client.rb +390 -0
  16. data/lib/cloudreactor_api_client/api_error.rb +57 -0
  17. data/lib/cloudreactor_api_client/configuration.rb +277 -0
  18. data/lib/cloudreactor_api_client/models/alert_method.rb +449 -0
  19. data/lib/cloudreactor_api_client/models/aws_ecs_execution_method.rb +517 -0
  20. data/lib/cloudreactor_api_client/models/aws_ecs_execution_method_capability.rb +565 -0
  21. data/lib/cloudreactor_api_client/models/aws_ecs_launch_type.rb +37 -0
  22. data/lib/cloudreactor_api_client/models/aws_ecs_run_environment_execution_method_capability.rb +476 -0
  23. data/lib/cloudreactor_api_client/models/aws_ecs_service_load_balancer_details.rb +307 -0
  24. data/lib/cloudreactor_api_client/models/aws_ecs_service_options.rb +308 -0
  25. data/lib/cloudreactor_api_client/models/current_service_info.rb +255 -0
  26. data/lib/cloudreactor_api_client/models/email_notification_profile.rb +454 -0
  27. data/lib/cloudreactor_api_client/models/execution_method_capability.rb +54 -0
  28. data/lib/cloudreactor_api_client/models/failure_behavior_enum.rb +38 -0
  29. data/lib/cloudreactor_api_client/models/group.rb +268 -0
  30. data/lib/cloudreactor_api_client/models/link.rb +301 -0
  31. data/lib/cloudreactor_api_client/models/name_and_uuid.rb +236 -0
  32. data/lib/cloudreactor_api_client/models/notification_severity.rb +39 -0
  33. data/lib/cloudreactor_api_client/models/pager_duty_profile.rb +484 -0
  34. data/lib/cloudreactor_api_client/models/paginated_alert_method_list.rb +247 -0
  35. data/lib/cloudreactor_api_client/models/paginated_email_notification_profile_list.rb +247 -0
  36. data/lib/cloudreactor_api_client/models/paginated_pager_duty_profile_list.rb +247 -0
  37. data/lib/cloudreactor_api_client/models/paginated_run_environment_list.rb +247 -0
  38. data/lib/cloudreactor_api_client/models/paginated_task_execution_list.rb +247 -0
  39. data/lib/cloudreactor_api_client/models/paginated_task_list.rb +247 -0
  40. data/lib/cloudreactor_api_client/models/paginated_workflow_execution_summary_list.rb +247 -0
  41. data/lib/cloudreactor_api_client/models/paginated_workflow_summary_list.rb +247 -0
  42. data/lib/cloudreactor_api_client/models/paginated_workflow_task_instance_list.rb +247 -0
  43. data/lib/cloudreactor_api_client/models/paginated_workflow_transition_list.rb +247 -0
  44. data/lib/cloudreactor_api_client/models/patched_alert_method.rb +405 -0
  45. data/lib/cloudreactor_api_client/models/patched_email_notification_profile.rb +415 -0
  46. data/lib/cloudreactor_api_client/models/patched_pager_duty_profile.rb +436 -0
  47. data/lib/cloudreactor_api_client/models/patched_run_environment.rb +511 -0
  48. data/lib/cloudreactor_api_client/models/patched_task.rb +897 -0
  49. data/lib/cloudreactor_api_client/models/patched_task_execution.rb +1904 -0
  50. data/lib/cloudreactor_api_client/models/patched_workflow.rb +507 -0
  51. data/lib/cloudreactor_api_client/models/patched_workflow_execution.rb +559 -0
  52. data/lib/cloudreactor_api_client/models/patched_workflow_task_instance.rb +676 -0
  53. data/lib/cloudreactor_api_client/models/patched_workflow_transition.rb +432 -0
  54. data/lib/cloudreactor_api_client/models/propagate_tags_enum.rb +37 -0
  55. data/lib/cloudreactor_api_client/models/rule_type_enum.rb +43 -0
  56. data/lib/cloudreactor_api_client/models/run_environment.rb +555 -0
  57. data/lib/cloudreactor_api_client/models/start_transition_condition_enum.rb +39 -0
  58. data/lib/cloudreactor_api_client/models/stop_reason_enum.rb +42 -0
  59. data/lib/cloudreactor_api_client/models/task.rb +941 -0
  60. data/lib/cloudreactor_api_client/models/task_execution.rb +1954 -0
  61. data/lib/cloudreactor_api_client/models/task_execution_status.rb +46 -0
  62. data/lib/cloudreactor_api_client/models/threshold_property_enum.rb +39 -0
  63. data/lib/cloudreactor_api_client/models/timeout_behavior_enum.rb +40 -0
  64. data/lib/cloudreactor_api_client/models/unknown_execution_method_capability.rb +238 -0
  65. data/lib/cloudreactor_api_client/models/workflow.rb +556 -0
  66. data/lib/cloudreactor_api_client/models/workflow_execution.rb +629 -0
  67. data/lib/cloudreactor_api_client/models/workflow_execution_status.rb +42 -0
  68. data/lib/cloudreactor_api_client/models/workflow_execution_summary.rb +523 -0
  69. data/lib/cloudreactor_api_client/models/workflow_summary.rb +513 -0
  70. data/lib/cloudreactor_api_client/models/workflow_task_instance.rb +715 -0
  71. data/lib/cloudreactor_api_client/models/workflow_task_instance_execution.rb +280 -0
  72. data/lib/cloudreactor_api_client/models/workflow_task_instance_execution_base.rb +270 -0
  73. data/lib/cloudreactor_api_client/models/workflow_transition.rb +467 -0
  74. data/lib/cloudreactor_api_client/models/workflow_transition_evaluation.rb +280 -0
  75. data/lib/cloudreactor_api_client/version.rb +15 -0
  76. data/lib/cloudreactor_api_client.rb +121 -0
  77. data/lib/cloudreactor_wrapper_io/status_updater.rb +124 -0
  78. data/lib/cloudreactor_wrapper_io.rb +13 -0
  79. data/spec/api/alert_methods_api_spec.rb +114 -0
  80. data/spec/api/email_notification_profiles_api_spec.rb +114 -0
  81. data/spec/api/pagerduty_profiles_api_spec.rb +114 -0
  82. data/spec/api/run_environments_api_spec.rb +113 -0
  83. data/spec/api/task_executions_api_spec.rb +102 -0
  84. data/spec/api/tasks_api_spec.rb +103 -0
  85. data/spec/api/workflow_executions_api_spec.rb +124 -0
  86. data/spec/api/workflow_task_instances_api_spec.rb +107 -0
  87. data/spec/api/workflow_transitions_api_spec.rb +101 -0
  88. data/spec/api/workflows_api_spec.rb +114 -0
  89. data/spec/api_client_spec.rb +226 -0
  90. data/spec/configuration_spec.rb +42 -0
  91. data/spec/integration/task_execution_integration_spec.rb +51 -0
  92. data/spec/models/alert_method_spec.rb +136 -0
  93. data/spec/models/aws_ecs_execution_method_capability_spec.rb +166 -0
  94. data/spec/models/aws_ecs_execution_method_spec.rb +148 -0
  95. data/spec/models/aws_ecs_launch_type_spec.rb +28 -0
  96. data/spec/models/aws_ecs_run_environment_execution_method_capability_spec.rb +130 -0
  97. data/spec/models/aws_ecs_service_load_balancer_details_spec.rb +46 -0
  98. data/spec/models/aws_ecs_service_options_spec.rb +88 -0
  99. data/spec/models/current_service_info_spec.rb +52 -0
  100. data/spec/models/email_notification_profile_spec.rb +118 -0
  101. data/spec/models/execution_method_capability_spec.rb +43 -0
  102. data/spec/models/failure_behavior_enum_spec.rb +28 -0
  103. data/spec/models/group_spec.rb +46 -0
  104. data/spec/models/link_spec.rb +70 -0
  105. data/spec/models/name_and_uuid_spec.rb +46 -0
  106. data/spec/models/notification_severity_spec.rb +28 -0
  107. data/spec/models/pager_duty_profile_spec.rb +118 -0
  108. data/spec/models/paginated_alert_method_list_spec.rb +52 -0
  109. data/spec/models/paginated_email_notification_profile_list_spec.rb +52 -0
  110. data/spec/models/paginated_pager_duty_profile_list_spec.rb +52 -0
  111. data/spec/models/paginated_run_environment_list_spec.rb +52 -0
  112. data/spec/models/paginated_task_execution_list_spec.rb +52 -0
  113. data/spec/models/paginated_task_list_spec.rb +52 -0
  114. data/spec/models/paginated_workflow_execution_summary_list_spec.rb +52 -0
  115. data/spec/models/paginated_workflow_summary_list_spec.rb +52 -0
  116. data/spec/models/paginated_workflow_task_instance_list_spec.rb +52 -0
  117. data/spec/models/paginated_workflow_transition_list_spec.rb +52 -0
  118. data/spec/models/patched_alert_method_spec.rb +136 -0
  119. data/spec/models/patched_email_notification_profile_spec.rb +118 -0
  120. data/spec/models/patched_pager_duty_profile_spec.rb +118 -0
  121. data/spec/models/patched_run_environment_spec.rb +136 -0
  122. data/spec/models/patched_task_execution_spec.rb +466 -0
  123. data/spec/models/patched_task_spec.rb +244 -0
  124. data/spec/models/patched_workflow_execution_spec.rb +172 -0
  125. data/spec/models/patched_workflow_spec.rb +142 -0
  126. data/spec/models/patched_workflow_task_instance_spec.rb +196 -0
  127. data/spec/models/patched_workflow_transition_spec.rb +118 -0
  128. data/spec/models/propagate_tags_enum_spec.rb +28 -0
  129. data/spec/models/rule_type_enum_spec.rb +28 -0
  130. data/spec/models/run_environment_spec.rb +136 -0
  131. data/spec/models/start_transition_condition_enum_spec.rb +28 -0
  132. data/spec/models/stop_reason_enum_spec.rb +28 -0
  133. data/spec/models/task_execution_spec.rb +466 -0
  134. data/spec/models/task_execution_status_spec.rb +28 -0
  135. data/spec/models/task_spec.rb +244 -0
  136. data/spec/models/threshold_property_enum_spec.rb +28 -0
  137. data/spec/models/timeout_behavior_enum_spec.rb +28 -0
  138. data/spec/models/unknown_execution_method_capability_spec.rb +40 -0
  139. data/spec/models/workflow_execution_spec.rb +172 -0
  140. data/spec/models/workflow_execution_status_spec.rb +28 -0
  141. data/spec/models/workflow_execution_summary_spec.rb +130 -0
  142. data/spec/models/workflow_spec.rb +142 -0
  143. data/spec/models/workflow_summary_spec.rb +124 -0
  144. data/spec/models/workflow_task_instance_execution_base_spec.rb +58 -0
  145. data/spec/models/workflow_task_instance_execution_spec.rb +64 -0
  146. data/spec/models/workflow_task_instance_spec.rb +196 -0
  147. data/spec/models/workflow_transition_evaluation_spec.rb +64 -0
  148. data/spec/models/workflow_transition_spec.rb +118 -0
  149. data/spec/spec_helper.rb +111 -0
  150. data/spec/wrapper_io/status_updater_spec.rb +147 -0
  151. metadata +305 -0
@@ -0,0 +1,114 @@
1
+ =begin
2
+ #CloudReactor API
3
+
4
+ #CloudReactor API Documentation
5
+
6
+ The version of the OpenAPI document: 0.2.0
7
+ Contact: jeff@cloudreactor.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudReactorAPIClient::EmailNotificationProfilesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'EmailNotificationProfilesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = CloudReactorAPIClient::EmailNotificationProfilesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of EmailNotificationProfilesApi' do
30
+ it 'should create an instance of EmailNotificationProfilesApi' do
31
+ expect(@api_instance).to be_instance_of(CloudReactorAPIClient::EmailNotificationProfilesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for email_notification_profiles_clone_create
36
+ # @param uuid
37
+ # @param email_notification_profile
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [EmailNotificationProfile]
40
+ describe 'email_notification_profiles_clone_create test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ # unit tests for email_notification_profiles_create
47
+ # @param email_notification_profile
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [EmailNotificationProfile]
50
+ describe 'email_notification_profiles_create test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ # unit tests for email_notification_profiles_destroy
57
+ # @param uuid
58
+ # @param [Hash] opts the optional parameters
59
+ # @return [nil]
60
+ describe 'email_notification_profiles_destroy test' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
+ end
64
+ end
65
+
66
+ # unit tests for email_notification_profiles_list
67
+ # @param [Hash] opts the optional parameters
68
+ # @option opts [Integer] :created_by_group__id
69
+ # @option opts [Integer] :limit Number of results to return per page.
70
+ # @option opts [String] :name
71
+ # @option opts [Integer] :offset The initial index from which to return the results.
72
+ # @option opts [String] :ordering Which field to use when ordering the results.
73
+ # @option opts [String] :run_environment__uuid
74
+ # @option opts [String] :search A search term.
75
+ # @return [PaginatedEmailNotificationProfileList]
76
+ describe 'email_notification_profiles_list test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ # unit tests for email_notification_profiles_partial_update
83
+ # @param uuid
84
+ # @param [Hash] opts the optional parameters
85
+ # @option opts [PatchedEmailNotificationProfile] :patched_email_notification_profile
86
+ # @return [EmailNotificationProfile]
87
+ describe 'email_notification_profiles_partial_update test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ # unit tests for email_notification_profiles_retrieve
94
+ # @param uuid
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [EmailNotificationProfile]
97
+ describe 'email_notification_profiles_retrieve test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
+ end
101
+ end
102
+
103
+ # unit tests for email_notification_profiles_update
104
+ # @param uuid
105
+ # @param email_notification_profile
106
+ # @param [Hash] opts the optional parameters
107
+ # @return [EmailNotificationProfile]
108
+ describe 'email_notification_profiles_update test' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
+ end
112
+ end
113
+
114
+ end
@@ -0,0 +1,114 @@
1
+ =begin
2
+ #CloudReactor API
3
+
4
+ #CloudReactor API Documentation
5
+
6
+ The version of the OpenAPI document: 0.2.0
7
+ Contact: jeff@cloudreactor.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudReactorAPIClient::PagerdutyProfilesApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PagerdutyProfilesApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = CloudReactorAPIClient::PagerdutyProfilesApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PagerdutyProfilesApi' do
30
+ it 'should create an instance of PagerdutyProfilesApi' do
31
+ expect(@api_instance).to be_instance_of(CloudReactorAPIClient::PagerdutyProfilesApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for pagerduty_profiles_clone_create
36
+ # @param uuid
37
+ # @param pager_duty_profile
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [PagerDutyProfile]
40
+ describe 'pagerduty_profiles_clone_create test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ # unit tests for pagerduty_profiles_create
47
+ # @param pager_duty_profile
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [PagerDutyProfile]
50
+ describe 'pagerduty_profiles_create test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ # unit tests for pagerduty_profiles_destroy
57
+ # @param uuid
58
+ # @param [Hash] opts the optional parameters
59
+ # @return [nil]
60
+ describe 'pagerduty_profiles_destroy test' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
+ end
64
+ end
65
+
66
+ # unit tests for pagerduty_profiles_list
67
+ # @param [Hash] opts the optional parameters
68
+ # @option opts [Integer] :created_by_group__id
69
+ # @option opts [Integer] :limit Number of results to return per page.
70
+ # @option opts [String] :name
71
+ # @option opts [Integer] :offset The initial index from which to return the results.
72
+ # @option opts [String] :ordering Which field to use when ordering the results.
73
+ # @option opts [String] :run_environment__uuid
74
+ # @option opts [String] :search A search term.
75
+ # @return [PaginatedPagerDutyProfileList]
76
+ describe 'pagerduty_profiles_list test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ # unit tests for pagerduty_profiles_partial_update
83
+ # @param uuid
84
+ # @param [Hash] opts the optional parameters
85
+ # @option opts [PatchedPagerDutyProfile] :patched_pager_duty_profile
86
+ # @return [PagerDutyProfile]
87
+ describe 'pagerduty_profiles_partial_update test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ # unit tests for pagerduty_profiles_retrieve
94
+ # @param uuid
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [PagerDutyProfile]
97
+ describe 'pagerduty_profiles_retrieve test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
+ end
101
+ end
102
+
103
+ # unit tests for pagerduty_profiles_update
104
+ # @param uuid
105
+ # @param pager_duty_profile
106
+ # @param [Hash] opts the optional parameters
107
+ # @return [PagerDutyProfile]
108
+ describe 'pagerduty_profiles_update test' do
109
+ it 'should work' do
110
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
+ end
112
+ end
113
+
114
+ end
@@ -0,0 +1,113 @@
1
+ =begin
2
+ #CloudReactor API
3
+
4
+ #CloudReactor API Documentation
5
+
6
+ The version of the OpenAPI document: 0.2.0
7
+ Contact: jeff@cloudreactor.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudReactorAPIClient::RunEnvironmentsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'RunEnvironmentsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = CloudReactorAPIClient::RunEnvironmentsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of RunEnvironmentsApi' do
30
+ it 'should create an instance of RunEnvironmentsApi' do
31
+ expect(@api_instance).to be_instance_of(CloudReactorAPIClient::RunEnvironmentsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for run_environments_clone_create
36
+ # @param uuid
37
+ # @param run_environment
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [RunEnvironment]
40
+ describe 'run_environments_clone_create test' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ # unit tests for run_environments_create
47
+ # @param run_environment
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [RunEnvironment]
50
+ describe 'run_environments_create test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ # unit tests for run_environments_destroy
57
+ # @param uuid
58
+ # @param [Hash] opts the optional parameters
59
+ # @return [nil]
60
+ describe 'run_environments_destroy test' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
+ end
64
+ end
65
+
66
+ # unit tests for run_environments_list
67
+ # @param [Hash] opts the optional parameters
68
+ # @option opts [Integer] :created_by_group__id
69
+ # @option opts [Integer] :limit Number of results to return per page.
70
+ # @option opts [String] :name
71
+ # @option opts [Integer] :offset The initial index from which to return the results.
72
+ # @option opts [String] :ordering Which field to use when ordering the results.
73
+ # @option opts [String] :search A search term.
74
+ # @return [PaginatedRunEnvironmentList]
75
+ describe 'run_environments_list test' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ # unit tests for run_environments_partial_update
82
+ # @param uuid
83
+ # @param [Hash] opts the optional parameters
84
+ # @option opts [PatchedRunEnvironment] :patched_run_environment
85
+ # @return [RunEnvironment]
86
+ describe 'run_environments_partial_update test' do
87
+ it 'should work' do
88
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
89
+ end
90
+ end
91
+
92
+ # unit tests for run_environments_retrieve
93
+ # @param uuid
94
+ # @param [Hash] opts the optional parameters
95
+ # @return [RunEnvironment]
96
+ describe 'run_environments_retrieve test' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
99
+ end
100
+ end
101
+
102
+ # unit tests for run_environments_update
103
+ # @param uuid
104
+ # @param run_environment
105
+ # @param [Hash] opts the optional parameters
106
+ # @return [RunEnvironment]
107
+ describe 'run_environments_update test' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ end
@@ -0,0 +1,102 @@
1
+ =begin
2
+ #CloudReactor API
3
+
4
+ #CloudReactor API Documentation
5
+
6
+ The version of the OpenAPI document: 0.2.0
7
+ Contact: jeff@cloudreactor.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudReactorAPIClient::TaskExecutionsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'TaskExecutionsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = CloudReactorAPIClient::TaskExecutionsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of TaskExecutionsApi' do
30
+ it 'should create an instance of TaskExecutionsApi' do
31
+ expect(@api_instance).to be_instance_of(CloudReactorAPIClient::TaskExecutionsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for task_executions_create
36
+ # @param task_execution
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [TaskExecution]
39
+ describe 'task_executions_create test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ # unit tests for task_executions_destroy
46
+ # @param uuid
47
+ # @param [Hash] opts the optional parameters
48
+ # @return [nil]
49
+ describe 'task_executions_destroy test' do
50
+ it 'should work' do
51
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
52
+ end
53
+ end
54
+
55
+ # unit tests for task_executions_list
56
+ # @param [Hash] opts the optional parameters
57
+ # @option opts [Integer] :limit Number of results to return per page.
58
+ # @option opts [Integer] :offset The initial index from which to return the results.
59
+ # @option opts [String] :ordering Which field to use when ordering the results.
60
+ # @option opts [String] :search A search term.
61
+ # @option opts [Integer] :task__created_by_group__id
62
+ # @option opts [String] :task__uuid
63
+ # @return [PaginatedTaskExecutionList]
64
+ describe 'task_executions_list test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for task_executions_partial_update
71
+ # @param uuid
72
+ # @param [Hash] opts the optional parameters
73
+ # @option opts [PatchedTaskExecution] :patched_task_execution
74
+ # @return [TaskExecution]
75
+ describe 'task_executions_partial_update test' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ # unit tests for task_executions_retrieve
82
+ # @param uuid
83
+ # @param [Hash] opts the optional parameters
84
+ # @return [TaskExecution]
85
+ describe 'task_executions_retrieve test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
91
+ # unit tests for task_executions_update
92
+ # @param uuid
93
+ # @param task_execution
94
+ # @param [Hash] opts the optional parameters
95
+ # @return [TaskExecution]
96
+ describe 'task_executions_update test' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
99
+ end
100
+ end
101
+
102
+ end
@@ -0,0 +1,103 @@
1
+ =begin
2
+ #CloudReactor API
3
+
4
+ #CloudReactor API Documentation
5
+
6
+ The version of the OpenAPI document: 0.2.0
7
+ Contact: jeff@cloudreactor.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudReactorAPIClient::TasksApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'TasksApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = CloudReactorAPIClient::TasksApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of TasksApi' do
30
+ it 'should create an instance of TasksApi' do
31
+ expect(@api_instance).to be_instance_of(CloudReactorAPIClient::TasksApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for tasks_create
36
+ # @param task
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [Task]
39
+ describe 'tasks_create test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ # unit tests for tasks_destroy
46
+ # @param uuid
47
+ # @param [Hash] opts the optional parameters
48
+ # @return [nil]
49
+ describe 'tasks_destroy test' do
50
+ it 'should work' do
51
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
52
+ end
53
+ end
54
+
55
+ # unit tests for tasks_list
56
+ # @param [Hash] opts the optional parameters
57
+ # @option opts [String] :description
58
+ # @option opts [Integer] :limit Number of results to return per page.
59
+ # @option opts [String] :name
60
+ # @option opts [Integer] :offset The initial index from which to return the results.
61
+ # @option opts [String] :ordering Which field to use when ordering the results.
62
+ # @option opts [String] :run_environment__uuid
63
+ # @option opts [String] :search A search term.
64
+ # @return [PaginatedTaskList]
65
+ describe 'tasks_list test' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ # unit tests for tasks_partial_update
72
+ # @param uuid
73
+ # @param [Hash] opts the optional parameters
74
+ # @option opts [PatchedTask] :patched_task
75
+ # @return [Task]
76
+ describe 'tasks_partial_update test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ # unit tests for tasks_retrieve
83
+ # @param uuid
84
+ # @param [Hash] opts the optional parameters
85
+ # @return [Task]
86
+ describe 'tasks_retrieve test' do
87
+ it 'should work' do
88
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
89
+ end
90
+ end
91
+
92
+ # unit tests for tasks_update
93
+ # @param uuid
94
+ # @param task
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [Task]
97
+ describe 'tasks_update test' do
98
+ it 'should work' do
99
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
100
+ end
101
+ end
102
+
103
+ end
@@ -0,0 +1,124 @@
1
+ =begin
2
+ #CloudReactor API
3
+
4
+ #CloudReactor API Documentation
5
+
6
+ The version of the OpenAPI document: 0.2.0
7
+ Contact: jeff@cloudreactor.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.4.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for CloudReactorAPIClient::WorkflowExecutionsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'WorkflowExecutionsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = CloudReactorAPIClient::WorkflowExecutionsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of WorkflowExecutionsApi' do
30
+ it 'should create an instance of WorkflowExecutionsApi' do
31
+ expect(@api_instance).to be_instance_of(CloudReactorAPIClient::WorkflowExecutionsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for workflow_executions_create
36
+ # @param workflow_execution
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [WorkflowExecution]
39
+ describe 'workflow_executions_create test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ # unit tests for workflow_executions_destroy
46
+ # @param uuid
47
+ # @param [Hash] opts the optional parameters
48
+ # @return [nil]
49
+ describe 'workflow_executions_destroy test' do
50
+ it 'should work' do
51
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
52
+ end
53
+ end
54
+
55
+ # unit tests for workflow_executions_list
56
+ # @param [Hash] opts the optional parameters
57
+ # @option opts [Integer] :limit Number of results to return per page.
58
+ # @option opts [Integer] :offset The initial index from which to return the results.
59
+ # @option opts [String] :ordering Which field to use when ordering the results.
60
+ # @option opts [String] :search A search term.
61
+ # @option opts [String] :workflow__created_by_group__id
62
+ # @option opts [String] :workflow__uuid
63
+ # @return [PaginatedWorkflowExecutionSummaryList]
64
+ describe 'workflow_executions_list test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for workflow_executions_partial_update
71
+ # @param uuid
72
+ # @param [Hash] opts the optional parameters
73
+ # @option opts [PatchedWorkflowExecution] :patched_workflow_execution
74
+ # @return [WorkflowExecution]
75
+ describe 'workflow_executions_partial_update test' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ # unit tests for workflow_executions_retrieve
82
+ # @param uuid
83
+ # @param [Hash] opts the optional parameters
84
+ # @return [WorkflowExecution]
85
+ describe 'workflow_executions_retrieve test' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
91
+ # unit tests for workflow_executions_retry_create
92
+ # @param uuid
93
+ # @param workflow_execution
94
+ # @param [Hash] opts the optional parameters
95
+ # @return [WorkflowExecution]
96
+ describe 'workflow_executions_retry_create test' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
99
+ end
100
+ end
101
+
102
+ # unit tests for workflow_executions_update
103
+ # @param uuid
104
+ # @param workflow_execution
105
+ # @param [Hash] opts the optional parameters
106
+ # @return [WorkflowExecution]
107
+ describe 'workflow_executions_update test' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ # unit tests for workflow_executions_workflow_task_instance_executions_create
114
+ # @param uuid
115
+ # @param workflow_execution
116
+ # @param [Hash] opts the optional parameters
117
+ # @return [WorkflowExecution]
118
+ describe 'workflow_executions_workflow_task_instance_executions_create test' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
121
+ end
122
+ end
123
+
124
+ end