autosde_openapi_client 1.0.3 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/autosde_openapi_client.gemspec +1 -1
- data/docs/StorageHostVolumeMappingApi.md +16 -16
- data/docs/StorageHostVolumeMappingResponse.md +26 -0
- data/lib/autosde_openapi_client.rb +2 -1
- data/lib/autosde_openapi_client/api/abstract_capability_api.rb +1 -1
- data/lib/autosde_openapi_client/api/account_api.rb +1 -1
- data/lib/autosde_openapi_client/api/address_api.rb +1 -1
- data/lib/autosde_openapi_client/api/authentication_api.rb +1 -1
- data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +1 -1
- data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +1 -1
- data/lib/autosde_openapi_client/api/capability_translation_api.rb +1 -1
- data/lib/autosde_openapi_client/api/host_api.rb +1 -1
- data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +1 -1
- data/lib/autosde_openapi_client/api/job_api.rb +1 -1
- data/lib/autosde_openapi_client/api/native_capability_api.rb +1 -1
- data/lib/autosde_openapi_client/api/profile_api.rb +1 -1
- data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +1 -1
- data/lib/autosde_openapi_client/api/service_api.rb +1 -1
- data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +1 -1
- data/lib/autosde_openapi_client/api/snapshot_api.rb +1 -1
- data/lib/autosde_openapi_client/api/storage_host_api.rb +1 -1
- data/lib/autosde_openapi_client/api/storage_host_volume_mapping_api.rb +13 -13
- data/lib/autosde_openapi_client/api/storage_resource_api.rb +1 -1
- data/lib/autosde_openapi_client/api/storage_system_api.rb +1 -1
- data/lib/autosde_openapi_client/api/system_type_api.rb +1 -1
- data/lib/autosde_openapi_client/api/volume_api.rb +1 -1
- data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +1 -1
- data/lib/autosde_openapi_client/api_client.rb +2 -2
- data/lib/autosde_openapi_client/api_error.rb +1 -1
- data/lib/autosde_openapi_client/configuration.rb +4 -6
- data/lib/autosde_openapi_client/models/abstract_capability.rb +1 -1
- data/lib/autosde_openapi_client/models/account.rb +1 -1
- data/lib/autosde_openapi_client/models/account_post_request.rb +1 -1
- data/lib/autosde_openapi_client/models/account_post_response.rb +1 -1
- data/lib/autosde_openapi_client/models/address.rb +1 -1
- data/lib/autosde_openapi_client/models/address_create.rb +1 -1
- data/lib/autosde_openapi_client/models/auth_response.rb +1 -1
- data/lib/autosde_openapi_client/models/authentication.rb +1 -1
- data/lib/autosde_openapi_client/models/auto_sde_project.rb +1 -1
- data/lib/autosde_openapi_client/models/auto_sde_role.rb +1 -1
- data/lib/autosde_openapi_client/models/capability_translation.rb +1 -1
- data/lib/autosde_openapi_client/models/capability_translation_create.rb +1 -1
- data/lib/autosde_openapi_client/models/host.rb +1 -1
- data/lib/autosde_openapi_client/models/host_create.rb +1 -1
- data/lib/autosde_openapi_client/models/host_volume_connection.rb +1 -1
- data/lib/autosde_openapi_client/models/host_volume_connection_create.rb +1 -1
- data/lib/autosde_openapi_client/models/job.rb +1 -1
- data/lib/autosde_openapi_client/models/job_create.rb +1 -1
- data/lib/autosde_openapi_client/models/native_capability.rb +1 -1
- data/lib/autosde_openapi_client/models/profile.rb +1 -1
- data/lib/autosde_openapi_client/models/provisioning_strategy.rb +1 -1
- data/lib/autosde_openapi_client/models/service.rb +1 -1
- data/lib/autosde_openapi_client/models/service_abstract_capability_value.rb +1 -1
- data/lib/autosde_openapi_client/models/service_create.rb +1 -1
- data/lib/autosde_openapi_client/models/service_resource_attachment.rb +1 -1
- data/lib/autosde_openapi_client/models/snapshot.rb +1 -1
- data/lib/autosde_openapi_client/models/snapshot_create.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_create.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_response.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_update.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping_create.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_host_volume_mapping_response.rb +301 -0
- data/lib/autosde_openapi_client/models/storage_resource.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_resource_create.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_resource_response.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_system.rb +1 -1
- data/lib/autosde_openapi_client/models/storage_system_create.rb +1 -1
- data/lib/autosde_openapi_client/models/system_type.rb +1 -1
- data/lib/autosde_openapi_client/models/system_type_create.rb +1 -1
- data/lib/autosde_openapi_client/models/volume.rb +1 -1
- data/lib/autosde_openapi_client/models/volume_create.rb +1 -1
- data/lib/autosde_openapi_client/models/volume_response.rb +1 -1
- data/lib/autosde_openapi_client/models/volume_safe_delete.rb +1 -1
- data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +1 -1
- data/lib/autosde_openapi_client/models/volume_update.rb +1 -1
- data/lib/autosde_openapi_client/version.rb +3 -3
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/storage_host_volume_mapping_response_spec.rb +62 -0
- data/spec/spec_helper.rb +1 -1
- metadata +62 -57
@@ -3,13 +3,13 @@
|
|
3
3
|
|
4
4
|
#Site Manager API
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.20
|
7
7
|
Contact: autosde@il.ibm.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module AutosdeOpenapiClient
|
14
|
-
VERSION = '1.0.
|
14
|
+
VERSION = '1.0.20'
|
15
15
|
end
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -0,0 +1,62 @@
|
|
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::StorageHostVolumeMappingResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::StorageHostVolumeMappingResponse do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::StorageHostVolumeMappingResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of StorageHostVolumeMappingResponse' do
|
24
|
+
it 'should create an instance of StorageHostVolumeMappingResponse' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::StorageHostVolumeMappingResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "component_state"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
32
|
+
# validator.allowable_values.each do |value|
|
33
|
+
# expect { instance.component_state = value }.not_to raise_error
|
34
|
+
# end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe 'test attribute "host"' do
|
39
|
+
it 'should work' do
|
40
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "lun"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'test attribute "uuid"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe 'test attribute "volume"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
end
|
data/spec/spec_helper.rb
CHANGED
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.0.
|
4
|
+
version: 1.0.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -112,6 +112,7 @@ files:
|
|
112
112
|
- docs/StorageHostVolumeMapping.md
|
113
113
|
- docs/StorageHostVolumeMappingApi.md
|
114
114
|
- docs/StorageHostVolumeMappingCreate.md
|
115
|
+
- docs/StorageHostVolumeMappingResponse.md
|
115
116
|
- docs/StorageResource.md
|
116
117
|
- docs/StorageResourceApi.md
|
117
118
|
- docs/StorageResourceCreate.md
|
@@ -191,6 +192,7 @@ files:
|
|
191
192
|
- lib/autosde_openapi_client/models/storage_host_update.rb
|
192
193
|
- lib/autosde_openapi_client/models/storage_host_volume_mapping.rb
|
193
194
|
- lib/autosde_openapi_client/models/storage_host_volume_mapping_create.rb
|
195
|
+
- lib/autosde_openapi_client/models/storage_host_volume_mapping_response.rb
|
194
196
|
- lib/autosde_openapi_client/models/storage_resource.rb
|
195
197
|
- lib/autosde_openapi_client/models/storage_resource_create.rb
|
196
198
|
- lib/autosde_openapi_client/models/storage_resource_response.rb
|
@@ -262,6 +264,7 @@ files:
|
|
262
264
|
- spec/models/storage_host_spec.rb
|
263
265
|
- spec/models/storage_host_update_spec.rb
|
264
266
|
- spec/models/storage_host_volume_mapping_create_spec.rb
|
267
|
+
- spec/models/storage_host_volume_mapping_response_spec.rb
|
265
268
|
- spec/models/storage_host_volume_mapping_spec.rb
|
266
269
|
- spec/models/storage_resource_create_spec.rb
|
267
270
|
- spec/models/storage_resource_response_spec.rb
|
@@ -296,80 +299,82 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
296
299
|
- !ruby/object:Gem::Version
|
297
300
|
version: '0'
|
298
301
|
requirements: []
|
299
|
-
|
302
|
+
rubyforge_project:
|
303
|
+
rubygems_version: 2.7.6
|
300
304
|
signing_key:
|
301
305
|
specification_version: 4
|
302
306
|
summary: Site Manager API Ruby Gem
|
303
307
|
test_files:
|
304
308
|
- spec/api/volume_safe_delete_api_spec.rb
|
305
|
-
- spec/api/system_type_api_spec.rb
|
306
|
-
- spec/api/job_api_spec.rb
|
307
|
-
- spec/api/service_resource_attachment_api_spec.rb
|
308
|
-
- spec/api/capability_translation_api_spec.rb
|
309
|
-
- spec/api/address_api_spec.rb
|
310
|
-
- spec/api/abstract_capability_api_spec.rb
|
311
|
-
- spec/api/host_volume_connection_api_spec.rb
|
312
|
-
- spec/api/account_api_spec.rb
|
313
|
-
- spec/api/storage_host_api_spec.rb
|
314
|
-
- spec/api/storage_system_api_spec.rb
|
315
|
-
- spec/api/host_api_spec.rb
|
316
309
|
- spec/api/auto_sde_role_api_spec.rb
|
317
|
-
- spec/api/
|
318
|
-
- spec/api/service_api_spec.rb
|
310
|
+
- spec/api/abstract_capability_api_spec.rb
|
319
311
|
- spec/api/authentication_api_spec.rb
|
320
|
-
- spec/api/profile_api_spec.rb
|
321
|
-
- spec/api/storage_host_volume_mapping_api_spec.rb
|
322
|
-
- spec/api/storage_resource_api_spec.rb
|
323
312
|
- spec/api/provisioning_strategy_api_spec.rb
|
313
|
+
- spec/api/snapshot_api_spec.rb
|
314
|
+
- spec/api/storage_system_api_spec.rb
|
315
|
+
- spec/api/address_api_spec.rb
|
324
316
|
- spec/api/auto_sde_project_api_spec.rb
|
325
317
|
- spec/api/native_capability_api_spec.rb
|
326
|
-
- spec/api/
|
318
|
+
- spec/api/host_api_spec.rb
|
319
|
+
- spec/api/profile_api_spec.rb
|
320
|
+
- spec/api/account_api_spec.rb
|
321
|
+
- spec/api/job_api_spec.rb
|
322
|
+
- spec/api/volume_api_spec.rb
|
323
|
+
- spec/api/storage_resource_api_spec.rb
|
324
|
+
- spec/api/storage_host_api_spec.rb
|
325
|
+
- spec/api/storage_host_volume_mapping_api_spec.rb
|
326
|
+
- spec/api/service_api_spec.rb
|
327
|
+
- spec/api/capability_translation_api_spec.rb
|
328
|
+
- spec/api/host_volume_connection_api_spec.rb
|
329
|
+
- spec/api/service_resource_attachment_api_spec.rb
|
330
|
+
- spec/api/system_type_api_spec.rb
|
327
331
|
- spec/api_client_spec.rb
|
328
332
|
- spec/configuration_spec.rb
|
329
|
-
- spec/models/system_type_spec.rb
|
330
|
-
- spec/models/service_abstract_capability_value_spec.rb
|
331
|
-
- spec/models/host_create_spec.rb
|
332
|
-
- spec/models/storage_host_volume_mapping_spec.rb
|
333
|
-
- spec/models/address_create_spec.rb
|
334
|
-
- spec/models/storage_host_create_spec.rb
|
335
333
|
- spec/models/service_create_spec.rb
|
336
|
-
- spec/models/
|
337
|
-
- spec/models/account_spec.rb
|
338
|
-
- spec/models/snapshot_spec.rb
|
339
|
-
- spec/models/volume_create_spec.rb
|
340
|
-
- spec/models/volume_update_spec.rb
|
341
|
-
- spec/models/address_spec.rb
|
342
|
-
- spec/models/storage_system_spec.rb
|
343
|
-
- spec/models/storage_host_spec.rb
|
344
|
-
- spec/models/auth_response_spec.rb
|
345
|
-
- spec/models/provisioning_strategy_spec.rb
|
346
|
-
- spec/models/storage_host_update_spec.rb
|
347
|
-
- spec/models/volume_safe_delete_spec.rb
|
348
|
-
- spec/models/service_resource_attachment_spec.rb
|
349
|
-
- spec/models/job_create_spec.rb
|
350
|
-
- spec/models/authentication_spec.rb
|
334
|
+
- spec/models/volume_spec.rb
|
351
335
|
- spec/models/capability_translation_create_spec.rb
|
352
|
-
- spec/models/
|
353
|
-
- spec/models/
|
354
|
-
- spec/models/
|
355
|
-
- spec/models/host_volume_connection_create_spec.rb
|
356
|
-
- spec/models/snapshot_create_spec.rb
|
357
|
-
- spec/models/storage_host_response_spec.rb
|
358
|
-
- spec/models/storage_system_create_spec.rb
|
359
|
-
- spec/models/job_spec.rb
|
336
|
+
- spec/models/capability_translation_spec.rb
|
337
|
+
- spec/models/host_create_spec.rb
|
338
|
+
- spec/models/storage_host_spec.rb
|
360
339
|
- spec/models/account_post_response_spec.rb
|
361
|
-
- spec/models/service_spec.rb
|
362
|
-
- spec/models/account_post_request_spec.rb
|
363
340
|
- spec/models/system_type_create_spec.rb
|
364
|
-
- spec/models/
|
365
|
-
- spec/models/
|
366
|
-
- spec/models/abstract_capability_spec.rb
|
341
|
+
- spec/models/address_spec.rb
|
342
|
+
- spec/models/storage_resource_response_spec.rb
|
367
343
|
- spec/models/host_spec.rb
|
344
|
+
- spec/models/job_spec.rb
|
345
|
+
- spec/models/native_capability_spec.rb
|
346
|
+
- spec/models/storage_system_spec.rb
|
347
|
+
- spec/models/volume_safe_delete_spec.rb
|
348
|
+
- spec/models/host_volume_connection_create_spec.rb
|
349
|
+
- spec/models/auth_response_spec.rb
|
350
|
+
- spec/models/storage_host_create_spec.rb
|
368
351
|
- spec/models/storage_resource_spec.rb
|
352
|
+
- spec/models/address_create_spec.rb
|
353
|
+
- spec/models/account_spec.rb
|
354
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
355
|
+
- spec/models/snapshot_spec.rb
|
356
|
+
- spec/models/auto_sde_role_spec.rb
|
357
|
+
- spec/models/service_resource_attachment_spec.rb
|
358
|
+
- spec/models/storage_host_update_spec.rb
|
359
|
+
- spec/models/volume_create_spec.rb
|
360
|
+
- spec/models/host_volume_connection_spec.rb
|
369
361
|
- spec/models/volume_safe_delete_create_spec.rb
|
362
|
+
- spec/models/storage_host_volume_mapping_response_spec.rb
|
370
363
|
- spec/models/profile_spec.rb
|
371
|
-
- spec/models/
|
372
|
-
- spec/models/
|
364
|
+
- spec/models/storage_host_volume_mapping_create_spec.rb
|
365
|
+
- spec/models/storage_host_volume_mapping_spec.rb
|
366
|
+
- spec/models/authentication_spec.rb
|
373
367
|
- spec/models/storage_resource_create_spec.rb
|
374
|
-
- spec/models/
|
368
|
+
- spec/models/system_type_spec.rb
|
369
|
+
- spec/models/auto_sde_project_spec.rb
|
370
|
+
- spec/models/storage_host_response_spec.rb
|
371
|
+
- spec/models/snapshot_create_spec.rb
|
372
|
+
- spec/models/service_spec.rb
|
373
|
+
- spec/models/abstract_capability_spec.rb
|
374
|
+
- spec/models/account_post_request_spec.rb
|
375
|
+
- spec/models/job_create_spec.rb
|
376
|
+
- spec/models/provisioning_strategy_spec.rb
|
377
|
+
- spec/models/storage_system_create_spec.rb
|
378
|
+
- spec/models/volume_update_spec.rb
|
379
|
+
- spec/models/volume_response_spec.rb
|
375
380
|
- spec/spec_helper.rb
|