batchly_api 0.6.7 → 0.6.8.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +28 -0
- data/README.md +4 -5
- data/lib/batchly_api.rb +2 -2
- data/lib/batchly_api/api_exception.rb +1 -1
- data/lib/batchly_api/api_helper.rb +1 -1
- data/lib/batchly_api/controllers/accounts_controller.rb +6 -7
- data/lib/batchly_api/controllers/data_sources_controller.rb +2 -2
- data/lib/batchly_api/controllers/jobs_controller.rb +11 -15
- data/lib/batchly_api/controllers/processors_controller.rb +72 -29
- data/lib/batchly_api/controllers/projects_controller.rb +6 -6
- data/lib/batchly_api/controllers/runs_controller.rb +6 -8
- data/lib/batchly_api/models/add_aws_account_request.rb +2 -3
- data/lib/batchly_api/models/add_parameter_group_request.rb +1 -1
- data/lib/batchly_api/models/add_processor_request.rb +1 -1
- data/lib/batchly_api/models/add_s_3_data_source_request.rb +1 -1
- data/lib/batchly_api/models/create_job_request.rb +1 -1
- data/lib/batchly_api/models/create_project_request.rb +1 -1
- data/lib/batchly_api/models/custom_image.rb +1 -1
- data/lib/batchly_api/models/execute_job_request.rb +1 -1
- data/lib/batchly_api/models/key_value_pair_string_string.rb +1 -1
- data/lib/batchly_api/models/language_enum.rb +1 -1
- data/lib/batchly_api/models/operating_system_enum.rb +1 -1
- data/lib/batchly_api/models/parameter.rb +1 -1
- data/lib/batchly_api/models/request_type_enum.rb +1 -1
- data/lib/batchly_api/models/response_type_enum.rb +1 -1
- data/lib/batchly_api/models/update_project_request.rb +1 -1
- data/lib/batchly_api/models/vpc_details.rb +2 -3
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77291c94e45d978cda1d7354f4dd5266ea990de3
|
4
|
+
data.tar.gz: e05e45aa727deb9b44e21d466c9ac0503be5d00a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd74cc04ea698c8e2f1fe0c3fc9722801bca25dd1be170514d58f70c0471bbb63346f5b57acf49cff0026ef2bbeb8063127f7a526e9e21917417298ab3951d07
|
7
|
+
data.tar.gz: f5ccaa18ddcc2ece9f041b883086e7a8c40491133619932d7af9dbdd922291da799a599d3c2ba191080d306072b91c0c3dc5bd32f83f53eab46ef2d893be36fc
|
data/LICENSE
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
License:
|
2
|
+
========
|
3
|
+
The MIT License (MIT)
|
4
|
+
http://opensource.org/licenses/MIT
|
5
|
+
|
6
|
+
Copyright (c) 2014 APIMATIC Limited
|
7
|
+
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
|
+
of this software and associated documentation files (the "Software"), to deal
|
10
|
+
in the Software without restriction, including without limitation the rights
|
11
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
12
|
+
copies of the Software, and to permit persons to whom the Software is
|
13
|
+
furnished to do so, subject to the following conditions:
|
14
|
+
|
15
|
+
The above copyright notice and this permission notice shall be included in
|
16
|
+
all copies or substantial portions of the Software.
|
17
|
+
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
19
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
20
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
21
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
22
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
23
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
24
|
+
THE SOFTWARE.
|
25
|
+
|
26
|
+
Trade Mark:
|
27
|
+
==========
|
28
|
+
APIMATIC is a trade mark for APIMATIC Limited
|
data/README.md
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
BatchlyApi
|
2
2
|
=================
|
3
|
-
This API SDK
|
4
|
-
please use the batchly web console.
|
3
|
+
This API SDK was automatically generated by APIMATIC BETA v2.0
|
5
4
|
|
6
5
|
How To Configure:
|
7
6
|
=================
|
8
7
|
The generated code might need to be configured with your API credentials. To do that,
|
9
8
|
provide the credentials and configuration values as a constructor parameters for the controllers
|
10
9
|
|
11
|
-
How To Build:
|
10
|
+
How To Build:
|
12
11
|
=============
|
13
12
|
The generated code uses a Ruby gem namely 'unirest'. The reference to this gem is
|
14
13
|
already added in the gemspec. Therefore, you will need internet access to resolve
|
@@ -28,12 +27,12 @@ Use the following steps to build a gem and use locally
|
|
28
27
|
|
29
28
|
2. Run the install command
|
30
29
|
```
|
31
|
-
gem install ./batchly_api-
|
30
|
+
gem install ./batchly_api-0.6.8.gem
|
32
31
|
```
|
33
32
|
|
34
33
|
3. In your Gemfile add this line
|
35
34
|
```
|
36
|
-
gem 'batchly_api', '~>
|
35
|
+
gem 'batchly_api', '~> 0.6.8'
|
37
36
|
```
|
38
37
|
|
39
38
|
4. Now create an instance and use the instance methods, like following.
|
data/lib/batchly_api.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/
|
1
|
+
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/14/2015
|
2
2
|
require 'openssl'
|
3
3
|
require 'json'
|
4
4
|
require 'unirest'
|
@@ -31,9 +31,9 @@ require 'batchly_api/models/custom_image.rb'
|
|
31
31
|
require 'batchly_api/models/create_project_request.rb'
|
32
32
|
require 'batchly_api/models/vpc_details.rb'
|
33
33
|
require 'batchly_api/models/update_project_request.rb'
|
34
|
-
require 'batchly_api/models/add_parameter_group_request.rb'
|
35
34
|
require 'batchly_api/models/key_value_pair_string_string.rb'
|
36
35
|
require 'batchly_api/models/parameter.rb'
|
36
|
+
require 'batchly_api/models/add_parameter_group_request.rb'
|
37
37
|
require 'batchly_api/models/base_string_enum.rb'
|
38
38
|
|
39
39
|
Unirest.timeout(180)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/
|
1
|
+
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/14/2015
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class AccountsController
|
@@ -23,7 +23,7 @@ module BatchlyApi
|
|
23
23
|
|
24
24
|
# prepare headers
|
25
25
|
headers = {
|
26
|
-
"user-agent" => "batchly/
|
26
|
+
"user-agent" => "batchly/0.6.8",
|
27
27
|
"accept" => "application/json"
|
28
28
|
}
|
29
29
|
|
@@ -41,8 +41,7 @@ module BatchlyApi
|
|
41
41
|
response.body
|
42
42
|
end
|
43
43
|
|
44
|
-
# Adds a new AWS account to batchly. AWS Accesskey and Secretkey should have 'IAMFullAccess' Permissions.
|
45
|
-
# Shared AWS keys are not stored in our servers. Keys are used to create a new role and then discarded.
|
44
|
+
# Adds a new AWS account to batchly. AWS Accesskey and Secretkey should have 'IAMFullAccess' Permissions. Shared AWS keys are not stored in our servers. Keys are used to create a new role and then discarded.
|
46
45
|
# @param [AddAWSAccountRequest] model Required parameter: Request model for adding AWS account
|
47
46
|
# @return AccountModel response from the API call
|
48
47
|
def add_aws_cloud_account model
|
@@ -57,7 +56,7 @@ module BatchlyApi
|
|
57
56
|
|
58
57
|
# prepare headers
|
59
58
|
headers = {
|
60
|
-
"user-agent" => "batchly/
|
59
|
+
"user-agent" => "batchly/0.6.8",
|
61
60
|
"accept" => "application/json",
|
62
61
|
"content-type" => "application/json; charset=utf-8"
|
63
62
|
}
|
@@ -92,7 +91,7 @@ module BatchlyApi
|
|
92
91
|
|
93
92
|
# prepare headers
|
94
93
|
headers = {
|
95
|
-
"user-agent" => "batchly/
|
94
|
+
"user-agent" => "batchly/0.6.8",
|
96
95
|
"accept" => "application/json"
|
97
96
|
}
|
98
97
|
|
@@ -130,7 +129,7 @@ module BatchlyApi
|
|
130
129
|
|
131
130
|
# prepare headers
|
132
131
|
headers = {
|
133
|
-
"user-agent" => "batchly/
|
132
|
+
"user-agent" => "batchly/0.6.8"
|
134
133
|
}
|
135
134
|
|
136
135
|
# append custom auth authorization
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/
|
1
|
+
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/14/2015
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class DataSourcesController
|
@@ -18,7 +18,7 @@ module BatchlyApi
|
|
18
18
|
|
19
19
|
# prepare headers
|
20
20
|
headers = {
|
21
|
-
"user-agent" => "batchly/
|
21
|
+
"user-agent" => "batchly/0.6.8",
|
22
22
|
"content-type" => "application/json; charset=utf-8"
|
23
23
|
}
|
24
24
|
|
@@ -1,13 +1,13 @@
|
|
1
|
-
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/
|
1
|
+
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/14/2015
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class JobsController
|
5
5
|
|
6
|
-
# Creates a run for the submitted job identifier.
|
6
|
+
# Creates a run for the submitted job identifier. The run is started if the job is not scheduled. Only one run for a job can be active. Returns conflict response if a job is already executing.
|
7
7
|
# @param [String] id Required parameter: Job Id that needs to be executed
|
8
|
-
# @param [ExecuteJobRequest] request
|
8
|
+
# @param [ExecuteJobRequest] request Required parameter: Request parameters can be null if default parameters can be used for execution. If present, Request values will be considered instead of defaults
|
9
9
|
# @return RunModel response from the API call
|
10
|
-
def execute_job id, request
|
10
|
+
def execute_job id, request
|
11
11
|
# the base uri for api requests
|
12
12
|
query_builder = Configuration.BASE_URI.dup
|
13
13
|
|
@@ -24,7 +24,7 @@ module BatchlyApi
|
|
24
24
|
|
25
25
|
# prepare headers
|
26
26
|
headers = {
|
27
|
-
"user-agent" => "batchly/
|
27
|
+
"user-agent" => "batchly/0.6.8",
|
28
28
|
"accept" => "application/json",
|
29
29
|
"content-type" => "application/json; charset=utf-8"
|
30
30
|
}
|
@@ -61,7 +61,7 @@ module BatchlyApi
|
|
61
61
|
|
62
62
|
# prepare headers
|
63
63
|
headers = {
|
64
|
-
"user-agent" => "batchly/
|
64
|
+
"user-agent" => "batchly/0.6.8",
|
65
65
|
"accept" => "application/json"
|
66
66
|
}
|
67
67
|
|
@@ -79,11 +79,7 @@ module BatchlyApi
|
|
79
79
|
response.body
|
80
80
|
end
|
81
81
|
|
82
|
-
# Adds a new job to batchly. The following steps are involved when creating a new job
|
83
|
-
# -> Get a list of projects. If needed, create a new project.
|
84
|
-
# -> Add datasources for source and destination
|
85
|
-
# -> Get a list of processors. If needed, create a new processor
|
86
|
-
# -> Create a job with source, destination, project and processor identifier
|
82
|
+
# Adds a new job to batchly. The following steps are involved when creating a new job -> Get a list of projects. If needed, create a new project. -> Add datasources for source and destination -> Get a list of processors. If needed, create a new processor -> Create a job with source, destination, project and processor identifier
|
87
83
|
# @param [CreateJobRequest] request Required parameter: Create Job Request
|
88
84
|
# @return JobModel response from the API call
|
89
85
|
def add_job request
|
@@ -98,7 +94,7 @@ module BatchlyApi
|
|
98
94
|
|
99
95
|
# prepare headers
|
100
96
|
headers = {
|
101
|
-
"user-agent" => "batchly/
|
97
|
+
"user-agent" => "batchly/0.6.8",
|
102
98
|
"accept" => "application/json",
|
103
99
|
"content-type" => "application/json; charset=utf-8"
|
104
100
|
}
|
@@ -121,7 +117,7 @@ module BatchlyApi
|
|
121
117
|
|
122
118
|
# Describes in detail the job
|
123
119
|
# @param [String] id Required parameter: Job Identifier
|
124
|
-
# @return
|
120
|
+
# @return DescribeJobModel response from the API call
|
125
121
|
def describe_job id
|
126
122
|
# the base uri for api requests
|
127
123
|
query_builder = Configuration.BASE_URI.dup
|
@@ -139,7 +135,7 @@ module BatchlyApi
|
|
139
135
|
|
140
136
|
# prepare headers
|
141
137
|
headers = {
|
142
|
-
"user-agent" => "batchly/
|
138
|
+
"user-agent" => "batchly/0.6.8",
|
143
139
|
"accept" => "application/json"
|
144
140
|
}
|
145
141
|
|
@@ -179,7 +175,7 @@ module BatchlyApi
|
|
179
175
|
|
180
176
|
# prepare headers
|
181
177
|
headers = {
|
182
|
-
"user-agent" => "batchly/
|
178
|
+
"user-agent" => "batchly/0.6.8"
|
183
179
|
}
|
184
180
|
|
185
181
|
# append custom auth authorization
|
@@ -1,9 +1,9 @@
|
|
1
|
-
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/
|
1
|
+
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/14/2015
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class ProcessorsController
|
5
5
|
|
6
|
-
#
|
6
|
+
# batch.ly is a marketplace for third party vendors to showcase their processors. These processors are available for use to anyone.
|
7
7
|
# @return Array<ProcessorModel> response from the API call
|
8
8
|
def list_marketplace_processors
|
9
9
|
# the base uri for api requests
|
@@ -17,7 +17,7 @@ module BatchlyApi
|
|
17
17
|
|
18
18
|
# prepare headers
|
19
19
|
headers = {
|
20
|
-
"user-agent" => "batchly/
|
20
|
+
"user-agent" => "batchly/0.6.8",
|
21
21
|
"accept" => "application/json"
|
22
22
|
}
|
23
23
|
|
@@ -35,19 +35,19 @@ module BatchlyApi
|
|
35
35
|
response.body
|
36
36
|
end
|
37
37
|
|
38
|
-
#
|
39
|
-
# @param [String]
|
38
|
+
# batch.ly vault is secure storage of processors that belong only to you. Processors added to vault are available only for your use. They can be used in all projects that are under the account in which the processor was originally added. Cross account usage of processors are currently not supported.
|
39
|
+
# @param [String] account_id Required parameter: Account Identifier
|
40
40
|
# @return Array<ProcessorModel> response from the API call
|
41
|
-
def list_vault_processors
|
41
|
+
def list_vault_processors account_id
|
42
42
|
# the base uri for api requests
|
43
43
|
query_builder = Configuration.BASE_URI.dup
|
44
44
|
|
45
45
|
# prepare query string for API call
|
46
|
-
query_builder << "/api/Processors/Vault/{
|
46
|
+
query_builder << "/api/Processors/Vault/{accountId}"
|
47
47
|
|
48
48
|
# process optional query parameters
|
49
49
|
query_builder = APIHelper.append_url_with_template_parameters query_builder, {
|
50
|
-
"
|
50
|
+
"accountId" => account_id,
|
51
51
|
}
|
52
52
|
|
53
53
|
# validate and preprocess url
|
@@ -55,7 +55,7 @@ module BatchlyApi
|
|
55
55
|
|
56
56
|
# prepare headers
|
57
57
|
headers = {
|
58
|
-
"user-agent" => "batchly/
|
58
|
+
"user-agent" => "batchly/0.6.8",
|
59
59
|
"accept" => "application/json"
|
60
60
|
}
|
61
61
|
|
@@ -73,20 +73,20 @@ module BatchlyApi
|
|
73
73
|
response.body
|
74
74
|
end
|
75
75
|
|
76
|
-
#
|
77
|
-
# @param [String]
|
78
|
-
# @param [AddParameterGroupRequest] request Required parameter:
|
79
|
-
# @return
|
80
|
-
def add_parameter_group
|
76
|
+
# Parameter groups are a package of different runtime parameters that are addressed as a single entity. Different configuration of processors can be done using parameter groups and during each job execution you can choose to use the right runtime parameters.
|
77
|
+
# @param [String] processor_id Required parameter: Processor Identifier
|
78
|
+
# @param [AddParameterGroupRequest] request Required parameter: Request Object for creating new parameter group
|
79
|
+
# @return DescribeParameterGroupResponse response from the API call
|
80
|
+
def add_parameter_group processor_id, request
|
81
81
|
# the base uri for api requests
|
82
82
|
query_builder = Configuration.BASE_URI.dup
|
83
83
|
|
84
84
|
# prepare query string for API call
|
85
|
-
query_builder << "/api/Processors/{
|
85
|
+
query_builder << "/api/Processors/{processorId}/ParameterGroups"
|
86
86
|
|
87
87
|
# process optional query parameters
|
88
88
|
query_builder = APIHelper.append_url_with_template_parameters query_builder, {
|
89
|
-
"
|
89
|
+
"processorId" => processor_id,
|
90
90
|
}
|
91
91
|
|
92
92
|
# validate and preprocess url
|
@@ -94,7 +94,7 @@ module BatchlyApi
|
|
94
94
|
|
95
95
|
# prepare headers
|
96
96
|
headers = {
|
97
|
-
"user-agent" => "batchly/
|
97
|
+
"user-agent" => "batchly/0.6.8",
|
98
98
|
"accept" => "application/json",
|
99
99
|
"content-type" => "application/json; charset=utf-8"
|
100
100
|
}
|
@@ -113,9 +113,9 @@ module BatchlyApi
|
|
113
113
|
response.body
|
114
114
|
end
|
115
115
|
|
116
|
-
#
|
117
|
-
# @param [String] parameter_group_id Required parameter:
|
118
|
-
# @param [String] processor_id Required parameter:
|
116
|
+
# Describes in detail the runtime parameters associated with the parameter group
|
117
|
+
# @param [String] parameter_group_id Required parameter: Parameter Group ID
|
118
|
+
# @param [String] processor_id Required parameter: Processor ID
|
119
119
|
# @return DescribeParameterGroupResponse response from the API call
|
120
120
|
def describe_parameter_group parameter_group_id, processor_id
|
121
121
|
# the base uri for api requests
|
@@ -135,7 +135,7 @@ module BatchlyApi
|
|
135
135
|
|
136
136
|
# prepare headers
|
137
137
|
headers = {
|
138
|
-
"user-agent" => "batchly/
|
138
|
+
"user-agent" => "batchly/0.6.8",
|
139
139
|
"accept" => "application/json"
|
140
140
|
}
|
141
141
|
|
@@ -153,9 +153,9 @@ module BatchlyApi
|
|
153
153
|
response.body
|
154
154
|
end
|
155
155
|
|
156
|
-
#
|
157
|
-
# @param [AddProcessorRequest] request Required parameter:
|
158
|
-
# @return
|
156
|
+
# Allows creation of a new Processor in your secure vault
|
157
|
+
# @param [AddProcessorRequest] request Required parameter: Create Processor Request
|
158
|
+
# @return ProcessorModel response from the API call
|
159
159
|
def add_processor_to_vault request
|
160
160
|
# the base uri for api requests
|
161
161
|
query_builder = Configuration.BASE_URI.dup
|
@@ -168,7 +168,7 @@ module BatchlyApi
|
|
168
168
|
|
169
169
|
# prepare headers
|
170
170
|
headers = {
|
171
|
-
"user-agent" => "batchly/
|
171
|
+
"user-agent" => "batchly/0.6.8",
|
172
172
|
"accept" => "application/json",
|
173
173
|
"content-type" => "application/json; charset=utf-8"
|
174
174
|
}
|
@@ -187,9 +187,52 @@ module BatchlyApi
|
|
187
187
|
response.body
|
188
188
|
end
|
189
189
|
|
190
|
-
#
|
191
|
-
# @param [
|
192
|
-
# @
|
190
|
+
# Upload your processor code as a zip file to the endpoint. Multipart formdata file content
|
191
|
+
# @param [String] accountid Required parameter: Account identifier.
|
192
|
+
# @param [File] file Required parameter: File Contents
|
193
|
+
# @return String response from the API call
|
194
|
+
def upload_file accountid, file
|
195
|
+
# the base uri for api requests
|
196
|
+
query_builder = Configuration.BASE_URI.dup
|
197
|
+
|
198
|
+
# prepare query string for API call
|
199
|
+
query_builder << "/api/Processors/Upload"
|
200
|
+
|
201
|
+
# process optional query parameters
|
202
|
+
query_builder = APIHelper.append_url_with_query_parameters query_builder, {
|
203
|
+
"accountid" => accountid,
|
204
|
+
}
|
205
|
+
|
206
|
+
# validate and preprocess url
|
207
|
+
query_url = APIHelper.clean_url query_builder
|
208
|
+
|
209
|
+
# prepare headers
|
210
|
+
headers = {
|
211
|
+
"user-agent" => "batchly/0.6.8"
|
212
|
+
}
|
213
|
+
|
214
|
+
# append custom auth authorization
|
215
|
+
CustomAuthUtility.append_custom_auth_params query_url, "POST", headers
|
216
|
+
|
217
|
+
# prepare parameters
|
218
|
+
parameters = {
|
219
|
+
"file" => file
|
220
|
+
}
|
221
|
+
|
222
|
+
# invoke the API call request to fetch the response
|
223
|
+
response = Unirest.post query_url, headers:headers, parameters:parameters
|
224
|
+
|
225
|
+
#Error handling using HTTP status codes
|
226
|
+
if !(response.code.between?(200,206)) # [200,206] = HTTP OK
|
227
|
+
raise APIException.new "HTTP Response Not OK", response.code, response.raw_body
|
228
|
+
end
|
229
|
+
|
230
|
+
response.body
|
231
|
+
end
|
232
|
+
|
233
|
+
# Allows creation of a new Processor that will be used for the job
|
234
|
+
# @param [AddProcessorRequest] request Required parameter: Create Processor Request
|
235
|
+
# @return ProcessorModel response from the API call
|
193
236
|
def add_processor_to_job request
|
194
237
|
# the base uri for api requests
|
195
238
|
query_builder = Configuration.BASE_URI.dup
|
@@ -202,7 +245,7 @@ module BatchlyApi
|
|
202
245
|
|
203
246
|
# prepare headers
|
204
247
|
headers = {
|
205
|
-
"user-agent" => "batchly/
|
248
|
+
"user-agent" => "batchly/0.6.8",
|
206
249
|
"accept" => "application/json",
|
207
250
|
"content-type" => "application/json; charset=utf-8"
|
208
251
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/
|
1
|
+
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/14/2015
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class ProjectsController
|
@@ -17,7 +17,7 @@ module BatchlyApi
|
|
17
17
|
|
18
18
|
# prepare headers
|
19
19
|
headers = {
|
20
|
-
"user-agent" => "batchly/
|
20
|
+
"user-agent" => "batchly/0.6.8",
|
21
21
|
"accept" => "application/json"
|
22
22
|
}
|
23
23
|
|
@@ -50,7 +50,7 @@ module BatchlyApi
|
|
50
50
|
|
51
51
|
# prepare headers
|
52
52
|
headers = {
|
53
|
-
"user-agent" => "batchly/
|
53
|
+
"user-agent" => "batchly/0.6.8",
|
54
54
|
"accept" => "application/json",
|
55
55
|
"content-type" => "application/json; charset=utf-8"
|
56
56
|
}
|
@@ -91,7 +91,7 @@ module BatchlyApi
|
|
91
91
|
|
92
92
|
# prepare headers
|
93
93
|
headers = {
|
94
|
-
"user-agent" => "batchly/
|
94
|
+
"user-agent" => "batchly/0.6.8",
|
95
95
|
"accept" => "application/json"
|
96
96
|
}
|
97
97
|
|
@@ -132,7 +132,7 @@ module BatchlyApi
|
|
132
132
|
|
133
133
|
# prepare headers
|
134
134
|
headers = {
|
135
|
-
"user-agent" => "batchly/
|
135
|
+
"user-agent" => "batchly/0.6.8",
|
136
136
|
"accept" => "application/json",
|
137
137
|
"content-type" => "application/json; charset=utf-8"
|
138
138
|
}
|
@@ -175,7 +175,7 @@ module BatchlyApi
|
|
175
175
|
|
176
176
|
# prepare headers
|
177
177
|
headers = {
|
178
|
-
"user-agent" => "batchly/
|
178
|
+
"user-agent" => "batchly/0.6.8"
|
179
179
|
}
|
180
180
|
|
181
181
|
# append custom auth authorization
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/
|
1
|
+
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/14/2015
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class RunsController
|
@@ -17,7 +17,7 @@ module BatchlyApi
|
|
17
17
|
|
18
18
|
# prepare headers
|
19
19
|
headers = {
|
20
|
-
"user-agent" => "batchly/
|
20
|
+
"user-agent" => "batchly/0.6.8",
|
21
21
|
"accept" => "application/json"
|
22
22
|
}
|
23
23
|
|
@@ -55,7 +55,7 @@ module BatchlyApi
|
|
55
55
|
|
56
56
|
# prepare headers
|
57
57
|
headers = {
|
58
|
-
"user-agent" => "batchly/
|
58
|
+
"user-agent" => "batchly/0.6.8",
|
59
59
|
"accept" => "application/json"
|
60
60
|
}
|
61
61
|
|
@@ -95,7 +95,7 @@ module BatchlyApi
|
|
95
95
|
|
96
96
|
# prepare headers
|
97
97
|
headers = {
|
98
|
-
"user-agent" => "batchly/
|
98
|
+
"user-agent" => "batchly/0.6.8"
|
99
99
|
}
|
100
100
|
|
101
101
|
# append custom auth authorization
|
@@ -114,9 +114,7 @@ module BatchlyApi
|
|
114
114
|
response.body
|
115
115
|
end
|
116
116
|
|
117
|
-
# Removes the run from the active list. The values are still considered for cost and savings calculation.
|
118
|
-
# Only completed, terminated and error runs can be archived.
|
119
|
-
# Active execution should first be stopped and then archived.
|
117
|
+
# Removes the run from the active list. The values are still considered for cost and savings calculation. Only completed, terminated and error runs can be archived. Active execution should first be stopped and then archived.
|
120
118
|
# @param [String] id Required parameter: Run Identifier
|
121
119
|
# @return void response from the API call
|
122
120
|
def delete_run id
|
@@ -136,7 +134,7 @@ module BatchlyApi
|
|
136
134
|
|
137
135
|
# prepare headers
|
138
136
|
headers = {
|
139
|
-
"user-agent" => "batchly/
|
137
|
+
"user-agent" => "batchly/0.6.8"
|
140
138
|
}
|
141
139
|
|
142
140
|
# append custom auth authorization
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/
|
1
|
+
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/14/2015
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class AddAwsAccountRequest
|
@@ -15,8 +15,7 @@ module BatchlyApi
|
|
15
15
|
# @return [String]
|
16
16
|
attr_accessor :secret_key
|
17
17
|
|
18
|
-
# Default aws region for storing configuration and processors
|
19
|
-
# Value should equal aws region identifier. e.g. us-east-1, ap-southeast-2
|
18
|
+
# Default aws region for storing configuration and processors. Value should equal aws region identifier. e.g. us-east-1, ap-southeast-2
|
20
19
|
# @return [String]
|
21
20
|
attr_accessor :base_region
|
22
21
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/
|
1
|
+
# This file was automatically generated for support.batchly.net by APIMATIC BETA v2.0 on 12/14/2015
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class VpcDetails
|
@@ -7,8 +7,7 @@ module BatchlyApi
|
|
7
7
|
# @return [String]
|
8
8
|
attr_accessor :vpc_id
|
9
9
|
|
10
|
-
# List of subnets within VPC which are assigned for batchly usage.
|
11
|
-
# Minimum Subnets required for High Availability: 2
|
10
|
+
# List of subnets within VPC which are assigned for batchly usage. Minimum Subnets required for High Availability: 2
|
12
11
|
# @return [Array<String>]
|
13
12
|
attr_accessor :subnet_ids
|
14
13
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: batchly_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.8.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Batchly
|
7
|
+
- Batchly Support
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unirest
|
@@ -30,12 +30,13 @@ dependencies:
|
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.1.2
|
33
|
-
description: This API
|
33
|
+
description: This API allows access to the batchly endpoint data
|
34
34
|
email: support@batchly.net
|
35
35
|
executables: []
|
36
36
|
extensions: []
|
37
37
|
extra_rdoc_files: []
|
38
38
|
files:
|
39
|
+
- LICENSE
|
39
40
|
- README.md
|
40
41
|
- lib/batchly_api.rb
|
41
42
|
- lib/batchly_api/api_exception.rb
|
@@ -65,7 +66,7 @@ files:
|
|
65
66
|
- lib/batchly_api/models/response_type_enum.rb
|
66
67
|
- lib/batchly_api/models/update_project_request.rb
|
67
68
|
- lib/batchly_api/models/vpc_details.rb
|
68
|
-
homepage:
|
69
|
+
homepage: http://batch.ly
|
69
70
|
licenses:
|
70
71
|
- MIT
|
71
72
|
metadata: {}
|
@@ -80,13 +81,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
81
|
version: '2.0'
|
81
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
83
|
requirements:
|
83
|
-
- - "
|
84
|
+
- - ">"
|
84
85
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
86
|
+
version: 1.3.1
|
86
87
|
requirements: []
|
87
88
|
rubyforge_project:
|
88
89
|
rubygems_version: 2.4.5.1
|
89
90
|
signing_key:
|
90
91
|
specification_version: 4
|
91
|
-
summary:
|
92
|
+
summary: Batchly API SDK for integration with the REST endpoint
|
92
93
|
test_files: []
|