autosde_openapi_client 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +32 -7
- data/docs/AbstractCapabilityApi.md +6 -6
- data/docs/AccountApi.md +9 -9
- data/docs/AddressApi.md +6 -6
- data/docs/AuthenticationApi.md +1 -1
- data/docs/AutoSDEProjectApi.md +6 -6
- data/docs/AutoSDERoleApi.md +6 -6
- data/docs/CapabilityTranslationApi.md +6 -6
- data/docs/HostApi.md +6 -6
- data/docs/HostVolumeConnectionApi.md +6 -6
- data/docs/Job.md +29 -0
- data/docs/JobApi.md +104 -0
- data/docs/JobCreate.md +19 -0
- data/docs/NativeCapabilityApi.md +6 -6
- data/docs/ProfileApi.md +6 -6
- data/docs/ProvisioningStrategyApi.md +6 -6
- data/docs/ServiceApi.md +9 -9
- data/docs/ServiceResourceAttachmentApi.md +6 -6
- data/docs/Snapshot.md +25 -0
- data/docs/SnapshotApi.md +204 -0
- data/docs/SnapshotCreate.md +23 -0
- data/docs/StorageHost.md +29 -0
- data/docs/StorageHostApi.md +256 -0
- data/docs/StorageHostCreate.md +37 -0
- data/docs/StorageHostResponse.md +31 -0
- data/docs/StorageHostUpdate.md +21 -0
- data/docs/StorageHostVolumeMapping.md +25 -0
- data/docs/StorageHostVolumeMappingApi.md +204 -0
- data/docs/StorageHostVolumeMappingCreate.md +23 -0
- data/docs/StorageResourceApi.md +9 -9
- data/docs/StorageSystemApi.md +6 -6
- data/docs/SystemTypeApi.md +6 -6
- data/docs/Volume.md +2 -0
- data/docs/VolumeApi.md +9 -9
- data/docs/VolumeCreate.md +2 -0
- data/docs/VolumeResponse.md +2 -0
- data/docs/VolumeSafeDeleteApi.md +6 -6
- data/docs/VolumeUpdate.md +3 -1
- data/lib/openapi_client.rb +108 -0
- data/lib/{autosde_openapi_client → openapi_client}/api/abstract_capability_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/account_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/address_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/authentication_api.rb +5 -4
- data/lib/{autosde_openapi_client → openapi_client}/api/auto_sde_project_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/auto_sde_role_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/capability_translation_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/host_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/host_volume_connection_api.rb +19 -15
- data/lib/openapi_client/api/job_api.rb +136 -0
- data/lib/{autosde_openapi_client → openapi_client}/api/native_capability_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/profile_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/provisioning_strategy_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/service_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/service_resource_attachment_api.rb +19 -15
- data/lib/openapi_client/api/snapshot_api.rb +254 -0
- data/lib/openapi_client/api/storage_host_api.rb +321 -0
- data/lib/openapi_client/api/storage_host_volume_mapping_api.rb +254 -0
- data/lib/{autosde_openapi_client → openapi_client}/api/storage_resource_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/storage_system_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/system_type_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api/volume_api.rb +25 -20
- data/lib/{autosde_openapi_client → openapi_client}/api/volume_safe_delete_api.rb +19 -15
- data/lib/{autosde_openapi_client → openapi_client}/api_client.rb +46 -45
- data/lib/{autosde_openapi_client → openapi_client}/api_error.rb +1 -1
- data/lib/{autosde_openapi_client → openapi_client}/configuration.rb +34 -7
- data/lib/{autosde_openapi_client → openapi_client}/models/abstract_capability.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/account.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/account_post_request.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/account_post_response.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/address.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/address_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/auth_response.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/authentication.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/auto_sde_project.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/auto_sde_role.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/capability_translation.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/capability_translation_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host_volume_connection.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/host_volume_connection_create.rb +9 -5
- data/lib/openapi_client/models/job.rb +272 -0
- data/lib/openapi_client/models/job_create.rb +222 -0
- data/lib/{autosde_openapi_client → openapi_client}/models/native_capability.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/profile.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/provisioning_strategy.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service_abstract_capability_value.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/service_resource_attachment.rb +9 -5
- data/lib/openapi_client/models/snapshot.rb +290 -0
- data/lib/openapi_client/models/snapshot_create.rb +280 -0
- data/lib/openapi_client/models/storage_host.rb +309 -0
- data/lib/openapi_client/models/storage_host_create.rb +360 -0
- data/lib/openapi_client/models/storage_host_response.rb +325 -0
- data/lib/openapi_client/models/storage_host_update.rb +293 -0
- data/lib/openapi_client/models/storage_host_volume_mapping.rb +291 -0
- data/lib/openapi_client/models/storage_host_volume_mapping_create.rb +283 -0
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_resource_response.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_system.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/storage_system_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/system_type.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/system_type_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/volume.rb +20 -6
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_create.rb +20 -6
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_response.rb +20 -6
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_safe_delete.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_safe_delete_create.rb +9 -5
- data/lib/{autosde_openapi_client → openapi_client}/models/volume_update.rb +22 -6
- data/lib/{autosde_openapi_client → openapi_client}/version.rb +2 -2
- data/{autosde_openapi_client.gemspec → openapi_client.gemspec} +3 -4
- data/spec/api/abstract_capability_api_spec.rb +1 -1
- data/spec/api/account_api_spec.rb +1 -1
- data/spec/api/address_api_spec.rb +1 -1
- data/spec/api/authentication_api_spec.rb +1 -1
- data/spec/api/auto_sde_project_api_spec.rb +1 -1
- data/spec/api/auto_sde_role_api_spec.rb +1 -1
- data/spec/api/capability_translation_api_spec.rb +1 -1
- data/spec/api/host_api_spec.rb +1 -1
- data/spec/api/host_volume_connection_api_spec.rb +1 -1
- data/spec/api/job_api_spec.rb +54 -0
- data/spec/api/native_capability_api_spec.rb +1 -1
- data/spec/api/profile_api_spec.rb +1 -1
- data/spec/api/provisioning_strategy_api_spec.rb +1 -1
- data/spec/api/service_api_spec.rb +1 -1
- data/spec/api/service_resource_attachment_api_spec.rb +1 -1
- data/spec/api/snapshot_api_spec.rb +74 -0
- data/spec/api/storage_host_api_spec.rb +74 -0
- data/spec/api/storage_host_volume_mapping_api_spec.rb +74 -0
- data/spec/api/storage_resource_api_spec.rb +1 -1
- data/spec/api/storage_system_api_spec.rb +1 -1
- data/spec/api/system_type_api_spec.rb +1 -1
- data/spec/api/volume_api_spec.rb +1 -1
- data/spec/api/volume_safe_delete_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/abstract_capability_spec.rb +1 -1
- data/spec/models/account_post_request_spec.rb +1 -1
- data/spec/models/account_post_response_spec.rb +1 -1
- data/spec/models/account_spec.rb +1 -1
- data/spec/models/address_create_spec.rb +1 -1
- data/spec/models/address_spec.rb +1 -1
- data/spec/models/auth_response_spec.rb +1 -1
- data/spec/models/authentication_spec.rb +1 -1
- data/spec/models/auto_sde_project_spec.rb +1 -1
- data/spec/models/auto_sde_role_spec.rb +1 -1
- data/spec/models/capability_translation_create_spec.rb +1 -1
- data/spec/models/capability_translation_spec.rb +1 -1
- data/spec/models/host_create_spec.rb +1 -1
- data/spec/models/host_spec.rb +1 -1
- data/spec/models/host_volume_connection_create_spec.rb +1 -1
- data/spec/models/host_volume_connection_spec.rb +1 -1
- data/spec/models/job_create_spec.rb +47 -0
- data/spec/models/job_spec.rb +77 -0
- data/spec/models/native_capability_spec.rb +1 -1
- data/spec/models/profile_spec.rb +1 -1
- data/spec/models/provisioning_strategy_spec.rb +1 -1
- data/spec/models/service_abstract_capability_value_spec.rb +1 -1
- data/spec/models/service_create_spec.rb +1 -1
- data/spec/models/service_resource_attachment_spec.rb +1 -1
- data/spec/models/service_spec.rb +1 -1
- data/spec/models/snapshot_create_spec.rb +63 -0
- data/spec/models/snapshot_spec.rb +69 -0
- data/spec/models/storage_host_create_spec.rb +109 -0
- data/spec/models/storage_host_response_spec.rb +87 -0
- data/spec/models/storage_host_spec.rb +81 -0
- data/spec/models/storage_host_update_spec.rb +61 -0
- data/spec/models/storage_host_volume_mapping_create_spec.rb +63 -0
- data/spec/models/storage_host_volume_mapping_spec.rb +69 -0
- data/spec/models/storage_resource_create_spec.rb +1 -1
- data/spec/models/storage_resource_response_spec.rb +1 -1
- data/spec/models/storage_resource_spec.rb +1 -1
- data/spec/models/storage_system_create_spec.rb +1 -1
- data/spec/models/storage_system_spec.rb +1 -1
- data/spec/models/system_type_create_spec.rb +1 -1
- data/spec/models/system_type_spec.rb +1 -1
- data/spec/models/volume_create_spec.rb +1 -1
- data/spec/models/volume_response_spec.rb +1 -1
- data/spec/models/volume_safe_delete_create_spec.rb +1 -1
- data/spec/models/volume_safe_delete_spec.rb +1 -1
- data/spec/models/volume_spec.rb +1 -1
- data/spec/models/volume_update_spec.rb +7 -1
- data/spec/spec_helper.rb +2 -2
- metadata +142 -106
- data/lib/autosde_openapi_client.rb +0 -94
- data/site_manager_oas.json +0 -3992
@@ -0,0 +1,61 @@
|
|
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-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::StorageHostUpdate
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'StorageHostUpdate' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::StorageHostUpdate.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of StorageHostUpdate' do
|
31
|
+
it 'should create an instance of StorageHostUpdate' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::StorageHostUpdate)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "operation"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["add", "delete"])
|
39
|
+
# validator.allowable_values.each do |value|
|
40
|
+
# expect { @instance.operation = value }.not_to raise_error
|
41
|
+
# end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "port"' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe 'test attribute "port_type"' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ISCSI", "FC"])
|
55
|
+
# validator.allowable_values.each do |value|
|
56
|
+
# expect { @instance.port_type = value }.not_to raise_error
|
57
|
+
# end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
@@ -0,0 +1,63 @@
|
|
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-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::StorageHostVolumeMappingCreate
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'StorageHostVolumeMappingCreate' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::StorageHostVolumeMappingCreate.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of StorageHostVolumeMappingCreate' do
|
31
|
+
it 'should create an instance of StorageHostVolumeMappingCreate' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::StorageHostVolumeMappingCreate)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "component_state"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
39
|
+
# validator.allowable_values.each do |value|
|
40
|
+
# expect { @instance.component_state = value }.not_to raise_error
|
41
|
+
# end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "host"' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe 'test attribute "lun"' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
describe 'test attribute "volume"' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
@@ -0,0 +1,69 @@
|
|
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-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::StorageHostVolumeMapping
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'StorageHostVolumeMapping' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::StorageHostVolumeMapping.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of StorageHostVolumeMapping' do
|
31
|
+
it 'should create an instance of StorageHostVolumeMapping' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::StorageHostVolumeMapping)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "component_state"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
39
|
+
# validator.allowable_values.each do |value|
|
40
|
+
# expect { @instance.component_state = value }.not_to raise_error
|
41
|
+
# end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "host"' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe 'test attribute "lun"' do
|
52
|
+
it 'should work' do
|
53
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
describe 'test attribute "uuid"' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe 'test attribute "volume"' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
end
|
data/spec/models/volume_spec.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: autosde@il.ibm.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -32,6 +32,12 @@ describe 'VolumeUpdate' do
|
|
32
32
|
expect(@instance).to be_instance_of(OpenapiClient::VolumeUpdate)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "name"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
35
41
|
describe 'test attribute "size"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/spec_helper.rb
CHANGED
@@ -6,12 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
Contact: autosde@il.ibm.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version:
|
9
|
+
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
# load the gem
|
14
|
-
require '
|
14
|
+
require 'openapi_client'
|
15
15
|
|
16
16
|
# The following was generated by the `rspec --init` command. Conventionally, all
|
17
17
|
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -31,45 +31,25 @@ dependencies:
|
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.1
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
34
|
+
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 2.1.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
43
|
-
type: :runtime
|
44
|
-
prerelease: false
|
45
|
-
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 2.1.0
|
50
|
-
- - "~>"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '2.1'
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: rspec
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
39
|
+
version: '3.6'
|
57
40
|
- - ">="
|
58
41
|
- !ruby/object:Gem::Version
|
59
42
|
version: 3.6.0
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '3.6'
|
63
43
|
type: :development
|
64
44
|
prerelease: false
|
65
45
|
version_requirements: !ruby/object:Gem::Requirement
|
66
46
|
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 3.6.0
|
70
47
|
- - "~>"
|
71
48
|
- !ruby/object:Gem::Version
|
72
49
|
version: '3.6'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 3.6.0
|
73
53
|
description: Site Manager API
|
74
54
|
email:
|
75
55
|
- autosde@il.ibm.com
|
@@ -80,7 +60,6 @@ files:
|
|
80
60
|
- Gemfile
|
81
61
|
- README.md
|
82
62
|
- Rakefile
|
83
|
-
- autosde_openapi_client.gemspec
|
84
63
|
- docs/AbstractCapability.md
|
85
64
|
- docs/AbstractCapabilityApi.md
|
86
65
|
- docs/Account.md
|
@@ -106,6 +85,9 @@ files:
|
|
106
85
|
- docs/HostVolumeConnection.md
|
107
86
|
- docs/HostVolumeConnectionApi.md
|
108
87
|
- docs/HostVolumeConnectionCreate.md
|
88
|
+
- docs/Job.md
|
89
|
+
- docs/JobApi.md
|
90
|
+
- docs/JobCreate.md
|
109
91
|
- docs/NativeCapability.md
|
110
92
|
- docs/NativeCapabilityApi.md
|
111
93
|
- docs/Profile.md
|
@@ -118,6 +100,17 @@ files:
|
|
118
100
|
- docs/ServiceCreate.md
|
119
101
|
- docs/ServiceResourceAttachment.md
|
120
102
|
- docs/ServiceResourceAttachmentApi.md
|
103
|
+
- docs/Snapshot.md
|
104
|
+
- docs/SnapshotApi.md
|
105
|
+
- docs/SnapshotCreate.md
|
106
|
+
- docs/StorageHost.md
|
107
|
+
- docs/StorageHostApi.md
|
108
|
+
- docs/StorageHostCreate.md
|
109
|
+
- docs/StorageHostResponse.md
|
110
|
+
- docs/StorageHostUpdate.md
|
111
|
+
- docs/StorageHostVolumeMapping.md
|
112
|
+
- docs/StorageHostVolumeMappingApi.md
|
113
|
+
- docs/StorageHostVolumeMappingCreate.md
|
121
114
|
- docs/StorageResource.md
|
122
115
|
- docs/StorageResourceApi.md
|
123
116
|
- docs/StorageResourceCreate.md
|
@@ -137,67 +130,81 @@ files:
|
|
137
130
|
- docs/VolumeSafeDeleteCreate.md
|
138
131
|
- docs/VolumeUpdate.md
|
139
132
|
- git_push.sh
|
140
|
-
- lib/
|
141
|
-
- lib/
|
142
|
-
- lib/
|
143
|
-
- lib/
|
144
|
-
- lib/
|
145
|
-
- lib/
|
146
|
-
- lib/
|
147
|
-
- lib/
|
148
|
-
- lib/
|
149
|
-
- lib/
|
150
|
-
- lib/
|
151
|
-
- lib/
|
152
|
-
- lib/
|
153
|
-
- lib/
|
154
|
-
- lib/
|
155
|
-
- lib/
|
156
|
-
- lib/
|
157
|
-
- lib/
|
158
|
-
- lib/
|
159
|
-
- lib/
|
160
|
-
- lib/
|
161
|
-
- lib/
|
162
|
-
- lib/
|
163
|
-
- lib/
|
164
|
-
- lib/
|
165
|
-
- lib/
|
166
|
-
- lib/
|
167
|
-
- lib/
|
168
|
-
- lib/
|
169
|
-
- lib/
|
170
|
-
- lib/
|
171
|
-
- lib/
|
172
|
-
- lib/
|
173
|
-
- lib/
|
174
|
-
- lib/
|
175
|
-
- lib/
|
176
|
-
- lib/
|
177
|
-
- lib/
|
178
|
-
- lib/
|
179
|
-
- lib/
|
180
|
-
- lib/
|
181
|
-
- lib/
|
182
|
-
- lib/
|
183
|
-
- lib/
|
184
|
-
- lib/
|
185
|
-
- lib/
|
186
|
-
- lib/
|
187
|
-
- lib/
|
188
|
-
- lib/
|
189
|
-
- lib/
|
190
|
-
- lib/
|
191
|
-
- lib/
|
192
|
-
- lib/
|
193
|
-
- lib/
|
194
|
-
- lib/
|
195
|
-
- lib/
|
196
|
-
- lib/
|
197
|
-
- lib/
|
198
|
-
- lib/
|
199
|
-
- lib/
|
200
|
-
-
|
133
|
+
- lib/openapi_client.rb
|
134
|
+
- lib/openapi_client/api/abstract_capability_api.rb
|
135
|
+
- lib/openapi_client/api/account_api.rb
|
136
|
+
- lib/openapi_client/api/address_api.rb
|
137
|
+
- lib/openapi_client/api/authentication_api.rb
|
138
|
+
- lib/openapi_client/api/auto_sde_project_api.rb
|
139
|
+
- lib/openapi_client/api/auto_sde_role_api.rb
|
140
|
+
- lib/openapi_client/api/capability_translation_api.rb
|
141
|
+
- lib/openapi_client/api/host_api.rb
|
142
|
+
- lib/openapi_client/api/host_volume_connection_api.rb
|
143
|
+
- lib/openapi_client/api/job_api.rb
|
144
|
+
- lib/openapi_client/api/native_capability_api.rb
|
145
|
+
- lib/openapi_client/api/profile_api.rb
|
146
|
+
- lib/openapi_client/api/provisioning_strategy_api.rb
|
147
|
+
- lib/openapi_client/api/service_api.rb
|
148
|
+
- lib/openapi_client/api/service_resource_attachment_api.rb
|
149
|
+
- lib/openapi_client/api/snapshot_api.rb
|
150
|
+
- lib/openapi_client/api/storage_host_api.rb
|
151
|
+
- lib/openapi_client/api/storage_host_volume_mapping_api.rb
|
152
|
+
- lib/openapi_client/api/storage_resource_api.rb
|
153
|
+
- lib/openapi_client/api/storage_system_api.rb
|
154
|
+
- lib/openapi_client/api/system_type_api.rb
|
155
|
+
- lib/openapi_client/api/volume_api.rb
|
156
|
+
- lib/openapi_client/api/volume_safe_delete_api.rb
|
157
|
+
- lib/openapi_client/api_client.rb
|
158
|
+
- lib/openapi_client/api_error.rb
|
159
|
+
- lib/openapi_client/configuration.rb
|
160
|
+
- lib/openapi_client/models/abstract_capability.rb
|
161
|
+
- lib/openapi_client/models/account.rb
|
162
|
+
- lib/openapi_client/models/account_post_request.rb
|
163
|
+
- lib/openapi_client/models/account_post_response.rb
|
164
|
+
- lib/openapi_client/models/address.rb
|
165
|
+
- lib/openapi_client/models/address_create.rb
|
166
|
+
- lib/openapi_client/models/auth_response.rb
|
167
|
+
- lib/openapi_client/models/authentication.rb
|
168
|
+
- lib/openapi_client/models/auto_sde_project.rb
|
169
|
+
- lib/openapi_client/models/auto_sde_role.rb
|
170
|
+
- lib/openapi_client/models/capability_translation.rb
|
171
|
+
- lib/openapi_client/models/capability_translation_create.rb
|
172
|
+
- lib/openapi_client/models/host.rb
|
173
|
+
- lib/openapi_client/models/host_create.rb
|
174
|
+
- lib/openapi_client/models/host_volume_connection.rb
|
175
|
+
- lib/openapi_client/models/host_volume_connection_create.rb
|
176
|
+
- lib/openapi_client/models/job.rb
|
177
|
+
- lib/openapi_client/models/job_create.rb
|
178
|
+
- lib/openapi_client/models/native_capability.rb
|
179
|
+
- lib/openapi_client/models/profile.rb
|
180
|
+
- lib/openapi_client/models/provisioning_strategy.rb
|
181
|
+
- lib/openapi_client/models/service.rb
|
182
|
+
- lib/openapi_client/models/service_abstract_capability_value.rb
|
183
|
+
- lib/openapi_client/models/service_create.rb
|
184
|
+
- lib/openapi_client/models/service_resource_attachment.rb
|
185
|
+
- lib/openapi_client/models/snapshot.rb
|
186
|
+
- lib/openapi_client/models/snapshot_create.rb
|
187
|
+
- lib/openapi_client/models/storage_host.rb
|
188
|
+
- lib/openapi_client/models/storage_host_create.rb
|
189
|
+
- lib/openapi_client/models/storage_host_response.rb
|
190
|
+
- lib/openapi_client/models/storage_host_update.rb
|
191
|
+
- lib/openapi_client/models/storage_host_volume_mapping.rb
|
192
|
+
- lib/openapi_client/models/storage_host_volume_mapping_create.rb
|
193
|
+
- lib/openapi_client/models/storage_resource.rb
|
194
|
+
- lib/openapi_client/models/storage_resource_create.rb
|
195
|
+
- lib/openapi_client/models/storage_resource_response.rb
|
196
|
+
- lib/openapi_client/models/storage_system.rb
|
197
|
+
- lib/openapi_client/models/storage_system_create.rb
|
198
|
+
- lib/openapi_client/models/system_type.rb
|
199
|
+
- lib/openapi_client/models/system_type_create.rb
|
200
|
+
- lib/openapi_client/models/volume.rb
|
201
|
+
- lib/openapi_client/models/volume_create.rb
|
202
|
+
- lib/openapi_client/models/volume_response.rb
|
203
|
+
- lib/openapi_client/models/volume_safe_delete.rb
|
204
|
+
- lib/openapi_client/models/volume_safe_delete_create.rb
|
205
|
+
- lib/openapi_client/models/volume_update.rb
|
206
|
+
- lib/openapi_client/version.rb
|
207
|
+
- openapi_client.gemspec
|
201
208
|
- spec/api/abstract_capability_api_spec.rb
|
202
209
|
- spec/api/account_api_spec.rb
|
203
210
|
- spec/api/address_api_spec.rb
|
@@ -207,11 +214,15 @@ files:
|
|
207
214
|
- spec/api/capability_translation_api_spec.rb
|
208
215
|
- spec/api/host_api_spec.rb
|
209
216
|
- spec/api/host_volume_connection_api_spec.rb
|
217
|
+
- spec/api/job_api_spec.rb
|
210
218
|
- spec/api/native_capability_api_spec.rb
|
211
219
|
- spec/api/profile_api_spec.rb
|
212
220
|
- spec/api/provisioning_strategy_api_spec.rb
|
213
221
|
- spec/api/service_api_spec.rb
|
214
222
|
- spec/api/service_resource_attachment_api_spec.rb
|
223
|
+
- spec/api/snapshot_api_spec.rb
|
224
|
+
- spec/api/storage_host_api_spec.rb
|
225
|
+
- spec/api/storage_host_volume_mapping_api_spec.rb
|
215
226
|
- spec/api/storage_resource_api_spec.rb
|
216
227
|
- spec/api/storage_system_api_spec.rb
|
217
228
|
- spec/api/system_type_api_spec.rb
|
@@ -235,6 +246,8 @@ files:
|
|
235
246
|
- spec/models/host_spec.rb
|
236
247
|
- spec/models/host_volume_connection_create_spec.rb
|
237
248
|
- spec/models/host_volume_connection_spec.rb
|
249
|
+
- spec/models/job_create_spec.rb
|
250
|
+
- spec/models/job_spec.rb
|
238
251
|
- spec/models/native_capability_spec.rb
|
239
252
|
- spec/models/profile_spec.rb
|
240
253
|
- spec/models/provisioning_strategy_spec.rb
|
@@ -242,6 +255,14 @@ files:
|
|
242
255
|
- spec/models/service_create_spec.rb
|
243
256
|
- spec/models/service_resource_attachment_spec.rb
|
244
257
|
- spec/models/service_spec.rb
|
258
|
+
- spec/models/snapshot_create_spec.rb
|
259
|
+
- spec/models/snapshot_spec.rb
|
260
|
+
- spec/models/storage_host_create_spec.rb
|
261
|
+
- spec/models/storage_host_response_spec.rb
|
262
|
+
- spec/models/storage_host_spec.rb
|
263
|
+
- spec/models/storage_host_update_spec.rb
|
264
|
+
- spec/models/storage_host_volume_mapping_create_spec.rb
|
265
|
+
- spec/models/storage_host_volume_mapping_spec.rb
|
245
266
|
- spec/models/storage_resource_create_spec.rb
|
246
267
|
- spec/models/storage_resource_response_spec.rb
|
247
268
|
- spec/models/storage_resource_spec.rb
|
@@ -260,7 +281,7 @@ homepage: https://openapi-generator.tech
|
|
260
281
|
licenses:
|
261
282
|
- Unlicense
|
262
283
|
metadata: {}
|
263
|
-
post_install_message:
|
284
|
+
post_install_message:
|
264
285
|
rdoc_options: []
|
265
286
|
require_paths:
|
266
287
|
- lib
|
@@ -268,15 +289,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
268
289
|
requirements:
|
269
290
|
- - ">="
|
270
291
|
- !ruby/object:Gem::Version
|
271
|
-
version: '
|
292
|
+
version: '2.4'
|
272
293
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
273
294
|
requirements:
|
274
295
|
- - ">="
|
275
296
|
- !ruby/object:Gem::Version
|
276
297
|
version: '0'
|
277
298
|
requirements: []
|
278
|
-
|
279
|
-
|
299
|
+
rubyforge_project:
|
300
|
+
rubygems_version: 2.7.6.2
|
301
|
+
signing_key:
|
280
302
|
specification_version: 4
|
281
303
|
summary: Site Manager API Ruby Gem
|
282
304
|
test_files:
|
@@ -289,11 +311,15 @@ test_files:
|
|
289
311
|
- spec/api/capability_translation_api_spec.rb
|
290
312
|
- spec/api/host_api_spec.rb
|
291
313
|
- spec/api/host_volume_connection_api_spec.rb
|
314
|
+
- spec/api/job_api_spec.rb
|
292
315
|
- spec/api/native_capability_api_spec.rb
|
293
316
|
- spec/api/profile_api_spec.rb
|
294
317
|
- spec/api/provisioning_strategy_api_spec.rb
|
295
318
|
- spec/api/service_api_spec.rb
|
296
319
|
- spec/api/service_resource_attachment_api_spec.rb
|
320
|
+
- spec/api/snapshot_api_spec.rb
|
321
|
+
- spec/api/storage_host_api_spec.rb
|
322
|
+
- spec/api/storage_host_volume_mapping_api_spec.rb
|
297
323
|
- spec/api/storage_resource_api_spec.rb
|
298
324
|
- spec/api/storage_system_api_spec.rb
|
299
325
|
- spec/api/system_type_api_spec.rb
|
@@ -302,39 +328,49 @@ test_files:
|
|
302
328
|
- spec/api_client_spec.rb
|
303
329
|
- spec/configuration_spec.rb
|
304
330
|
- spec/models/abstract_capability_spec.rb
|
305
|
-
- spec/models/account_spec.rb
|
306
331
|
- spec/models/account_post_request_spec.rb
|
307
332
|
- spec/models/account_post_response_spec.rb
|
308
|
-
- spec/models/
|
333
|
+
- spec/models/account_spec.rb
|
309
334
|
- spec/models/address_create_spec.rb
|
310
|
-
- spec/models/
|
335
|
+
- spec/models/address_spec.rb
|
311
336
|
- spec/models/authentication_spec.rb
|
337
|
+
- spec/models/auth_response_spec.rb
|
312
338
|
- spec/models/auto_sde_project_spec.rb
|
313
339
|
- spec/models/auto_sde_role_spec.rb
|
314
|
-
- spec/models/capability_translation_spec.rb
|
315
340
|
- spec/models/capability_translation_create_spec.rb
|
316
|
-
- spec/models/
|
341
|
+
- spec/models/capability_translation_spec.rb
|
317
342
|
- spec/models/host_create_spec.rb
|
318
|
-
- spec/models/
|
343
|
+
- spec/models/host_spec.rb
|
319
344
|
- spec/models/host_volume_connection_create_spec.rb
|
345
|
+
- spec/models/host_volume_connection_spec.rb
|
346
|
+
- spec/models/job_create_spec.rb
|
347
|
+
- spec/models/job_spec.rb
|
320
348
|
- spec/models/native_capability_spec.rb
|
321
349
|
- spec/models/profile_spec.rb
|
322
350
|
- spec/models/provisioning_strategy_spec.rb
|
323
|
-
- spec/models/service_spec.rb
|
324
351
|
- spec/models/service_abstract_capability_value_spec.rb
|
325
352
|
- spec/models/service_create_spec.rb
|
326
353
|
- spec/models/service_resource_attachment_spec.rb
|
327
|
-
- spec/models/
|
354
|
+
- spec/models/service_spec.rb
|
355
|
+
- spec/models/snapshot_create_spec.rb
|
356
|
+
- spec/models/snapshot_spec.rb
|
357
|
+
- spec/models/storage_host_create_spec.rb
|
358
|
+
- spec/models/storage_host_response_spec.rb
|
359
|
+
- spec/models/storage_host_spec.rb
|
360
|
+
- spec/models/storage_host_update_spec.rb
|
361
|
+
- spec/models/storage_host_volume_mapping_create_spec.rb
|
362
|
+
- spec/models/storage_host_volume_mapping_spec.rb
|
328
363
|
- spec/models/storage_resource_create_spec.rb
|
329
364
|
- spec/models/storage_resource_response_spec.rb
|
330
|
-
- spec/models/
|
365
|
+
- spec/models/storage_resource_spec.rb
|
331
366
|
- spec/models/storage_system_create_spec.rb
|
332
|
-
- spec/models/
|
367
|
+
- spec/models/storage_system_spec.rb
|
333
368
|
- spec/models/system_type_create_spec.rb
|
334
|
-
- spec/models/
|
369
|
+
- spec/models/system_type_spec.rb
|
335
370
|
- spec/models/volume_create_spec.rb
|
336
371
|
- spec/models/volume_response_spec.rb
|
337
|
-
- spec/models/volume_safe_delete_spec.rb
|
338
372
|
- spec/models/volume_safe_delete_create_spec.rb
|
373
|
+
- spec/models/volume_safe_delete_spec.rb
|
374
|
+
- spec/models/volume_spec.rb
|
339
375
|
- spec/models/volume_update_spec.rb
|
340
376
|
- spec/spec_helper.rb
|