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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +92 -0
- data/cloudreactor_api_client.md +226 -0
- data/lib/cloudreactor_api_client/api/alert_methods_api.rb +482 -0
- data/lib/cloudreactor_api_client/api/email_notification_profiles_api.rb +482 -0
- data/lib/cloudreactor_api_client/api/pagerduty_profiles_api.rb +482 -0
- data/lib/cloudreactor_api_client/api/run_environments_api.rb +479 -0
- data/lib/cloudreactor_api_client/api/task_executions_api.rb +409 -0
- data/lib/cloudreactor_api_client/api/tasks_api.rb +412 -0
- data/lib/cloudreactor_api_client/api/workflow_executions_api.rb +549 -0
- data/lib/cloudreactor_api_client/api/workflow_task_instances_api.rb +424 -0
- data/lib/cloudreactor_api_client/api/workflow_transitions_api.rb +406 -0
- data/lib/cloudreactor_api_client/api/workflows_api.rb +482 -0
- data/lib/cloudreactor_api_client/api_client.rb +390 -0
- data/lib/cloudreactor_api_client/api_error.rb +57 -0
- data/lib/cloudreactor_api_client/configuration.rb +277 -0
- data/lib/cloudreactor_api_client/models/alert_method.rb +449 -0
- data/lib/cloudreactor_api_client/models/aws_ecs_execution_method.rb +517 -0
- data/lib/cloudreactor_api_client/models/aws_ecs_execution_method_capability.rb +565 -0
- data/lib/cloudreactor_api_client/models/aws_ecs_launch_type.rb +37 -0
- data/lib/cloudreactor_api_client/models/aws_ecs_run_environment_execution_method_capability.rb +476 -0
- data/lib/cloudreactor_api_client/models/aws_ecs_service_load_balancer_details.rb +307 -0
- data/lib/cloudreactor_api_client/models/aws_ecs_service_options.rb +308 -0
- data/lib/cloudreactor_api_client/models/current_service_info.rb +255 -0
- data/lib/cloudreactor_api_client/models/email_notification_profile.rb +454 -0
- data/lib/cloudreactor_api_client/models/execution_method_capability.rb +54 -0
- data/lib/cloudreactor_api_client/models/failure_behavior_enum.rb +38 -0
- data/lib/cloudreactor_api_client/models/group.rb +268 -0
- data/lib/cloudreactor_api_client/models/link.rb +301 -0
- data/lib/cloudreactor_api_client/models/name_and_uuid.rb +236 -0
- data/lib/cloudreactor_api_client/models/notification_severity.rb +39 -0
- data/lib/cloudreactor_api_client/models/pager_duty_profile.rb +484 -0
- data/lib/cloudreactor_api_client/models/paginated_alert_method_list.rb +247 -0
- data/lib/cloudreactor_api_client/models/paginated_email_notification_profile_list.rb +247 -0
- data/lib/cloudreactor_api_client/models/paginated_pager_duty_profile_list.rb +247 -0
- data/lib/cloudreactor_api_client/models/paginated_run_environment_list.rb +247 -0
- data/lib/cloudreactor_api_client/models/paginated_task_execution_list.rb +247 -0
- data/lib/cloudreactor_api_client/models/paginated_task_list.rb +247 -0
- data/lib/cloudreactor_api_client/models/paginated_workflow_execution_summary_list.rb +247 -0
- data/lib/cloudreactor_api_client/models/paginated_workflow_summary_list.rb +247 -0
- data/lib/cloudreactor_api_client/models/paginated_workflow_task_instance_list.rb +247 -0
- data/lib/cloudreactor_api_client/models/paginated_workflow_transition_list.rb +247 -0
- data/lib/cloudreactor_api_client/models/patched_alert_method.rb +405 -0
- data/lib/cloudreactor_api_client/models/patched_email_notification_profile.rb +415 -0
- data/lib/cloudreactor_api_client/models/patched_pager_duty_profile.rb +436 -0
- data/lib/cloudreactor_api_client/models/patched_run_environment.rb +511 -0
- data/lib/cloudreactor_api_client/models/patched_task.rb +897 -0
- data/lib/cloudreactor_api_client/models/patched_task_execution.rb +1904 -0
- data/lib/cloudreactor_api_client/models/patched_workflow.rb +507 -0
- data/lib/cloudreactor_api_client/models/patched_workflow_execution.rb +559 -0
- data/lib/cloudreactor_api_client/models/patched_workflow_task_instance.rb +676 -0
- data/lib/cloudreactor_api_client/models/patched_workflow_transition.rb +432 -0
- data/lib/cloudreactor_api_client/models/propagate_tags_enum.rb +37 -0
- data/lib/cloudreactor_api_client/models/rule_type_enum.rb +43 -0
- data/lib/cloudreactor_api_client/models/run_environment.rb +555 -0
- data/lib/cloudreactor_api_client/models/start_transition_condition_enum.rb +39 -0
- data/lib/cloudreactor_api_client/models/stop_reason_enum.rb +42 -0
- data/lib/cloudreactor_api_client/models/task.rb +941 -0
- data/lib/cloudreactor_api_client/models/task_execution.rb +1954 -0
- data/lib/cloudreactor_api_client/models/task_execution_status.rb +46 -0
- data/lib/cloudreactor_api_client/models/threshold_property_enum.rb +39 -0
- data/lib/cloudreactor_api_client/models/timeout_behavior_enum.rb +40 -0
- data/lib/cloudreactor_api_client/models/unknown_execution_method_capability.rb +238 -0
- data/lib/cloudreactor_api_client/models/workflow.rb +556 -0
- data/lib/cloudreactor_api_client/models/workflow_execution.rb +629 -0
- data/lib/cloudreactor_api_client/models/workflow_execution_status.rb +42 -0
- data/lib/cloudreactor_api_client/models/workflow_execution_summary.rb +523 -0
- data/lib/cloudreactor_api_client/models/workflow_summary.rb +513 -0
- data/lib/cloudreactor_api_client/models/workflow_task_instance.rb +715 -0
- data/lib/cloudreactor_api_client/models/workflow_task_instance_execution.rb +280 -0
- data/lib/cloudreactor_api_client/models/workflow_task_instance_execution_base.rb +270 -0
- data/lib/cloudreactor_api_client/models/workflow_transition.rb +467 -0
- data/lib/cloudreactor_api_client/models/workflow_transition_evaluation.rb +280 -0
- data/lib/cloudreactor_api_client/version.rb +15 -0
- data/lib/cloudreactor_api_client.rb +121 -0
- data/lib/cloudreactor_wrapper_io/status_updater.rb +124 -0
- data/lib/cloudreactor_wrapper_io.rb +13 -0
- data/spec/api/alert_methods_api_spec.rb +114 -0
- data/spec/api/email_notification_profiles_api_spec.rb +114 -0
- data/spec/api/pagerduty_profiles_api_spec.rb +114 -0
- data/spec/api/run_environments_api_spec.rb +113 -0
- data/spec/api/task_executions_api_spec.rb +102 -0
- data/spec/api/tasks_api_spec.rb +103 -0
- data/spec/api/workflow_executions_api_spec.rb +124 -0
- data/spec/api/workflow_task_instances_api_spec.rb +107 -0
- data/spec/api/workflow_transitions_api_spec.rb +101 -0
- data/spec/api/workflows_api_spec.rb +114 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/integration/task_execution_integration_spec.rb +51 -0
- data/spec/models/alert_method_spec.rb +136 -0
- data/spec/models/aws_ecs_execution_method_capability_spec.rb +166 -0
- data/spec/models/aws_ecs_execution_method_spec.rb +148 -0
- data/spec/models/aws_ecs_launch_type_spec.rb +28 -0
- data/spec/models/aws_ecs_run_environment_execution_method_capability_spec.rb +130 -0
- data/spec/models/aws_ecs_service_load_balancer_details_spec.rb +46 -0
- data/spec/models/aws_ecs_service_options_spec.rb +88 -0
- data/spec/models/current_service_info_spec.rb +52 -0
- data/spec/models/email_notification_profile_spec.rb +118 -0
- data/spec/models/execution_method_capability_spec.rb +43 -0
- data/spec/models/failure_behavior_enum_spec.rb +28 -0
- data/spec/models/group_spec.rb +46 -0
- data/spec/models/link_spec.rb +70 -0
- data/spec/models/name_and_uuid_spec.rb +46 -0
- data/spec/models/notification_severity_spec.rb +28 -0
- data/spec/models/pager_duty_profile_spec.rb +118 -0
- data/spec/models/paginated_alert_method_list_spec.rb +52 -0
- data/spec/models/paginated_email_notification_profile_list_spec.rb +52 -0
- data/spec/models/paginated_pager_duty_profile_list_spec.rb +52 -0
- data/spec/models/paginated_run_environment_list_spec.rb +52 -0
- data/spec/models/paginated_task_execution_list_spec.rb +52 -0
- data/spec/models/paginated_task_list_spec.rb +52 -0
- data/spec/models/paginated_workflow_execution_summary_list_spec.rb +52 -0
- data/spec/models/paginated_workflow_summary_list_spec.rb +52 -0
- data/spec/models/paginated_workflow_task_instance_list_spec.rb +52 -0
- data/spec/models/paginated_workflow_transition_list_spec.rb +52 -0
- data/spec/models/patched_alert_method_spec.rb +136 -0
- data/spec/models/patched_email_notification_profile_spec.rb +118 -0
- data/spec/models/patched_pager_duty_profile_spec.rb +118 -0
- data/spec/models/patched_run_environment_spec.rb +136 -0
- data/spec/models/patched_task_execution_spec.rb +466 -0
- data/spec/models/patched_task_spec.rb +244 -0
- data/spec/models/patched_workflow_execution_spec.rb +172 -0
- data/spec/models/patched_workflow_spec.rb +142 -0
- data/spec/models/patched_workflow_task_instance_spec.rb +196 -0
- data/spec/models/patched_workflow_transition_spec.rb +118 -0
- data/spec/models/propagate_tags_enum_spec.rb +28 -0
- data/spec/models/rule_type_enum_spec.rb +28 -0
- data/spec/models/run_environment_spec.rb +136 -0
- data/spec/models/start_transition_condition_enum_spec.rb +28 -0
- data/spec/models/stop_reason_enum_spec.rb +28 -0
- data/spec/models/task_execution_spec.rb +466 -0
- data/spec/models/task_execution_status_spec.rb +28 -0
- data/spec/models/task_spec.rb +244 -0
- data/spec/models/threshold_property_enum_spec.rb +28 -0
- data/spec/models/timeout_behavior_enum_spec.rb +28 -0
- data/spec/models/unknown_execution_method_capability_spec.rb +40 -0
- data/spec/models/workflow_execution_spec.rb +172 -0
- data/spec/models/workflow_execution_status_spec.rb +28 -0
- data/spec/models/workflow_execution_summary_spec.rb +130 -0
- data/spec/models/workflow_spec.rb +142 -0
- data/spec/models/workflow_summary_spec.rb +124 -0
- data/spec/models/workflow_task_instance_execution_base_spec.rb +58 -0
- data/spec/models/workflow_task_instance_execution_spec.rb +64 -0
- data/spec/models/workflow_task_instance_spec.rb +196 -0
- data/spec/models/workflow_transition_evaluation_spec.rb +64 -0
- data/spec/models/workflow_transition_spec.rb +118 -0
- data/spec/spec_helper.rb +111 -0
- data/spec/wrapper_io/status_updater_spec.rb +147 -0
- metadata +305 -0
@@ -0,0 +1,196 @@
|
|
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
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudReactorAPIClient::PatchedWorkflowTaskInstance
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe CloudReactorAPIClient::PatchedWorkflowTaskInstance do
|
21
|
+
let(:instance) { CloudReactorAPIClient::PatchedWorkflowTaskInstance.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PatchedWorkflowTaskInstance' do
|
24
|
+
it 'should create an instance of PatchedWorkflowTaskInstance' do
|
25
|
+
expect(instance).to be_instance_of(CloudReactorAPIClient::PatchedWorkflowTaskInstance)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "url"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "uuid"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "name"' 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
|
+
describe 'test attribute "description"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "workflow"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "task"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "start_transition_condition"' 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
|
+
describe 'test attribute "max_complete_executions"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "should_eval_transitions_after_first_execution"' 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
|
+
describe 'test attribute "condition_count_threshold"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "condition_ratio_threshold"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "max_age_seconds"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "default_max_retries"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'test attribute "failure_behavior"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "allow_workflow_execution_after_failure"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'test attribute "timeout_behavior"' 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
|
+
describe 'test attribute "allow_workflow_execution_after_timeout"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
describe 'test attribute "environment_variables_overrides"' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
describe 'test attribute "allocated_cpu_units"' do
|
137
|
+
it 'should work' do
|
138
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
describe 'test attribute "allocated_memory_mb"' do
|
143
|
+
it 'should work' do
|
144
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
describe 'test attribute "use_task_alert_methods"' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
describe 'test attribute "ui_color"' do
|
155
|
+
it 'should work' do
|
156
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
describe 'test attribute "ui_icon_type"' do
|
161
|
+
it 'should work' do
|
162
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
describe 'test attribute "ui_scale"' do
|
167
|
+
it 'should work' do
|
168
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
describe 'test attribute "ui_center_margin_top"' do
|
173
|
+
it 'should work' do
|
174
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
describe 'test attribute "ui_center_margin_left"' do
|
179
|
+
it 'should work' do
|
180
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
describe 'test attribute "created_at"' do
|
185
|
+
it 'should work' do
|
186
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
describe 'test attribute "updated_at"' do
|
191
|
+
it 'should work' do
|
192
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
end
|
@@ -0,0 +1,118 @@
|
|
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
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudReactorAPIClient::PatchedWorkflowTransition
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe CloudReactorAPIClient::PatchedWorkflowTransition do
|
21
|
+
let(:instance) { CloudReactorAPIClient::PatchedWorkflowTransition.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PatchedWorkflowTransition' do
|
24
|
+
it 'should create an instance of PatchedWorkflowTransition' do
|
25
|
+
expect(instance).to be_instance_of(CloudReactorAPIClient::PatchedWorkflowTransition)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "url"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "uuid"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "description"' 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
|
+
describe 'test attribute "from_workflow_task_instance"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "to_workflow_task_instance"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "rule_type"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "exit_codes"' 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
|
+
describe 'test attribute "threshold_property"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "custom_expression"' 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
|
+
describe 'test attribute "priority"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "ui_color"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "ui_line_style"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "ui_scale"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'test attribute "created_at"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "updated_at"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
end
|
@@ -0,0 +1,28 @@
|
|
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
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudReactorAPIClient::PropagateTagsEnum
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe CloudReactorAPIClient::PropagateTagsEnum do
|
21
|
+
let(:instance) { CloudReactorAPIClient::PropagateTagsEnum.new }
|
22
|
+
|
23
|
+
describe 'test an instance of PropagateTagsEnum' do
|
24
|
+
it 'should create an instance of PropagateTagsEnum' do
|
25
|
+
expect(instance).to be_instance_of(CloudReactorAPIClient::PropagateTagsEnum)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
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
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudReactorAPIClient::RuleTypeEnum
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe CloudReactorAPIClient::RuleTypeEnum do
|
21
|
+
let(:instance) { CloudReactorAPIClient::RuleTypeEnum.new }
|
22
|
+
|
23
|
+
describe 'test an instance of RuleTypeEnum' do
|
24
|
+
it 'should create an instance of RuleTypeEnum' do
|
25
|
+
expect(instance).to be_instance_of(CloudReactorAPIClient::RuleTypeEnum)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,136 @@
|
|
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
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudReactorAPIClient::RunEnvironment
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe CloudReactorAPIClient::RunEnvironment do
|
21
|
+
let(:instance) { CloudReactorAPIClient::RunEnvironment.new }
|
22
|
+
|
23
|
+
describe 'test an instance of RunEnvironment' do
|
24
|
+
it 'should create an instance of RunEnvironment' do
|
25
|
+
expect(instance).to be_instance_of(CloudReactorAPIClient::RunEnvironment)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "url"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "uuid"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "name"' 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
|
+
describe 'test attribute "description"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "dashboard_url"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "created_by_user"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "created_by_group"' 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
|
+
describe 'test attribute "created_at"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "updated_at"' 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
|
+
describe 'test attribute "aws_account_id"' do
|
83
|
+
it 'should work' do
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe 'test attribute "aws_default_region"' do
|
89
|
+
it 'should work' do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "aws_access_key"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "aws_assumed_role_external_id"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'test attribute "aws_events_role_arn"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "aws_workflow_starter_lambda_arn"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'test attribute "aws_workflow_starter_access_key"' 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
|
+
describe 'test attribute "default_alert_methods"' do
|
125
|
+
it 'should work' do
|
126
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
describe 'test attribute "execution_method_capabilities"' do
|
131
|
+
it 'should work' do
|
132
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
end
|
@@ -0,0 +1,28 @@
|
|
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
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudReactorAPIClient::StartTransitionConditionEnum
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe CloudReactorAPIClient::StartTransitionConditionEnum do
|
21
|
+
let(:instance) { CloudReactorAPIClient::StartTransitionConditionEnum.new }
|
22
|
+
|
23
|
+
describe 'test an instance of StartTransitionConditionEnum' do
|
24
|
+
it 'should create an instance of StartTransitionConditionEnum' do
|
25
|
+
expect(instance).to be_instance_of(CloudReactorAPIClient::StartTransitionConditionEnum)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
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
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudReactorAPIClient::StopReasonEnum
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe CloudReactorAPIClient::StopReasonEnum do
|
21
|
+
let(:instance) { CloudReactorAPIClient::StopReasonEnum.new }
|
22
|
+
|
23
|
+
describe 'test an instance of StopReasonEnum' do
|
24
|
+
it 'should create an instance of StopReasonEnum' do
|
25
|
+
expect(instance).to be_instance_of(CloudReactorAPIClient::StopReasonEnum)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|