autosde_openapi_client 1.1.23 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/docs/RefreshSystem.md +18 -0
- data/docs/RefreshSystemApi.md +75 -0
- data/lib/autosde_openapi_client/api/refresh_system_api.rb +83 -0
- data/lib/autosde_openapi_client/models/refresh_system.rb +220 -0
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +2 -0
- data/spec/api/refresh_system_api_spec.rb +45 -0
- data/spec/models/refresh_system_spec.rb +34 -0
- metadata +81 -73
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db96910613537b2205a32202d6e1bd18cf54a9e6c528e32800321c82d00a03f2
|
|
4
|
+
data.tar.gz: 79699c8719e7bbedc32f8c5e4a2a6fc5d2a9e5c8e4a54b8a6e5d65de30a47ced
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd7e9eba4a4c78a7f7461e3caa353a4af8650b49b203c94bf1d584b521219a7acf4dd1ab6f5eeb8c932c3c17c52a99219751b06588ede19f7a86a1b7ceaccb7b
|
|
7
|
+
data.tar.gz: 4b5d74b1b6adb474698b44eaaaa897a040afec6ee96ee43c9d442777f2ea87760763a2fc6c89d9ac560a9abedff91debb1a61b03063814854403b7a75779035f
|
data/README.md
CHANGED
|
@@ -143,6 +143,7 @@ Class | Method | HTTP request | Description
|
|
|
143
143
|
*AutosdeOpenapiClient::ProvisioningStrategyApi* | [**provisioning_strategy_pk_delete**](docs/ProvisioningStrategyApi.md#provisioning_strategy_pk_delete) | **DELETE** /provisioning-strategy/{pk} |
|
|
144
144
|
*AutosdeOpenapiClient::ProvisioningStrategyApi* | [**provisioning_strategy_pk_get**](docs/ProvisioningStrategyApi.md#provisioning_strategy_pk_get) | **GET** /provisioning-strategy/{pk} |
|
|
145
145
|
*AutosdeOpenapiClient::ProvisioningStrategyApi* | [**provisioning_strategy_post**](docs/ProvisioningStrategyApi.md#provisioning_strategy_post) | **POST** /provisioning-strategy |
|
|
146
|
+
*AutosdeOpenapiClient::RefreshSystemApi* | [**refresh_system_post**](docs/RefreshSystemApi.md#refresh_system_post) | **POST** /refresh-system |
|
|
146
147
|
*AutosdeOpenapiClient::ServiceApi* | [**services_get**](docs/ServiceApi.md#services_get) | **GET** /services |
|
|
147
148
|
*AutosdeOpenapiClient::ServiceApi* | [**services_pk_delete**](docs/ServiceApi.md#services_pk_delete) | **DELETE** /services/{pk} |
|
|
148
149
|
*AutosdeOpenapiClient::ServiceApi* | [**services_pk_get**](docs/ServiceApi.md#services_pk_get) | **GET** /services/{pk} |
|
|
@@ -228,6 +229,7 @@ Class | Method | HTTP request | Description
|
|
|
228
229
|
- [AutosdeOpenapiClient::NativeCapability](docs/NativeCapability.md)
|
|
229
230
|
- [AutosdeOpenapiClient::Profile](docs/Profile.md)
|
|
230
231
|
- [AutosdeOpenapiClient::ProvisioningStrategy](docs/ProvisioningStrategy.md)
|
|
232
|
+
- [AutosdeOpenapiClient::RefreshSystem](docs/RefreshSystem.md)
|
|
231
233
|
- [AutosdeOpenapiClient::Service](docs/Service.md)
|
|
232
234
|
- [AutosdeOpenapiClient::ServiceAbstractCapabilityValue](docs/ServiceAbstractCapabilityValue.md)
|
|
233
235
|
- [AutosdeOpenapiClient::ServiceCreate](docs/ServiceCreate.md)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# AutosdeOpenapiClient::RefreshSystem
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **uuid** | **String** | uuid | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'autosde_openapi_client'
|
|
13
|
+
|
|
14
|
+
instance = AutosdeOpenapiClient::RefreshSystem.new(
|
|
15
|
+
uuid: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# AutosdeOpenapiClient::RefreshSystemApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost:9000/site-manager/api/v1/engine*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**refresh_system_post**](RefreshSystemApi.md#refresh_system_post) | **POST** /refresh-system | |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## refresh_system_post
|
|
11
|
+
|
|
12
|
+
> <RefreshSystem> refresh_system_post(storage_system_create)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Examples
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'time'
|
|
20
|
+
require 'autosde_openapi_client'
|
|
21
|
+
# setup authorization
|
|
22
|
+
AutosdeOpenapiClient.configure do |config|
|
|
23
|
+
# Configure Bearer authorization: bearerAuth
|
|
24
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
api_instance = AutosdeOpenapiClient::RefreshSystemApi.new
|
|
28
|
+
storage_system_create = AutosdeOpenapiClient::StorageSystemCreate.new # StorageSystemCreate |
|
|
29
|
+
|
|
30
|
+
begin
|
|
31
|
+
|
|
32
|
+
result = api_instance.refresh_system_post(storage_system_create)
|
|
33
|
+
p result
|
|
34
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
|
35
|
+
puts "Error when calling RefreshSystemApi->refresh_system_post: #{e}"
|
|
36
|
+
end
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
#### Using the refresh_system_post_with_http_info variant
|
|
40
|
+
|
|
41
|
+
This returns an Array which contains the response data, status code and headers.
|
|
42
|
+
|
|
43
|
+
> <Array(<RefreshSystem>, Integer, Hash)> refresh_system_post_with_http_info(storage_system_create)
|
|
44
|
+
|
|
45
|
+
```ruby
|
|
46
|
+
begin
|
|
47
|
+
|
|
48
|
+
data, status_code, headers = api_instance.refresh_system_post_with_http_info(storage_system_create)
|
|
49
|
+
p status_code # => 2xx
|
|
50
|
+
p headers # => { ... }
|
|
51
|
+
p data # => <RefreshSystem>
|
|
52
|
+
rescue AutosdeOpenapiClient::ApiError => e
|
|
53
|
+
puts "Error when calling RefreshSystemApi->refresh_system_post_with_http_info: #{e}"
|
|
54
|
+
end
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Parameters
|
|
58
|
+
|
|
59
|
+
| Name | Type | Description | Notes |
|
|
60
|
+
| ---- | ---- | ----------- | ----- |
|
|
61
|
+
| **storage_system_create** | [**StorageSystemCreate**](StorageSystemCreate.md) | | |
|
|
62
|
+
|
|
63
|
+
### Return type
|
|
64
|
+
|
|
65
|
+
[**RefreshSystem**](RefreshSystem.md)
|
|
66
|
+
|
|
67
|
+
### Authorization
|
|
68
|
+
|
|
69
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
70
|
+
|
|
71
|
+
### HTTP request headers
|
|
72
|
+
|
|
73
|
+
- **Content-Type**: application/json
|
|
74
|
+
- **Accept**: */*
|
|
75
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Site Manager API
|
|
3
|
+
|
|
4
|
+
#Site Manager API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
Contact: autosde@il.ibm.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module AutosdeOpenapiClient
|
|
16
|
+
class RefreshSystemApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# @param storage_system_create [StorageSystemCreate]
|
|
23
|
+
# @param [Hash] opts the optional parameters
|
|
24
|
+
# @return [RefreshSystem]
|
|
25
|
+
def refresh_system_post(storage_system_create, opts = {})
|
|
26
|
+
data, _status_code, _headers = refresh_system_post_with_http_info(storage_system_create, opts)
|
|
27
|
+
data
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# @param storage_system_create [StorageSystemCreate]
|
|
31
|
+
# @param [Hash] opts the optional parameters
|
|
32
|
+
# @return [Array<(RefreshSystem, Integer, Hash)>] RefreshSystem data, response status code and response headers
|
|
33
|
+
def refresh_system_post_with_http_info(storage_system_create, opts = {})
|
|
34
|
+
if @api_client.config.debugging
|
|
35
|
+
@api_client.config.logger.debug 'Calling API: RefreshSystemApi.refresh_system_post ...'
|
|
36
|
+
end
|
|
37
|
+
# verify the required parameter 'storage_system_create' is set
|
|
38
|
+
if @api_client.config.client_side_validation && storage_system_create.nil?
|
|
39
|
+
fail ArgumentError, "Missing the required parameter 'storage_system_create' when calling RefreshSystemApi.refresh_system_post"
|
|
40
|
+
end
|
|
41
|
+
# resource path
|
|
42
|
+
local_var_path = '/refresh-system'
|
|
43
|
+
|
|
44
|
+
# query parameters
|
|
45
|
+
query_params = opts[:query_params] || {}
|
|
46
|
+
|
|
47
|
+
# header parameters
|
|
48
|
+
header_params = opts[:header_params] || {}
|
|
49
|
+
# HTTP header 'Accept' (if needed)
|
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
|
51
|
+
# HTTP header 'Content-Type'
|
|
52
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
53
|
+
|
|
54
|
+
# form parameters
|
|
55
|
+
form_params = opts[:form_params] || {}
|
|
56
|
+
|
|
57
|
+
# http body (model)
|
|
58
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(storage_system_create)
|
|
59
|
+
|
|
60
|
+
# return_type
|
|
61
|
+
return_type = opts[:debug_return_type] || 'RefreshSystem'
|
|
62
|
+
|
|
63
|
+
# auth_names
|
|
64
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
65
|
+
|
|
66
|
+
new_options = opts.merge(
|
|
67
|
+
:operation => :"RefreshSystemApi.refresh_system_post",
|
|
68
|
+
:header_params => header_params,
|
|
69
|
+
:query_params => query_params,
|
|
70
|
+
:form_params => form_params,
|
|
71
|
+
:body => post_body,
|
|
72
|
+
:auth_names => auth_names,
|
|
73
|
+
:return_type => return_type
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
77
|
+
if @api_client.config.debugging
|
|
78
|
+
@api_client.config.logger.debug "API called: RefreshSystemApi#refresh_system_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
79
|
+
end
|
|
80
|
+
return data, status_code, headers
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Site Manager API
|
|
3
|
+
|
|
4
|
+
#Site Manager API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
Contact: autosde@il.ibm.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module AutosdeOpenapiClient
|
|
17
|
+
# RefreshSystem object represents refreshing of the storage system.
|
|
18
|
+
class RefreshSystem
|
|
19
|
+
# uuid
|
|
20
|
+
attr_accessor :uuid
|
|
21
|
+
|
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
|
+
def self.attribute_map
|
|
24
|
+
{
|
|
25
|
+
:'uuid' => :'uuid'
|
|
26
|
+
}
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Returns all the JSON keys this model knows about
|
|
30
|
+
def self.acceptable_attributes
|
|
31
|
+
attribute_map.values
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Attribute type mapping.
|
|
35
|
+
def self.openapi_types
|
|
36
|
+
{
|
|
37
|
+
:'uuid' => :'String'
|
|
38
|
+
}
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# List of attributes with nullable: true
|
|
42
|
+
def self.openapi_nullable
|
|
43
|
+
Set.new([
|
|
44
|
+
])
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Initializes the object
|
|
48
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
49
|
+
def initialize(attributes = {})
|
|
50
|
+
if (!attributes.is_a?(Hash))
|
|
51
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `AutosdeOpenapiClient::RefreshSystem` initialize method"
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
55
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
56
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
57
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `AutosdeOpenapiClient::RefreshSystem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
58
|
+
end
|
|
59
|
+
h[k.to_sym] = v
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
if attributes.key?(:'uuid')
|
|
63
|
+
self.uuid = attributes[:'uuid']
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
68
|
+
# @return Array for valid properties with the reasons
|
|
69
|
+
def list_invalid_properties
|
|
70
|
+
invalid_properties = Array.new
|
|
71
|
+
invalid_properties
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Check to see if the all the properties in the model are valid
|
|
75
|
+
# @return true if the model is valid
|
|
76
|
+
def valid?
|
|
77
|
+
true
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Checks equality by comparing each attribute.
|
|
81
|
+
# @param [Object] Object to be compared
|
|
82
|
+
def ==(o)
|
|
83
|
+
return true if self.equal?(o)
|
|
84
|
+
self.class == o.class &&
|
|
85
|
+
uuid == o.uuid
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# @see the `==` method
|
|
89
|
+
# @param [Object] Object to be compared
|
|
90
|
+
def eql?(o)
|
|
91
|
+
self == o
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Calculates hash code according to all attributes.
|
|
95
|
+
# @return [Integer] Hash code
|
|
96
|
+
def hash
|
|
97
|
+
[uuid].hash
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Builds the object from hash
|
|
101
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
102
|
+
# @return [Object] Returns the model itself
|
|
103
|
+
def self.build_from_hash(attributes)
|
|
104
|
+
new.build_from_hash(attributes)
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Builds the object from hash
|
|
108
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
109
|
+
# @return [Object] Returns the model itself
|
|
110
|
+
def build_from_hash(attributes)
|
|
111
|
+
return nil unless attributes.is_a?(Hash)
|
|
112
|
+
self.class.openapi_types.each_pair do |key, type|
|
|
113
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
|
114
|
+
self.send("#{key}=", nil)
|
|
115
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
116
|
+
# check to ensure the input is an array given that the attribute
|
|
117
|
+
# is documented as an array but the input is not
|
|
118
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
119
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
120
|
+
end
|
|
121
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
|
122
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
self
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Deserializes the data based on type
|
|
130
|
+
# @param string type Data type
|
|
131
|
+
# @param string value Value to be deserialized
|
|
132
|
+
# @return [Object] Deserialized data
|
|
133
|
+
def _deserialize(type, value)
|
|
134
|
+
case type.to_sym
|
|
135
|
+
when :Time
|
|
136
|
+
Time.parse(value)
|
|
137
|
+
when :Date
|
|
138
|
+
Date.parse(value)
|
|
139
|
+
when :String
|
|
140
|
+
value.to_s
|
|
141
|
+
when :Integer
|
|
142
|
+
value.to_i
|
|
143
|
+
when :Float
|
|
144
|
+
value.to_f
|
|
145
|
+
when :Boolean
|
|
146
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
147
|
+
true
|
|
148
|
+
else
|
|
149
|
+
false
|
|
150
|
+
end
|
|
151
|
+
when :Object
|
|
152
|
+
# generic object (usually a Hash), return directly
|
|
153
|
+
value
|
|
154
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
155
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
156
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
157
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
158
|
+
k_type = Regexp.last_match[:k_type]
|
|
159
|
+
v_type = Regexp.last_match[:v_type]
|
|
160
|
+
{}.tap do |hash|
|
|
161
|
+
value.each do |k, v|
|
|
162
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
else # model
|
|
166
|
+
# models (e.g. Pet) or oneOf
|
|
167
|
+
klass = AutosdeOpenapiClient.const_get(type)
|
|
168
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
169
|
+
end
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# Returns the string representation of the object
|
|
173
|
+
# @return [String] String presentation of the object
|
|
174
|
+
def to_s
|
|
175
|
+
to_hash.to_s
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
179
|
+
# @return [Hash] Returns the object in the form of hash
|
|
180
|
+
def to_body
|
|
181
|
+
to_hash
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Returns the object in the form of hash
|
|
185
|
+
# @return [Hash] Returns the object in the form of hash
|
|
186
|
+
def to_hash
|
|
187
|
+
hash = {}
|
|
188
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
189
|
+
value = self.send(attr)
|
|
190
|
+
if value.nil?
|
|
191
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
192
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
hash[param] = _to_hash(value)
|
|
196
|
+
end
|
|
197
|
+
hash
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# Outputs non-array value in the form of hash
|
|
201
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
202
|
+
# @param [Object] value Any valid value
|
|
203
|
+
# @return [Hash] Returns the value in the form of hash
|
|
204
|
+
def _to_hash(value)
|
|
205
|
+
if value.is_a?(Array)
|
|
206
|
+
value.compact.map { |v| _to_hash(v) }
|
|
207
|
+
elsif value.is_a?(Hash)
|
|
208
|
+
{}.tap do |hash|
|
|
209
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
210
|
+
end
|
|
211
|
+
elsif value.respond_to? :to_hash
|
|
212
|
+
value.to_hash
|
|
213
|
+
else
|
|
214
|
+
value
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
end
|
|
@@ -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.24
|
|
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.24'
|
|
15
15
|
end
|
|
@@ -46,6 +46,7 @@ require 'autosde_openapi_client/models/job_create'
|
|
|
46
46
|
require 'autosde_openapi_client/models/native_capability'
|
|
47
47
|
require 'autosde_openapi_client/models/profile'
|
|
48
48
|
require 'autosde_openapi_client/models/provisioning_strategy'
|
|
49
|
+
require 'autosde_openapi_client/models/refresh_system'
|
|
49
50
|
require 'autosde_openapi_client/models/service'
|
|
50
51
|
require 'autosde_openapi_client/models/service_abstract_capability_value'
|
|
51
52
|
require 'autosde_openapi_client/models/service_create'
|
|
@@ -97,6 +98,7 @@ require 'autosde_openapi_client/api/job_api'
|
|
|
97
98
|
require 'autosde_openapi_client/api/native_capability_api'
|
|
98
99
|
require 'autosde_openapi_client/api/profile_api'
|
|
99
100
|
require 'autosde_openapi_client/api/provisioning_strategy_api'
|
|
101
|
+
require 'autosde_openapi_client/api/refresh_system_api'
|
|
100
102
|
require 'autosde_openapi_client/api/service_api'
|
|
101
103
|
require 'autosde_openapi_client/api/service_resource_attachment_api'
|
|
102
104
|
require 'autosde_openapi_client/api/snapshot_api'
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Site Manager API
|
|
3
|
+
|
|
4
|
+
#Site Manager API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
Contact: autosde@il.ibm.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for AutosdeOpenapiClient::RefreshSystemApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RefreshSystemApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = AutosdeOpenapiClient::RefreshSystemApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RefreshSystemApi' do
|
|
30
|
+
it 'should create an instance of RefreshSystemApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(AutosdeOpenapiClient::RefreshSystemApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for refresh_system_post
|
|
36
|
+
# @param storage_system_create
|
|
37
|
+
# @param [Hash] opts the optional parameters
|
|
38
|
+
# @return [RefreshSystem]
|
|
39
|
+
describe 'refresh_system_post test' do
|
|
40
|
+
it 'should work' do
|
|
41
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Site Manager API
|
|
3
|
+
|
|
4
|
+
#Site Manager API
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
Contact: autosde@il.ibm.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 5.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for AutosdeOpenapiClient::RefreshSystem
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe AutosdeOpenapiClient::RefreshSystem do
|
|
21
|
+
let(:instance) { AutosdeOpenapiClient::RefreshSystem.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RefreshSystem' do
|
|
24
|
+
it 'should create an instance of RefreshSystem' do
|
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::RefreshSystem)
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
describe 'test attribute "uuid"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.24
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -108,6 +108,8 @@ files:
|
|
|
108
108
|
- docs/ProfileApi.md
|
|
109
109
|
- docs/ProvisioningStrategy.md
|
|
110
110
|
- docs/ProvisioningStrategyApi.md
|
|
111
|
+
- docs/RefreshSystem.md
|
|
112
|
+
- docs/RefreshSystemApi.md
|
|
111
113
|
- docs/Service.md
|
|
112
114
|
- docs/ServiceAbstractCapabilityValue.md
|
|
113
115
|
- docs/ServiceApi.md
|
|
@@ -172,6 +174,7 @@ files:
|
|
|
172
174
|
- lib/autosde_openapi_client/api/native_capability_api.rb
|
|
173
175
|
- lib/autosde_openapi_client/api/profile_api.rb
|
|
174
176
|
- lib/autosde_openapi_client/api/provisioning_strategy_api.rb
|
|
177
|
+
- lib/autosde_openapi_client/api/refresh_system_api.rb
|
|
175
178
|
- lib/autosde_openapi_client/api/service_api.rb
|
|
176
179
|
- lib/autosde_openapi_client/api/service_resource_attachment_api.rb
|
|
177
180
|
- lib/autosde_openapi_client/api/snapshot_api.rb
|
|
@@ -217,6 +220,7 @@ files:
|
|
|
217
220
|
- lib/autosde_openapi_client/models/native_capability.rb
|
|
218
221
|
- lib/autosde_openapi_client/models/profile.rb
|
|
219
222
|
- lib/autosde_openapi_client/models/provisioning_strategy.rb
|
|
223
|
+
- lib/autosde_openapi_client/models/refresh_system.rb
|
|
220
224
|
- lib/autosde_openapi_client/models/service.rb
|
|
221
225
|
- lib/autosde_openapi_client/models/service_abstract_capability_value.rb
|
|
222
226
|
- lib/autosde_openapi_client/models/service_create.rb
|
|
@@ -267,6 +271,7 @@ files:
|
|
|
267
271
|
- spec/api/native_capability_api_spec.rb
|
|
268
272
|
- spec/api/profile_api_spec.rb
|
|
269
273
|
- spec/api/provisioning_strategy_api_spec.rb
|
|
274
|
+
- spec/api/refresh_system_api_spec.rb
|
|
270
275
|
- spec/api/service_api_spec.rb
|
|
271
276
|
- spec/api/service_resource_attachment_api_spec.rb
|
|
272
277
|
- spec/api/snapshot_api_spec.rb
|
|
@@ -311,6 +316,7 @@ files:
|
|
|
311
316
|
- spec/models/native_capability_spec.rb
|
|
312
317
|
- spec/models/profile_spec.rb
|
|
313
318
|
- spec/models/provisioning_strategy_spec.rb
|
|
319
|
+
- spec/models/refresh_system_spec.rb
|
|
314
320
|
- spec/models/service_abstract_capability_value_spec.rb
|
|
315
321
|
- spec/models/service_create_spec.rb
|
|
316
322
|
- spec/models/service_resource_attachment_spec.rb
|
|
@@ -368,97 +374,99 @@ signing_key:
|
|
|
368
374
|
specification_version: 4
|
|
369
375
|
summary: Site Manager API Ruby Gem
|
|
370
376
|
test_files:
|
|
371
|
-
- spec/api/
|
|
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
|
+
- 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
|
|
372
385
|
- spec/api/provisioning_strategy_api_spec.rb
|
|
373
|
-
- spec/api/service_resource_attachment_api_spec.rb
|
|
374
|
-
- spec/api/authentication_api_spec.rb
|
|
375
386
|
- spec/api/user_api_spec.rb
|
|
376
|
-
- spec/api/
|
|
377
|
-
- spec/api/
|
|
378
|
-
- spec/api/
|
|
379
|
-
- spec/api/capability_translation_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
|
|
380
390
|
- spec/api/host_api_spec.rb
|
|
381
|
-
- spec/api/
|
|
382
|
-
- spec/api/host_cluster_api_spec.rb
|
|
383
|
-
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
|
391
|
+
- spec/api/service_resource_attachment_api_spec.rb
|
|
384
392
|
- spec/api/storage_host_volume_mapping_api_spec.rb
|
|
393
|
+
- spec/api/volume_api_spec.rb
|
|
394
|
+
- spec/api/authentication_api_spec.rb
|
|
385
395
|
- spec/api/native_capability_api_spec.rb
|
|
386
|
-
- spec/api/
|
|
387
|
-
- spec/api/
|
|
396
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
|
397
|
+
- spec/api/profile_api_spec.rb
|
|
398
|
+
- spec/api/volume_safe_delete_api_spec.rb
|
|
399
|
+
- spec/api/storage_resource_api_spec.rb
|
|
400
|
+
- spec/api/address_api_spec.rb
|
|
401
|
+
- spec/api/host_cluster_api_spec.rb
|
|
388
402
|
- spec/api/host_volume_connection_api_spec.rb
|
|
389
|
-
- spec/api/storage_host_api_spec.rb
|
|
390
403
|
- spec/api/event_api_spec.rb
|
|
391
|
-
- spec/api/
|
|
392
|
-
- spec/api/account_api_spec.rb
|
|
404
|
+
- spec/api/storage_system_api_spec.rb
|
|
393
405
|
- spec/api/snapshot_api_spec.rb
|
|
394
|
-
- spec/api/
|
|
395
|
-
- spec/api/
|
|
396
|
-
- spec/api/abstract_capability_api_spec.rb
|
|
397
|
-
- spec/api/validate_system_api_spec.rb
|
|
398
|
-
- spec/api/job_api_spec.rb
|
|
399
|
-
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
|
400
|
-
- spec/api/address_api_spec.rb
|
|
406
|
+
- spec/api/system_type_api_spec.rb
|
|
407
|
+
- spec/api/storage_host_api_spec.rb
|
|
401
408
|
- spec/api_client_spec.rb
|
|
402
409
|
- spec/configuration_spec.rb
|
|
403
|
-
- spec/models/storage_resource_spec.rb
|
|
404
|
-
- spec/models/host_cluster_spec.rb
|
|
405
|
-
- spec/models/user_spec.rb
|
|
406
|
-
- spec/models/account_post_response_spec.rb
|
|
407
|
-
- spec/models/account_spec.rb
|
|
408
|
-
- spec/models/host_cluster_response_spec.rb
|
|
409
|
-
- spec/models/volume_safe_delete_create_spec.rb
|
|
410
|
-
- spec/models/job_spec.rb
|
|
411
|
-
- spec/models/storage_resource_create_spec.rb
|
|
412
|
-
- spec/models/volume_spec.rb
|
|
413
|
-
- spec/models/service_spec.rb
|
|
414
|
-
- spec/models/snapshot_create_spec.rb
|
|
415
410
|
- spec/models/volume_create_spec.rb
|
|
416
|
-
- spec/models/system_type_create_spec.rb
|
|
417
|
-
- spec/models/event_spec.rb
|
|
418
|
-
- spec/models/address_spec.rb
|
|
419
|
-
- spec/models/storage_host_wwpn_candidates_spec.rb
|
|
420
|
-
- spec/models/host_volume_connection_spec.rb
|
|
421
|
-
- spec/models/host_create_spec.rb
|
|
422
411
|
- spec/models/system_type_spec.rb
|
|
423
|
-
- spec/models/
|
|
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
|
|
424
418
|
- spec/models/service_resource_attachment_spec.rb
|
|
425
419
|
- spec/models/auto_sde_project_spec.rb
|
|
426
|
-
- spec/models/
|
|
427
|
-
- spec/models/
|
|
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
|
|
428
424
|
- spec/models/storage_system_update_spec.rb
|
|
429
|
-
- spec/models/
|
|
430
|
-
- spec/models/
|
|
431
|
-
- spec/models/provisioning_strategy_spec.rb
|
|
432
|
-
- spec/models/host_cluster_create_spec.rb
|
|
433
|
-
- spec/models/auth_response_spec.rb
|
|
434
|
-
- spec/models/storage_host_volume_mapping_response_spec.rb
|
|
435
|
-
- spec/models/storage_host_create_spec.rb
|
|
436
|
-
- spec/models/storage_host_response_spec.rb
|
|
437
|
-
- spec/models/address_create_spec.rb
|
|
438
|
-
- spec/models/account_post_request_spec.rb
|
|
439
|
-
- spec/models/host_cluster_volume_mapping_spec.rb
|
|
440
|
-
- spec/models/storage_system_spec.rb
|
|
425
|
+
- spec/models/storage_resource_response_spec.rb
|
|
426
|
+
- spec/models/job_create_spec.rb
|
|
441
427
|
- spec/models/native_capability_spec.rb
|
|
442
|
-
- spec/models/
|
|
428
|
+
- spec/models/host_cluster_membership_spec.rb
|
|
443
429
|
- spec/models/host_spec.rb
|
|
430
|
+
- spec/models/storage_host_update_spec.rb
|
|
431
|
+
- spec/models/storage_host_spec.rb
|
|
444
432
|
- spec/models/storage_host_volume_mapping_spec.rb
|
|
433
|
+
- spec/models/job_spec.rb
|
|
434
|
+
- spec/models/account_spec.rb
|
|
435
|
+
- spec/models/capability_translation_spec.rb
|
|
436
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
|
437
|
+
- spec/models/auto_sde_role_spec.rb
|
|
438
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
|
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
|
|
445
445
|
- spec/models/authentication_spec.rb
|
|
446
|
-
- spec/models/
|
|
446
|
+
- spec/models/system_type_create_spec.rb
|
|
447
|
+
- spec/models/host_create_spec.rb
|
|
448
|
+
- spec/models/user_spec.rb
|
|
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
|
|
453
|
+
- spec/models/auth_response_spec.rb
|
|
454
|
+
- spec/models/account_post_request_spec.rb
|
|
455
|
+
- spec/models/account_post_response_spec.rb
|
|
456
|
+
- spec/models/provisioning_strategy_spec.rb
|
|
457
|
+
- spec/models/volume_safe_delete_create_spec.rb
|
|
458
|
+
- spec/models/host_volume_connection_spec.rb
|
|
459
|
+
- spec/models/host_cluster_create_spec.rb
|
|
460
|
+
- spec/models/service_spec.rb
|
|
461
|
+
- spec/models/host_volume_connection_create_spec.rb
|
|
462
|
+
- spec/models/volume_response_spec.rb
|
|
463
|
+
- spec/models/storage_system_spec.rb
|
|
464
|
+
- spec/models/validate_system_spec.rb
|
|
447
465
|
- spec/models/storage_host_volume_mapping_create_spec.rb
|
|
466
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
|
467
|
+
- spec/models/volume_update_spec.rb
|
|
468
|
+
- spec/models/address_spec.rb
|
|
448
469
|
- spec/models/user_create_spec.rb
|
|
449
|
-
- spec/models/auto_sde_role_spec.rb
|
|
450
|
-
- spec/models/service_abstract_capability_value_spec.rb
|
|
451
470
|
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
|
452
|
-
- spec/models/
|
|
453
|
-
- spec/models/capability_translation_spec.rb
|
|
454
|
-
- spec/models/volume_update_spec.rb
|
|
455
|
-
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
|
456
|
-
- spec/models/snapshot_spec.rb
|
|
457
|
-
- spec/models/job_create_spec.rb
|
|
458
|
-
- spec/models/host_cluster_membership_spec.rb
|
|
459
|
-
- spec/models/host_volume_connection_create_spec.rb
|
|
460
|
-
- spec/models/capability_translation_create_spec.rb
|
|
461
|
-
- spec/models/volume_safe_delete_spec.rb
|
|
462
|
-
- spec/models/storage_host_update_spec.rb
|
|
463
|
-
- spec/models/storage_host_spec.rb
|
|
471
|
+
- spec/models/user_update_spec.rb
|
|
464
472
|
- spec/spec_helper.rb
|