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-1.0.0.gem +0 -0
- data/spinnaker_gate_ruby_client.gemspec +45 -0
- metadata +427 -0
data/Rakefile
ADDED
data/docs/Account.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# SwaggerClient::Account
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**account_id** | **String** | | [optional]
|
7
|
+
**name** | **String** | | [optional]
|
8
|
+
**permissions** | **Hash<String, Array<String>>** | | [optional]
|
9
|
+
**provider_version** | **String** | | [optional]
|
10
|
+
**required_group_membership** | **Array<String>** | | [optional]
|
11
|
+
**skin** | **String** | | [optional]
|
12
|
+
**type** | **String** | | [optional]
|
13
|
+
|
14
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# SwaggerClient::AccountDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**account_id** | **String** | | [optional]
|
7
|
+
**account_type** | **String** | | [optional]
|
8
|
+
**challenge_destructive_actions** | **BOOLEAN** | | [optional]
|
9
|
+
**cloud_provider** | **String** | | [optional]
|
10
|
+
**environment** | **String** | | [optional]
|
11
|
+
**name** | **String** | | [optional]
|
12
|
+
**permissions** | **Hash<String, Array<String>>** | | [optional]
|
13
|
+
**primary_account** | **BOOLEAN** | | [optional]
|
14
|
+
**provider_version** | **String** | | [optional]
|
15
|
+
**required_group_membership** | **Array<String>** | | [optional]
|
16
|
+
**skin** | **String** | | [optional]
|
17
|
+
**type** | **String** | | [optional]
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,128 @@
|
|
1
|
+
# SwaggerClient::AmazonInfrastructureControllerApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**instance_types_using_get**](AmazonInfrastructureControllerApi.md#instance_types_using_get) | **GET** /instanceTypes | Get instance types
|
8
|
+
[**subnets_using_get**](AmazonInfrastructureControllerApi.md#subnets_using_get) | **GET** /subnets | Get subnets
|
9
|
+
[**vpcs_using_get**](AmazonInfrastructureControllerApi.md#vpcs_using_get) | **GET** /vpcs | Get VPCs
|
10
|
+
|
11
|
+
|
12
|
+
# **instance_types_using_get**
|
13
|
+
> Array<Object> instance_types_using_get
|
14
|
+
|
15
|
+
Get instance types
|
16
|
+
|
17
|
+
### Example
|
18
|
+
```ruby
|
19
|
+
# load the gem
|
20
|
+
require 'swagger_client'
|
21
|
+
|
22
|
+
api_instance = SwaggerClient::AmazonInfrastructureControllerApi.new
|
23
|
+
|
24
|
+
begin
|
25
|
+
#Get instance types
|
26
|
+
result = api_instance.instance_types_using_get
|
27
|
+
p result
|
28
|
+
rescue SwaggerClient::ApiError => e
|
29
|
+
puts "Exception when calling AmazonInfrastructureControllerApi->instance_types_using_get: #{e}"
|
30
|
+
end
|
31
|
+
```
|
32
|
+
|
33
|
+
### Parameters
|
34
|
+
This endpoint does not need any parameter.
|
35
|
+
|
36
|
+
### Return type
|
37
|
+
|
38
|
+
**Array<Object>**
|
39
|
+
|
40
|
+
### Authorization
|
41
|
+
|
42
|
+
No authorization required
|
43
|
+
|
44
|
+
### HTTP request headers
|
45
|
+
|
46
|
+
- **Content-Type**: application/json
|
47
|
+
- **Accept**: */*
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
# **subnets_using_get**
|
52
|
+
> Array<Object> subnets_using_get
|
53
|
+
|
54
|
+
Get subnets
|
55
|
+
|
56
|
+
### Example
|
57
|
+
```ruby
|
58
|
+
# load the gem
|
59
|
+
require 'swagger_client'
|
60
|
+
|
61
|
+
api_instance = SwaggerClient::AmazonInfrastructureControllerApi.new
|
62
|
+
|
63
|
+
begin
|
64
|
+
#Get subnets
|
65
|
+
result = api_instance.subnets_using_get
|
66
|
+
p result
|
67
|
+
rescue SwaggerClient::ApiError => e
|
68
|
+
puts "Exception when calling AmazonInfrastructureControllerApi->subnets_using_get: #{e}"
|
69
|
+
end
|
70
|
+
```
|
71
|
+
|
72
|
+
### Parameters
|
73
|
+
This endpoint does not need any parameter.
|
74
|
+
|
75
|
+
### Return type
|
76
|
+
|
77
|
+
**Array<Object>**
|
78
|
+
|
79
|
+
### Authorization
|
80
|
+
|
81
|
+
No authorization required
|
82
|
+
|
83
|
+
### HTTP request headers
|
84
|
+
|
85
|
+
- **Content-Type**: application/json
|
86
|
+
- **Accept**: */*
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
# **vpcs_using_get**
|
91
|
+
> Array<Object> vpcs_using_get
|
92
|
+
|
93
|
+
Get VPCs
|
94
|
+
|
95
|
+
### Example
|
96
|
+
```ruby
|
97
|
+
# load the gem
|
98
|
+
require 'swagger_client'
|
99
|
+
|
100
|
+
api_instance = SwaggerClient::AmazonInfrastructureControllerApi.new
|
101
|
+
|
102
|
+
begin
|
103
|
+
#Get VPCs
|
104
|
+
result = api_instance.vpcs_using_get
|
105
|
+
p result
|
106
|
+
rescue SwaggerClient::ApiError => e
|
107
|
+
puts "Exception when calling AmazonInfrastructureControllerApi->vpcs_using_get: #{e}"
|
108
|
+
end
|
109
|
+
```
|
110
|
+
|
111
|
+
### Parameters
|
112
|
+
This endpoint does not need any parameter.
|
113
|
+
|
114
|
+
### Return type
|
115
|
+
|
116
|
+
**Array<Object>**
|
117
|
+
|
118
|
+
### Authorization
|
119
|
+
|
120
|
+
No authorization required
|
121
|
+
|
122
|
+
### HTTP request headers
|
123
|
+
|
124
|
+
- **Content-Type**: application/json
|
125
|
+
- **Accept**: */*
|
126
|
+
|
127
|
+
|
128
|
+
|
@@ -0,0 +1,754 @@
|
|
1
|
+
# SwaggerClient::ApplicationControllerApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://gate-spinnaker.devint.gcp.openx.org*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**cancel_pipeline_using_put**](ApplicationControllerApi.md#cancel_pipeline_using_put) | **PUT** /applications/{application}/pipelines/{id}/cancel | Cancel pipeline
|
8
|
+
[**cancel_task_using_put**](ApplicationControllerApi.md#cancel_task_using_put) | **PUT** /applications/{application}/tasks/{id}/cancel | Cancel task
|
9
|
+
[**get_all_applications_using_get**](ApplicationControllerApi.md#get_all_applications_using_get) | **GET** /applications | Retrieve a list of applications
|
10
|
+
[**get_application_history_using_get**](ApplicationControllerApi.md#get_application_history_using_get) | **GET** /applications/{application}/history | Retrieve a list of an application's configuration revision history
|
11
|
+
[**get_application_using_get**](ApplicationControllerApi.md#get_application_using_get) | **GET** /applications/{application} | Retrieve an application's details
|
12
|
+
[**get_pipeline_config_using_get**](ApplicationControllerApi.md#get_pipeline_config_using_get) | **GET** /applications/{application}/pipelineConfigs/{pipelineName} | Retrieve a pipeline configuration
|
13
|
+
[**get_pipeline_configs_for_application_using_get**](ApplicationControllerApi.md#get_pipeline_configs_for_application_using_get) | **GET** /applications/{application}/pipelineConfigs | Retrieve a list of an application's pipeline configurations
|
14
|
+
[**get_pipelines_using_get**](ApplicationControllerApi.md#get_pipelines_using_get) | **GET** /applications/{application}/pipelines | Retrieve a list of an application's pipeline executions
|
15
|
+
[**get_strategy_config_using_get**](ApplicationControllerApi.md#get_strategy_config_using_get) | **GET** /applications/{application}/strategyConfigs/{strategyName} | Retrieve a pipeline strategy configuration
|
16
|
+
[**get_strategy_configs_for_application_using_get**](ApplicationControllerApi.md#get_strategy_configs_for_application_using_get) | **GET** /applications/{application}/strategyConfigs | Retrieve a list of an application's pipeline strategy configurations
|
17
|
+
[**get_task_details_using_get**](ApplicationControllerApi.md#get_task_details_using_get) | **GET** /applications/{application}/tasks/{id}/details/{taskDetailsId} | Get task details
|
18
|
+
[**get_task_using_get**](ApplicationControllerApi.md#get_task_using_get) | **GET** /applications/{application}/tasks/{id} | Get task
|
19
|
+
[**get_tasks_using_get**](ApplicationControllerApi.md#get_tasks_using_get) | **GET** /applications/{application}/tasks | Retrieve a list of an application's tasks
|
20
|
+
[**invoke_pipeline_config_using_post**](ApplicationControllerApi.md#invoke_pipeline_config_using_post) | **POST** /applications/{application}/pipelineConfigs/{pipelineName} | Invoke pipeline config
|
21
|
+
[**task_using_post**](ApplicationControllerApi.md#task_using_post) | **POST** /applications/{application}/tasks | Create task
|
22
|
+
|
23
|
+
|
24
|
+
# **cancel_pipeline_using_put**
|
25
|
+
> Hash<String, Object> cancel_pipeline_using_put(id, opts)
|
26
|
+
|
27
|
+
Cancel pipeline
|
28
|
+
|
29
|
+
### Example
|
30
|
+
```ruby
|
31
|
+
# load the gem
|
32
|
+
require 'swagger_client'
|
33
|
+
|
34
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
35
|
+
|
36
|
+
id = 'id_example' # String | id
|
37
|
+
|
38
|
+
opts = {
|
39
|
+
reason: 'reason_example' # String | reason
|
40
|
+
}
|
41
|
+
|
42
|
+
begin
|
43
|
+
#Cancel pipeline
|
44
|
+
result = api_instance.cancel_pipeline_using_put(id, opts)
|
45
|
+
p result
|
46
|
+
rescue SwaggerClient::ApiError => e
|
47
|
+
puts "Exception when calling ApplicationControllerApi->cancel_pipeline_using_put: #{e}"
|
48
|
+
end
|
49
|
+
```
|
50
|
+
|
51
|
+
### Parameters
|
52
|
+
|
53
|
+
Name | Type | Description | Notes
|
54
|
+
------------- | ------------- | ------------- | -------------
|
55
|
+
**id** | **String**| id |
|
56
|
+
**reason** | **String**| reason | [optional]
|
57
|
+
|
58
|
+
### Return type
|
59
|
+
|
60
|
+
**Hash<String, Object>**
|
61
|
+
|
62
|
+
### Authorization
|
63
|
+
|
64
|
+
No authorization required
|
65
|
+
|
66
|
+
### HTTP request headers
|
67
|
+
|
68
|
+
- **Content-Type**: application/json
|
69
|
+
- **Accept**: */*
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
# **cancel_task_using_put**
|
74
|
+
> Hash<String, Object> cancel_task_using_put(id)
|
75
|
+
|
76
|
+
Cancel task
|
77
|
+
|
78
|
+
### Example
|
79
|
+
```ruby
|
80
|
+
# load the gem
|
81
|
+
require 'swagger_client'
|
82
|
+
|
83
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
84
|
+
|
85
|
+
id = 'id_example' # String | id
|
86
|
+
|
87
|
+
|
88
|
+
begin
|
89
|
+
#Cancel task
|
90
|
+
result = api_instance.cancel_task_using_put(id)
|
91
|
+
p result
|
92
|
+
rescue SwaggerClient::ApiError => e
|
93
|
+
puts "Exception when calling ApplicationControllerApi->cancel_task_using_put: #{e}"
|
94
|
+
end
|
95
|
+
```
|
96
|
+
|
97
|
+
### Parameters
|
98
|
+
|
99
|
+
Name | Type | Description | Notes
|
100
|
+
------------- | ------------- | ------------- | -------------
|
101
|
+
**id** | **String**| id |
|
102
|
+
|
103
|
+
### Return type
|
104
|
+
|
105
|
+
**Hash<String, Object>**
|
106
|
+
|
107
|
+
### Authorization
|
108
|
+
|
109
|
+
No authorization required
|
110
|
+
|
111
|
+
### HTTP request headers
|
112
|
+
|
113
|
+
- **Content-Type**: application/json
|
114
|
+
- **Accept**: */*
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
# **get_all_applications_using_get**
|
119
|
+
> Array<Object> get_all_applications_using_get(opts)
|
120
|
+
|
121
|
+
Retrieve a list of applications
|
122
|
+
|
123
|
+
### Example
|
124
|
+
```ruby
|
125
|
+
# load the gem
|
126
|
+
require 'swagger_client'
|
127
|
+
|
128
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
129
|
+
|
130
|
+
opts = {
|
131
|
+
account: 'account_example', # String | filters results to only include applications deployed in the specified account
|
132
|
+
owner: 'owner_example' # String | filteres results to only include applications owned by the specified email
|
133
|
+
}
|
134
|
+
|
135
|
+
begin
|
136
|
+
#Retrieve a list of applications
|
137
|
+
result = api_instance.get_all_applications_using_get(opts)
|
138
|
+
p result
|
139
|
+
rescue SwaggerClient::ApiError => e
|
140
|
+
puts "Exception when calling ApplicationControllerApi->get_all_applications_using_get: #{e}"
|
141
|
+
end
|
142
|
+
```
|
143
|
+
|
144
|
+
### Parameters
|
145
|
+
|
146
|
+
Name | Type | Description | Notes
|
147
|
+
------------- | ------------- | ------------- | -------------
|
148
|
+
**account** | **String**| filters results to only include applications deployed in the specified account | [optional]
|
149
|
+
**owner** | **String**| filteres results to only include applications owned by the specified email | [optional]
|
150
|
+
|
151
|
+
### Return type
|
152
|
+
|
153
|
+
**Array<Object>**
|
154
|
+
|
155
|
+
### Authorization
|
156
|
+
|
157
|
+
No authorization required
|
158
|
+
|
159
|
+
### HTTP request headers
|
160
|
+
|
161
|
+
- **Content-Type**: application/json
|
162
|
+
- **Accept**: */*
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
# **get_application_history_using_get**
|
167
|
+
> Array<Object> get_application_history_using_get(application, opts)
|
168
|
+
|
169
|
+
Retrieve a list of an application's configuration revision history
|
170
|
+
|
171
|
+
### Example
|
172
|
+
```ruby
|
173
|
+
# load the gem
|
174
|
+
require 'swagger_client'
|
175
|
+
|
176
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
177
|
+
|
178
|
+
application = 'application_example' # String | application
|
179
|
+
|
180
|
+
opts = {
|
181
|
+
limit: 20 # Integer | limit
|
182
|
+
}
|
183
|
+
|
184
|
+
begin
|
185
|
+
#Retrieve a list of an application's configuration revision history
|
186
|
+
result = api_instance.get_application_history_using_get(application, opts)
|
187
|
+
p result
|
188
|
+
rescue SwaggerClient::ApiError => e
|
189
|
+
puts "Exception when calling ApplicationControllerApi->get_application_history_using_get: #{e}"
|
190
|
+
end
|
191
|
+
```
|
192
|
+
|
193
|
+
### Parameters
|
194
|
+
|
195
|
+
Name | Type | Description | Notes
|
196
|
+
------------- | ------------- | ------------- | -------------
|
197
|
+
**application** | **String**| application |
|
198
|
+
**limit** | **Integer**| limit | [optional] [default to 20]
|
199
|
+
|
200
|
+
### Return type
|
201
|
+
|
202
|
+
**Array<Object>**
|
203
|
+
|
204
|
+
### Authorization
|
205
|
+
|
206
|
+
No authorization required
|
207
|
+
|
208
|
+
### HTTP request headers
|
209
|
+
|
210
|
+
- **Content-Type**: application/json
|
211
|
+
- **Accept**: */*
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
# **get_application_using_get**
|
216
|
+
> Hash<String, Object> get_application_using_get(application, opts)
|
217
|
+
|
218
|
+
Retrieve an application's details
|
219
|
+
|
220
|
+
### Example
|
221
|
+
```ruby
|
222
|
+
# load the gem
|
223
|
+
require 'swagger_client'
|
224
|
+
|
225
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
226
|
+
|
227
|
+
application = 'application_example' # String | application
|
228
|
+
|
229
|
+
opts = {
|
230
|
+
expand: true # BOOLEAN | expand
|
231
|
+
}
|
232
|
+
|
233
|
+
begin
|
234
|
+
#Retrieve an application's details
|
235
|
+
result = api_instance.get_application_using_get(application, opts)
|
236
|
+
p result
|
237
|
+
rescue SwaggerClient::ApiError => e
|
238
|
+
puts "Exception when calling ApplicationControllerApi->get_application_using_get: #{e}"
|
239
|
+
end
|
240
|
+
```
|
241
|
+
|
242
|
+
### Parameters
|
243
|
+
|
244
|
+
Name | Type | Description | Notes
|
245
|
+
------------- | ------------- | ------------- | -------------
|
246
|
+
**application** | **String**| application |
|
247
|
+
**expand** | **BOOLEAN**| expand | [optional] [default to true]
|
248
|
+
|
249
|
+
### Return type
|
250
|
+
|
251
|
+
**Hash<String, Object>**
|
252
|
+
|
253
|
+
### Authorization
|
254
|
+
|
255
|
+
No authorization required
|
256
|
+
|
257
|
+
### HTTP request headers
|
258
|
+
|
259
|
+
- **Content-Type**: application/json
|
260
|
+
- **Accept**: */*
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
# **get_pipeline_config_using_get**
|
265
|
+
> Hash<String, Object> get_pipeline_config_using_get(application, pipeline_name)
|
266
|
+
|
267
|
+
Retrieve a pipeline configuration
|
268
|
+
|
269
|
+
### Example
|
270
|
+
```ruby
|
271
|
+
# load the gem
|
272
|
+
require 'swagger_client'
|
273
|
+
|
274
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
275
|
+
|
276
|
+
application = 'application_example' # String | application
|
277
|
+
|
278
|
+
pipeline_name = 'pipeline_name_example' # String | pipelineName
|
279
|
+
|
280
|
+
|
281
|
+
begin
|
282
|
+
#Retrieve a pipeline configuration
|
283
|
+
result = api_instance.get_pipeline_config_using_get(application, pipeline_name)
|
284
|
+
p result
|
285
|
+
rescue SwaggerClient::ApiError => e
|
286
|
+
puts "Exception when calling ApplicationControllerApi->get_pipeline_config_using_get: #{e}"
|
287
|
+
end
|
288
|
+
```
|
289
|
+
|
290
|
+
### Parameters
|
291
|
+
|
292
|
+
Name | Type | Description | Notes
|
293
|
+
------------- | ------------- | ------------- | -------------
|
294
|
+
**application** | **String**| application |
|
295
|
+
**pipeline_name** | **String**| pipelineName |
|
296
|
+
|
297
|
+
### Return type
|
298
|
+
|
299
|
+
**Hash<String, Object>**
|
300
|
+
|
301
|
+
### Authorization
|
302
|
+
|
303
|
+
No authorization required
|
304
|
+
|
305
|
+
### HTTP request headers
|
306
|
+
|
307
|
+
- **Content-Type**: application/json
|
308
|
+
- **Accept**: */*
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
# **get_pipeline_configs_for_application_using_get**
|
313
|
+
> Array<Object> get_pipeline_configs_for_application_using_get(application)
|
314
|
+
|
315
|
+
Retrieve a list of an application's pipeline configurations
|
316
|
+
|
317
|
+
### Example
|
318
|
+
```ruby
|
319
|
+
# load the gem
|
320
|
+
require 'swagger_client'
|
321
|
+
|
322
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
323
|
+
|
324
|
+
application = 'application_example' # String | application
|
325
|
+
|
326
|
+
|
327
|
+
begin
|
328
|
+
#Retrieve a list of an application's pipeline configurations
|
329
|
+
result = api_instance.get_pipeline_configs_for_application_using_get(application)
|
330
|
+
p result
|
331
|
+
rescue SwaggerClient::ApiError => e
|
332
|
+
puts "Exception when calling ApplicationControllerApi->get_pipeline_configs_for_application_using_get: #{e}"
|
333
|
+
end
|
334
|
+
```
|
335
|
+
|
336
|
+
### Parameters
|
337
|
+
|
338
|
+
Name | Type | Description | Notes
|
339
|
+
------------- | ------------- | ------------- | -------------
|
340
|
+
**application** | **String**| application |
|
341
|
+
|
342
|
+
### Return type
|
343
|
+
|
344
|
+
**Array<Object>**
|
345
|
+
|
346
|
+
### Authorization
|
347
|
+
|
348
|
+
No authorization required
|
349
|
+
|
350
|
+
### HTTP request headers
|
351
|
+
|
352
|
+
- **Content-Type**: application/json
|
353
|
+
- **Accept**: */*
|
354
|
+
|
355
|
+
|
356
|
+
|
357
|
+
# **get_pipelines_using_get**
|
358
|
+
> Array<Object> get_pipelines_using_get(application, opts)
|
359
|
+
|
360
|
+
Retrieve a list of an application's pipeline executions
|
361
|
+
|
362
|
+
### Example
|
363
|
+
```ruby
|
364
|
+
# load the gem
|
365
|
+
require 'swagger_client'
|
366
|
+
|
367
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
368
|
+
|
369
|
+
application = 'application_example' # String | application
|
370
|
+
|
371
|
+
opts = {
|
372
|
+
limit: 56, # Integer | limit
|
373
|
+
statuses: 'statuses_example', # String | statuses
|
374
|
+
expand: true # BOOLEAN | expand
|
375
|
+
}
|
376
|
+
|
377
|
+
begin
|
378
|
+
#Retrieve a list of an application's pipeline executions
|
379
|
+
result = api_instance.get_pipelines_using_get(application, opts)
|
380
|
+
p result
|
381
|
+
rescue SwaggerClient::ApiError => e
|
382
|
+
puts "Exception when calling ApplicationControllerApi->get_pipelines_using_get: #{e}"
|
383
|
+
end
|
384
|
+
```
|
385
|
+
|
386
|
+
### Parameters
|
387
|
+
|
388
|
+
Name | Type | Description | Notes
|
389
|
+
------------- | ------------- | ------------- | -------------
|
390
|
+
**application** | **String**| application |
|
391
|
+
**limit** | **Integer**| limit | [optional]
|
392
|
+
**statuses** | **String**| statuses | [optional]
|
393
|
+
**expand** | **BOOLEAN**| expand | [optional]
|
394
|
+
|
395
|
+
### Return type
|
396
|
+
|
397
|
+
**Array<Object>**
|
398
|
+
|
399
|
+
### Authorization
|
400
|
+
|
401
|
+
No authorization required
|
402
|
+
|
403
|
+
### HTTP request headers
|
404
|
+
|
405
|
+
- **Content-Type**: application/json
|
406
|
+
- **Accept**: */*
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
# **get_strategy_config_using_get**
|
411
|
+
> Hash<String, Object> get_strategy_config_using_get(application, strategy_name)
|
412
|
+
|
413
|
+
Retrieve a pipeline strategy configuration
|
414
|
+
|
415
|
+
### Example
|
416
|
+
```ruby
|
417
|
+
# load the gem
|
418
|
+
require 'swagger_client'
|
419
|
+
|
420
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
421
|
+
|
422
|
+
application = 'application_example' # String | application
|
423
|
+
|
424
|
+
strategy_name = 'strategy_name_example' # String | strategyName
|
425
|
+
|
426
|
+
|
427
|
+
begin
|
428
|
+
#Retrieve a pipeline strategy configuration
|
429
|
+
result = api_instance.get_strategy_config_using_get(application, strategy_name)
|
430
|
+
p result
|
431
|
+
rescue SwaggerClient::ApiError => e
|
432
|
+
puts "Exception when calling ApplicationControllerApi->get_strategy_config_using_get: #{e}"
|
433
|
+
end
|
434
|
+
```
|
435
|
+
|
436
|
+
### Parameters
|
437
|
+
|
438
|
+
Name | Type | Description | Notes
|
439
|
+
------------- | ------------- | ------------- | -------------
|
440
|
+
**application** | **String**| application |
|
441
|
+
**strategy_name** | **String**| strategyName |
|
442
|
+
|
443
|
+
### Return type
|
444
|
+
|
445
|
+
**Hash<String, Object>**
|
446
|
+
|
447
|
+
### Authorization
|
448
|
+
|
449
|
+
No authorization required
|
450
|
+
|
451
|
+
### HTTP request headers
|
452
|
+
|
453
|
+
- **Content-Type**: application/json
|
454
|
+
- **Accept**: */*
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
# **get_strategy_configs_for_application_using_get**
|
459
|
+
> Array<Object> get_strategy_configs_for_application_using_get(application)
|
460
|
+
|
461
|
+
Retrieve a list of an application's pipeline strategy configurations
|
462
|
+
|
463
|
+
### Example
|
464
|
+
```ruby
|
465
|
+
# load the gem
|
466
|
+
require 'swagger_client'
|
467
|
+
|
468
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
469
|
+
|
470
|
+
application = 'application_example' # String | application
|
471
|
+
|
472
|
+
|
473
|
+
begin
|
474
|
+
#Retrieve a list of an application's pipeline strategy configurations
|
475
|
+
result = api_instance.get_strategy_configs_for_application_using_get(application)
|
476
|
+
p result
|
477
|
+
rescue SwaggerClient::ApiError => e
|
478
|
+
puts "Exception when calling ApplicationControllerApi->get_strategy_configs_for_application_using_get: #{e}"
|
479
|
+
end
|
480
|
+
```
|
481
|
+
|
482
|
+
### Parameters
|
483
|
+
|
484
|
+
Name | Type | Description | Notes
|
485
|
+
------------- | ------------- | ------------- | -------------
|
486
|
+
**application** | **String**| application |
|
487
|
+
|
488
|
+
### Return type
|
489
|
+
|
490
|
+
**Array<Object>**
|
491
|
+
|
492
|
+
### Authorization
|
493
|
+
|
494
|
+
No authorization required
|
495
|
+
|
496
|
+
### HTTP request headers
|
497
|
+
|
498
|
+
- **Content-Type**: application/json
|
499
|
+
- **Accept**: */*
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
# **get_task_details_using_get**
|
504
|
+
> Hash<String, Object> get_task_details_using_get(id, task_details_id, opts)
|
505
|
+
|
506
|
+
Get task details
|
507
|
+
|
508
|
+
### Example
|
509
|
+
```ruby
|
510
|
+
# load the gem
|
511
|
+
require 'swagger_client'
|
512
|
+
|
513
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
514
|
+
|
515
|
+
id = 'id_example' # String | id
|
516
|
+
|
517
|
+
task_details_id = 'task_details_id_example' # String | taskDetailsId
|
518
|
+
|
519
|
+
opts = {
|
520
|
+
x_rate_limit_app: 'x_rate_limit_app_example' # String | X-RateLimit-App
|
521
|
+
}
|
522
|
+
|
523
|
+
begin
|
524
|
+
#Get task details
|
525
|
+
result = api_instance.get_task_details_using_get(id, task_details_id, opts)
|
526
|
+
p result
|
527
|
+
rescue SwaggerClient::ApiError => e
|
528
|
+
puts "Exception when calling ApplicationControllerApi->get_task_details_using_get: #{e}"
|
529
|
+
end
|
530
|
+
```
|
531
|
+
|
532
|
+
### Parameters
|
533
|
+
|
534
|
+
Name | Type | Description | Notes
|
535
|
+
------------- | ------------- | ------------- | -------------
|
536
|
+
**id** | **String**| id |
|
537
|
+
**task_details_id** | **String**| taskDetailsId |
|
538
|
+
**x_rate_limit_app** | **String**| X-RateLimit-App | [optional]
|
539
|
+
|
540
|
+
### Return type
|
541
|
+
|
542
|
+
**Hash<String, Object>**
|
543
|
+
|
544
|
+
### Authorization
|
545
|
+
|
546
|
+
No authorization required
|
547
|
+
|
548
|
+
### HTTP request headers
|
549
|
+
|
550
|
+
- **Content-Type**: application/json
|
551
|
+
- **Accept**: */*
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
# **get_task_using_get**
|
556
|
+
> Hash<String, Object> get_task_using_get(id)
|
557
|
+
|
558
|
+
Get task
|
559
|
+
|
560
|
+
### Example
|
561
|
+
```ruby
|
562
|
+
# load the gem
|
563
|
+
require 'swagger_client'
|
564
|
+
|
565
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
566
|
+
|
567
|
+
id = 'id_example' # String | id
|
568
|
+
|
569
|
+
|
570
|
+
begin
|
571
|
+
#Get task
|
572
|
+
result = api_instance.get_task_using_get(id)
|
573
|
+
p result
|
574
|
+
rescue SwaggerClient::ApiError => e
|
575
|
+
puts "Exception when calling ApplicationControllerApi->get_task_using_get: #{e}"
|
576
|
+
end
|
577
|
+
```
|
578
|
+
|
579
|
+
### Parameters
|
580
|
+
|
581
|
+
Name | Type | Description | Notes
|
582
|
+
------------- | ------------- | ------------- | -------------
|
583
|
+
**id** | **String**| id |
|
584
|
+
|
585
|
+
### Return type
|
586
|
+
|
587
|
+
**Hash<String, Object>**
|
588
|
+
|
589
|
+
### Authorization
|
590
|
+
|
591
|
+
No authorization required
|
592
|
+
|
593
|
+
### HTTP request headers
|
594
|
+
|
595
|
+
- **Content-Type**: application/json
|
596
|
+
- **Accept**: */*
|
597
|
+
|
598
|
+
|
599
|
+
|
600
|
+
# **get_tasks_using_get**
|
601
|
+
> Array<Object> get_tasks_using_get(application, opts)
|
602
|
+
|
603
|
+
Retrieve a list of an application's tasks
|
604
|
+
|
605
|
+
### Example
|
606
|
+
```ruby
|
607
|
+
# load the gem
|
608
|
+
require 'swagger_client'
|
609
|
+
|
610
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
611
|
+
|
612
|
+
application = 'application_example' # String | application
|
613
|
+
|
614
|
+
opts = {
|
615
|
+
page: 56, # Integer | page
|
616
|
+
limit: 56, # Integer | limit
|
617
|
+
statuses: 'statuses_example' # String | statuses
|
618
|
+
}
|
619
|
+
|
620
|
+
begin
|
621
|
+
#Retrieve a list of an application's tasks
|
622
|
+
result = api_instance.get_tasks_using_get(application, opts)
|
623
|
+
p result
|
624
|
+
rescue SwaggerClient::ApiError => e
|
625
|
+
puts "Exception when calling ApplicationControllerApi->get_tasks_using_get: #{e}"
|
626
|
+
end
|
627
|
+
```
|
628
|
+
|
629
|
+
### Parameters
|
630
|
+
|
631
|
+
Name | Type | Description | Notes
|
632
|
+
------------- | ------------- | ------------- | -------------
|
633
|
+
**application** | **String**| application |
|
634
|
+
**page** | **Integer**| page | [optional]
|
635
|
+
**limit** | **Integer**| limit | [optional]
|
636
|
+
**statuses** | **String**| statuses | [optional]
|
637
|
+
|
638
|
+
### Return type
|
639
|
+
|
640
|
+
**Array<Object>**
|
641
|
+
|
642
|
+
### Authorization
|
643
|
+
|
644
|
+
No authorization required
|
645
|
+
|
646
|
+
### HTTP request headers
|
647
|
+
|
648
|
+
- **Content-Type**: application/json
|
649
|
+
- **Accept**: */*
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
# **invoke_pipeline_config_using_post**
|
654
|
+
> HttpEntity invoke_pipeline_config_using_post(application, pipeline_name, opts)
|
655
|
+
|
656
|
+
Invoke pipeline config
|
657
|
+
|
658
|
+
### Example
|
659
|
+
```ruby
|
660
|
+
# load the gem
|
661
|
+
require 'swagger_client'
|
662
|
+
|
663
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
664
|
+
|
665
|
+
application = 'application_example' # String | application
|
666
|
+
|
667
|
+
pipeline_name = 'pipeline_name_example' # String | pipelineName
|
668
|
+
|
669
|
+
opts = {
|
670
|
+
trigger: nil, # Object | trigger
|
671
|
+
user: 'user_example' # String | user
|
672
|
+
}
|
673
|
+
|
674
|
+
begin
|
675
|
+
#Invoke pipeline config
|
676
|
+
result = api_instance.invoke_pipeline_config_using_post(application, pipeline_name, opts)
|
677
|
+
p result
|
678
|
+
rescue SwaggerClient::ApiError => e
|
679
|
+
puts "Exception when calling ApplicationControllerApi->invoke_pipeline_config_using_post: #{e}"
|
680
|
+
end
|
681
|
+
```
|
682
|
+
|
683
|
+
### Parameters
|
684
|
+
|
685
|
+
Name | Type | Description | Notes
|
686
|
+
------------- | ------------- | ------------- | -------------
|
687
|
+
**application** | **String**| application |
|
688
|
+
**pipeline_name** | **String**| pipelineName |
|
689
|
+
**trigger** | **Object**| trigger | [optional]
|
690
|
+
**user** | **String**| user | [optional]
|
691
|
+
|
692
|
+
### Return type
|
693
|
+
|
694
|
+
[**HttpEntity**](HttpEntity.md)
|
695
|
+
|
696
|
+
### Authorization
|
697
|
+
|
698
|
+
No authorization required
|
699
|
+
|
700
|
+
### HTTP request headers
|
701
|
+
|
702
|
+
- **Content-Type**: application/json
|
703
|
+
- **Accept**: */*
|
704
|
+
|
705
|
+
|
706
|
+
|
707
|
+
# **task_using_post**
|
708
|
+
> Hash<String, Object> task_using_post(application, map)
|
709
|
+
|
710
|
+
Create task
|
711
|
+
|
712
|
+
### Example
|
713
|
+
```ruby
|
714
|
+
# load the gem
|
715
|
+
require 'swagger_client'
|
716
|
+
|
717
|
+
api_instance = SwaggerClient::ApplicationControllerApi.new
|
718
|
+
|
719
|
+
application = 'application_example' # String | application
|
720
|
+
|
721
|
+
map = nil # Object | map
|
722
|
+
|
723
|
+
|
724
|
+
begin
|
725
|
+
#Create task
|
726
|
+
result = api_instance.task_using_post(application, map)
|
727
|
+
p result
|
728
|
+
rescue SwaggerClient::ApiError => e
|
729
|
+
puts "Exception when calling ApplicationControllerApi->task_using_post: #{e}"
|
730
|
+
end
|
731
|
+
```
|
732
|
+
|
733
|
+
### Parameters
|
734
|
+
|
735
|
+
Name | Type | Description | Notes
|
736
|
+
------------- | ------------- | ------------- | -------------
|
737
|
+
**application** | **String**| application |
|
738
|
+
**map** | **Object**| map |
|
739
|
+
|
740
|
+
### Return type
|
741
|
+
|
742
|
+
**Hash<String, Object>**
|
743
|
+
|
744
|
+
### Authorization
|
745
|
+
|
746
|
+
No authorization required
|
747
|
+
|
748
|
+
### HTTP request headers
|
749
|
+
|
750
|
+
- **Content-Type**: application/json
|
751
|
+
- **Accept**: */*
|
752
|
+
|
753
|
+
|
754
|
+
|