spinnaker_gate_ruby_client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +85 -0
- data/LICENSE +201 -0
- data/README.md +240 -0
- data/Rakefile +8 -0
- data/docs/Account.md +14 -0
- data/docs/AccountDetails.md +19 -0
- data/docs/AmazonInfrastructureControllerApi.md +128 -0
- data/docs/ApplicationControllerApi.md +754 -0
- data/docs/ArtifactControllerApi.md +111 -0
- data/docs/AuthControllerApi.md +212 -0
- data/docs/BakeControllerApi.md +143 -0
- data/docs/BuildControllerApi.md +493 -0
- data/docs/ClusterControllerApi.md +475 -0
- data/docs/ConcourseControllerApi.md +161 -0
- data/docs/CredentialsControllerApi.md +129 -0
- data/docs/EcsServerGroupEventsControllerApi.md +66 -0
- data/docs/ExecutionsControllerApi.md +133 -0
- data/docs/FirewallControllerApi.md +171 -0
- data/docs/GrantedAuthority.md +8 -0
- data/docs/HashMapstringobject.md +7 -0
- data/docs/HttpEntity.md +8 -0
- data/docs/ImageControllerApi.md +178 -0
- data/docs/InstanceControllerApi.md +122 -0
- data/docs/JobControllerApi.md +69 -0
- data/docs/LoadBalancerControllerApi.md +217 -0
- data/docs/Mapstringstring.md +7 -0
- data/docs/NetworkControllerApi.md +105 -0
- data/docs/PipelineConfigControllerApi.md +144 -0
- data/docs/PipelineControllerApi.md +1074 -0
- data/docs/PipelineTemplateDependent.md +10 -0
- data/docs/PipelineTemplatesControllerApi.md +350 -0
- data/docs/ProjectControllerApi.md +196 -0
- data/docs/PubsubSubscriptionControllerApi.md +48 -0
- data/docs/ReorderPipelinesCommand.md +9 -0
- data/docs/ReorderPipelinesControllerApi.md +54 -0
- data/docs/ResponseEntity.md +10 -0
- data/docs/SearchControllerApi.md +68 -0
- data/docs/SecurityGroupControllerApi.md +171 -0
- data/docs/ServerGroupControllerApi.md +125 -0
- data/docs/ServerGroupManagerControllerApi.md +54 -0
- data/docs/SnapshotControllerApi.md +110 -0
- data/docs/SubnetControllerApi.md +58 -0
- data/docs/TaskControllerApi.md +291 -0
- data/docs/User.md +18 -0
- data/docs/V2CanaryConfigControllerApi.md +259 -0
- data/docs/V2CanaryControllerApi.md +356 -0
- data/docs/V2PipelineTemplatesControllerApi.md +356 -0
- data/docs/Version.md +8 -0
- data/docs/VersionControllerApi.md +48 -0
- data/docs/WebhookControllerApi.md +105 -0
- data/git_push.sh +55 -0
- data/lib/swagger_client.rb +85 -0
- data/lib/swagger_client/api/amazon_infrastructure_controller_api.rb +161 -0
- data/lib/swagger_client/api/application_controller_api.rb +868 -0
- data/lib/swagger_client/api/artifact_controller_api.rb +141 -0
- data/lib/swagger_client/api/auth_controller_api.rb +258 -0
- data/lib/swagger_client/api/bake_controller_api.rb +179 -0
- data/lib/swagger_client/api/build_controller_api.rb +588 -0
- data/lib/swagger_client/api/cluster_controller_api.rb +591 -0
- data/lib/swagger_client/api/concourse_controller_api.rb +209 -0
- data/lib/swagger_client/api/credentials_controller_api.rb +163 -0
- data/lib/swagger_client/api/ecs_server_group_events_controller_api.rb +101 -0
- data/lib/swagger_client/api/executions_controller_api.rb +169 -0
- data/lib/swagger_client/api/firewall_controller_api.rb +209 -0
- data/lib/swagger_client/api/image_controller_api.rb +222 -0
- data/lib/swagger_client/api/instance_controller_api.rb +160 -0
- data/lib/swagger_client/api/job_controller_api.rb +99 -0
- data/lib/swagger_client/api/load_balancer_controller_api.rb +258 -0
- data/lib/swagger_client/api/network_controller_api.rb +127 -0
- data/lib/swagger_client/api/pipeline_config_controller_api.rb +176 -0
- data/lib/swagger_client/api/pipeline_controller_api.rb +1268 -0
- data/lib/swagger_client/api/pipeline_templates_controller_api.rb +404 -0
- data/lib/swagger_client/api/project_controller_api.rb +234 -0
- data/lib/swagger_client/api/pubsub_subscription_controller_api.rb +69 -0
- data/lib/swagger_client/api/reorder_pipelines_controller_api.rb +75 -0
- data/lib/swagger_client/api/search_controller_api.rb +94 -0
- data/lib/swagger_client/api/security_group_controller_api.rb +209 -0
- data/lib/swagger_client/api/server_group_controller_api.rb +163 -0
- data/lib/swagger_client/api/server_group_manager_controller_api.rb +75 -0
- data/lib/swagger_client/api/snapshot_controller_api.rb +142 -0
- data/lib/swagger_client/api/subnet_controller_api.rb +78 -0
- data/lib/swagger_client/api/task_controller_api.rb +345 -0
- data/lib/swagger_client/api/v2_canary_config_controller_api.rb +300 -0
- data/lib/swagger_client/api/v2_canary_controller_api.rb +421 -0
- data/lib/swagger_client/api/v2_pipeline_templates_controller_api.rb +412 -0
- data/lib/swagger_client/api/version_controller_api.rb +69 -0
- data/lib/swagger_client/api/webhook_controller_api.rb +135 -0
- data/lib/swagger_client/api_client.rb +388 -0
- data/lib/swagger_client/api_error.rb +38 -0
- data/lib/swagger_client/configuration.rb +202 -0
- data/lib/swagger_client/models/account.rb +241 -0
- data/lib/swagger_client/models/account_details.rb +286 -0
- data/lib/swagger_client/models/granted_authority.rb +183 -0
- data/lib/swagger_client/models/hash_mapstringobject.rb +174 -0
- data/lib/swagger_client/models/http_entity.rb +183 -0
- data/lib/swagger_client/models/mapstringstring.rb +174 -0
- data/lib/swagger_client/models/pipeline_template_dependent.rb +201 -0
- data/lib/swagger_client/models/reorder_pipelines_command.rb +194 -0
- data/lib/swagger_client/models/response_entity.rb +235 -0
- data/lib/swagger_client/models/user.rb +279 -0
- data/lib/swagger_client/models/version.rb +183 -0
- data/lib/swagger_client/version.rb +15 -0
- data/spec/api/amazon_infrastructure_controller_api_spec.rb +65 -0
- data/spec/api/application_controller_api_spec.rb +218 -0
- data/spec/api/artifact_controller_api_spec.rb +60 -0
- data/spec/api/auth_controller_api_spec.rb +86 -0
- data/spec/api/bake_controller_api_spec.rb +68 -0
- data/spec/api/build_controller_api_spec.rb +155 -0
- data/spec/api/cluster_controller_api_spec.rb +155 -0
- data/spec/api/concourse_controller_api_spec.rb +73 -0
- data/spec/api/credentials_controller_api_spec.rb +70 -0
- data/spec/api/ecs_server_group_events_controller_api_spec.rb +50 -0
- data/spec/api/executions_controller_api_spec.rb +72 -0
- data/spec/api/firewall_controller_api_spec.rb +77 -0
- data/spec/api/image_controller_api_spec.rb +80 -0
- data/spec/api/instance_controller_api_spec.rb +64 -0
- data/spec/api/job_controller_api_spec.rb +51 -0
- data/spec/api/load_balancer_controller_api_spec.rb +87 -0
- data/spec/api/network_controller_api_spec.rb +58 -0
- data/spec/api/pipeline_config_controller_api_spec.rb +68 -0
- data/spec/api/pipeline_controller_api_spec.rb +296 -0
- data/spec/api/pipeline_templates_controller_api_spec.rb +118 -0
- data/spec/api/project_controller_api_spec.rb +81 -0
- data/spec/api/pubsub_subscription_controller_api_spec.rb +45 -0
- data/spec/api/reorder_pipelines_controller_api_spec.rb +46 -0
- data/spec/api/search_controller_api_spec.rb +52 -0
- data/spec/api/security_group_controller_api_spec.rb +77 -0
- data/spec/api/server_group_controller_api_spec.rb +66 -0
- data/spec/api/server_group_manager_controller_api_spec.rb +46 -0
- data/spec/api/snapshot_controller_api_spec.rb +60 -0
- data/spec/api/subnet_controller_api_spec.rb +47 -0
- data/spec/api/task_controller_api_spec.rb +103 -0
- data/spec/api/v2_canary_config_controller_api_spec.rb +96 -0
- data/spec/api/v2_canary_controller_api_spec.rb +123 -0
- data/spec/api/v2_pipeline_templates_controller_api_spec.rb +121 -0
- data/spec/api/version_controller_api_spec.rb +45 -0
- data/spec/api/webhook_controller_api_spec.rb +60 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_details_spec.rb +107 -0
- data/spec/models/account_spec.rb +77 -0
- data/spec/models/granted_authority_spec.rb +41 -0
- data/spec/models/hash_mapstringobject_spec.rb +35 -0
- data/spec/models/http_entity_spec.rb +41 -0
- data/spec/models/mapstringstring_spec.rb +35 -0
- data/spec/models/pipeline_template_dependent_spec.rb +53 -0
- data/spec/models/reorder_pipelines_command_spec.rb +47 -0
- data/spec/models/response_entity_spec.rb +57 -0
- data/spec/models/user_spec.rb +101 -0
- data/spec/models/version_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- data/spinnaker_gate_ruby_client.gemspec +45 -0
- metadata +426 -0
@@ -0,0 +1,15 @@
|
|
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
|
+
module SwaggerClient
|
14
|
+
VERSION = '1.0.0'
|
15
|
+
end
|
@@ -0,0 +1,65 @@
|
|
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::AmazonInfrastructureControllerApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'AmazonInfrastructureControllerApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SwaggerClient::AmazonInfrastructureControllerApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of AmazonInfrastructureControllerApi' do
|
30
|
+
it 'should create an instance of AmazonInfrastructureControllerApi' do
|
31
|
+
expect(@instance).to be_instance_of(SwaggerClient::AmazonInfrastructureControllerApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for instance_types_using_get
|
36
|
+
# Get instance types
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [Array<Object>]
|
39
|
+
describe 'instance_types_using_get 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 subnets_using_get
|
46
|
+
# Get subnets
|
47
|
+
# @param [Hash] opts the optional parameters
|
48
|
+
# @return [Array<Object>]
|
49
|
+
describe 'subnets_using_get 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 vpcs_using_get
|
56
|
+
# Get VPCs
|
57
|
+
# @param [Hash] opts the optional parameters
|
58
|
+
# @return [Array<Object>]
|
59
|
+
describe 'vpcs_using_get test' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -0,0 +1,218 @@
|
|
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::ApplicationControllerApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ApplicationControllerApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SwaggerClient::ApplicationControllerApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ApplicationControllerApi' do
|
30
|
+
it 'should create an instance of ApplicationControllerApi' do
|
31
|
+
expect(@instance).to be_instance_of(SwaggerClient::ApplicationControllerApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for cancel_pipeline_using_put
|
36
|
+
# Cancel pipeline
|
37
|
+
# @param id id
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :reason reason
|
40
|
+
# @return [Hash<String, Object>]
|
41
|
+
describe 'cancel_pipeline_using_put 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 cancel_task_using_put
|
48
|
+
# Cancel task
|
49
|
+
# @param id id
|
50
|
+
# @param [Hash] opts the optional parameters
|
51
|
+
# @return [Hash<String, Object>]
|
52
|
+
describe 'cancel_task_using_put 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_all_applications_using_get
|
59
|
+
# Retrieve a list of applications
|
60
|
+
# @param [Hash] opts the optional parameters
|
61
|
+
# @option opts [String] :account filters results to only include applications deployed in the specified account
|
62
|
+
# @option opts [String] :owner filteres results to only include applications owned by the specified email
|
63
|
+
# @return [Array<Object>]
|
64
|
+
describe 'get_all_applications_using_get 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 get_application_history_using_get
|
71
|
+
# Retrieve a list of an application's configuration revision history
|
72
|
+
# @param application application
|
73
|
+
# @param [Hash] opts the optional parameters
|
74
|
+
# @option opts [Integer] :limit limit
|
75
|
+
# @return [Array<Object>]
|
76
|
+
describe 'get_application_history_using_get 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 get_application_using_get
|
83
|
+
# Retrieve an application's details
|
84
|
+
# @param application application
|
85
|
+
# @param [Hash] opts the optional parameters
|
86
|
+
# @option opts [BOOLEAN] :expand expand
|
87
|
+
# @return [Hash<String, Object>]
|
88
|
+
describe 'get_application_using_get test' 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
|
+
# unit tests for get_pipeline_config_using_get
|
95
|
+
# Retrieve a pipeline configuration
|
96
|
+
# @param application application
|
97
|
+
# @param pipeline_name pipelineName
|
98
|
+
# @param [Hash] opts the optional parameters
|
99
|
+
# @return [Hash<String, Object>]
|
100
|
+
describe 'get_pipeline_config_using_get test' 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
|
+
# unit tests for get_pipeline_configs_for_application_using_get
|
107
|
+
# Retrieve a list of an application's pipeline configurations
|
108
|
+
# @param application application
|
109
|
+
# @param [Hash] opts the optional parameters
|
110
|
+
# @return [Array<Object>]
|
111
|
+
describe 'get_pipeline_configs_for_application_using_get test' do
|
112
|
+
it 'should work' do
|
113
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
# unit tests for get_pipelines_using_get
|
118
|
+
# Retrieve a list of an application's pipeline executions
|
119
|
+
# @param application application
|
120
|
+
# @param [Hash] opts the optional parameters
|
121
|
+
# @option opts [Integer] :limit limit
|
122
|
+
# @option opts [String] :statuses statuses
|
123
|
+
# @option opts [BOOLEAN] :expand expand
|
124
|
+
# @return [Array<Object>]
|
125
|
+
describe 'get_pipelines_using_get 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 get_strategy_config_using_get
|
132
|
+
# Retrieve a pipeline strategy configuration
|
133
|
+
# @param application application
|
134
|
+
# @param strategy_name strategyName
|
135
|
+
# @param [Hash] opts the optional parameters
|
136
|
+
# @return [Hash<String, Object>]
|
137
|
+
describe 'get_strategy_config_using_get 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 get_strategy_configs_for_application_using_get
|
144
|
+
# Retrieve a list of an application's pipeline strategy configurations
|
145
|
+
# @param application application
|
146
|
+
# @param [Hash] opts the optional parameters
|
147
|
+
# @return [Array<Object>]
|
148
|
+
describe 'get_strategy_configs_for_application_using_get test' 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
|
+
# unit tests for get_task_details_using_get
|
155
|
+
# Get task details
|
156
|
+
# @param id id
|
157
|
+
# @param task_details_id taskDetailsId
|
158
|
+
# @param [Hash] opts the optional parameters
|
159
|
+
# @option opts [String] :x_rate_limit_app X-RateLimit-App
|
160
|
+
# @return [Hash<String, Object>]
|
161
|
+
describe 'get_task_details_using_get test' do
|
162
|
+
it 'should work' do
|
163
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# unit tests for get_task_using_get
|
168
|
+
# Get task
|
169
|
+
# @param id id
|
170
|
+
# @param [Hash] opts the optional parameters
|
171
|
+
# @return [Hash<String, Object>]
|
172
|
+
describe 'get_task_using_get test' 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
|
+
# unit tests for get_tasks_using_get
|
179
|
+
# Retrieve a list of an application's tasks
|
180
|
+
# @param application application
|
181
|
+
# @param [Hash] opts the optional parameters
|
182
|
+
# @option opts [Integer] :page page
|
183
|
+
# @option opts [Integer] :limit limit
|
184
|
+
# @option opts [String] :statuses statuses
|
185
|
+
# @return [Array<Object>]
|
186
|
+
describe 'get_tasks_using_get test' do
|
187
|
+
it 'should work' do
|
188
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
# unit tests for invoke_pipeline_config_using_post
|
193
|
+
# Invoke pipeline config
|
194
|
+
# @param application application
|
195
|
+
# @param pipeline_name pipelineName
|
196
|
+
# @param [Hash] opts the optional parameters
|
197
|
+
# @option opts [Object] :trigger trigger
|
198
|
+
# @option opts [String] :user user
|
199
|
+
# @return [HttpEntity]
|
200
|
+
describe 'invoke_pipeline_config_using_post test' do
|
201
|
+
it 'should work' do
|
202
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
# unit tests for task_using_post
|
207
|
+
# Create task
|
208
|
+
# @param application application
|
209
|
+
# @param map map
|
210
|
+
# @param [Hash] opts the optional parameters
|
211
|
+
# @return [Hash<String, Object>]
|
212
|
+
describe 'task_using_post test' do
|
213
|
+
it 'should work' do
|
214
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
end
|
@@ -0,0 +1,60 @@
|
|
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::ArtifactControllerApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ArtifactControllerApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SwaggerClient::ArtifactControllerApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ArtifactControllerApi' do
|
30
|
+
it 'should create an instance of ArtifactControllerApi' do
|
31
|
+
expect(@instance).to be_instance_of(SwaggerClient::ArtifactControllerApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for all_using_get
|
36
|
+
# Retrieve the list of artifact accounts configured in Clouddriver.
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [String] :x_rate_limit_app X-RateLimit-App
|
39
|
+
# @return [Array<Object>]
|
40
|
+
describe 'all_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 artifact_versions_using_get
|
47
|
+
# Retrieve the list of artifact versions by account and artifact names
|
48
|
+
# @param account_name accountName
|
49
|
+
# @param type type
|
50
|
+
# @param artifact_name artifactName
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :x_rate_limit_app X-RateLimit-App
|
53
|
+
# @return [Array<String>]
|
54
|
+
describe 'artifact_versions_using_get 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
|
+
end
|
@@ -0,0 +1,86 @@
|
|
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::AuthControllerApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'AuthControllerApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SwaggerClient::AuthControllerApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of AuthControllerApi' do
|
30
|
+
it 'should create an instance of AuthControllerApi' do
|
31
|
+
expect(@instance).to be_instance_of(SwaggerClient::AuthControllerApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for get_service_accounts_using_get
|
36
|
+
# Get service accounts
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [Array<Object>]
|
39
|
+
describe 'get_service_accounts_using_get 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 logged_out_using_get
|
46
|
+
# Get logged out message
|
47
|
+
# @param [Hash] opts the optional parameters
|
48
|
+
# @return [String]
|
49
|
+
describe 'logged_out_using_get 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 redirect_using_get
|
56
|
+
# Redirect to Deck
|
57
|
+
# @param to to
|
58
|
+
# @param [Hash] opts the optional parameters
|
59
|
+
# @return [nil]
|
60
|
+
describe 'redirect_using_get 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 sync_using_post
|
67
|
+
# Sync user roles
|
68
|
+
# @param [Hash] opts the optional parameters
|
69
|
+
# @return [nil]
|
70
|
+
describe 'sync_using_post test' 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
|
+
# unit tests for user_using_get
|
77
|
+
# Get user
|
78
|
+
# @param [Hash] opts the optional parameters
|
79
|
+
# @return [User]
|
80
|
+
describe 'user_using_get test' do
|
81
|
+
it 'should work' do
|
82
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
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::BakeControllerApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'BakeControllerApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = SwaggerClient::BakeControllerApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of BakeControllerApi' do
|
30
|
+
it 'should create an instance of BakeControllerApi' do
|
31
|
+
expect(@instance).to be_instance_of(SwaggerClient::BakeControllerApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for bake_options_using_get
|
36
|
+
# Retrieve a list of available bakery base images for a given cloud provider
|
37
|
+
# @param cloud_provider cloudProvider
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @return [Object]
|
40
|
+
describe 'bake_options_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 bake_options_using_get1
|
47
|
+
# Retrieve a list of available bakery base images, grouped by cloud provider
|
48
|
+
# @param [Hash] opts the optional parameters
|
49
|
+
# @return [Object]
|
50
|
+
describe 'bake_options_using_get1 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 lookup_logs_using_get
|
57
|
+
# Retrieve the logs for a given bake
|
58
|
+
# @param region region
|
59
|
+
# @param status_id statusId
|
60
|
+
# @param [Hash] opts the optional parameters
|
61
|
+
# @return [Object]
|
62
|
+
describe 'lookup_logs_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
|