batchly_api 0.6.9 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +3 -3
- data/README.md +14 -19
- data/lib/batchly_api.rb +11 -11
- data/lib/batchly_api/api_exception.rb +1 -1
- data/lib/batchly_api/api_helper.rb +1 -1
- data/lib/batchly_api/configuration.rb +1 -1
- data/lib/batchly_api/controllers/accounts_controller.rb +12 -12
- data/lib/batchly_api/controllers/{data_sources_controller.rb → data_stores_controller.rb} +6 -6
- data/lib/batchly_api/controllers/jobs_controller.rb +19 -20
- data/lib/batchly_api/controllers/processors_controller.rb +24 -24
- data/lib/batchly_api/controllers/projects_controller.rb +17 -17
- data/lib/batchly_api/controllers/runs_controller.rb +14 -14
- data/lib/batchly_api/models/add_aws_account_request.rb +5 -5
- data/lib/batchly_api/models/add_parameter_group_request.rb +1 -1
- data/lib/batchly_api/models/add_processor_request.rb +5 -5
- data/lib/batchly_api/models/{add_s_3_data_source_request.rb → add_s_3_data_store_request.rb} +4 -4
- data/lib/batchly_api/models/create_job_request.rb +9 -9
- data/lib/batchly_api/models/create_project_request.rb +4 -4
- 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 → language.rb} +2 -2
- data/lib/batchly_api/models/{operating_system_enum.rb → operating_system.rb} +2 -2
- data/lib/batchly_api/models/parameter.rb +1 -1
- data/lib/batchly_api/models/{request_type_enum.rb → request_type.rb} +2 -2
- data/lib/batchly_api/models/{response_type_enum.rb → response_type.rb} +2 -2
- data/lib/batchly_api/models/update_project_request.rb +3 -3
- data/lib/batchly_api/models/vpc_details.rb +4 -4
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7db2c6a9f1d08ced153d6a0155760a0ae349018b
|
4
|
+
data.tar.gz: 03219a736a92065a54428ed62b31b4fe4d25f69f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baaa1839413cf9272e930508de240db2ae872a2bca86049fad9fcc77bd70ea250c173b1f2d030879ccd103770f5285426e47dfad47f0a2c86407dae2699ee03b
|
7
|
+
data.tar.gz: a136d51e403145f8e4f1bc120cf425b32b0fc6e7206b39c04b1d63768d9c1639797ba4c1881b0b3f3b34d64661589da7b6f5d476b0b217a290ce942d850e5ce2
|
data/LICENSE
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
License:
|
1
|
+
License:
|
2
2
|
========
|
3
3
|
The MIT License (MIT)
|
4
4
|
http://opensource.org/licenses/MIT
|
5
5
|
|
6
|
-
Copyright (c) 2014
|
6
|
+
Copyright (c) 2014 47Line Inc
|
7
7
|
|
8
8
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
9
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25,4 +25,4 @@ THE SOFTWARE.
|
|
25
25
|
|
26
26
|
Trade Mark:
|
27
27
|
==========
|
28
|
-
|
28
|
+
BATCHLY is a trade mark for 47LINE INC
|
data/README.md
CHANGED
@@ -1,13 +1,12 @@
|
|
1
|
-
|
1
|
+
Batchly-Api
|
2
2
|
=================
|
3
|
-
This API SDK
|
3
|
+
This API SDK allows you to write your own applications to manage Batchly. All functions that can be performed via Console are available in this SDK.
|
4
4
|
|
5
5
|
How To Configure:
|
6
6
|
=================
|
7
|
-
The generated
|
8
|
-
provide the credentials and configuration values as a constructor parameters for the controllers
|
7
|
+
The Auth Keys can be generated from the Batchly Console. Before executing any methods, call the Configuration utility to setup your custom endpoint, Access Key and Secret Key
|
9
8
|
|
10
|
-
How To Build:
|
9
|
+
How To Build:
|
11
10
|
=============
|
12
11
|
The generated code uses a Ruby gem namely 'unirest'. The reference to this gem is
|
13
12
|
already added in the gemspec. Therefore, you will need internet access to resolve
|
@@ -15,27 +14,23 @@ this dependency.
|
|
15
14
|
|
16
15
|
How To Use:
|
17
16
|
===========
|
18
|
-
|
19
|
-
Otherwise, you can include the generated code in your project to use directly.
|
17
|
+
Install the SDK from Ruby Gem and then configure as below
|
20
18
|
|
21
|
-
|
22
|
-
|
23
|
-
1. Run the build command
|
24
|
-
```
|
25
|
-
gem build batchly_api.gemspec
|
26
|
-
```
|
27
|
-
|
28
|
-
2. Run the install command
|
19
|
+
1. In your Gemfile add this line
|
29
20
|
```
|
30
|
-
gem
|
21
|
+
gem 'batchly_api', '~> 0.7.1'
|
31
22
|
```
|
32
23
|
|
33
|
-
|
24
|
+
2. In your Gemfile add this line
|
34
25
|
```
|
35
|
-
|
26
|
+
require 'batchly_api'
|
27
|
+
|
28
|
+
BatchlyApi::Configuration.BASE_URI = 'Your Custom Endpoint'
|
29
|
+
BatchlyApi::Configuration.API_KEY = 'Your Access Key'
|
30
|
+
BatchlyApi::Configuration.API_SECRET = 'Your Secret Key'
|
36
31
|
```
|
37
32
|
|
38
|
-
|
33
|
+
3. Now create an instance and use the instance methods, like following.
|
39
34
|
|
40
35
|
```
|
41
36
|
ctl = BatchlyApi::AccountsController.new params
|
data/lib/batchly_api.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
require 'openssl'
|
3
3
|
require 'json'
|
4
4
|
require 'unirest'
|
@@ -11,29 +11,29 @@ require 'batchly_api/custom_auth_utility.rb'
|
|
11
11
|
|
12
12
|
# Controllers
|
13
13
|
require 'batchly_api/controllers/accounts_controller.rb'
|
14
|
-
require 'batchly_api/controllers/
|
14
|
+
require 'batchly_api/controllers/data_stores_controller.rb'
|
15
15
|
require 'batchly_api/controllers/jobs_controller.rb'
|
16
16
|
require 'batchly_api/controllers/processors_controller.rb'
|
17
17
|
require 'batchly_api/controllers/projects_controller.rb'
|
18
18
|
require 'batchly_api/controllers/runs_controller.rb'
|
19
19
|
|
20
20
|
# Models
|
21
|
+
require 'batchly_api/models/add_s_3_data_store_request.rb'
|
22
|
+
require 'batchly_api/models/add_parameter_group_request.rb'
|
23
|
+
require 'batchly_api/models/key_value_pair_string_string.rb'
|
24
|
+
require 'batchly_api/models/parameter.rb'
|
25
|
+
require 'batchly_api/models/update_project_request.rb'
|
21
26
|
require 'batchly_api/models/add_aws_account_request.rb'
|
22
|
-
require 'batchly_api/models/add_s_3_data_source_request.rb'
|
23
27
|
require 'batchly_api/models/execute_job_request.rb'
|
28
|
+
require 'batchly_api/models/request_type.rb'
|
24
29
|
require 'batchly_api/models/create_job_request.rb'
|
25
|
-
require 'batchly_api/models/
|
26
|
-
require 'batchly_api/models/response_type_enum.rb'
|
30
|
+
require 'batchly_api/models/response_type.rb'
|
27
31
|
require 'batchly_api/models/add_processor_request.rb'
|
28
|
-
require 'batchly_api/models/
|
29
|
-
require 'batchly_api/models/
|
32
|
+
require 'batchly_api/models/operating_system.rb'
|
33
|
+
require 'batchly_api/models/language.rb'
|
30
34
|
require 'batchly_api/models/custom_image.rb'
|
31
35
|
require 'batchly_api/models/create_project_request.rb'
|
32
36
|
require 'batchly_api/models/vpc_details.rb'
|
33
|
-
require 'batchly_api/models/update_project_request.rb'
|
34
|
-
require 'batchly_api/models/key_value_pair_string_string.rb'
|
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,10 +1,10 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class AccountsController
|
5
5
|
|
6
|
-
#
|
7
|
-
# @param [String] id Required parameter:
|
6
|
+
# TODO: type endpoint description here
|
7
|
+
# @param [String] id Required parameter: TODO: type description here
|
8
8
|
# @return Array<ProjectModel> response from the API call
|
9
9
|
def list_projects id
|
10
10
|
# the base uri for api requests
|
@@ -23,7 +23,7 @@ module BatchlyApi
|
|
23
23
|
|
24
24
|
# prepare headers
|
25
25
|
headers = {
|
26
|
-
"user-agent" => "batchly/0.
|
26
|
+
"user-agent" => "batchly/0.7.1",
|
27
27
|
"accept" => "application/json"
|
28
28
|
}
|
29
29
|
|
@@ -41,8 +41,8 @@ module BatchlyApi
|
|
41
41
|
response.body
|
42
42
|
end
|
43
43
|
|
44
|
-
#
|
45
|
-
# @param [AddAWSAccountRequest] model Required parameter:
|
44
|
+
# TODO: type endpoint description here
|
45
|
+
# @param [AddAWSAccountRequest] model Required parameter: TODO: type description here
|
46
46
|
# @return AccountModel response from the API call
|
47
47
|
def add_aws_cloud_account model
|
48
48
|
# the base uri for api requests
|
@@ -56,7 +56,7 @@ module BatchlyApi
|
|
56
56
|
|
57
57
|
# prepare headers
|
58
58
|
headers = {
|
59
|
-
"user-agent" => "batchly/0.
|
59
|
+
"user-agent" => "batchly/0.7.1",
|
60
60
|
"accept" => "application/json",
|
61
61
|
"content-type" => "application/json; charset=utf-8"
|
62
62
|
}
|
@@ -77,7 +77,7 @@ module BatchlyApi
|
|
77
77
|
response.body
|
78
78
|
end
|
79
79
|
|
80
|
-
#
|
80
|
+
# TODO: type endpoint description here
|
81
81
|
# @return Array<AccountModel> response from the API call
|
82
82
|
def list_accounts
|
83
83
|
# the base uri for api requests
|
@@ -91,7 +91,7 @@ module BatchlyApi
|
|
91
91
|
|
92
92
|
# prepare headers
|
93
93
|
headers = {
|
94
|
-
"user-agent" => "batchly/0.
|
94
|
+
"user-agent" => "batchly/0.7.1",
|
95
95
|
"accept" => "application/json"
|
96
96
|
}
|
97
97
|
|
@@ -109,8 +109,8 @@ module BatchlyApi
|
|
109
109
|
response.body
|
110
110
|
end
|
111
111
|
|
112
|
-
#
|
113
|
-
# @param [String] id Required parameter:
|
112
|
+
# TODO: type endpoint description here
|
113
|
+
# @param [String] id Required parameter: TODO: type description here
|
114
114
|
# @return void response from the API call
|
115
115
|
def delete id
|
116
116
|
# the base uri for api requests
|
@@ -129,7 +129,7 @@ module BatchlyApi
|
|
129
129
|
|
130
130
|
# prepare headers
|
131
131
|
headers = {
|
132
|
-
"user-agent" => "batchly/0.
|
132
|
+
"user-agent" => "batchly/0.7.1"
|
133
133
|
}
|
134
134
|
|
135
135
|
# append custom auth authorization
|
@@ -1,24 +1,24 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
|
-
class
|
4
|
+
class DataStoresController
|
5
5
|
|
6
|
-
#
|
7
|
-
# @param [
|
6
|
+
# TODO: type endpoint description here
|
7
|
+
# @param [AddS3DataStoreRequest] model Required parameter: TODO: type description here
|
8
8
|
# @return String response from the API call
|
9
9
|
def add_s_3 model
|
10
10
|
# the base uri for api requests
|
11
11
|
query_builder = Configuration.BASE_URI.dup
|
12
12
|
|
13
13
|
# prepare query string for API call
|
14
|
-
query_builder << "/api/
|
14
|
+
query_builder << "/api/DataStores/S3"
|
15
15
|
|
16
16
|
# validate and preprocess url
|
17
17
|
query_url = APIHelper.clean_url query_builder
|
18
18
|
|
19
19
|
# prepare headers
|
20
20
|
headers = {
|
21
|
-
"user-agent" => "batchly/0.
|
21
|
+
"user-agent" => "batchly/0.7.1",
|
22
22
|
"content-type" => "application/json; charset=utf-8"
|
23
23
|
}
|
24
24
|
|
@@ -1,13 +1,13 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class JobsController
|
5
5
|
|
6
|
-
#
|
7
|
-
# @param [String] id Required parameter:
|
8
|
-
# @param [ExecuteJobRequest] request Required parameter:
|
9
|
-
# @return
|
10
|
-
def
|
6
|
+
# TODO: type endpoint description here
|
7
|
+
# @param [String] id Required parameter: TODO: type description here
|
8
|
+
# @param [ExecuteJobRequest] request Required parameter: TODO: type description here
|
9
|
+
# @return String response from the API call
|
10
|
+
def create_execute_job id, request
|
11
11
|
# the base uri for api requests
|
12
12
|
query_builder = Configuration.BASE_URI.dup
|
13
13
|
|
@@ -24,8 +24,7 @@ module BatchlyApi
|
|
24
24
|
|
25
25
|
# prepare headers
|
26
26
|
headers = {
|
27
|
-
"user-agent" => "batchly/0.
|
28
|
-
"accept" => "application/json",
|
27
|
+
"user-agent" => "batchly/0.7.1",
|
29
28
|
"content-type" => "application/json; charset=utf-8"
|
30
29
|
}
|
31
30
|
|
@@ -47,7 +46,7 @@ module BatchlyApi
|
|
47
46
|
response.body
|
48
47
|
end
|
49
48
|
|
50
|
-
#
|
49
|
+
# TODO: type endpoint description here
|
51
50
|
# @return Array<JobModel> response from the API call
|
52
51
|
def list_jobs
|
53
52
|
# the base uri for api requests
|
@@ -61,7 +60,7 @@ module BatchlyApi
|
|
61
60
|
|
62
61
|
# prepare headers
|
63
62
|
headers = {
|
64
|
-
"user-agent" => "batchly/0.
|
63
|
+
"user-agent" => "batchly/0.7.1",
|
65
64
|
"accept" => "application/json"
|
66
65
|
}
|
67
66
|
|
@@ -79,8 +78,8 @@ module BatchlyApi
|
|
79
78
|
response.body
|
80
79
|
end
|
81
80
|
|
82
|
-
#
|
83
|
-
# @param [CreateJobRequest] request Required parameter:
|
81
|
+
# TODO: type endpoint description here
|
82
|
+
# @param [CreateJobRequest] request Required parameter: TODO: type description here
|
84
83
|
# @return JobModel response from the API call
|
85
84
|
def add_job request
|
86
85
|
# the base uri for api requests
|
@@ -94,7 +93,7 @@ module BatchlyApi
|
|
94
93
|
|
95
94
|
# prepare headers
|
96
95
|
headers = {
|
97
|
-
"user-agent" => "batchly/0.
|
96
|
+
"user-agent" => "batchly/0.7.1",
|
98
97
|
"accept" => "application/json",
|
99
98
|
"content-type" => "application/json; charset=utf-8"
|
100
99
|
}
|
@@ -115,10 +114,10 @@ module BatchlyApi
|
|
115
114
|
response.body
|
116
115
|
end
|
117
116
|
|
118
|
-
#
|
119
|
-
# @param [String] id Required parameter:
|
117
|
+
# TODO: type endpoint description here
|
118
|
+
# @param [String] id Required parameter: TODO: type description here
|
120
119
|
# @return DescribeJobModel response from the API call
|
121
|
-
def
|
120
|
+
def get_describe_job id
|
122
121
|
# the base uri for api requests
|
123
122
|
query_builder = Configuration.BASE_URI.dup
|
124
123
|
|
@@ -135,7 +134,7 @@ module BatchlyApi
|
|
135
134
|
|
136
135
|
# prepare headers
|
137
136
|
headers = {
|
138
|
-
"user-agent" => "batchly/0.
|
137
|
+
"user-agent" => "batchly/0.7.1",
|
139
138
|
"accept" => "application/json"
|
140
139
|
}
|
141
140
|
|
@@ -155,8 +154,8 @@ module BatchlyApi
|
|
155
154
|
response.body
|
156
155
|
end
|
157
156
|
|
158
|
-
#
|
159
|
-
# @param [String] id Required parameter:
|
157
|
+
# TODO: type endpoint description here
|
158
|
+
# @param [String] id Required parameter: TODO: type description here
|
160
159
|
# @return void response from the API call
|
161
160
|
def delete_job id
|
162
161
|
# the base uri for api requests
|
@@ -175,7 +174,7 @@ module BatchlyApi
|
|
175
174
|
|
176
175
|
# prepare headers
|
177
176
|
headers = {
|
178
|
-
"user-agent" => "batchly/0.
|
177
|
+
"user-agent" => "batchly/0.7.1"
|
179
178
|
}
|
180
179
|
|
181
180
|
# append custom auth authorization
|
@@ -1,9 +1,9 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class ProcessorsController
|
5
5
|
|
6
|
-
#
|
6
|
+
# TODO: type endpoint description here
|
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/0.
|
20
|
+
"user-agent" => "batchly/0.7.1",
|
21
21
|
"accept" => "application/json"
|
22
22
|
}
|
23
23
|
|
@@ -35,8 +35,8 @@ module BatchlyApi
|
|
35
35
|
response.body
|
36
36
|
end
|
37
37
|
|
38
|
-
#
|
39
|
-
# @param [String] account_id Required parameter:
|
38
|
+
# TODO: type endpoint description here
|
39
|
+
# @param [String] account_id Required parameter: TODO: type description here
|
40
40
|
# @return Array<ProcessorModel> response from the API call
|
41
41
|
def list_vault_processors account_id
|
42
42
|
# the base uri for api requests
|
@@ -55,7 +55,7 @@ module BatchlyApi
|
|
55
55
|
|
56
56
|
# prepare headers
|
57
57
|
headers = {
|
58
|
-
"user-agent" => "batchly/0.
|
58
|
+
"user-agent" => "batchly/0.7.1",
|
59
59
|
"accept" => "application/json"
|
60
60
|
}
|
61
61
|
|
@@ -73,9 +73,9 @@ module BatchlyApi
|
|
73
73
|
response.body
|
74
74
|
end
|
75
75
|
|
76
|
-
#
|
77
|
-
# @param [String] processor_id Required parameter:
|
78
|
-
# @param [AddParameterGroupRequest] request Required parameter:
|
76
|
+
# TODO: type endpoint description here
|
77
|
+
# @param [String] processor_id Required parameter: TODO: type description here
|
78
|
+
# @param [AddParameterGroupRequest] request Required parameter: TODO: type description here
|
79
79
|
# @return DescribeParameterGroupResponse response from the API call
|
80
80
|
def add_parameter_group processor_id, request
|
81
81
|
# the base uri for api requests
|
@@ -94,7 +94,7 @@ module BatchlyApi
|
|
94
94
|
|
95
95
|
# prepare headers
|
96
96
|
headers = {
|
97
|
-
"user-agent" => "batchly/0.
|
97
|
+
"user-agent" => "batchly/0.7.1",
|
98
98
|
"accept" => "application/json",
|
99
99
|
"content-type" => "application/json; charset=utf-8"
|
100
100
|
}
|
@@ -113,11 +113,11 @@ 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
|
+
# TODO: type endpoint description here
|
117
|
+
# @param [String] parameter_group_id Required parameter: TODO: type description here
|
118
|
+
# @param [String] processor_id Required parameter: TODO: type description here
|
119
119
|
# @return DescribeParameterGroupResponse response from the API call
|
120
|
-
def
|
120
|
+
def get_describe_parameter_group parameter_group_id, processor_id
|
121
121
|
# the base uri for api requests
|
122
122
|
query_builder = Configuration.BASE_URI.dup
|
123
123
|
|
@@ -135,7 +135,7 @@ module BatchlyApi
|
|
135
135
|
|
136
136
|
# prepare headers
|
137
137
|
headers = {
|
138
|
-
"user-agent" => "batchly/0.
|
138
|
+
"user-agent" => "batchly/0.7.1",
|
139
139
|
"accept" => "application/json"
|
140
140
|
}
|
141
141
|
|
@@ -153,8 +153,8 @@ module BatchlyApi
|
|
153
153
|
response.body
|
154
154
|
end
|
155
155
|
|
156
|
-
#
|
157
|
-
# @param [AddProcessorRequest] request Required parameter:
|
156
|
+
# TODO: type endpoint description here
|
157
|
+
# @param [AddProcessorRequest] request Required parameter: TODO: type description here
|
158
158
|
# @return ProcessorModel response from the API call
|
159
159
|
def add_processor_to_vault request
|
160
160
|
# the base uri for api requests
|
@@ -168,7 +168,7 @@ module BatchlyApi
|
|
168
168
|
|
169
169
|
# prepare headers
|
170
170
|
headers = {
|
171
|
-
"user-agent" => "batchly/0.
|
171
|
+
"user-agent" => "batchly/0.7.1",
|
172
172
|
"accept" => "application/json",
|
173
173
|
"content-type" => "application/json; charset=utf-8"
|
174
174
|
}
|
@@ -187,8 +187,8 @@ module BatchlyApi
|
|
187
187
|
response.body
|
188
188
|
end
|
189
189
|
|
190
|
-
#
|
191
|
-
# @param [String] accountid Required parameter:
|
190
|
+
# TODO: type endpoint description here
|
191
|
+
# @param [String] accountid Required parameter: TODO: type description here
|
192
192
|
# @param [File] file Required parameter: File Contents
|
193
193
|
# @return String response from the API call
|
194
194
|
def upload_file accountid, file
|
@@ -208,7 +208,7 @@ module BatchlyApi
|
|
208
208
|
|
209
209
|
# prepare headers
|
210
210
|
headers = {
|
211
|
-
"user-agent" => "batchly/0.
|
211
|
+
"user-agent" => "batchly/0.7.1"
|
212
212
|
}
|
213
213
|
|
214
214
|
# append custom auth authorization
|
@@ -230,8 +230,8 @@ module BatchlyApi
|
|
230
230
|
response.body
|
231
231
|
end
|
232
232
|
|
233
|
-
#
|
234
|
-
# @param [AddProcessorRequest] request Required parameter:
|
233
|
+
# TODO: type endpoint description here
|
234
|
+
# @param [AddProcessorRequest] request Required parameter: TODO: type description here
|
235
235
|
# @return ProcessorModel response from the API call
|
236
236
|
def add_processor_to_job request
|
237
237
|
# the base uri for api requests
|
@@ -245,7 +245,7 @@ module BatchlyApi
|
|
245
245
|
|
246
246
|
# prepare headers
|
247
247
|
headers = {
|
248
|
-
"user-agent" => "batchly/0.
|
248
|
+
"user-agent" => "batchly/0.7.1",
|
249
249
|
"accept" => "application/json",
|
250
250
|
"content-type" => "application/json; charset=utf-8"
|
251
251
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class ProjectsController
|
5
5
|
|
6
|
-
#
|
6
|
+
# TODO: type endpoint description here
|
7
7
|
# @return Array<ProjectModel> response from the API call
|
8
8
|
def list_projects
|
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/0.
|
20
|
+
"user-agent" => "batchly/0.7.1",
|
21
21
|
"accept" => "application/json"
|
22
22
|
}
|
23
23
|
|
@@ -35,8 +35,8 @@ module BatchlyApi
|
|
35
35
|
response.body
|
36
36
|
end
|
37
37
|
|
38
|
-
#
|
39
|
-
# @param [CreateProjectRequest] request Required parameter:
|
38
|
+
# TODO: type endpoint description here
|
39
|
+
# @param [CreateProjectRequest] request Required parameter: TODO: type description here
|
40
40
|
# @return ProjectModel response from the API call
|
41
41
|
def add_project request
|
42
42
|
# the base uri for api requests
|
@@ -50,7 +50,7 @@ module BatchlyApi
|
|
50
50
|
|
51
51
|
# prepare headers
|
52
52
|
headers = {
|
53
|
-
"user-agent" => "batchly/0.
|
53
|
+
"user-agent" => "batchly/0.7.1",
|
54
54
|
"accept" => "application/json",
|
55
55
|
"content-type" => "application/json; charset=utf-8"
|
56
56
|
}
|
@@ -71,10 +71,10 @@ module BatchlyApi
|
|
71
71
|
response.body
|
72
72
|
end
|
73
73
|
|
74
|
-
#
|
75
|
-
# @param [String] id Required parameter:
|
74
|
+
# TODO: type endpoint description here
|
75
|
+
# @param [String] id Required parameter: TODO: type description here
|
76
76
|
# @return ProjectModel response from the API call
|
77
|
-
def
|
77
|
+
def get_describe_project id
|
78
78
|
# the base uri for api requests
|
79
79
|
query_builder = Configuration.BASE_URI.dup
|
80
80
|
|
@@ -91,7 +91,7 @@ module BatchlyApi
|
|
91
91
|
|
92
92
|
# prepare headers
|
93
93
|
headers = {
|
94
|
-
"user-agent" => "batchly/0.
|
94
|
+
"user-agent" => "batchly/0.7.1",
|
95
95
|
"accept" => "application/json"
|
96
96
|
}
|
97
97
|
|
@@ -111,9 +111,9 @@ module BatchlyApi
|
|
111
111
|
response.body
|
112
112
|
end
|
113
113
|
|
114
|
-
#
|
115
|
-
# @param [String] id Required parameter:
|
116
|
-
# @param [UpdateProjectRequest] request Required parameter:
|
114
|
+
# TODO: type endpoint description here
|
115
|
+
# @param [String] id Required parameter: TODO: type description here
|
116
|
+
# @param [UpdateProjectRequest] request Required parameter: TODO: type description here
|
117
117
|
# @return ProjectModel response from the API call
|
118
118
|
def update_project id, request
|
119
119
|
# the base uri for api requests
|
@@ -132,7 +132,7 @@ module BatchlyApi
|
|
132
132
|
|
133
133
|
# prepare headers
|
134
134
|
headers = {
|
135
|
-
"user-agent" => "batchly/0.
|
135
|
+
"user-agent" => "batchly/0.7.1",
|
136
136
|
"accept" => "application/json",
|
137
137
|
"content-type" => "application/json; charset=utf-8"
|
138
138
|
}
|
@@ -155,8 +155,8 @@ module BatchlyApi
|
|
155
155
|
response.body
|
156
156
|
end
|
157
157
|
|
158
|
-
#
|
159
|
-
# @param [String] id Required parameter:
|
158
|
+
# TODO: type endpoint description here
|
159
|
+
# @param [String] id Required parameter: TODO: type description here
|
160
160
|
# @return void response from the API call
|
161
161
|
def delete_project id
|
162
162
|
# the base uri for api requests
|
@@ -175,7 +175,7 @@ module BatchlyApi
|
|
175
175
|
|
176
176
|
# prepare headers
|
177
177
|
headers = {
|
178
|
-
"user-agent" => "batchly/0.
|
178
|
+
"user-agent" => "batchly/0.7.1"
|
179
179
|
}
|
180
180
|
|
181
181
|
# append custom auth authorization
|
@@ -1,9 +1,9 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class RunsController
|
5
5
|
|
6
|
-
#
|
6
|
+
# TODO: type endpoint description here
|
7
7
|
# @return Array<RunModel> response from the API call
|
8
8
|
def list_runs
|
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/0.
|
20
|
+
"user-agent" => "batchly/0.7.1",
|
21
21
|
"accept" => "application/json"
|
22
22
|
}
|
23
23
|
|
@@ -35,10 +35,10 @@ module BatchlyApi
|
|
35
35
|
response.body
|
36
36
|
end
|
37
37
|
|
38
|
-
#
|
39
|
-
# @param [String] id Required parameter:
|
38
|
+
# TODO: type endpoint description here
|
39
|
+
# @param [String] id Required parameter: TODO: type description here
|
40
40
|
# @return RunModel response from the API call
|
41
|
-
def
|
41
|
+
def get_describe_run id
|
42
42
|
# the base uri for api requests
|
43
43
|
query_builder = Configuration.BASE_URI.dup
|
44
44
|
|
@@ -55,7 +55,7 @@ module BatchlyApi
|
|
55
55
|
|
56
56
|
# prepare headers
|
57
57
|
headers = {
|
58
|
-
"user-agent" => "batchly/0.
|
58
|
+
"user-agent" => "batchly/0.7.1",
|
59
59
|
"accept" => "application/json"
|
60
60
|
}
|
61
61
|
|
@@ -75,10 +75,10 @@ module BatchlyApi
|
|
75
75
|
response.body
|
76
76
|
end
|
77
77
|
|
78
|
-
#
|
79
|
-
# @param [String] id Required parameter:
|
78
|
+
# TODO: type endpoint description here
|
79
|
+
# @param [String] id Required parameter: TODO: type description here
|
80
80
|
# @return Boolean response from the API call
|
81
|
-
def
|
81
|
+
def update_stop_run id
|
82
82
|
# the base uri for api requests
|
83
83
|
query_builder = Configuration.BASE_URI.dup
|
84
84
|
|
@@ -95,7 +95,7 @@ module BatchlyApi
|
|
95
95
|
|
96
96
|
# prepare headers
|
97
97
|
headers = {
|
98
|
-
"user-agent" => "batchly/0.
|
98
|
+
"user-agent" => "batchly/0.7.1"
|
99
99
|
}
|
100
100
|
|
101
101
|
# append custom auth authorization
|
@@ -114,8 +114,8 @@ module BatchlyApi
|
|
114
114
|
response.body
|
115
115
|
end
|
116
116
|
|
117
|
-
#
|
118
|
-
# @param [String] id Required parameter:
|
117
|
+
# TODO: type endpoint description here
|
118
|
+
# @param [String] id Required parameter: TODO: type description here
|
119
119
|
# @return void response from the API call
|
120
120
|
def delete_run id
|
121
121
|
# the base uri for api requests
|
@@ -134,7 +134,7 @@ module BatchlyApi
|
|
134
134
|
|
135
135
|
# prepare headers
|
136
136
|
headers = {
|
137
|
-
"user-agent" => "batchly/0.
|
137
|
+
"user-agent" => "batchly/0.7.1"
|
138
138
|
}
|
139
139
|
|
140
140
|
# append custom auth authorization
|
@@ -1,21 +1,21 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class AddAwsAccountRequest
|
5
5
|
|
6
|
-
#
|
6
|
+
# TODO: Write general description for this method
|
7
7
|
# @return [String]
|
8
8
|
attr_accessor :name
|
9
9
|
|
10
|
-
#
|
10
|
+
# TODO: Write general description for this method
|
11
11
|
# @return [String]
|
12
12
|
attr_accessor :access_key
|
13
13
|
|
14
|
-
#
|
14
|
+
# TODO: Write general description for this method
|
15
15
|
# @return [String]
|
16
16
|
attr_accessor :secret_key
|
17
17
|
|
18
|
-
#
|
18
|
+
# TODO: Write general description for this method
|
19
19
|
# @return [String]
|
20
20
|
attr_accessor :base_region
|
21
21
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class AddProcessorRequest
|
@@ -8,11 +8,11 @@ module BatchlyApi
|
|
8
8
|
attr_accessor :account_id
|
9
9
|
|
10
10
|
# TODO: Write general description for this method
|
11
|
-
# @return [
|
11
|
+
# @return [OperatingSystem]
|
12
12
|
attr_accessor :operating_system
|
13
13
|
|
14
14
|
# TODO: Write general description for this method
|
15
|
-
# @return [
|
15
|
+
# @return [Language]
|
16
16
|
attr_accessor :language
|
17
17
|
|
18
18
|
# TODO: Write general description for this method
|
@@ -24,11 +24,11 @@ module BatchlyApi
|
|
24
24
|
attr_accessor :class_name
|
25
25
|
|
26
26
|
# TODO: Write general description for this method
|
27
|
-
# @return [
|
27
|
+
# @return [RequestType]
|
28
28
|
attr_accessor :request_type
|
29
29
|
|
30
30
|
# TODO: Write general description for this method
|
31
|
-
# @return [
|
31
|
+
# @return [ResponseType]
|
32
32
|
attr_accessor :response_type
|
33
33
|
|
34
34
|
# TODO: Write general description for this method
|
data/lib/batchly_api/models/{add_s_3_data_source_request.rb → add_s_3_data_store_request.rb}
RENAMED
@@ -1,13 +1,13 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
|
-
class
|
4
|
+
class AddS3DataStoreRequest
|
5
5
|
|
6
|
-
#
|
6
|
+
# TODO: Write general description for this method
|
7
7
|
# @return [String]
|
8
8
|
attr_accessor :bucket
|
9
9
|
|
10
|
-
#
|
10
|
+
# TODO: Write general description for this method
|
11
11
|
# @return [String]
|
12
12
|
attr_accessor :folder
|
13
13
|
|
@@ -1,37 +1,37 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class CreateJobRequest
|
5
5
|
|
6
|
-
#
|
6
|
+
# TODO: Write general description for this method
|
7
7
|
# @return [String]
|
8
8
|
attr_accessor :name
|
9
9
|
|
10
|
-
#
|
10
|
+
# TODO: Write general description for this method
|
11
11
|
# @return [String]
|
12
12
|
attr_accessor :project_id
|
13
13
|
|
14
|
-
#
|
14
|
+
# TODO: Write general description for this method
|
15
15
|
# @return [String]
|
16
16
|
attr_accessor :processor_id
|
17
17
|
|
18
|
-
#
|
18
|
+
# TODO: Write general description for this method
|
19
19
|
# @return [String]
|
20
20
|
attr_accessor :data_source_id
|
21
21
|
|
22
|
-
#
|
22
|
+
# TODO: Write general description for this method
|
23
23
|
# @return [String]
|
24
24
|
attr_accessor :parameter_group_id
|
25
25
|
|
26
|
-
#
|
26
|
+
# TODO: Write general description for this method
|
27
27
|
# @return [String]
|
28
28
|
attr_accessor :destination_id
|
29
29
|
|
30
|
-
#
|
30
|
+
# TODO: Write general description for this method
|
31
31
|
# @return [String]
|
32
32
|
attr_accessor :region
|
33
33
|
|
34
|
-
#
|
34
|
+
# TODO: Write general description for this method
|
35
35
|
# @return [Double]
|
36
36
|
attr_accessor :sla
|
37
37
|
|
@@ -1,17 +1,17 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class CreateProjectRequest
|
5
5
|
|
6
|
-
#
|
6
|
+
# TODO: Write general description for this method
|
7
7
|
# @return [String]
|
8
8
|
attr_accessor :account_id
|
9
9
|
|
10
|
-
#
|
10
|
+
# TODO: Write general description for this method
|
11
11
|
# @return [String]
|
12
12
|
attr_accessor :name
|
13
13
|
|
14
|
-
#
|
14
|
+
# TODO: Write general description for this method
|
15
15
|
# @return [VpcDetails]
|
16
16
|
attr_accessor :vpc
|
17
17
|
|
@@ -1,9 +1,9 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
require 'batchly_api/models/base_string_enum'
|
4
4
|
|
5
5
|
module BatchlyApi
|
6
|
-
class
|
6
|
+
class Language < BaseStringEnum
|
7
7
|
|
8
8
|
# TODO: Write general description for this element
|
9
9
|
enum_attr :NONE, 'None'
|
@@ -1,9 +1,9 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
require 'batchly_api/models/base_string_enum'
|
4
4
|
|
5
5
|
module BatchlyApi
|
6
|
-
class
|
6
|
+
class OperatingSystem < BaseStringEnum
|
7
7
|
|
8
8
|
# TODO: Write general description for this element
|
9
9
|
enum_attr :NONE, 'None'
|
@@ -1,9 +1,9 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
require 'batchly_api/models/base_string_enum'
|
4
4
|
|
5
5
|
module BatchlyApi
|
6
|
-
class
|
6
|
+
class RequestType < BaseStringEnum
|
7
7
|
|
8
8
|
# TODO: Write general description for this element
|
9
9
|
enum_attr :CSV, 'CSV'
|
@@ -1,9 +1,9 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
require 'batchly_api/models/base_string_enum'
|
4
4
|
|
5
5
|
module BatchlyApi
|
6
|
-
class
|
6
|
+
class ResponseType < BaseStringEnum
|
7
7
|
|
8
8
|
# TODO: Write general description for this element
|
9
9
|
enum_attr :DB, 'Db'
|
@@ -1,13 +1,13 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class UpdateProjectRequest
|
5
5
|
|
6
|
-
#
|
6
|
+
# TODO: Write general description for this method
|
7
7
|
# @return [String]
|
8
8
|
attr_accessor :name
|
9
9
|
|
10
|
-
#
|
10
|
+
# TODO: Write general description for this method
|
11
11
|
# @return [VpcDetails]
|
12
12
|
attr_accessor :vpc
|
13
13
|
|
@@ -1,17 +1,17 @@
|
|
1
|
-
# This file was automatically generated for
|
1
|
+
# This file was automatically generated for batchly_api by APIMATIC BETA v2.0 on 02/18/2016
|
2
2
|
|
3
3
|
module BatchlyApi
|
4
4
|
class VpcDetails
|
5
5
|
|
6
|
-
#
|
6
|
+
# TODO: Write general description for this method
|
7
7
|
# @return [String]
|
8
8
|
attr_accessor :vpc_id
|
9
9
|
|
10
|
-
#
|
10
|
+
# TODO: Write general description for this method
|
11
11
|
# @return [Array<String>]
|
12
12
|
attr_accessor :subnet_ids
|
13
13
|
|
14
|
-
#
|
14
|
+
# TODO: Write general description for this method
|
15
15
|
# @return [String]
|
16
16
|
attr_accessor :region
|
17
17
|
|
metadata
CHANGED
@@ -1,36 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: batchly_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Batchly Support
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: unirest
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.1'
|
20
17
|
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 1.1.2
|
20
|
+
- - "~>"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '1.1'
|
30
27
|
- - ">="
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: 1.1.2
|
33
|
-
|
30
|
+
- - "~>"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '1.1'
|
33
|
+
description: API SDK allows access to the batchly endpoint data
|
34
34
|
email: support@batchly.net
|
35
35
|
executables: []
|
36
36
|
extensions: []
|
@@ -43,7 +43,7 @@ files:
|
|
43
43
|
- lib/batchly_api/api_helper.rb
|
44
44
|
- lib/batchly_api/configuration.rb
|
45
45
|
- lib/batchly_api/controllers/accounts_controller.rb
|
46
|
-
- lib/batchly_api/controllers/
|
46
|
+
- lib/batchly_api/controllers/data_stores_controller.rb
|
47
47
|
- lib/batchly_api/controllers/jobs_controller.rb
|
48
48
|
- lib/batchly_api/controllers/processors_controller.rb
|
49
49
|
- lib/batchly_api/controllers/projects_controller.rb
|
@@ -52,21 +52,21 @@ files:
|
|
52
52
|
- lib/batchly_api/models/add_aws_account_request.rb
|
53
53
|
- lib/batchly_api/models/add_parameter_group_request.rb
|
54
54
|
- lib/batchly_api/models/add_processor_request.rb
|
55
|
-
- lib/batchly_api/models/
|
55
|
+
- lib/batchly_api/models/add_s_3_data_store_request.rb
|
56
56
|
- lib/batchly_api/models/base_string_enum.rb
|
57
57
|
- lib/batchly_api/models/create_job_request.rb
|
58
58
|
- lib/batchly_api/models/create_project_request.rb
|
59
59
|
- lib/batchly_api/models/custom_image.rb
|
60
60
|
- lib/batchly_api/models/execute_job_request.rb
|
61
61
|
- lib/batchly_api/models/key_value_pair_string_string.rb
|
62
|
-
- lib/batchly_api/models/
|
63
|
-
- lib/batchly_api/models/
|
62
|
+
- lib/batchly_api/models/language.rb
|
63
|
+
- lib/batchly_api/models/operating_system.rb
|
64
64
|
- lib/batchly_api/models/parameter.rb
|
65
|
-
- lib/batchly_api/models/
|
66
|
-
- lib/batchly_api/models/
|
65
|
+
- lib/batchly_api/models/request_type.rb
|
66
|
+
- lib/batchly_api/models/response_type.rb
|
67
67
|
- lib/batchly_api/models/update_project_request.rb
|
68
68
|
- lib/batchly_api/models/vpc_details.rb
|
69
|
-
homepage: http://
|
69
|
+
homepage: http://www.batchly.net
|
70
70
|
licenses:
|
71
71
|
- MIT
|
72
72
|
metadata: {}
|
@@ -89,5 +89,5 @@ rubyforge_project:
|
|
89
89
|
rubygems_version: 2.4.5.1
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
|
-
summary:
|
92
|
+
summary: API SDK for Batchly Platform
|
93
93
|
test_files: []
|