autosde_openapi_client 1.1.25 → 1.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -2
- data/docs/Job.md +0 -2
- data/docs/JobApi.md +0 -136
- data/docs/JobCreate.md +2 -2
- data/lib/autosde_openapi_client/api/job_api.rb +0 -118
- data/lib/autosde_openapi_client/models/job.rb +1 -11
- data/lib/autosde_openapi_client/models/job_create.rb +8 -8
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/spec/api/job_api_spec.rb +0 -20
- data/spec/models/job_create_spec.rb +1 -1
- data/spec/models/job_spec.rb +0 -6
- metadata +76 -76
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e443ae5897a2f748e43b2cc64c3a6edd3926d6c3c69bcb6171dfbc7b6e1ada5
|
4
|
+
data.tar.gz: 74dd7fe5014e0f1d6ad531fa66888546a5349f70c8c4f63509b65136c49c0616
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1c3a2f4c666abac42ff8da0c3d340e611cf2bbc04f343377d62fa485ce98d50ce87e2472115a07cc56066ae4eb43817286cdaf9285e860edeb3550e322a3e35
|
7
|
+
data.tar.gz: 9b6a4b2953ff4f884e55b2e285d0ba788d9fb2e80fc7eda3fd41164000c44cb668b865bb0fb4dd28c189a2d7347d44c803c46766841dd5052a9aa8a7dc5f8831
|
data/README.md
CHANGED
@@ -130,8 +130,6 @@ Class | Method | HTTP request | Description
|
|
130
130
|
*AutosdeOpenapiClient::HostVolumeConnectionApi* | [**host_volume_connection_pk_get**](docs/HostVolumeConnectionApi.md#host_volume_connection_pk_get) | **GET** /host-volume-connection/{pk} |
|
131
131
|
*AutosdeOpenapiClient::HostVolumeConnectionApi* | [**host_volume_connection_post**](docs/HostVolumeConnectionApi.md#host_volume_connection_post) | **POST** /host-volume-connection |
|
132
132
|
*AutosdeOpenapiClient::JobApi* | [**jobs_get**](docs/JobApi.md#jobs_get) | **GET** /jobs |
|
133
|
-
*AutosdeOpenapiClient::JobApi* | [**jobs_pk_delete**](docs/JobApi.md#jobs_pk_delete) | **DELETE** /jobs/{pk} |
|
134
|
-
*AutosdeOpenapiClient::JobApi* | [**jobs_pk_get**](docs/JobApi.md#jobs_pk_get) | **GET** /jobs/{pk} |
|
135
133
|
*AutosdeOpenapiClient::JobApi* | [**jobs_post**](docs/JobApi.md#jobs_post) | **POST** /jobs |
|
136
134
|
*AutosdeOpenapiClient::NativeCapabilityApi* | [**native_capabilities_get**](docs/NativeCapabilityApi.md#native_capabilities_get) | **GET** /native-capabilities |
|
137
135
|
*AutosdeOpenapiClient::NativeCapabilityApi* | [**native_capabilities_pk_delete**](docs/NativeCapabilityApi.md#native_capabilities_pk_delete) | **DELETE** /native-capabilities/{pk} |
|
data/docs/Job.md
CHANGED
@@ -6,7 +6,6 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **date_finished** | **Time** | date_finished | [optional] |
|
8
8
|
| **date_started** | **Time** | date_started | [optional] |
|
9
|
-
| **extra** | **String** | extra | [optional] |
|
10
9
|
| **status** | **String** | status | [optional] |
|
11
10
|
| **task_args** | **String** | task_args | [optional] |
|
12
11
|
| **task_id** | **String** | task_id | [optional] |
|
@@ -21,7 +20,6 @@ require 'autosde_openapi_client'
|
|
21
20
|
instance = AutosdeOpenapiClient::Job.new(
|
22
21
|
date_finished: null,
|
23
22
|
date_started: null,
|
24
|
-
extra: null,
|
25
23
|
status: null,
|
26
24
|
task_args: null,
|
27
25
|
task_id: null,
|
data/docs/JobApi.md
CHANGED
@@ -5,8 +5,6 @@ All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**jobs_get**](JobApi.md#jobs_get) | **GET** /jobs | |
|
8
|
-
| [**jobs_pk_delete**](JobApi.md#jobs_pk_delete) | **DELETE** /jobs/{pk} | |
|
9
|
-
| [**jobs_pk_get**](JobApi.md#jobs_pk_get) | **GET** /jobs/{pk} | |
|
10
8
|
| [**jobs_post**](JobApi.md#jobs_post) | **POST** /jobs | |
|
11
9
|
|
12
10
|
|
@@ -74,140 +72,6 @@ This endpoint does not need any parameter.
|
|
74
72
|
- **Accept**: */*
|
75
73
|
|
76
74
|
|
77
|
-
## jobs_pk_delete
|
78
|
-
|
79
|
-
> <Array<Job>> jobs_pk_delete(pk)
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
### Examples
|
84
|
-
|
85
|
-
```ruby
|
86
|
-
require 'time'
|
87
|
-
require 'autosde_openapi_client'
|
88
|
-
# setup authorization
|
89
|
-
AutosdeOpenapiClient.configure do |config|
|
90
|
-
# Configure Bearer authorization: bearerAuth
|
91
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
92
|
-
end
|
93
|
-
|
94
|
-
api_instance = AutosdeOpenapiClient::JobApi.new
|
95
|
-
pk = 56 # Integer |
|
96
|
-
|
97
|
-
begin
|
98
|
-
|
99
|
-
result = api_instance.jobs_pk_delete(pk)
|
100
|
-
p result
|
101
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
102
|
-
puts "Error when calling JobApi->jobs_pk_delete: #{e}"
|
103
|
-
end
|
104
|
-
```
|
105
|
-
|
106
|
-
#### Using the jobs_pk_delete_with_http_info variant
|
107
|
-
|
108
|
-
This returns an Array which contains the response data, status code and headers.
|
109
|
-
|
110
|
-
> <Array(<Array<Job>>, Integer, Hash)> jobs_pk_delete_with_http_info(pk)
|
111
|
-
|
112
|
-
```ruby
|
113
|
-
begin
|
114
|
-
|
115
|
-
data, status_code, headers = api_instance.jobs_pk_delete_with_http_info(pk)
|
116
|
-
p status_code # => 2xx
|
117
|
-
p headers # => { ... }
|
118
|
-
p data # => <Array<Job>>
|
119
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
120
|
-
puts "Error when calling JobApi->jobs_pk_delete_with_http_info: #{e}"
|
121
|
-
end
|
122
|
-
```
|
123
|
-
|
124
|
-
### Parameters
|
125
|
-
|
126
|
-
| Name | Type | Description | Notes |
|
127
|
-
| ---- | ---- | ----------- | ----- |
|
128
|
-
| **pk** | **Integer** | | |
|
129
|
-
|
130
|
-
### Return type
|
131
|
-
|
132
|
-
[**Array<Job>**](Job.md)
|
133
|
-
|
134
|
-
### Authorization
|
135
|
-
|
136
|
-
[bearerAuth](../README.md#bearerAuth)
|
137
|
-
|
138
|
-
### HTTP request headers
|
139
|
-
|
140
|
-
- **Content-Type**: Not defined
|
141
|
-
- **Accept**: */*
|
142
|
-
|
143
|
-
|
144
|
-
## jobs_pk_get
|
145
|
-
|
146
|
-
> <Array<Job>> jobs_pk_get(pk)
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
### Examples
|
151
|
-
|
152
|
-
```ruby
|
153
|
-
require 'time'
|
154
|
-
require 'autosde_openapi_client'
|
155
|
-
# setup authorization
|
156
|
-
AutosdeOpenapiClient.configure do |config|
|
157
|
-
# Configure Bearer authorization: bearerAuth
|
158
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
159
|
-
end
|
160
|
-
|
161
|
-
api_instance = AutosdeOpenapiClient::JobApi.new
|
162
|
-
pk = 56 # Integer |
|
163
|
-
|
164
|
-
begin
|
165
|
-
|
166
|
-
result = api_instance.jobs_pk_get(pk)
|
167
|
-
p result
|
168
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
169
|
-
puts "Error when calling JobApi->jobs_pk_get: #{e}"
|
170
|
-
end
|
171
|
-
```
|
172
|
-
|
173
|
-
#### Using the jobs_pk_get_with_http_info variant
|
174
|
-
|
175
|
-
This returns an Array which contains the response data, status code and headers.
|
176
|
-
|
177
|
-
> <Array(<Array<Job>>, Integer, Hash)> jobs_pk_get_with_http_info(pk)
|
178
|
-
|
179
|
-
```ruby
|
180
|
-
begin
|
181
|
-
|
182
|
-
data, status_code, headers = api_instance.jobs_pk_get_with_http_info(pk)
|
183
|
-
p status_code # => 2xx
|
184
|
-
p headers # => { ... }
|
185
|
-
p data # => <Array<Job>>
|
186
|
-
rescue AutosdeOpenapiClient::ApiError => e
|
187
|
-
puts "Error when calling JobApi->jobs_pk_get_with_http_info: #{e}"
|
188
|
-
end
|
189
|
-
```
|
190
|
-
|
191
|
-
### Parameters
|
192
|
-
|
193
|
-
| Name | Type | Description | Notes |
|
194
|
-
| ---- | ---- | ----------- | ----- |
|
195
|
-
| **pk** | **Integer** | | |
|
196
|
-
|
197
|
-
### Return type
|
198
|
-
|
199
|
-
[**Array<Job>**](Job.md)
|
200
|
-
|
201
|
-
### Authorization
|
202
|
-
|
203
|
-
[bearerAuth](../README.md#bearerAuth)
|
204
|
-
|
205
|
-
### HTTP request headers
|
206
|
-
|
207
|
-
- **Content-Type**: Not defined
|
208
|
-
- **Accept**: */*
|
209
|
-
|
210
|
-
|
211
75
|
## jobs_post
|
212
76
|
|
213
77
|
> <Job> jobs_post(job_create)
|
data/docs/JobCreate.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **task_args** | **String** | task_args | [optional] |
|
8
8
|
| **task_name** | **String** | task_name | [optional] |
|
9
9
|
|
10
10
|
## Example
|
@@ -13,7 +13,7 @@
|
|
13
13
|
require 'autosde_openapi_client'
|
14
14
|
|
15
15
|
instance = AutosdeOpenapiClient::JobCreate.new(
|
16
|
-
|
16
|
+
task_args: null,
|
17
17
|
task_name: null
|
18
18
|
)
|
19
19
|
```
|
@@ -72,124 +72,6 @@ module AutosdeOpenapiClient
|
|
72
72
|
return data, status_code, headers
|
73
73
|
end
|
74
74
|
|
75
|
-
# @param pk [Integer]
|
76
|
-
# @param [Hash] opts the optional parameters
|
77
|
-
# @return [Array<Job>]
|
78
|
-
def jobs_pk_delete(pk, opts = {})
|
79
|
-
data, _status_code, _headers = jobs_pk_delete_with_http_info(pk, opts)
|
80
|
-
data
|
81
|
-
end
|
82
|
-
|
83
|
-
# @param pk [Integer]
|
84
|
-
# @param [Hash] opts the optional parameters
|
85
|
-
# @return [Array<(Array<Job>, Integer, Hash)>] Array<Job> data, response status code and response headers
|
86
|
-
def jobs_pk_delete_with_http_info(pk, opts = {})
|
87
|
-
if @api_client.config.debugging
|
88
|
-
@api_client.config.logger.debug 'Calling API: JobApi.jobs_pk_delete ...'
|
89
|
-
end
|
90
|
-
# verify the required parameter 'pk' is set
|
91
|
-
if @api_client.config.client_side_validation && pk.nil?
|
92
|
-
fail ArgumentError, "Missing the required parameter 'pk' when calling JobApi.jobs_pk_delete"
|
93
|
-
end
|
94
|
-
# resource path
|
95
|
-
local_var_path = '/jobs/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
|
96
|
-
|
97
|
-
# query parameters
|
98
|
-
query_params = opts[:query_params] || {}
|
99
|
-
|
100
|
-
# header parameters
|
101
|
-
header_params = opts[:header_params] || {}
|
102
|
-
# HTTP header 'Accept' (if needed)
|
103
|
-
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
104
|
-
|
105
|
-
# form parameters
|
106
|
-
form_params = opts[:form_params] || {}
|
107
|
-
|
108
|
-
# http body (model)
|
109
|
-
post_body = opts[:debug_body]
|
110
|
-
|
111
|
-
# return_type
|
112
|
-
return_type = opts[:debug_return_type] || 'Array<Job>'
|
113
|
-
|
114
|
-
# auth_names
|
115
|
-
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
116
|
-
|
117
|
-
new_options = opts.merge(
|
118
|
-
:operation => :"JobApi.jobs_pk_delete",
|
119
|
-
:header_params => header_params,
|
120
|
-
:query_params => query_params,
|
121
|
-
:form_params => form_params,
|
122
|
-
:body => post_body,
|
123
|
-
:auth_names => auth_names,
|
124
|
-
:return_type => return_type
|
125
|
-
)
|
126
|
-
|
127
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
128
|
-
if @api_client.config.debugging
|
129
|
-
@api_client.config.logger.debug "API called: JobApi#jobs_pk_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
130
|
-
end
|
131
|
-
return data, status_code, headers
|
132
|
-
end
|
133
|
-
|
134
|
-
# @param pk [Integer]
|
135
|
-
# @param [Hash] opts the optional parameters
|
136
|
-
# @return [Array<Job>]
|
137
|
-
def jobs_pk_get(pk, opts = {})
|
138
|
-
data, _status_code, _headers = jobs_pk_get_with_http_info(pk, opts)
|
139
|
-
data
|
140
|
-
end
|
141
|
-
|
142
|
-
# @param pk [Integer]
|
143
|
-
# @param [Hash] opts the optional parameters
|
144
|
-
# @return [Array<(Array<Job>, Integer, Hash)>] Array<Job> data, response status code and response headers
|
145
|
-
def jobs_pk_get_with_http_info(pk, opts = {})
|
146
|
-
if @api_client.config.debugging
|
147
|
-
@api_client.config.logger.debug 'Calling API: JobApi.jobs_pk_get ...'
|
148
|
-
end
|
149
|
-
# verify the required parameter 'pk' is set
|
150
|
-
if @api_client.config.client_side_validation && pk.nil?
|
151
|
-
fail ArgumentError, "Missing the required parameter 'pk' when calling JobApi.jobs_pk_get"
|
152
|
-
end
|
153
|
-
# resource path
|
154
|
-
local_var_path = '/jobs/{pk}'.sub('{' + 'pk' + '}', CGI.escape(pk.to_s))
|
155
|
-
|
156
|
-
# query parameters
|
157
|
-
query_params = opts[:query_params] || {}
|
158
|
-
|
159
|
-
# header parameters
|
160
|
-
header_params = opts[:header_params] || {}
|
161
|
-
# HTTP header 'Accept' (if needed)
|
162
|
-
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
163
|
-
|
164
|
-
# form parameters
|
165
|
-
form_params = opts[:form_params] || {}
|
166
|
-
|
167
|
-
# http body (model)
|
168
|
-
post_body = opts[:debug_body]
|
169
|
-
|
170
|
-
# return_type
|
171
|
-
return_type = opts[:debug_return_type] || 'Array<Job>'
|
172
|
-
|
173
|
-
# auth_names
|
174
|
-
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
175
|
-
|
176
|
-
new_options = opts.merge(
|
177
|
-
:operation => :"JobApi.jobs_pk_get",
|
178
|
-
:header_params => header_params,
|
179
|
-
:query_params => query_params,
|
180
|
-
:form_params => form_params,
|
181
|
-
:body => post_body,
|
182
|
-
:auth_names => auth_names,
|
183
|
-
:return_type => return_type
|
184
|
-
)
|
185
|
-
|
186
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
187
|
-
if @api_client.config.debugging
|
188
|
-
@api_client.config.logger.debug "API called: JobApi#jobs_pk_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
189
|
-
end
|
190
|
-
return data, status_code, headers
|
191
|
-
end
|
192
|
-
|
193
75
|
# @param job_create [JobCreate]
|
194
76
|
# @param [Hash] opts the optional parameters
|
195
77
|
# @return [Job]
|
@@ -22,9 +22,6 @@ module AutosdeOpenapiClient
|
|
22
22
|
# date_started
|
23
23
|
attr_accessor :date_started
|
24
24
|
|
25
|
-
# extra
|
26
|
-
attr_accessor :extra
|
27
|
-
|
28
25
|
# status
|
29
26
|
attr_accessor :status
|
30
27
|
|
@@ -45,7 +42,6 @@ module AutosdeOpenapiClient
|
|
45
42
|
{
|
46
43
|
:'date_finished' => :'date_finished',
|
47
44
|
:'date_started' => :'date_started',
|
48
|
-
:'extra' => :'extra',
|
49
45
|
:'status' => :'status',
|
50
46
|
:'task_args' => :'task_args',
|
51
47
|
:'task_id' => :'task_id',
|
@@ -64,7 +60,6 @@ module AutosdeOpenapiClient
|
|
64
60
|
{
|
65
61
|
:'date_finished' => :'Time',
|
66
62
|
:'date_started' => :'Time',
|
67
|
-
:'extra' => :'String',
|
68
63
|
:'status' => :'String',
|
69
64
|
:'task_args' => :'String',
|
70
65
|
:'task_id' => :'String',
|
@@ -102,10 +97,6 @@ module AutosdeOpenapiClient
|
|
102
97
|
self.date_started = attributes[:'date_started']
|
103
98
|
end
|
104
99
|
|
105
|
-
if attributes.key?(:'extra')
|
106
|
-
self.extra = attributes[:'extra']
|
107
|
-
end
|
108
|
-
|
109
100
|
if attributes.key?(:'status')
|
110
101
|
self.status = attributes[:'status']
|
111
102
|
end
|
@@ -147,7 +138,6 @@ module AutosdeOpenapiClient
|
|
147
138
|
self.class == o.class &&
|
148
139
|
date_finished == o.date_finished &&
|
149
140
|
date_started == o.date_started &&
|
150
|
-
extra == o.extra &&
|
151
141
|
status == o.status &&
|
152
142
|
task_args == o.task_args &&
|
153
143
|
task_id == o.task_id &&
|
@@ -164,7 +154,7 @@ module AutosdeOpenapiClient
|
|
164
154
|
# Calculates hash code according to all attributes.
|
165
155
|
# @return [Integer] Hash code
|
166
156
|
def hash
|
167
|
-
[date_finished, date_started,
|
157
|
+
[date_finished, date_started, status, task_args, task_id, task_kwargs, task_name].hash
|
168
158
|
end
|
169
159
|
|
170
160
|
# Builds the object from hash
|
@@ -16,8 +16,8 @@ require 'time'
|
|
16
16
|
module AutosdeOpenapiClient
|
17
17
|
# JobCreate
|
18
18
|
class JobCreate
|
19
|
-
#
|
20
|
-
attr_accessor :
|
19
|
+
# task_args
|
20
|
+
attr_accessor :task_args
|
21
21
|
|
22
22
|
# task_name
|
23
23
|
attr_accessor :task_name
|
@@ -25,7 +25,7 @@ module AutosdeOpenapiClient
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
26
|
def self.attribute_map
|
27
27
|
{
|
28
|
-
:'
|
28
|
+
:'task_args' => :'task_args',
|
29
29
|
:'task_name' => :'task_name'
|
30
30
|
}
|
31
31
|
end
|
@@ -38,7 +38,7 @@ module AutosdeOpenapiClient
|
|
38
38
|
# Attribute type mapping.
|
39
39
|
def self.openapi_types
|
40
40
|
{
|
41
|
-
:'
|
41
|
+
:'task_args' => :'String',
|
42
42
|
:'task_name' => :'String'
|
43
43
|
}
|
44
44
|
end
|
@@ -64,8 +64,8 @@ module AutosdeOpenapiClient
|
|
64
64
|
h[k.to_sym] = v
|
65
65
|
}
|
66
66
|
|
67
|
-
if attributes.key?(:'
|
68
|
-
self.
|
67
|
+
if attributes.key?(:'task_args')
|
68
|
+
self.task_args = attributes[:'task_args']
|
69
69
|
end
|
70
70
|
|
71
71
|
if attributes.key?(:'task_name')
|
@@ -91,7 +91,7 @@ module AutosdeOpenapiClient
|
|
91
91
|
def ==(o)
|
92
92
|
return true if self.equal?(o)
|
93
93
|
self.class == o.class &&
|
94
|
-
|
94
|
+
task_args == o.task_args &&
|
95
95
|
task_name == o.task_name
|
96
96
|
end
|
97
97
|
|
@@ -104,7 +104,7 @@ module AutosdeOpenapiClient
|
|
104
104
|
# Calculates hash code according to all attributes.
|
105
105
|
# @return [Integer] Hash code
|
106
106
|
def hash
|
107
|
-
[
|
107
|
+
[task_args, task_name].hash
|
108
108
|
end
|
109
109
|
|
110
110
|
# Builds the object from hash
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Site Manager API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.1.
|
6
|
+
The version of the OpenAPI document: 1.1.26
|
7
7
|
Contact: autosde@il.ibm.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module AutosdeOpenapiClient
|
14
|
-
VERSION = '1.1.
|
14
|
+
VERSION = '1.1.26'
|
15
15
|
end
|
data/spec/api/job_api_spec.rb
CHANGED
@@ -41,26 +41,6 @@ describe 'JobApi' do
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
-
# unit tests for jobs_pk_delete
|
45
|
-
# @param pk
|
46
|
-
# @param [Hash] opts the optional parameters
|
47
|
-
# @return [Array<Job>]
|
48
|
-
describe 'jobs_pk_delete test' do
|
49
|
-
it 'should work' do
|
50
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
# unit tests for jobs_pk_get
|
55
|
-
# @param pk
|
56
|
-
# @param [Hash] opts the optional parameters
|
57
|
-
# @return [Array<Job>]
|
58
|
-
describe 'jobs_pk_get test' do
|
59
|
-
it 'should work' do
|
60
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
44
|
# unit tests for jobs_post
|
65
45
|
# @param job_create
|
66
46
|
# @param [Hash] opts the optional parameters
|
@@ -25,7 +25,7 @@ describe AutosdeOpenapiClient::JobCreate do
|
|
25
25
|
expect(instance).to be_instance_of(AutosdeOpenapiClient::JobCreate)
|
26
26
|
end
|
27
27
|
end
|
28
|
-
describe 'test attribute "
|
28
|
+
describe 'test attribute "task_args"' do
|
29
29
|
it 'should work' do
|
30
30
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
31
|
end
|
data/spec/models/job_spec.rb
CHANGED
@@ -37,12 +37,6 @@ describe AutosdeOpenapiClient::Job do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
-
describe 'test attribute "extra"' do
|
41
|
-
it 'should work' do
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
40
|
describe 'test attribute "status"' do
|
47
41
|
it 'should work' do
|
48
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autosde_openapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
@@ -374,99 +374,99 @@ signing_key:
|
|
374
374
|
specification_version: 4
|
375
375
|
summary: Site Manager API Ruby Gem
|
376
376
|
test_files:
|
377
|
-
- spec/api/
|
378
|
-
- spec/api/
|
377
|
+
- spec/api/volume_safe_delete_api_spec.rb
|
378
|
+
- spec/api/auto_sde_project_api_spec.rb
|
379
|
+
- spec/api/job_api_spec.rb
|
380
|
+
- spec/api/profile_api_spec.rb
|
381
|
+
- spec/api/refresh_system_api_spec.rb
|
379
382
|
- spec/api/account_api_spec.rb
|
380
|
-
- spec/api/
|
381
|
-
- spec/api/storage_host_volume_mapping_api_spec.rb
|
382
|
-
- spec/api/provisioning_strategy_api_spec.rb
|
383
|
+
- spec/api/validate_system_api_spec.rb
|
383
384
|
- spec/api/capability_translation_api_spec.rb
|
384
|
-
- spec/api/
|
385
|
-
- spec/api/
|
385
|
+
- spec/api/storage_host_api_spec.rb
|
386
|
+
- spec/api/host_volume_connection_api_spec.rb
|
387
|
+
- spec/api/storage_resource_api_spec.rb
|
386
388
|
- spec/api/volume_api_spec.rb
|
387
|
-
- spec/api/
|
388
|
-
- spec/api/
|
389
|
-
- spec/api/
|
389
|
+
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
390
|
+
- spec/api/authentication_api_spec.rb
|
391
|
+
- spec/api/service_api_spec.rb
|
392
|
+
- spec/api/native_capability_api_spec.rb
|
393
|
+
- spec/api/snapshot_api_spec.rb
|
394
|
+
- spec/api/host_api_spec.rb
|
395
|
+
- spec/api/abstract_capability_api_spec.rb
|
390
396
|
- spec/api/service_resource_attachment_api_spec.rb
|
391
397
|
- spec/api/event_api_spec.rb
|
392
|
-
- spec/api/storage_system_api_spec.rb
|
393
|
-
- spec/api/auto_sde_project_api_spec.rb
|
394
|
-
- spec/api/system_type_api_spec.rb
|
395
|
-
- spec/api/abstract_capability_api_spec.rb
|
396
|
-
- spec/api/storage_host_api_spec.rb
|
397
|
-
- spec/api/host_cluster_membership_api_spec.rb
|
398
398
|
- spec/api/user_api_spec.rb
|
399
|
-
- spec/api/
|
400
|
-
- spec/api/
|
401
|
-
- spec/api/validate_system_api_spec.rb
|
402
|
-
- spec/api/native_capability_api_spec.rb
|
399
|
+
- spec/api/system_type_api_spec.rb
|
400
|
+
- spec/api/provisioning_strategy_api_spec.rb
|
403
401
|
- spec/api/auto_sde_role_api_spec.rb
|
404
|
-
- spec/api/
|
405
|
-
- spec/api/storage_resource_api_spec.rb
|
402
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
406
403
|
- spec/api/host_cluster_api_spec.rb
|
407
|
-
- spec/api/
|
404
|
+
- spec/api/storage_host_volume_mapping_api_spec.rb
|
405
|
+
- spec/api/address_api_spec.rb
|
406
|
+
- spec/api/storage_system_api_spec.rb
|
407
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
408
408
|
- spec/api_client_spec.rb
|
409
409
|
- spec/configuration_spec.rb
|
410
|
-
- spec/models/
|
411
|
-
- spec/models/
|
410
|
+
- spec/models/auth_response_spec.rb
|
411
|
+
- spec/models/service_spec.rb
|
412
|
+
- spec/models/snapshot_spec.rb
|
413
|
+
- spec/models/host_cluster_membership_spec.rb
|
414
|
+
- spec/models/system_type_create_spec.rb
|
415
|
+
- spec/models/job_create_spec.rb
|
416
|
+
- spec/models/abstract_capability_spec.rb
|
417
|
+
- spec/models/storage_resource_create_spec.rb
|
418
|
+
- spec/models/host_cluster_create_spec.rb
|
412
419
|
- spec/models/host_spec.rb
|
420
|
+
- spec/models/auto_sde_project_spec.rb
|
421
|
+
- spec/models/native_capability_spec.rb
|
422
|
+
- spec/models/service_create_spec.rb
|
423
|
+
- spec/models/auto_sde_role_spec.rb
|
424
|
+
- spec/models/storage_system_update_spec.rb
|
425
|
+
- spec/models/storage_host_volume_mapping_response_spec.rb
|
426
|
+
- spec/models/host_cluster_spec.rb
|
413
427
|
- spec/models/storage_host_volume_mapping_create_spec.rb
|
414
|
-
- spec/models/
|
415
|
-
- spec/models/
|
416
|
-
- spec/models/
|
417
|
-
- spec/models/
|
428
|
+
- spec/models/host_volume_connection_create_spec.rb
|
429
|
+
- spec/models/system_type_spec.rb
|
430
|
+
- spec/models/service_resource_attachment_spec.rb
|
431
|
+
- spec/models/capability_translation_spec.rb
|
432
|
+
- spec/models/account_post_request_spec.rb
|
433
|
+
- spec/models/address_spec.rb
|
418
434
|
- spec/models/provisioning_strategy_spec.rb
|
419
|
-
- spec/models/event_spec.rb
|
420
|
-
- spec/models/host_cluster_membership_spec.rb
|
421
435
|
- spec/models/refresh_system_spec.rb
|
422
|
-
- spec/models/
|
423
|
-
- spec/models/
|
436
|
+
- spec/models/profile_spec.rb
|
437
|
+
- spec/models/volume_create_spec.rb
|
438
|
+
- spec/models/volume_update_spec.rb
|
439
|
+
- spec/models/volume_safe_delete_create_spec.rb
|
440
|
+
- spec/models/storage_system_create_spec.rb
|
441
|
+
- spec/models/storage_resource_response_spec.rb
|
442
|
+
- spec/models/snapshot_create_spec.rb
|
424
443
|
- spec/models/storage_host_volume_mapping_spec.rb
|
425
|
-
- spec/models/volume_safe_delete_spec.rb
|
426
|
-
- spec/models/host_create_spec.rb
|
427
|
-
- spec/models/job_spec.rb
|
428
|
-
- spec/models/host_cluster_create_spec.rb
|
429
|
-
- spec/models/account_spec.rb
|
430
|
-
- spec/models/storage_system_spec.rb
|
431
|
-
- spec/models/storage_resource_create_spec.rb
|
432
|
-
- spec/models/auto_sde_role_spec.rb
|
433
|
-
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
434
444
|
- spec/models/authentication_spec.rb
|
435
|
-
- spec/models/
|
436
|
-
- spec/models/
|
437
|
-
- spec/models/
|
438
|
-
- spec/models/
|
439
|
-
- spec/models/native_capability_spec.rb
|
440
|
-
- spec/models/job_create_spec.rb
|
441
|
-
- spec/models/storage_resource_spec.rb
|
442
|
-
- spec/models/storage_resource_response_spec.rb
|
443
|
-
- spec/models/snapshot_spec.rb
|
444
|
-
- spec/models/volume_safe_delete_create_spec.rb
|
445
|
-
- spec/models/storage_host_update_spec.rb
|
446
|
-
- spec/models/service_create_spec.rb
|
447
|
-
- spec/models/host_cluster_response_spec.rb
|
448
|
-
- spec/models/host_volume_connection_create_spec.rb
|
445
|
+
- spec/models/volume_response_spec.rb
|
446
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
447
|
+
- spec/models/host_create_spec.rb
|
448
|
+
- spec/models/event_spec.rb
|
449
449
|
- spec/models/capability_translation_create_spec.rb
|
450
|
-
- spec/models/
|
451
|
-
- spec/models/
|
452
|
-
- spec/models/
|
453
|
-
- spec/models/
|
454
|
-
- spec/models/
|
450
|
+
- spec/models/storage_host_response_spec.rb
|
451
|
+
- spec/models/host_volume_connection_spec.rb
|
452
|
+
- spec/models/storage_system_spec.rb
|
453
|
+
- spec/models/storage_host_create_spec.rb
|
454
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
455
455
|
- spec/models/user_spec.rb
|
456
|
-
- spec/models/
|
457
|
-
- spec/models/
|
458
|
-
- spec/models/
|
456
|
+
- spec/models/job_spec.rb
|
457
|
+
- spec/models/account_post_response_spec.rb
|
458
|
+
- spec/models/host_cluster_response_spec.rb
|
459
459
|
- spec/models/storage_host_wwpn_candidates_spec.rb
|
460
|
-
- spec/models/
|
461
|
-
- spec/models/
|
462
|
-
- spec/models/
|
463
|
-
- spec/models/
|
460
|
+
- spec/models/user_update_spec.rb
|
461
|
+
- spec/models/user_create_spec.rb
|
462
|
+
- spec/models/address_create_spec.rb
|
463
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
464
464
|
- spec/models/storage_host_spec.rb
|
465
|
-
- spec/models/
|
466
|
-
- spec/models/
|
467
|
-
- spec/models/
|
468
|
-
- spec/models/
|
469
|
-
- spec/models/
|
470
|
-
- spec/models/
|
471
|
-
- spec/models/
|
465
|
+
- spec/models/volume_spec.rb
|
466
|
+
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
467
|
+
- spec/models/storage_resource_spec.rb
|
468
|
+
- spec/models/account_spec.rb
|
469
|
+
- spec/models/validate_system_spec.rb
|
470
|
+
- spec/models/volume_safe_delete_spec.rb
|
471
|
+
- spec/models/storage_host_update_spec.rb
|
472
472
|
- spec/spec_helper.rb
|