autosde_openapi_client 1.1.24 → 1.1.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/docs/Job.md +2 -0
- data/docs/JobApi.md +136 -0
- data/docs/JobCreate.md +2 -2
- data/lib/autosde_openapi_client/api/job_api.rb +118 -0
- data/lib/autosde_openapi_client/models/job.rb +11 -1
- 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 +20 -0
- data/spec/models/job_create_spec.rb +1 -1
- data/spec/models/job_spec.rb +6 -0
- metadata +72 -72
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1852d61cb4fb204a6fb3eb6db41959a4fdc8d92414c3cdd7d451ab71fa396aa
|
4
|
+
data.tar.gz: 14d992fb9ee05ad2f15cb00dfc503630ae18c58eaad428c78db970b145d4b8eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d58ec1630dbcfe734f37f8bca9806e8bfea4ff7e5da45155ff1373caabea136aa74ca390e757d89b097edf210bf9590919945096ebe8699e7f898a89cca4257
|
7
|
+
data.tar.gz: 50301e9aa23729b036d8641da34d3c95b7488a76b2e0f5e86cbf77c3dfe95981499b628cc5b9aec4b47fba038490e4a7d7270b987e82413c18ba327118c36c5c
|
data/README.md
CHANGED
@@ -130,6 +130,8 @@ 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} |
|
133
135
|
*AutosdeOpenapiClient::JobApi* | [**jobs_post**](docs/JobApi.md#jobs_post) | **POST** /jobs |
|
134
136
|
*AutosdeOpenapiClient::NativeCapabilityApi* | [**native_capabilities_get**](docs/NativeCapabilityApi.md#native_capabilities_get) | **GET** /native-capabilities |
|
135
137
|
*AutosdeOpenapiClient::NativeCapabilityApi* | [**native_capabilities_pk_delete**](docs/NativeCapabilityApi.md#native_capabilities_pk_delete) | **DELETE** /native-capabilities/{pk} |
|
data/docs/Job.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **date_finished** | **Time** | date_finished | [optional] |
|
8
8
|
| **date_started** | **Time** | date_started | [optional] |
|
9
|
+
| **extra** | **String** | extra | [optional] |
|
9
10
|
| **status** | **String** | status | [optional] |
|
10
11
|
| **task_args** | **String** | task_args | [optional] |
|
11
12
|
| **task_id** | **String** | task_id | [optional] |
|
@@ -20,6 +21,7 @@ require 'autosde_openapi_client'
|
|
20
21
|
instance = AutosdeOpenapiClient::Job.new(
|
21
22
|
date_finished: null,
|
22
23
|
date_started: null,
|
24
|
+
extra: null,
|
23
25
|
status: null,
|
24
26
|
task_args: null,
|
25
27
|
task_id: null,
|
data/docs/JobApi.md
CHANGED
@@ -5,6 +5,8 @@ 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} | |
|
8
10
|
| [**jobs_post**](JobApi.md#jobs_post) | **POST** /jobs | |
|
9
11
|
|
10
12
|
|
@@ -72,6 +74,140 @@ This endpoint does not need any parameter.
|
|
72
74
|
- **Accept**: */*
|
73
75
|
|
74
76
|
|
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
|
+
|
75
211
|
## jobs_post
|
76
212
|
|
77
213
|
> <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_kwargs** | **String** | task_kwargs | [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_kwargs: null,
|
17
17
|
task_name: null
|
18
18
|
)
|
19
19
|
```
|
@@ -72,6 +72,124 @@ 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
|
+
|
75
193
|
# @param job_create [JobCreate]
|
76
194
|
# @param [Hash] opts the optional parameters
|
77
195
|
# @return [Job]
|
@@ -22,6 +22,9 @@ module AutosdeOpenapiClient
|
|
22
22
|
# date_started
|
23
23
|
attr_accessor :date_started
|
24
24
|
|
25
|
+
# extra
|
26
|
+
attr_accessor :extra
|
27
|
+
|
25
28
|
# status
|
26
29
|
attr_accessor :status
|
27
30
|
|
@@ -42,6 +45,7 @@ module AutosdeOpenapiClient
|
|
42
45
|
{
|
43
46
|
:'date_finished' => :'date_finished',
|
44
47
|
:'date_started' => :'date_started',
|
48
|
+
:'extra' => :'extra',
|
45
49
|
:'status' => :'status',
|
46
50
|
:'task_args' => :'task_args',
|
47
51
|
:'task_id' => :'task_id',
|
@@ -60,6 +64,7 @@ module AutosdeOpenapiClient
|
|
60
64
|
{
|
61
65
|
:'date_finished' => :'Time',
|
62
66
|
:'date_started' => :'Time',
|
67
|
+
:'extra' => :'String',
|
63
68
|
:'status' => :'String',
|
64
69
|
:'task_args' => :'String',
|
65
70
|
:'task_id' => :'String',
|
@@ -97,6 +102,10 @@ module AutosdeOpenapiClient
|
|
97
102
|
self.date_started = attributes[:'date_started']
|
98
103
|
end
|
99
104
|
|
105
|
+
if attributes.key?(:'extra')
|
106
|
+
self.extra = attributes[:'extra']
|
107
|
+
end
|
108
|
+
|
100
109
|
if attributes.key?(:'status')
|
101
110
|
self.status = attributes[:'status']
|
102
111
|
end
|
@@ -138,6 +147,7 @@ module AutosdeOpenapiClient
|
|
138
147
|
self.class == o.class &&
|
139
148
|
date_finished == o.date_finished &&
|
140
149
|
date_started == o.date_started &&
|
150
|
+
extra == o.extra &&
|
141
151
|
status == o.status &&
|
142
152
|
task_args == o.task_args &&
|
143
153
|
task_id == o.task_id &&
|
@@ -154,7 +164,7 @@ module AutosdeOpenapiClient
|
|
154
164
|
# Calculates hash code according to all attributes.
|
155
165
|
# @return [Integer] Hash code
|
156
166
|
def hash
|
157
|
-
[date_finished, date_started, status, task_args, task_id, task_kwargs, task_name].hash
|
167
|
+
[date_finished, date_started, extra, status, task_args, task_id, task_kwargs, task_name].hash
|
158
168
|
end
|
159
169
|
|
160
170
|
# 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_kwargs
|
20
|
+
attr_accessor :task_kwargs
|
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_kwargs' => :'task_kwargs',
|
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_kwargs' => :'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_kwargs')
|
68
|
+
self.task_kwargs = attributes[:'task_kwargs']
|
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_kwargs == o.task_kwargs &&
|
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_kwargs, 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.25
|
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.25'
|
15
15
|
end
|
data/spec/api/job_api_spec.rb
CHANGED
@@ -41,6 +41,26 @@ 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
|
+
|
44
64
|
# unit tests for jobs_post
|
45
65
|
# @param job_create
|
46
66
|
# @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_kwargs"' 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,6 +37,12 @@ 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
|
+
|
40
46
|
describe 'test attribute "status"' do
|
41
47
|
it 'should work' do
|
42
48
|
# 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.25
|
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/capability_translation_api_spec.rb
|
378
|
-
- spec/api/auto_sde_project_api_spec.rb
|
379
|
-
- spec/api/job_api_spec.rb
|
380
|
-
- spec/api/validate_system_api_spec.rb
|
381
377
|
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
382
|
-
- spec/api/service_api_spec.rb
|
383
|
-
- spec/api/host_cluster_membership_api_spec.rb
|
384
|
-
- spec/api/abstract_capability_api_spec.rb
|
385
|
-
- spec/api/provisioning_strategy_api_spec.rb
|
386
|
-
- spec/api/user_api_spec.rb
|
387
|
-
- spec/api/auto_sde_role_api_spec.rb
|
388
|
-
- spec/api/account_api_spec.rb
|
389
|
-
- spec/api/refresh_system_api_spec.rb
|
390
378
|
- spec/api/host_api_spec.rb
|
391
|
-
- spec/api/
|
379
|
+
- spec/api/account_api_spec.rb
|
380
|
+
- spec/api/service_api_spec.rb
|
392
381
|
- spec/api/storage_host_volume_mapping_api_spec.rb
|
393
|
-
- spec/api/
|
394
|
-
- spec/api/
|
395
|
-
- spec/api/native_capability_api_spec.rb
|
396
|
-
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
382
|
+
- spec/api/provisioning_strategy_api_spec.rb
|
383
|
+
- spec/api/capability_translation_api_spec.rb
|
397
384
|
- spec/api/profile_api_spec.rb
|
398
385
|
- spec/api/volume_safe_delete_api_spec.rb
|
399
|
-
- spec/api/
|
386
|
+
- spec/api/volume_api_spec.rb
|
387
|
+
- spec/api/refresh_system_api_spec.rb
|
400
388
|
- spec/api/address_api_spec.rb
|
401
|
-
- spec/api/
|
402
|
-
- spec/api/
|
389
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
390
|
+
- spec/api/service_resource_attachment_api_spec.rb
|
403
391
|
- spec/api/event_api_spec.rb
|
404
392
|
- spec/api/storage_system_api_spec.rb
|
405
|
-
- spec/api/
|
393
|
+
- spec/api/auto_sde_project_api_spec.rb
|
406
394
|
- spec/api/system_type_api_spec.rb
|
395
|
+
- spec/api/abstract_capability_api_spec.rb
|
407
396
|
- spec/api/storage_host_api_spec.rb
|
397
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
398
|
+
- spec/api/user_api_spec.rb
|
399
|
+
- spec/api/snapshot_api_spec.rb
|
400
|
+
- spec/api/host_volume_connection_api_spec.rb
|
401
|
+
- spec/api/validate_system_api_spec.rb
|
402
|
+
- spec/api/native_capability_api_spec.rb
|
403
|
+
- spec/api/auto_sde_role_api_spec.rb
|
404
|
+
- spec/api/authentication_api_spec.rb
|
405
|
+
- spec/api/storage_resource_api_spec.rb
|
406
|
+
- spec/api/host_cluster_api_spec.rb
|
407
|
+
- spec/api/job_api_spec.rb
|
408
408
|
- spec/api_client_spec.rb
|
409
409
|
- spec/configuration_spec.rb
|
410
|
-
- spec/models/
|
410
|
+
- spec/models/account_post_request_spec.rb
|
411
411
|
- spec/models/system_type_spec.rb
|
412
|
-
- spec/models/volume_spec.rb
|
413
|
-
- spec/models/volume_safe_delete_spec.rb
|
414
|
-
- spec/models/capability_translation_create_spec.rb
|
415
|
-
- spec/models/storage_host_response_spec.rb
|
416
|
-
- spec/models/snapshot_create_spec.rb
|
417
|
-
- spec/models/storage_resource_create_spec.rb
|
418
|
-
- spec/models/service_resource_attachment_spec.rb
|
419
|
-
- spec/models/auto_sde_project_spec.rb
|
420
|
-
- spec/models/host_cluster_spec.rb
|
421
|
-
- spec/models/storage_host_wwpn_candidates_spec.rb
|
422
|
-
- spec/models/storage_resource_spec.rb
|
423
|
-
- spec/models/refresh_system_spec.rb
|
424
|
-
- spec/models/storage_system_update_spec.rb
|
425
|
-
- spec/models/storage_resource_response_spec.rb
|
426
|
-
- spec/models/job_create_spec.rb
|
427
|
-
- spec/models/native_capability_spec.rb
|
428
|
-
- spec/models/host_cluster_membership_spec.rb
|
429
412
|
- spec/models/host_spec.rb
|
430
|
-
- spec/models/
|
431
|
-
- spec/models/
|
413
|
+
- spec/models/storage_host_volume_mapping_create_spec.rb
|
414
|
+
- spec/models/storage_host_create_spec.rb
|
415
|
+
- spec/models/volume_response_spec.rb
|
416
|
+
- spec/models/account_post_response_spec.rb
|
417
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
418
|
+
- spec/models/provisioning_strategy_spec.rb
|
419
|
+
- spec/models/event_spec.rb
|
420
|
+
- spec/models/host_cluster_membership_spec.rb
|
421
|
+
- spec/models/refresh_system_spec.rb
|
422
|
+
- spec/models/validate_system_spec.rb
|
423
|
+
- spec/models/capability_translation_spec.rb
|
432
424
|
- spec/models/storage_host_volume_mapping_spec.rb
|
425
|
+
- spec/models/volume_safe_delete_spec.rb
|
426
|
+
- spec/models/host_create_spec.rb
|
433
427
|
- spec/models/job_spec.rb
|
428
|
+
- spec/models/host_cluster_create_spec.rb
|
434
429
|
- spec/models/account_spec.rb
|
435
|
-
- spec/models/
|
436
|
-
- spec/models/
|
430
|
+
- spec/models/storage_system_spec.rb
|
431
|
+
- spec/models/storage_resource_create_spec.rb
|
437
432
|
- spec/models/auto_sde_role_spec.rb
|
438
|
-
- spec/models/
|
439
|
-
- spec/models/profile_spec.rb
|
440
|
-
- spec/models/snapshot_spec.rb
|
441
|
-
- spec/models/event_spec.rb
|
442
|
-
- spec/models/address_create_spec.rb
|
443
|
-
- spec/models/service_create_spec.rb
|
444
|
-
- spec/models/abstract_capability_spec.rb
|
433
|
+
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
445
434
|
- spec/models/authentication_spec.rb
|
446
|
-
- spec/models/
|
447
|
-
- spec/models/
|
448
|
-
- spec/models/
|
449
|
-
- spec/models/storage_system_create_spec.rb
|
450
|
-
- spec/models/host_cluster_response_spec.rb
|
451
|
-
- spec/models/storage_host_create_spec.rb
|
452
|
-
- spec/models/storage_host_volume_mapping_response_spec.rb
|
435
|
+
- spec/models/user_create_spec.rb
|
436
|
+
- spec/models/snapshot_create_spec.rb
|
437
|
+
- spec/models/user_update_spec.rb
|
453
438
|
- spec/models/auth_response_spec.rb
|
454
|
-
- spec/models/
|
455
|
-
- spec/models/
|
456
|
-
- 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
|
457
444
|
- spec/models/volume_safe_delete_create_spec.rb
|
458
|
-
- spec/models/
|
459
|
-
- spec/models/
|
460
|
-
- spec/models/
|
445
|
+
- spec/models/storage_host_update_spec.rb
|
446
|
+
- spec/models/service_create_spec.rb
|
447
|
+
- spec/models/host_cluster_response_spec.rb
|
461
448
|
- spec/models/host_volume_connection_create_spec.rb
|
462
|
-
- spec/models/
|
463
|
-
- spec/models/
|
464
|
-
- spec/models/
|
465
|
-
- spec/models/
|
466
|
-
- spec/models/
|
449
|
+
- spec/models/capability_translation_create_spec.rb
|
450
|
+
- spec/models/service_spec.rb
|
451
|
+
- spec/models/address_create_spec.rb
|
452
|
+
- spec/models/host_cluster_spec.rb
|
453
|
+
- spec/models/storage_system_create_spec.rb
|
467
454
|
- spec/models/volume_update_spec.rb
|
455
|
+
- spec/models/user_spec.rb
|
468
456
|
- spec/models/address_spec.rb
|
469
|
-
- spec/models/
|
470
|
-
- spec/models/
|
471
|
-
- spec/models/
|
457
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
458
|
+
- spec/models/system_type_create_spec.rb
|
459
|
+
- spec/models/storage_host_wwpn_candidates_spec.rb
|
460
|
+
- spec/models/auto_sde_project_spec.rb
|
461
|
+
- spec/models/service_resource_attachment_spec.rb
|
462
|
+
- spec/models/volume_spec.rb
|
463
|
+
- spec/models/storage_system_update_spec.rb
|
464
|
+
- spec/models/storage_host_spec.rb
|
465
|
+
- spec/models/host_volume_connection_spec.rb
|
466
|
+
- spec/models/storage_host_response_spec.rb
|
467
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
468
|
+
- spec/models/abstract_capability_spec.rb
|
469
|
+
- spec/models/storage_host_volume_mapping_response_spec.rb
|
470
|
+
- spec/models/profile_spec.rb
|
471
|
+
- spec/models/volume_create_spec.rb
|
472
472
|
- spec/spec_helper.rb
|