autosde_openapi_client 1.0.48 → 1.0.49
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 +7 -0
- data/docs/HostCluster.md +3 -1
- data/docs/HostClusterCreate.md +3 -1
- data/docs/HostClusterVolumeMapping.md +26 -0
- data/docs/HostClusterVolumeMappingApi.md +276 -0
- data/docs/HostClusterVolumeMappingCreate.md +24 -0
- data/docs/HostClusterVolumeMappingResponse.md +26 -0
- data/lib/autosde_openapi_client/api/host_cluster_volume_mapping_api.rb +254 -0
- data/lib/autosde_openapi_client/models/host_cluster.rb +13 -4
- data/lib/autosde_openapi_client/models/host_cluster_create.rb +13 -4
- data/lib/autosde_openapi_client/models/host_cluster_volume_mapping.rb +299 -0
- data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_create.rb +291 -0
- data/lib/autosde_openapi_client/models/host_cluster_volume_mapping_response.rb +301 -0
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/lib/autosde_openapi_client.rb +4 -0
- data/spec/api/host_cluster_volume_mapping_api_spec.rb +74 -0
- data/spec/models/host_cluster_create_spec.rb +6 -0
- data/spec/models/host_cluster_spec.rb +6 -0
- data/spec/models/host_cluster_volume_mapping_create_spec.rb +56 -0
- data/spec/models/host_cluster_volume_mapping_response_spec.rb +62 -0
- data/spec/models/host_cluster_volume_mapping_spec.rb +62 -0
- metadata +76 -60
@@ -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::HostClusterVolumeMappingResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::HostClusterVolumeMappingResponse do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::HostClusterVolumeMappingResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of HostClusterVolumeMappingResponse' do
|
24
|
+
it 'should create an instance of HostClusterVolumeMappingResponse' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterVolumeMappingResponse)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "cluster"' 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
|
+
describe 'test attribute "component_state"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
38
|
+
# validator.allowable_values.each do |value|
|
39
|
+
# expect { instance.component_state = value }.not_to raise_error
|
40
|
+
# end
|
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
|
@@ -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::HostClusterVolumeMapping
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::HostClusterVolumeMapping do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::HostClusterVolumeMapping.new }
|
22
|
+
|
23
|
+
describe 'test an instance of HostClusterVolumeMapping' do
|
24
|
+
it 'should create an instance of HostClusterVolumeMapping' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterVolumeMapping)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "cluster"' 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
|
+
describe 'test attribute "component_state"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
38
|
+
# validator.allowable_values.each do |value|
|
39
|
+
# expect { instance.component_state = value }.not_to raise_error
|
40
|
+
# end
|
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
|
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.49
|
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-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -87,6 +87,10 @@ files:
|
|
87
87
|
- docs/HostClusterCreate.md
|
88
88
|
- docs/HostClusterMembership.md
|
89
89
|
- docs/HostClusterMembershipApi.md
|
90
|
+
- docs/HostClusterVolumeMapping.md
|
91
|
+
- docs/HostClusterVolumeMappingApi.md
|
92
|
+
- docs/HostClusterVolumeMappingCreate.md
|
93
|
+
- docs/HostClusterVolumeMappingResponse.md
|
90
94
|
- docs/HostCreate.md
|
91
95
|
- docs/HostVolumeConnection.md
|
92
96
|
- docs/HostVolumeConnectionApi.md
|
@@ -151,6 +155,7 @@ files:
|
|
151
155
|
- lib/autosde_openapi_client/api/host_api.rb
|
152
156
|
- lib/autosde_openapi_client/api/host_cluster_api.rb
|
153
157
|
- lib/autosde_openapi_client/api/host_cluster_membership_api.rb
|
158
|
+
- lib/autosde_openapi_client/api/host_cluster_volume_mapping_api.rb
|
154
159
|
- lib/autosde_openapi_client/api/host_volume_connection_api.rb
|
155
160
|
- lib/autosde_openapi_client/api/job_api.rb
|
156
161
|
- lib/autosde_openapi_client/api/native_capability_api.rb
|
@@ -186,6 +191,9 @@ files:
|
|
186
191
|
- lib/autosde_openapi_client/models/host_cluster.rb
|
187
192
|
- lib/autosde_openapi_client/models/host_cluster_create.rb
|
188
193
|
- lib/autosde_openapi_client/models/host_cluster_membership.rb
|
194
|
+
- lib/autosde_openapi_client/models/host_cluster_volume_mapping.rb
|
195
|
+
- lib/autosde_openapi_client/models/host_cluster_volume_mapping_create.rb
|
196
|
+
- lib/autosde_openapi_client/models/host_cluster_volume_mapping_response.rb
|
189
197
|
- lib/autosde_openapi_client/models/host_create.rb
|
190
198
|
- lib/autosde_openapi_client/models/host_volume_connection.rb
|
191
199
|
- lib/autosde_openapi_client/models/host_volume_connection_create.rb
|
@@ -233,6 +241,7 @@ files:
|
|
233
241
|
- spec/api/host_api_spec.rb
|
234
242
|
- spec/api/host_cluster_api_spec.rb
|
235
243
|
- spec/api/host_cluster_membership_api_spec.rb
|
244
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
236
245
|
- spec/api/host_volume_connection_api_spec.rb
|
237
246
|
- spec/api/job_api_spec.rb
|
238
247
|
- spec/api/native_capability_api_spec.rb
|
@@ -266,6 +275,9 @@ files:
|
|
266
275
|
- spec/models/host_cluster_create_spec.rb
|
267
276
|
- spec/models/host_cluster_membership_spec.rb
|
268
277
|
- spec/models/host_cluster_spec.rb
|
278
|
+
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
279
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
280
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
269
281
|
- spec/models/host_create_spec.rb
|
270
282
|
- spec/models/host_spec.rb
|
271
283
|
- spec/models/host_volume_connection_create_spec.rb
|
@@ -328,84 +340,88 @@ signing_key:
|
|
328
340
|
specification_version: 4
|
329
341
|
summary: Site Manager API Ruby Gem
|
330
342
|
test_files:
|
331
|
-
- spec/api/
|
332
|
-
- spec/api/auto_sde_role_api_spec.rb
|
333
|
-
- spec/api/host_cluster_membership_api_spec.rb
|
334
|
-
- spec/api/service_api_spec.rb
|
335
|
-
- spec/api/volume_api_spec.rb
|
336
|
-
- spec/api/provisioning_strategy_api_spec.rb
|
337
|
-
- spec/api/system_type_api_spec.rb
|
338
|
-
- spec/api/native_capability_api_spec.rb
|
339
|
-
- spec/api/capability_translation_api_spec.rb
|
340
|
-
- spec/api/volume_safe_delete_api_spec.rb
|
341
|
-
- spec/api/storage_host_volume_mapping_api_spec.rb
|
343
|
+
- spec/api/host_api_spec.rb
|
342
344
|
- spec/api/profile_api_spec.rb
|
345
|
+
- spec/api/native_capability_api_spec.rb
|
343
346
|
- spec/api/abstract_capability_api_spec.rb
|
344
|
-
- spec/api/
|
345
|
-
- spec/api/job_api_spec.rb
|
346
|
-
- spec/api/host_cluster_api_spec.rb
|
347
|
-
- spec/api/host_volume_connection_api_spec.rb
|
348
|
-
- spec/api/host_api_spec.rb
|
349
|
-
- spec/api/address_api_spec.rb
|
350
|
-
- spec/api/authentication_api_spec.rb
|
351
|
-
- spec/api/auto_sde_project_api_spec.rb
|
347
|
+
- spec/api/volume_api_spec.rb
|
352
348
|
- spec/api/account_api_spec.rb
|
349
|
+
- spec/api/host_volume_connection_api_spec.rb
|
350
|
+
- spec/api/storage_host_wwpn_candidates_api_spec.rb
|
351
|
+
- spec/api/service_resource_attachment_api_spec.rb
|
353
352
|
- spec/api/storage_system_api_spec.rb
|
353
|
+
- spec/api/provisioning_strategy_api_spec.rb
|
354
|
+
- spec/api/volume_safe_delete_api_spec.rb
|
354
355
|
- spec/api/storage_host_api_spec.rb
|
356
|
+
- spec/api/host_cluster_volume_mapping_api_spec.rb
|
357
|
+
- spec/api/host_cluster_membership_api_spec.rb
|
358
|
+
- spec/api/host_cluster_api_spec.rb
|
359
|
+
- spec/api/snapshot_api_spec.rb
|
355
360
|
- spec/api/storage_resource_api_spec.rb
|
356
|
-
- spec/api/
|
361
|
+
- spec/api/authentication_api_spec.rb
|
362
|
+
- spec/api/service_api_spec.rb
|
363
|
+
- spec/api/capability_translation_api_spec.rb
|
364
|
+
- spec/api/address_api_spec.rb
|
365
|
+
- spec/api/job_api_spec.rb
|
366
|
+
- spec/api/storage_host_volume_mapping_api_spec.rb
|
367
|
+
- spec/api/system_type_api_spec.rb
|
368
|
+
- spec/api/auto_sde_role_api_spec.rb
|
369
|
+
- spec/api/auto_sde_project_api_spec.rb
|
357
370
|
- spec/api_client_spec.rb
|
358
371
|
- spec/configuration_spec.rb
|
359
|
-
- spec/models/
|
360
|
-
- spec/models/auth_response_spec.rb
|
361
|
-
- spec/models/storage_system_spec.rb
|
362
|
-
- spec/models/capability_translation_create_spec.rb
|
363
|
-
- spec/models/service_resource_attachment_spec.rb
|
372
|
+
- spec/models/volume_create_spec.rb
|
364
373
|
- spec/models/storage_host_wwpn_candidates_spec.rb
|
365
374
|
- spec/models/storage_host_create_spec.rb
|
366
|
-
- spec/models/
|
367
|
-
- spec/models/
|
368
|
-
- spec/models/storage_host_spec.rb
|
369
|
-
- spec/models/host_volume_connection_spec.rb
|
370
|
-
- spec/models/service_abstract_capability_value_spec.rb
|
371
|
-
- spec/models/job_spec.rb
|
375
|
+
- spec/models/auto_sde_role_spec.rb
|
376
|
+
- spec/models/volume_spec.rb
|
372
377
|
- spec/models/profile_spec.rb
|
373
|
-
- spec/models/
|
374
|
-
- spec/models/
|
375
|
-
- spec/models/
|
376
|
-
- spec/models/
|
378
|
+
- spec/models/storage_host_volume_mapping_spec.rb
|
379
|
+
- spec/models/system_type_spec.rb
|
380
|
+
- spec/models/storage_host_response_spec.rb
|
381
|
+
- spec/models/storage_host_volume_mapping_create_spec.rb
|
382
|
+
- spec/models/host_cluster_create_spec.rb
|
377
383
|
- spec/models/storage_resource_create_spec.rb
|
378
|
-
- spec/models/
|
379
|
-
- spec/models/host_create_spec.rb
|
380
|
-
- spec/models/storage_resource_spec.rb
|
381
|
-
- spec/models/host_cluster_membership_spec.rb
|
384
|
+
- spec/models/storage_host_spec.rb
|
382
385
|
- spec/models/address_spec.rb
|
386
|
+
- spec/models/host_volume_connection_create_spec.rb
|
387
|
+
- spec/models/volume_safe_delete_spec.rb
|
388
|
+
- spec/models/host_spec.rb
|
389
|
+
- spec/models/snapshot_spec.rb
|
383
390
|
- spec/models/storage_system_update_spec.rb
|
384
|
-
- spec/models/
|
391
|
+
- spec/models/account_post_request_spec.rb
|
392
|
+
- spec/models/auth_response_spec.rb
|
393
|
+
- spec/models/service_create_spec.rb
|
385
394
|
- spec/models/service_spec.rb
|
386
|
-
- spec/models/
|
395
|
+
- spec/models/abstract_capability_spec.rb
|
396
|
+
- spec/models/host_cluster_volume_mapping_create_spec.rb
|
397
|
+
- spec/models/host_cluster_volume_mapping_response_spec.rb
|
398
|
+
- spec/models/host_cluster_membership_spec.rb
|
399
|
+
- spec/models/volume_response_spec.rb
|
387
400
|
- spec/models/authentication_spec.rb
|
388
|
-
- spec/models/account_post_request_spec.rb
|
389
|
-
- spec/models/volume_create_spec.rb
|
390
401
|
- spec/models/account_post_response_spec.rb
|
391
|
-
- spec/models/storage_host_volume_mapping_response_spec.rb
|
392
|
-
- spec/models/storage_host_volume_mapping_create_spec.rb
|
393
|
-
- spec/models/storage_resource_response_spec.rb
|
394
|
-
- spec/models/provisioning_strategy_spec.rb
|
395
|
-
- spec/models/snapshot_spec.rb
|
396
|
-
- spec/models/auto_sde_role_spec.rb
|
397
|
-
- spec/models/address_create_spec.rb
|
398
|
-
- spec/models/service_create_spec.rb
|
399
|
-
- spec/models/storage_host_volume_mapping_spec.rb
|
400
|
-
- spec/models/snapshot_create_spec.rb
|
401
|
-
- spec/models/host_volume_connection_create_spec.rb
|
402
402
|
- spec/models/storage_system_create_spec.rb
|
403
|
-
- spec/models/
|
403
|
+
- spec/models/storage_resource_spec.rb
|
404
|
+
- spec/models/snapshot_create_spec.rb
|
405
|
+
- spec/models/host_volume_connection_spec.rb
|
406
|
+
- spec/models/host_cluster_volume_mapping_spec.rb
|
404
407
|
- spec/models/host_cluster_spec.rb
|
408
|
+
- spec/models/job_spec.rb
|
409
|
+
- spec/models/job_create_spec.rb
|
410
|
+
- spec/models/storage_system_spec.rb
|
411
|
+
- spec/models/service_resource_attachment_spec.rb
|
412
|
+
- spec/models/system_type_create_spec.rb
|
413
|
+
- spec/models/capability_translation_create_spec.rb
|
414
|
+
- spec/models/volume_safe_delete_create_spec.rb
|
415
|
+
- spec/models/service_abstract_capability_value_spec.rb
|
416
|
+
- spec/models/host_create_spec.rb
|
417
|
+
- spec/models/address_create_spec.rb
|
418
|
+
- spec/models/storage_resource_response_spec.rb
|
405
419
|
- spec/models/native_capability_spec.rb
|
406
|
-
- spec/models/host_spec.rb
|
407
|
-
- spec/models/volume_spec.rb
|
408
420
|
- spec/models/account_spec.rb
|
421
|
+
- spec/models/storage_host_update_spec.rb
|
409
422
|
- spec/models/volume_update_spec.rb
|
410
|
-
- spec/models/
|
423
|
+
- spec/models/storage_host_volume_mapping_response_spec.rb
|
424
|
+
- spec/models/auto_sde_project_spec.rb
|
425
|
+
- spec/models/capability_translation_spec.rb
|
426
|
+
- spec/models/provisioning_strategy_spec.rb
|
411
427
|
- spec/spec_helper.rb
|