spinnaker_gate_ruby_client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
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,47 @@
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::SubnetControllerApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'SubnetControllerApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = SwaggerClient::SubnetControllerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of SubnetControllerApi' do
30
+ it 'should create an instance of SubnetControllerApi' do
31
+ expect(@instance).to be_instance_of(SwaggerClient::SubnetControllerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for all_by_cloud_provider_using_get1
36
+ # Retrieve a list of subnets 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_get1 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
+ end
@@ -0,0 +1,103 @@
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::TaskControllerApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'TaskControllerApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = SwaggerClient::TaskControllerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of TaskControllerApi' do
30
+ it 'should create an instance of TaskControllerApi' do
31
+ expect(@instance).to be_instance_of(SwaggerClient::TaskControllerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for cancel_task_using_put1
36
+ # Cancel task
37
+ # @param id id
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [Hash<String, Object>]
40
+ describe 'cancel_task_using_put1 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 cancel_tasks_using_put
47
+ # Cancel tasks
48
+ # @param ids ids
49
+ # @param [Hash] opts the optional parameters
50
+ # @return [Hash<String, Object>]
51
+ describe 'cancel_tasks_using_put test' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ end
55
+ end
56
+
57
+ # unit tests for delete_task_using_delete
58
+ # Delete task
59
+ # @param id id
60
+ # @param [Hash] opts the optional parameters
61
+ # @return [Hash<String, Object>]
62
+ describe 'delete_task_using_delete 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
+ # unit tests for get_task_details_using_get1
69
+ # Get task details
70
+ # @param id id
71
+ # @param task_details_id taskDetailsId
72
+ # @param [Hash] opts the optional parameters
73
+ # @option opts [String] :x_rate_limit_app X-RateLimit-App
74
+ # @return [Hash<String, Object>]
75
+ describe 'get_task_details_using_get1 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 get_task_using_get1
82
+ # Get task
83
+ # @param id id
84
+ # @param [Hash] opts the optional parameters
85
+ # @return [Hash<String, Object>]
86
+ describe 'get_task_using_get1 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 task_using_post1
93
+ # Create task
94
+ # @param map map
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [Hash<String, Object>]
97
+ describe 'task_using_post1 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,96 @@
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::V2CanaryConfigControllerApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'V2CanaryConfigControllerApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = SwaggerClient::V2CanaryConfigControllerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of V2CanaryConfigControllerApi' do
30
+ it 'should create an instance of V2CanaryConfigControllerApi' do
31
+ expect(@instance).to be_instance_of(SwaggerClient::V2CanaryConfigControllerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_canary_config_using_post
36
+ # Create a canary configuration
37
+ # @param config config
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :configuration_account_name configurationAccountName
40
+ # @return [Object]
41
+ describe 'create_canary_config_using_post 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 delete_canary_config_using_delete
48
+ # Delete a canary configuration
49
+ # @param id id
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :configuration_account_name configurationAccountName
52
+ # @return [nil]
53
+ describe 'delete_canary_config_using_delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for get_canary_config_using_get
60
+ # Retrieve a canary configuration by id
61
+ # @param id id
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :configuration_account_name configurationAccountName
64
+ # @return [Object]
65
+ describe 'get_canary_config_using_get 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 get_canary_configs_using_get
72
+ # Retrieve a list of canary configurations
73
+ # @param [Hash] opts the optional parameters
74
+ # @option opts [String] :application application
75
+ # @option opts [String] :configuration_account_name configurationAccountName
76
+ # @return [Array<Object>]
77
+ describe 'get_canary_configs_using_get 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 update_canary_config_using_put
84
+ # Update a canary configuration
85
+ # @param id id
86
+ # @param config config
87
+ # @param [Hash] opts the optional parameters
88
+ # @option opts [String] :configuration_account_name configurationAccountName
89
+ # @return [Object]
90
+ describe 'update_canary_config_using_put test' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
+ end
94
+ end
95
+
96
+ end
@@ -0,0 +1,123 @@
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::V2CanaryControllerApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'V2CanaryControllerApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = SwaggerClient::V2CanaryControllerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of V2CanaryControllerApi' do
30
+ it 'should create an instance of V2CanaryControllerApi' do
31
+ expect(@instance).to be_instance_of(SwaggerClient::V2CanaryControllerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_canary_result_using_get
36
+ # Retrieve a canary result
37
+ # @param canary_config_id canaryConfigId
38
+ # @param canary_execution_id canaryExecutionId
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :storage_account_name storageAccountName
41
+ # @return [Object]
42
+ describe 'get_canary_result_using_get 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 get_canary_results_by_application_using_get
49
+ # Retrieve a list of an application&#39;s canary results
50
+ # @param application application
51
+ # @param limit limit
52
+ # @param [Hash] opts the optional parameters
53
+ # @option opts [String] :statuses Comma-separated list of statuses, e.g.: RUNNING, SUCCEEDED, TERMINAL
54
+ # @option opts [String] :storage_account_name storageAccountName
55
+ # @return [Array<Object>]
56
+ describe 'get_canary_results_by_application_using_get test' do
57
+ it 'should work' do
58
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
59
+ end
60
+ end
61
+
62
+ # unit tests for get_metric_set_pair_list_using_get
63
+ # Retrieve a metric set pair list
64
+ # @param metric_set_pair_list_id metricSetPairListId
65
+ # @param [Hash] opts the optional parameters
66
+ # @option opts [String] :storage_account_name storageAccountName
67
+ # @return [Array<Object>]
68
+ describe 'get_metric_set_pair_list_using_get test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ # unit tests for initiate_canary_using_post
75
+ # Start a canary execution
76
+ # @param canary_config_id canaryConfigId
77
+ # @param execution_request executionRequest
78
+ # @param [Hash] opts the optional parameters
79
+ # @option opts [String] :application application
80
+ # @option opts [String] :parent_pipeline_execution_id parentPipelineExecutionId
81
+ # @option opts [String] :metrics_account_name metricsAccountName
82
+ # @option opts [String] :storage_account_name storageAccountName
83
+ # @option opts [String] :configuration_account_name configurationAccountName
84
+ # @return [Object]
85
+ describe 'initiate_canary_using_post 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 list_credentials_using_get
92
+ # Retrieve a list of configured Kayenta accounts
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [Array<Object>]
95
+ describe 'list_credentials_using_get test' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ # unit tests for list_judges_using_get
102
+ # Retrieve a list of all configured canary judges
103
+ # @param [Hash] opts the optional parameters
104
+ # @return [Array<Object>]
105
+ describe 'list_judges_using_get test' do
106
+ it 'should work' do
107
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
108
+ end
109
+ end
110
+
111
+ # unit tests for list_metrics_service_metadata_using_get
112
+ # Retrieve a list of descriptors for use in populating the canary config ui
113
+ # @param [Hash] opts the optional parameters
114
+ # @option opts [String] :filter filter
115
+ # @option opts [String] :metrics_account_name metricsAccountName
116
+ # @return [Array<Object>]
117
+ describe 'list_metrics_service_metadata_using_get test' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
120
+ end
121
+ end
122
+
123
+ end
@@ -0,0 +1,121 @@
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::V2PipelineTemplatesControllerApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'V2PipelineTemplatesControllerApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = SwaggerClient::V2PipelineTemplatesControllerApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of V2PipelineTemplatesControllerApi' do
30
+ it 'should create an instance of V2PipelineTemplatesControllerApi' do
31
+ expect(@instance).to be_instance_of(SwaggerClient::V2PipelineTemplatesControllerApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_using_post1
36
+ # (ALPHA) Create a pipeline template.
37
+ # @param pipeline_template pipelineTemplate
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :tag tag
40
+ # @return [nil]
41
+ describe 'create_using_post1 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 delete_using_delete1
48
+ # Delete a pipeline template.
49
+ # @param id id
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [String] :tag tag
52
+ # @option opts [String] :digest digest
53
+ # @option opts [String] :application application
54
+ # @return [Hash<String, Object>]
55
+ describe 'delete_using_delete1 test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
+ end
59
+ end
60
+
61
+ # unit tests for get_using_get2
62
+ # (ALPHA) Get a pipeline template.
63
+ # @param id id
64
+ # @param [Hash] opts the optional parameters
65
+ # @option opts [String] :tag tag
66
+ # @option opts [String] :digest digest
67
+ # @return [Hash<String, Object>]
68
+ describe 'get_using_get2 test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ # unit tests for list_pipeline_template_dependents_using_get1
75
+ # (ALPHA) List all pipelines that implement a pipeline template
76
+ # @param id id
77
+ # @param [Hash] opts the optional parameters
78
+ # @return [Array<Object>]
79
+ describe 'list_pipeline_template_dependents_using_get1 test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
+ end
83
+ end
84
+
85
+ # unit tests for list_using_get1
86
+ # (ALPHA) List pipeline templates.
87
+ # @param [Hash] opts the optional parameters
88
+ # @option opts [Array<String>] :scopes scopes
89
+ # @return [Array<Object>]
90
+ describe 'list_using_get1 test' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
+ end
94
+ end
95
+
96
+ # unit tests for plan_using_post
97
+ # (ALPHA) Plan a pipeline template configuration.
98
+ # @param pipeline pipeline
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [Hash<String, Object>]
101
+ describe 'plan_using_post 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 update_using_post1
108
+ # (ALPHA) Update a pipeline template.
109
+ # @param id id
110
+ # @param pipeline_template pipelineTemplate
111
+ # @param [Hash] opts the optional parameters
112
+ # @option opts [String] :tag tag
113
+ # @option opts [BOOLEAN] :skip_plan_dependents skipPlanDependents
114
+ # @return [nil]
115
+ describe 'update_using_post1 test' do
116
+ it 'should work' do
117
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
+ end
119
+ end
120
+
121
+ end