autosde_openapi_client 1.0.46 → 1.0.47
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 +6 -0
- data/docs/HostCluster.md +32 -0
- data/docs/HostClusterApi.md +276 -0
- data/docs/HostClusterCreate.md +28 -0
- data/lib/autosde_openapi_client.rb +3 -0
- data/lib/autosde_openapi_client/api/host_cluster_api.rb +254 -0
- data/lib/autosde_openapi_client/models/host_cluster.rb +388 -0
- data/lib/autosde_openapi_client/models/host_cluster_create.rb +329 -0
- data/lib/autosde_openapi_client/version.rb +2 -2
- data/spec/api/host_cluster_api_spec.rb +74 -0
- data/spec/models/host_cluster_create_spec.rb +64 -0
- data/spec/models/host_cluster_spec.rb +80 -0
- metadata +14 -2
@@ -3,7 +3,7 @@
|
|
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.47
|
7
7
|
Contact: autosde@il.ibm.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module AutosdeOpenapiClient
|
14
|
-
VERSION = '1.0.
|
14
|
+
VERSION = '1.0.47'
|
15
15
|
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
=begin
|
2
|
+
#Site Manager API
|
3
|
+
|
4
|
+
#Site Manager API
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
Contact: autosde@il.ibm.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.0.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for AutosdeOpenapiClient::HostClusterApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'HostClusterApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = AutosdeOpenapiClient::HostClusterApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of HostClusterApi' do
|
30
|
+
it 'should create an instance of HostClusterApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(AutosdeOpenapiClient::HostClusterApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for host_clusters_get
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @return [Array<HostCluster>]
|
38
|
+
describe 'host_clusters_get test' 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
|
+
# unit tests for host_clusters_pk_delete
|
45
|
+
# @param pk
|
46
|
+
# @param [Hash] opts the optional parameters
|
47
|
+
# @return [Array<HostCluster>]
|
48
|
+
describe 'host_clusters_pk_delete test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for host_clusters_pk_get
|
55
|
+
# @param pk
|
56
|
+
# @param [Hash] opts the optional parameters
|
57
|
+
# @return [Array<HostCluster>]
|
58
|
+
describe 'host_clusters_pk_get test' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# unit tests for host_clusters_post
|
65
|
+
# @param host_cluster_create
|
66
|
+
# @param [Hash] opts the optional parameters
|
67
|
+
# @return [HostCluster]
|
68
|
+
describe 'host_clusters_post test' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
@@ -0,0 +1,64 @@
|
|
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::HostClusterCreate
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::HostClusterCreate do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::HostClusterCreate.new }
|
22
|
+
|
23
|
+
describe 'test an instance of HostClusterCreate' do
|
24
|
+
it 'should create an instance of HostClusterCreate' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterCreate)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "name"' 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 "owner_id"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "owner_name"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "protocol"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "status"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "storage_system"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
@@ -0,0 +1,80 @@
|
|
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::HostCluster
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe AutosdeOpenapiClient::HostCluster do
|
21
|
+
let(:instance) { AutosdeOpenapiClient::HostCluster.new }
|
22
|
+
|
23
|
+
describe 'test an instance of HostCluster' do
|
24
|
+
it 'should create an instance of HostCluster' do
|
25
|
+
expect(instance).to be_instance_of(AutosdeOpenapiClient::HostCluster)
|
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 "name"' 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 "owner_id"' 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 "owner_name"' 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 "protocol"' 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
|
+
describe 'test attribute "status"' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe 'test attribute "storage_system"' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
describe 'test attribute "uuid"' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
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.47
|
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-08-
|
11
|
+
date: 2021-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -82,6 +82,9 @@ files:
|
|
82
82
|
- docs/CapabilityTranslationCreate.md
|
83
83
|
- docs/Host.md
|
84
84
|
- docs/HostApi.md
|
85
|
+
- docs/HostCluster.md
|
86
|
+
- docs/HostClusterApi.md
|
87
|
+
- docs/HostClusterCreate.md
|
85
88
|
- docs/HostCreate.md
|
86
89
|
- docs/HostVolumeConnection.md
|
87
90
|
- docs/HostVolumeConnectionApi.md
|
@@ -144,6 +147,7 @@ files:
|
|
144
147
|
- lib/autosde_openapi_client/api/auto_sde_role_api.rb
|
145
148
|
- lib/autosde_openapi_client/api/capability_translation_api.rb
|
146
149
|
- lib/autosde_openapi_client/api/host_api.rb
|
150
|
+
- lib/autosde_openapi_client/api/host_cluster_api.rb
|
147
151
|
- lib/autosde_openapi_client/api/host_volume_connection_api.rb
|
148
152
|
- lib/autosde_openapi_client/api/job_api.rb
|
149
153
|
- lib/autosde_openapi_client/api/native_capability_api.rb
|
@@ -176,6 +180,8 @@ files:
|
|
176
180
|
- lib/autosde_openapi_client/models/capability_translation.rb
|
177
181
|
- lib/autosde_openapi_client/models/capability_translation_create.rb
|
178
182
|
- lib/autosde_openapi_client/models/host.rb
|
183
|
+
- lib/autosde_openapi_client/models/host_cluster.rb
|
184
|
+
- lib/autosde_openapi_client/models/host_cluster_create.rb
|
179
185
|
- lib/autosde_openapi_client/models/host_create.rb
|
180
186
|
- lib/autosde_openapi_client/models/host_volume_connection.rb
|
181
187
|
- lib/autosde_openapi_client/models/host_volume_connection_create.rb
|
@@ -221,6 +227,7 @@ files:
|
|
221
227
|
- spec/api/auto_sde_role_api_spec.rb
|
222
228
|
- spec/api/capability_translation_api_spec.rb
|
223
229
|
- spec/api/host_api_spec.rb
|
230
|
+
- spec/api/host_cluster_api_spec.rb
|
224
231
|
- spec/api/host_volume_connection_api_spec.rb
|
225
232
|
- spec/api/job_api_spec.rb
|
226
233
|
- spec/api/native_capability_api_spec.rb
|
@@ -251,6 +258,8 @@ files:
|
|
251
258
|
- spec/models/auto_sde_role_spec.rb
|
252
259
|
- spec/models/capability_translation_create_spec.rb
|
253
260
|
- spec/models/capability_translation_spec.rb
|
261
|
+
- spec/models/host_cluster_create_spec.rb
|
262
|
+
- spec/models/host_cluster_spec.rb
|
254
263
|
- spec/models/host_create_spec.rb
|
255
264
|
- spec/models/host_spec.rb
|
256
265
|
- spec/models/host_volume_connection_create_spec.rb
|
@@ -318,6 +327,7 @@ test_files:
|
|
318
327
|
- spec/api/native_capability_api_spec.rb
|
319
328
|
- spec/api/abstract_capability_api_spec.rb
|
320
329
|
- spec/api/storage_host_api_spec.rb
|
330
|
+
- spec/api/host_cluster_api_spec.rb
|
321
331
|
- spec/api/volume_safe_delete_api_spec.rb
|
322
332
|
- spec/api/authentication_api_spec.rb
|
323
333
|
- spec/api/account_api_spec.rb
|
@@ -340,6 +350,7 @@ test_files:
|
|
340
350
|
- spec/api_client_spec.rb
|
341
351
|
- spec/configuration_spec.rb
|
342
352
|
- spec/models/volume_create_spec.rb
|
353
|
+
- spec/models/host_cluster_spec.rb
|
343
354
|
- spec/models/host_volume_connection_create_spec.rb
|
344
355
|
- spec/models/address_spec.rb
|
345
356
|
- spec/models/host_create_spec.rb
|
@@ -367,6 +378,7 @@ test_files:
|
|
367
378
|
- spec/models/snapshot_create_spec.rb
|
368
379
|
- spec/models/storage_host_response_spec.rb
|
369
380
|
- spec/models/job_create_spec.rb
|
381
|
+
- spec/models/host_cluster_create_spec.rb
|
370
382
|
- spec/models/service_abstract_capability_value_spec.rb
|
371
383
|
- spec/models/storage_resource_create_spec.rb
|
372
384
|
- spec/models/job_spec.rb
|