autosde_openapi_client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +207 -0
- data/Rakefile +10 -0
- data/autosde_openapi_client.gemspec +39 -0
- data/docs/AbstractCapability.md +19 -0
- data/docs/AbstractCapabilityApi.md +204 -0
- data/docs/Account.md +21 -0
- data/docs/AccountApi.md +256 -0
- data/docs/AccountPostRequest.md +19 -0
- data/docs/AccountPostResponse.md +23 -0
- data/docs/Address.md +31 -0
- data/docs/AddressApi.md +204 -0
- data/docs/AddressCreate.md +31 -0
- data/docs/AuthResponse.md +17 -0
- data/docs/Authentication.md +19 -0
- data/docs/AuthenticationApi.md +53 -0
- data/docs/AutoSDEProject.md +55 -0
- data/docs/AutoSDEProjectApi.md +204 -0
- data/docs/AutoSDERole.md +19 -0
- data/docs/AutoSDERoleApi.md +204 -0
- data/docs/CapabilityTranslation.md +35 -0
- data/docs/CapabilityTranslationApi.md +204 -0
- data/docs/CapabilityTranslationCreate.md +31 -0
- data/docs/Host.md +29 -0
- data/docs/HostApi.md +204 -0
- data/docs/HostCreate.md +39 -0
- data/docs/HostVolumeConnection.md +23 -0
- data/docs/HostVolumeConnectionApi.md +204 -0
- data/docs/HostVolumeConnectionCreate.md +21 -0
- data/docs/NativeCapability.md +23 -0
- data/docs/NativeCapabilityApi.md +204 -0
- data/docs/Profile.md +25 -0
- data/docs/ProfileApi.md +204 -0
- data/docs/ProvisioningStrategy.md +19 -0
- data/docs/ProvisioningStrategyApi.md +204 -0
- data/docs/Service.md +35 -0
- data/docs/ServiceAbstractCapabilityValue.md +21 -0
- data/docs/ServiceApi.md +256 -0
- data/docs/ServiceCreate.md +33 -0
- data/docs/ServiceResourceAttachment.md +23 -0
- data/docs/ServiceResourceAttachmentApi.md +204 -0
- data/docs/StorageResource.md +33 -0
- data/docs/StorageResourceApi.md +256 -0
- data/docs/StorageResourceCreate.md +31 -0
- data/docs/StorageResourceResponse.md +33 -0
- data/docs/StorageSystem.md +29 -0
- data/docs/StorageSystemApi.md +204 -0
- data/docs/StorageSystemCreate.md +49 -0
- data/docs/SystemType.md +25 -0
- data/docs/SystemTypeApi.md +204 -0
- data/docs/SystemTypeCreate.md +27 -0
- data/docs/Volume.md +31 -0
- data/docs/VolumeApi.md +256 -0
- data/docs/VolumeCreate.md +27 -0
- data/docs/VolumeResponse.md +31 -0
- data/docs/VolumeSafeDelete.md +21 -0
- data/docs/VolumeSafeDeleteApi.md +204 -0
- data/docs/VolumeSafeDeleteCreate.md +17 -0
- data/docs/VolumeUpdate.md +17 -0
- data/git_push.sh +58 -0
- data/lib/autosde_openapi_client.rb +94 -0
- data/lib/autosde_openapi_client/api/abstract_capability_api.rb +250 -0
- data/lib/autosde_openapi_client/api/account_api.rb +316 -0
- data/lib/autosde_openapi_client/api/address_api.rb +250 -0
- data/lib/autosde_openapi_client/api/authentication_api.rb +82 -0
- data/lib/autosde_openapi_client/api/auto_sde_project_api.rb +250 -0
- data/lib/autosde_openapi_client/api/auto_sde_role_api.rb +250 -0
- data/lib/autosde_openapi_client/api/capability_translation_api.rb +250 -0
- data/lib/autosde_openapi_client/api/host_api.rb +250 -0
- data/lib/autosde_openapi_client/api/host_volume_connection_api.rb +250 -0
- data/lib/autosde_openapi_client/api/native_capability_api.rb +250 -0
- data/lib/autosde_openapi_client/api/profile_api.rb +250 -0
- data/lib/autosde_openapi_client/api/provisioning_strategy_api.rb +250 -0
- data/lib/autosde_openapi_client/api/service_api.rb +316 -0
- data/lib/autosde_openapi_client/api/service_resource_attachment_api.rb +250 -0
- data/lib/autosde_openapi_client/api/storage_resource_api.rb +316 -0
- data/lib/autosde_openapi_client/api/storage_system_api.rb +250 -0
- data/lib/autosde_openapi_client/api/system_type_api.rb +250 -0
- data/lib/autosde_openapi_client/api/volume_api.rb +316 -0
- data/lib/autosde_openapi_client/api/volume_safe_delete_api.rb +250 -0
- data/lib/autosde_openapi_client/api_client.rb +388 -0
- data/lib/autosde_openapi_client/api_error.rb +57 -0
- data/lib/autosde_openapi_client/configuration.rb +266 -0
- data/lib/autosde_openapi_client/models/abstract_capability.rb +218 -0
- data/lib/autosde_openapi_client/models/account.rb +228 -0
- data/lib/autosde_openapi_client/models/account_post_request.rb +218 -0
- data/lib/autosde_openapi_client/models/account_post_response.rb +238 -0
- data/lib/autosde_openapi_client/models/address.rb +328 -0
- data/lib/autosde_openapi_client/models/address_create.rb +330 -0
- data/lib/autosde_openapi_client/models/auth_response.rb +208 -0
- data/lib/autosde_openapi_client/models/authentication.rb +218 -0
- data/lib/autosde_openapi_client/models/auto_sde_project.rb +398 -0
- data/lib/autosde_openapi_client/models/auto_sde_role.rb +218 -0
- data/lib/autosde_openapi_client/models/capability_translation.rb +328 -0
- data/lib/autosde_openapi_client/models/capability_translation_create.rb +310 -0
- data/lib/autosde_openapi_client/models/host.rb +321 -0
- data/lib/autosde_openapi_client/models/host_create.rb +382 -0
- data/lib/autosde_openapi_client/models/host_volume_connection.rb +275 -0
- data/lib/autosde_openapi_client/models/host_volume_connection_create.rb +265 -0
- data/lib/autosde_openapi_client/models/native_capability.rb +239 -0
- data/lib/autosde_openapi_client/models/profile.rb +283 -0
- data/lib/autosde_openapi_client/models/provisioning_strategy.rb +257 -0
- data/lib/autosde_openapi_client/models/service.rb +339 -0
- data/lib/autosde_openapi_client/models/service_abstract_capability_value.rb +227 -0
- data/lib/autosde_openapi_client/models/service_create.rb +327 -0
- data/lib/autosde_openapi_client/models/service_resource_attachment.rb +238 -0
- data/lib/autosde_openapi_client/models/storage_resource.rb +342 -0
- data/lib/autosde_openapi_client/models/storage_resource_create.rb +333 -0
- data/lib/autosde_openapi_client/models/storage_resource_response.rb +343 -0
- data/lib/autosde_openapi_client/models/storage_system.rb +333 -0
- data/lib/autosde_openapi_client/models/storage_system_create.rb +448 -0
- data/lib/autosde_openapi_client/models/system_type.rb +321 -0
- data/lib/autosde_openapi_client/models/system_type_create.rb +333 -0
- data/lib/autosde_openapi_client/models/volume.rb +316 -0
- data/lib/autosde_openapi_client/models/volume_create.rb +299 -0
- data/lib/autosde_openapi_client/models/volume_response.rb +318 -0
- data/lib/autosde_openapi_client/models/volume_safe_delete.rb +227 -0
- data/lib/autosde_openapi_client/models/volume_safe_delete_create.rb +207 -0
- data/lib/autosde_openapi_client/models/volume_update.rb +208 -0
- data/lib/autosde_openapi_client/version.rb +15 -0
- data/site_manager_oas.json +3992 -0
- data/spec/api/abstract_capability_api_spec.rb +74 -0
- data/spec/api/account_api_spec.rb +85 -0
- data/spec/api/address_api_spec.rb +74 -0
- data/spec/api/authentication_api_spec.rb +45 -0
- data/spec/api/auto_sde_project_api_spec.rb +74 -0
- data/spec/api/auto_sde_role_api_spec.rb +74 -0
- data/spec/api/capability_translation_api_spec.rb +74 -0
- data/spec/api/host_api_spec.rb +74 -0
- data/spec/api/host_volume_connection_api_spec.rb +74 -0
- data/spec/api/native_capability_api_spec.rb +74 -0
- data/spec/api/profile_api_spec.rb +74 -0
- data/spec/api/provisioning_strategy_api_spec.rb +74 -0
- data/spec/api/service_api_spec.rb +85 -0
- data/spec/api/service_resource_attachment_api_spec.rb +74 -0
- data/spec/api/storage_resource_api_spec.rb +85 -0
- data/spec/api/storage_system_api_spec.rb +74 -0
- data/spec/api/system_type_api_spec.rb +74 -0
- data/spec/api/volume_api_spec.rb +85 -0
- data/spec/api/volume_safe_delete_api_spec.rb +74 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/abstract_capability_spec.rb +47 -0
- data/spec/models/account_post_request_spec.rb +47 -0
- data/spec/models/account_post_response_spec.rb +59 -0
- data/spec/models/account_spec.rb +53 -0
- data/spec/models/address_create_spec.rb +91 -0
- data/spec/models/address_spec.rb +91 -0
- data/spec/models/auth_response_spec.rb +41 -0
- data/spec/models/authentication_spec.rb +47 -0
- data/spec/models/auto_sde_project_spec.rb +155 -0
- data/spec/models/auto_sde_role_spec.rb +47 -0
- data/spec/models/capability_translation_create_spec.rb +83 -0
- data/spec/models/capability_translation_spec.rb +95 -0
- data/spec/models/host_create_spec.rb +119 -0
- data/spec/models/host_spec.rb +85 -0
- data/spec/models/host_volume_connection_create_spec.rb +57 -0
- data/spec/models/host_volume_connection_spec.rb +63 -0
- data/spec/models/native_capability_spec.rb +59 -0
- data/spec/models/profile_spec.rb +69 -0
- data/spec/models/provisioning_strategy_spec.rb +51 -0
- data/spec/models/service_abstract_capability_value_spec.rb +53 -0
- data/spec/models/service_create_spec.rb +93 -0
- data/spec/models/service_resource_attachment_spec.rb +59 -0
- data/spec/models/service_spec.rb +99 -0
- data/spec/models/storage_resource_create_spec.rb +91 -0
- data/spec/models/storage_resource_response_spec.rb +97 -0
- data/spec/models/storage_resource_spec.rb +97 -0
- data/spec/models/storage_system_create_spec.rb +149 -0
- data/spec/models/storage_system_spec.rb +85 -0
- data/spec/models/system_type_create_spec.rb +79 -0
- data/spec/models/system_type_spec.rb +73 -0
- data/spec/models/volume_create_spec.rb +75 -0
- data/spec/models/volume_response_spec.rb +87 -0
- data/spec/models/volume_safe_delete_create_spec.rb +41 -0
- data/spec/models/volume_safe_delete_spec.rb +53 -0
- data/spec/models/volume_spec.rb +87 -0
- data/spec/models/volume_update_spec.rb +41 -0
- data/spec/spec_helper.rb +111 -0
- metadata +340 -0
@@ -0,0 +1,59 @@
|
|
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: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::NativeCapability
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'NativeCapability' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::NativeCapability.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of NativeCapability' do
|
31
|
+
it 'should create an instance of NativeCapability' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::NativeCapability)
|
33
|
+
end
|
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
|
+
|
41
|
+
describe 'test attribute "published"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "system_type"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "uuid"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
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: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::Profile
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Profile' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::Profile.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Profile' do
|
31
|
+
it 'should create an instance of Profile' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::Profile)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "account"' 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
|
+
|
41
|
+
describe 'test attribute "description"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "name"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "type"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Native", "Abstract"])
|
57
|
+
# validator.allowable_values.each do |value|
|
58
|
+
# expect { @instance.type = value }.not_to raise_error
|
59
|
+
# end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
describe 'test attribute "uuid"' 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
|
@@ -0,0 +1,51 @@
|
|
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: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::ProvisioningStrategy
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ProvisioningStrategy' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::ProvisioningStrategy.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ProvisioningStrategy' do
|
31
|
+
it 'should create an instance of ProvisioningStrategy' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::ProvisioningStrategy)
|
33
|
+
end
|
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
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["logical_free_capacity"])
|
39
|
+
# validator.allowable_values.each do |value|
|
40
|
+
# expect { @instance.name = value }.not_to raise_error
|
41
|
+
# end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "uuid"' 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
|
+
end
|
@@ -0,0 +1,53 @@
|
|
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: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::ServiceAbstractCapabilityValue
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ServiceAbstractCapabilityValue' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::ServiceAbstractCapabilityValue.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ServiceAbstractCapabilityValue' do
|
31
|
+
it 'should create an instance of ServiceAbstractCapabilityValue' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::ServiceAbstractCapabilityValue)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "abstract_capability"' 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
|
+
|
41
|
+
describe 'test attribute "uuid"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "value"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,93 @@
|
|
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: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::ServiceCreate
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ServiceCreate' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::ServiceCreate.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ServiceCreate' do
|
31
|
+
it 'should create an instance of ServiceCreate' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::ServiceCreate)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "capability_values"' 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
|
+
|
41
|
+
describe 'test attribute "component_state"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
45
|
+
# validator.allowable_values.each do |value|
|
46
|
+
# expect { @instance.component_state = value }.not_to raise_error
|
47
|
+
# end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe 'test attribute "description"' 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 "name"' 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 "profile"' 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
|
+
describe 'test attribute "project"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
describe 'test attribute "provisioning_strategy"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe 'test attribute "uuid"' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
describe 'test attribute "version"' do
|
88
|
+
it 'should work' do
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::ServiceResourceAttachment
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ServiceResourceAttachment' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::ServiceResourceAttachment.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ServiceResourceAttachment' do
|
31
|
+
it 'should create an instance of ServiceResourceAttachment' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::ServiceResourceAttachment)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "compliant"' 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
|
+
|
41
|
+
describe 'test attribute "service"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "storage_resource"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "uuid"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,99 @@
|
|
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: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for OpenapiClient::Service
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Service' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = OpenapiClient::Service.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Service' do
|
31
|
+
it 'should create an instance of Service' do
|
32
|
+
expect(@instance).to be_instance_of(OpenapiClient::Service)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "capability_values"' 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
|
+
|
41
|
+
describe 'test attribute "component_state"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_CREATION", "CREATED", "DELETED", "PENDING_DELETION", "MODIFICATION", "PENDING_MODIFICATION"])
|
45
|
+
# validator.allowable_values.each do |value|
|
46
|
+
# expect { @instance.component_state = value }.not_to raise_error
|
47
|
+
# end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe 'test attribute "description"' 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 "name"' 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 "profile"' 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
|
+
describe 'test attribute "project"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
describe 'test attribute "provisioning_strategy"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe 'test attribute "resource_service"' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
describe 'test attribute "uuid"' do
|
88
|
+
it 'should work' do
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
describe 'test attribute "version"' do
|
94
|
+
it 'should work' do
|
95
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
end
|