spinnaker_gate_ruby_client 1.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.
Files changed (155) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +8 -0
  3. data/Gemfile.lock +85 -0
  4. data/LICENSE +201 -0
  5. data/README.md +240 -0
  6. data/Rakefile +8 -0
  7. data/docs/Account.md +14 -0
  8. data/docs/AccountDetails.md +19 -0
  9. data/docs/AmazonInfrastructureControllerApi.md +128 -0
  10. data/docs/ApplicationControllerApi.md +754 -0
  11. data/docs/ArtifactControllerApi.md +111 -0
  12. data/docs/AuthControllerApi.md +212 -0
  13. data/docs/BakeControllerApi.md +143 -0
  14. data/docs/BuildControllerApi.md +493 -0
  15. data/docs/ClusterControllerApi.md +475 -0
  16. data/docs/ConcourseControllerApi.md +161 -0
  17. data/docs/CredentialsControllerApi.md +129 -0
  18. data/docs/EcsServerGroupEventsControllerApi.md +66 -0
  19. data/docs/ExecutionsControllerApi.md +133 -0
  20. data/docs/FirewallControllerApi.md +171 -0
  21. data/docs/GrantedAuthority.md +8 -0
  22. data/docs/HashMapstringobject.md +7 -0
  23. data/docs/HttpEntity.md +8 -0
  24. data/docs/ImageControllerApi.md +178 -0
  25. data/docs/InstanceControllerApi.md +122 -0
  26. data/docs/JobControllerApi.md +69 -0
  27. data/docs/LoadBalancerControllerApi.md +217 -0
  28. data/docs/Mapstringstring.md +7 -0
  29. data/docs/NetworkControllerApi.md +105 -0
  30. data/docs/PipelineConfigControllerApi.md +144 -0
  31. data/docs/PipelineControllerApi.md +1074 -0
  32. data/docs/PipelineTemplateDependent.md +10 -0
  33. data/docs/PipelineTemplatesControllerApi.md +350 -0
  34. data/docs/ProjectControllerApi.md +196 -0
  35. data/docs/PubsubSubscriptionControllerApi.md +48 -0
  36. data/docs/ReorderPipelinesCommand.md +9 -0
  37. data/docs/ReorderPipelinesControllerApi.md +54 -0
  38. data/docs/ResponseEntity.md +10 -0
  39. data/docs/SearchControllerApi.md +68 -0
  40. data/docs/SecurityGroupControllerApi.md +171 -0
  41. data/docs/ServerGroupControllerApi.md +125 -0
  42. data/docs/ServerGroupManagerControllerApi.md +54 -0
  43. data/docs/SnapshotControllerApi.md +110 -0
  44. data/docs/SubnetControllerApi.md +58 -0
  45. data/docs/TaskControllerApi.md +291 -0
  46. data/docs/User.md +18 -0
  47. data/docs/V2CanaryConfigControllerApi.md +259 -0
  48. data/docs/V2CanaryControllerApi.md +356 -0
  49. data/docs/V2PipelineTemplatesControllerApi.md +356 -0
  50. data/docs/Version.md +8 -0
  51. data/docs/VersionControllerApi.md +48 -0
  52. data/docs/WebhookControllerApi.md +105 -0
  53. data/git_push.sh +55 -0
  54. data/lib/swagger_client.rb +85 -0
  55. data/lib/swagger_client/api/amazon_infrastructure_controller_api.rb +161 -0
  56. data/lib/swagger_client/api/application_controller_api.rb +868 -0
  57. data/lib/swagger_client/api/artifact_controller_api.rb +141 -0
  58. data/lib/swagger_client/api/auth_controller_api.rb +258 -0
  59. data/lib/swagger_client/api/bake_controller_api.rb +179 -0
  60. data/lib/swagger_client/api/build_controller_api.rb +588 -0
  61. data/lib/swagger_client/api/cluster_controller_api.rb +591 -0
  62. data/lib/swagger_client/api/concourse_controller_api.rb +209 -0
  63. data/lib/swagger_client/api/credentials_controller_api.rb +163 -0
  64. data/lib/swagger_client/api/ecs_server_group_events_controller_api.rb +101 -0
  65. data/lib/swagger_client/api/executions_controller_api.rb +169 -0
  66. data/lib/swagger_client/api/firewall_controller_api.rb +209 -0
  67. data/lib/swagger_client/api/image_controller_api.rb +222 -0
  68. data/lib/swagger_client/api/instance_controller_api.rb +160 -0
  69. data/lib/swagger_client/api/job_controller_api.rb +99 -0
  70. data/lib/swagger_client/api/load_balancer_controller_api.rb +258 -0
  71. data/lib/swagger_client/api/network_controller_api.rb +127 -0
  72. data/lib/swagger_client/api/pipeline_config_controller_api.rb +176 -0
  73. data/lib/swagger_client/api/pipeline_controller_api.rb +1268 -0
  74. data/lib/swagger_client/api/pipeline_templates_controller_api.rb +404 -0
  75. data/lib/swagger_client/api/project_controller_api.rb +234 -0
  76. data/lib/swagger_client/api/pubsub_subscription_controller_api.rb +69 -0
  77. data/lib/swagger_client/api/reorder_pipelines_controller_api.rb +75 -0
  78. data/lib/swagger_client/api/search_controller_api.rb +94 -0
  79. data/lib/swagger_client/api/security_group_controller_api.rb +209 -0
  80. data/lib/swagger_client/api/server_group_controller_api.rb +163 -0
  81. data/lib/swagger_client/api/server_group_manager_controller_api.rb +75 -0
  82. data/lib/swagger_client/api/snapshot_controller_api.rb +142 -0
  83. data/lib/swagger_client/api/subnet_controller_api.rb +78 -0
  84. data/lib/swagger_client/api/task_controller_api.rb +345 -0
  85. data/lib/swagger_client/api/v2_canary_config_controller_api.rb +300 -0
  86. data/lib/swagger_client/api/v2_canary_controller_api.rb +421 -0
  87. data/lib/swagger_client/api/v2_pipeline_templates_controller_api.rb +412 -0
  88. data/lib/swagger_client/api/version_controller_api.rb +69 -0
  89. data/lib/swagger_client/api/webhook_controller_api.rb +135 -0
  90. data/lib/swagger_client/api_client.rb +388 -0
  91. data/lib/swagger_client/api_error.rb +38 -0
  92. data/lib/swagger_client/configuration.rb +202 -0
  93. data/lib/swagger_client/models/account.rb +241 -0
  94. data/lib/swagger_client/models/account_details.rb +286 -0
  95. data/lib/swagger_client/models/granted_authority.rb +183 -0
  96. data/lib/swagger_client/models/hash_mapstringobject.rb +174 -0
  97. data/lib/swagger_client/models/http_entity.rb +183 -0
  98. data/lib/swagger_client/models/mapstringstring.rb +174 -0
  99. data/lib/swagger_client/models/pipeline_template_dependent.rb +201 -0
  100. data/lib/swagger_client/models/reorder_pipelines_command.rb +194 -0
  101. data/lib/swagger_client/models/response_entity.rb +235 -0
  102. data/lib/swagger_client/models/user.rb +279 -0
  103. data/lib/swagger_client/models/version.rb +183 -0
  104. data/lib/swagger_client/version.rb +15 -0
  105. data/spec/api/amazon_infrastructure_controller_api_spec.rb +65 -0
  106. data/spec/api/application_controller_api_spec.rb +218 -0
  107. data/spec/api/artifact_controller_api_spec.rb +60 -0
  108. data/spec/api/auth_controller_api_spec.rb +86 -0
  109. data/spec/api/bake_controller_api_spec.rb +68 -0
  110. data/spec/api/build_controller_api_spec.rb +155 -0
  111. data/spec/api/cluster_controller_api_spec.rb +155 -0
  112. data/spec/api/concourse_controller_api_spec.rb +73 -0
  113. data/spec/api/credentials_controller_api_spec.rb +70 -0
  114. data/spec/api/ecs_server_group_events_controller_api_spec.rb +50 -0
  115. data/spec/api/executions_controller_api_spec.rb +72 -0
  116. data/spec/api/firewall_controller_api_spec.rb +77 -0
  117. data/spec/api/image_controller_api_spec.rb +80 -0
  118. data/spec/api/instance_controller_api_spec.rb +64 -0
  119. data/spec/api/job_controller_api_spec.rb +51 -0
  120. data/spec/api/load_balancer_controller_api_spec.rb +87 -0
  121. data/spec/api/network_controller_api_spec.rb +58 -0
  122. data/spec/api/pipeline_config_controller_api_spec.rb +68 -0
  123. data/spec/api/pipeline_controller_api_spec.rb +296 -0
  124. data/spec/api/pipeline_templates_controller_api_spec.rb +118 -0
  125. data/spec/api/project_controller_api_spec.rb +81 -0
  126. data/spec/api/pubsub_subscription_controller_api_spec.rb +45 -0
  127. data/spec/api/reorder_pipelines_controller_api_spec.rb +46 -0
  128. data/spec/api/search_controller_api_spec.rb +52 -0
  129. data/spec/api/security_group_controller_api_spec.rb +77 -0
  130. data/spec/api/server_group_controller_api_spec.rb +66 -0
  131. data/spec/api/server_group_manager_controller_api_spec.rb +46 -0
  132. data/spec/api/snapshot_controller_api_spec.rb +60 -0
  133. data/spec/api/subnet_controller_api_spec.rb +47 -0
  134. data/spec/api/task_controller_api_spec.rb +103 -0
  135. data/spec/api/v2_canary_config_controller_api_spec.rb +96 -0
  136. data/spec/api/v2_canary_controller_api_spec.rb +123 -0
  137. data/spec/api/v2_pipeline_templates_controller_api_spec.rb +121 -0
  138. data/spec/api/version_controller_api_spec.rb +45 -0
  139. data/spec/api/webhook_controller_api_spec.rb +60 -0
  140. data/spec/api_client_spec.rb +226 -0
  141. data/spec/configuration_spec.rb +42 -0
  142. data/spec/models/account_details_spec.rb +107 -0
  143. data/spec/models/account_spec.rb +77 -0
  144. data/spec/models/granted_authority_spec.rb +41 -0
  145. data/spec/models/hash_mapstringobject_spec.rb +35 -0
  146. data/spec/models/http_entity_spec.rb +41 -0
  147. data/spec/models/mapstringstring_spec.rb +35 -0
  148. data/spec/models/pipeline_template_dependent_spec.rb +53 -0
  149. data/spec/models/reorder_pipelines_command_spec.rb +47 -0
  150. data/spec/models/response_entity_spec.rb +57 -0
  151. data/spec/models/user_spec.rb +101 -0
  152. data/spec/models/version_spec.rb +41 -0
  153. data/spec/spec_helper.rb +111 -0
  154. data/spinnaker_gate_ruby_client.gemspec +45 -0
  155. metadata +426 -0
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Spinnaker API
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.7
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for SwaggerClient::NetworkControllerApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'NetworkControllerApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = SwaggerClient::NetworkControllerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of NetworkControllerApi' do
30
+ it 'should create an instance of NetworkControllerApi' do
31
+ expect(@instance).to be_instance_of(SwaggerClient::NetworkControllerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for all_by_cloud_provider_using_get
36
+ # Retrieve a list of networks for a given cloud provider
37
+ # @param cloud_provider cloudProvider
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :x_rate_limit_app X-RateLimit-App
40
+ # @return [Array<Object>]
41
+ describe 'all_by_cloud_provider_using_get test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for all_using_get2
48
+ # Retrieve a list of networks, grouped by cloud provider
49
+ # @param [Hash] opts the optional parameters
50
+ # @option opts [String] :x_rate_limit_app X-RateLimit-App
51
+ # @return [Hash<String, Object>]
52
+ describe 'all_using_get2 test' 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
+ end
@@ -0,0 +1,68 @@
1
+ =begin
2
+ #Spinnaker API
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.7
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for SwaggerClient::PipelineConfigControllerApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'PipelineConfigControllerApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = SwaggerClient::PipelineConfigControllerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PipelineConfigControllerApi' do
30
+ it 'should create an instance of PipelineConfigControllerApi' do
31
+ expect(@instance).to be_instance_of(SwaggerClient::PipelineConfigControllerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for convert_pipeline_config_to_pipeline_template_using_get
36
+ # Convert a pipeline config to a pipeline template.
37
+ # @param pipeline_config_id pipelineConfigId
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [String]
40
+ describe 'convert_pipeline_config_to_pipeline_template_using_get 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 get_all_pipeline_configs_using_get
47
+ # Get all pipeline configs.
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [Array<Object>]
50
+ describe 'get_all_pipeline_configs_using_get 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 get_pipeline_config_history_using_get
57
+ # Get pipeline config history.
58
+ # @param pipeline_config_id pipelineConfigId
59
+ # @param [Hash] opts the optional parameters
60
+ # @option opts [Integer] :limit limit
61
+ # @return [Array<Object>]
62
+ describe 'get_pipeline_config_history_using_get test' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ end
@@ -0,0 +1,296 @@
1
+ =begin
2
+ #Spinnaker API
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.7
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for SwaggerClient::PipelineControllerApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'PipelineControllerApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = SwaggerClient::PipelineControllerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PipelineControllerApi' do
30
+ it 'should create an instance of PipelineControllerApi' do
31
+ expect(@instance).to be_instance_of(SwaggerClient::PipelineControllerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for cancel_pipeline_using_put1
36
+ # Cancel a pipeline execution
37
+ # @param id id
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :reason reason
40
+ # @option opts [BOOLEAN] :force force
41
+ # @return [nil]
42
+ describe 'cancel_pipeline_using_put1 test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for delete_pipeline_using_delete
49
+ # Delete a pipeline definition
50
+ # @param application application
51
+ # @param pipeline_name pipelineName
52
+ # @param [Hash] opts the optional parameters
53
+ # @return [nil]
54
+ describe 'delete_pipeline_using_delete test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ # unit tests for delete_pipeline_using_delete1
61
+ # Delete a pipeline execution
62
+ # @param id id
63
+ # @param [Hash] opts the optional parameters
64
+ # @return [Hash<String, Object>]
65
+ describe 'delete_pipeline_using_delete1 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 evaluate_expression_for_execution_using_delete
72
+ # Evaluate a pipeline expression using the provided execution as context
73
+ # @param id id
74
+ # @param expression expression
75
+ # @param [Hash] opts the optional parameters
76
+ # @return [Hash<String, Object>]
77
+ describe 'evaluate_expression_for_execution_using_delete test' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ # unit tests for evaluate_expression_for_execution_using_get
84
+ # Evaluate a pipeline expression using the provided execution as context
85
+ # @param id id
86
+ # @param expression expression
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [Hash<String, Object>]
89
+ describe 'evaluate_expression_for_execution_using_get test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ # unit tests for evaluate_expression_for_execution_using_head
96
+ # Evaluate a pipeline expression using the provided execution as context
97
+ # @param id id
98
+ # @param expression expression
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [Hash<String, Object>]
101
+ describe 'evaluate_expression_for_execution_using_head test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ # unit tests for evaluate_expression_for_execution_using_options
108
+ # Evaluate a pipeline expression using the provided execution as context
109
+ # @param id id
110
+ # @param expression expression
111
+ # @param [Hash] opts the optional parameters
112
+ # @return [Hash<String, Object>]
113
+ describe 'evaluate_expression_for_execution_using_options test' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ # unit tests for evaluate_expression_for_execution_using_patch
120
+ # Evaluate a pipeline expression using the provided execution as context
121
+ # @param id id
122
+ # @param expression expression
123
+ # @param [Hash] opts the optional parameters
124
+ # @return [Hash<String, Object>]
125
+ describe 'evaluate_expression_for_execution_using_patch test' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ # unit tests for evaluate_expression_for_execution_using_put
132
+ # Evaluate a pipeline expression using the provided execution as context
133
+ # @param id id
134
+ # @param expression expression
135
+ # @param [Hash] opts the optional parameters
136
+ # @return [Hash<String, Object>]
137
+ describe 'evaluate_expression_for_execution_using_put test' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ # unit tests for evaluate_expression_for_execution_via_post_using_post1
144
+ # Evaluate a pipeline expression using the provided execution as context
145
+ # @param id id
146
+ # @param pipeline_expression pipelineExpression
147
+ # @param [Hash] opts the optional parameters
148
+ # @return [Hash<String, Object>]
149
+ describe 'evaluate_expression_for_execution_via_post_using_post1 test' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
155
+ # unit tests for get_pipeline_logs_using_get
156
+ # Retrieve pipeline execution logs
157
+ # @param id id
158
+ # @param [Hash] opts the optional parameters
159
+ # @return [Array<Object>]
160
+ describe 'get_pipeline_logs_using_get test' 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
+ # unit tests for get_pipeline_using_get
167
+ # Retrieve a pipeline execution
168
+ # @param id id
169
+ # @param [Hash] opts the optional parameters
170
+ # @return [Object]
171
+ describe 'get_pipeline_using_get test' do
172
+ it 'should work' do
173
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
174
+ end
175
+ end
176
+
177
+ # unit tests for invoke_pipeline_config_using_post1
178
+ # Trigger a pipeline execution
179
+ # @param application application
180
+ # @param pipeline_name_or_id pipelineNameOrId
181
+ # @param [Hash] opts the optional parameters
182
+ # @option opts [Object] :trigger trigger
183
+ # @return [HttpEntity]
184
+ describe 'invoke_pipeline_config_using_post1 test' 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
+ # unit tests for invoke_pipeline_config_via_echo_using_post
191
+ # Trigger a pipeline execution
192
+ # @param application application
193
+ # @param pipeline_name_or_id pipelineNameOrId
194
+ # @param [Hash] opts the optional parameters
195
+ # @option opts [Object] :trigger trigger
196
+ # @return [HttpEntity]
197
+ describe 'invoke_pipeline_config_via_echo_using_post test' do
198
+ it 'should work' do
199
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
+ end
201
+ end
202
+
203
+ # unit tests for pause_pipeline_using_put
204
+ # Pause a pipeline execution
205
+ # @param id id
206
+ # @param [Hash] opts the optional parameters
207
+ # @return [nil]
208
+ describe 'pause_pipeline_using_put test' do
209
+ it 'should work' do
210
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
211
+ end
212
+ end
213
+
214
+ # unit tests for rename_pipeline_using_post
215
+ # Rename a pipeline definition
216
+ # @param rename_command renameCommand
217
+ # @param [Hash] opts the optional parameters
218
+ # @return [nil]
219
+ describe 'rename_pipeline_using_post test' do
220
+ it 'should work' do
221
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
222
+ end
223
+ end
224
+
225
+ # unit tests for restart_stage_using_put
226
+ # Restart a stage execution
227
+ # @param id id
228
+ # @param stage_id stageId
229
+ # @param context context
230
+ # @param [Hash] opts the optional parameters
231
+ # @return [Hash<String, Object>]
232
+ describe 'restart_stage_using_put test' do
233
+ it 'should work' do
234
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
235
+ end
236
+ end
237
+
238
+ # unit tests for resume_pipeline_using_put
239
+ # Resume a pipeline execution
240
+ # @param id id
241
+ # @param [Hash] opts the optional parameters
242
+ # @return [Hash<String, Object>]
243
+ describe 'resume_pipeline_using_put test' do
244
+ it 'should work' do
245
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
246
+ end
247
+ end
248
+
249
+ # unit tests for save_pipeline_using_post
250
+ # Save a pipeline definition
251
+ # @param pipeline pipeline
252
+ # @param [Hash] opts the optional parameters
253
+ # @return [nil]
254
+ describe 'save_pipeline_using_post test' do
255
+ it 'should work' do
256
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
257
+ end
258
+ end
259
+
260
+ # unit tests for start_using_post
261
+ # Initiate a pipeline execution
262
+ # @param map map
263
+ # @param [Hash] opts the optional parameters
264
+ # @return [ResponseEntity]
265
+ describe 'start_using_post test' do
266
+ it 'should work' do
267
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
268
+ end
269
+ end
270
+
271
+ # unit tests for update_pipeline_using_put
272
+ # Update a pipeline definition
273
+ # @param id id
274
+ # @param pipeline pipeline
275
+ # @param [Hash] opts the optional parameters
276
+ # @return [Hash<String, Object>]
277
+ describe 'update_pipeline_using_put test' do
278
+ it 'should work' do
279
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
280
+ end
281
+ end
282
+
283
+ # unit tests for update_stage_using_patch
284
+ # Update a stage execution
285
+ # @param id id
286
+ # @param stage_id stageId
287
+ # @param context context
288
+ # @param [Hash] opts the optional parameters
289
+ # @return [Hash<String, Object>]
290
+ describe 'update_stage_using_patch test' do
291
+ it 'should work' do
292
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
293
+ end
294
+ end
295
+
296
+ end
@@ -0,0 +1,118 @@
1
+ =begin
2
+ #Spinnaker API
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.7
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for SwaggerClient::PipelineTemplatesControllerApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'PipelineTemplatesControllerApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = SwaggerClient::PipelineTemplatesControllerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PipelineTemplatesControllerApi' do
30
+ it 'should create an instance of PipelineTemplatesControllerApi' do
31
+ expect(@instance).to be_instance_of(SwaggerClient::PipelineTemplatesControllerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_using_post
36
+ # Create a pipeline template.
37
+ # @param pipeline_template pipelineTemplate
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [nil]
40
+ describe 'create_using_post 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 delete_using_delete
47
+ # Delete a pipeline template.
48
+ # @param id id
49
+ # @param [Hash] opts the optional parameters
50
+ # @option opts [String] :application application
51
+ # @return [Hash<String, Object>]
52
+ describe 'delete_using_delete test' 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
+ # unit tests for get_using_get
59
+ # Get a pipeline template.
60
+ # @param id id
61
+ # @param [Hash] opts the optional parameters
62
+ # @return [Hash<String, Object>]
63
+ describe 'get_using_get test' do
64
+ it 'should work' do
65
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
+ end
67
+ end
68
+
69
+ # unit tests for list_pipeline_template_dependents_using_get
70
+ # List all pipelines that implement a pipeline template
71
+ # @param id id
72
+ # @param [Hash] opts the optional parameters
73
+ # @option opts [BOOLEAN] :recursive recursive
74
+ # @return [Array<Object>]
75
+ describe 'list_pipeline_template_dependents_using_get 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 list_using_get
82
+ # List pipeline templates.
83
+ # @param [Hash] opts the optional parameters
84
+ # @option opts [Array<String>] :scopes scopes
85
+ # @return [Array<Object>]
86
+ describe 'list_using_get 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 resolve_templates_using_get
93
+ # Resolve a pipeline template.
94
+ # @param source source
95
+ # @param [Hash] opts the optional parameters
96
+ # @option opts [String] :execution_id executionId
97
+ # @option opts [String] :pipeline_config_id pipelineConfigId
98
+ # @return [Hash<String, Object>]
99
+ describe 'resolve_templates_using_get test' do
100
+ it 'should work' do
101
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
102
+ end
103
+ end
104
+
105
+ # unit tests for update_using_post
106
+ # Update a pipeline template.
107
+ # @param id id
108
+ # @param pipeline_template pipelineTemplate
109
+ # @param [Hash] opts the optional parameters
110
+ # @option opts [BOOLEAN] :skip_plan_dependents skipPlanDependents
111
+ # @return [nil]
112
+ describe 'update_using_post test' 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