autosde_openapi_client 3.0.1 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -61,6 +61,17 @@ describe 'HostClusterApi' do
61
61
  end
62
62
  end
63
63
 
64
+ # unit tests for host_clusters_pk_put
65
+ # @param pk
66
+ # @param host_cluster_update
67
+ # @param [Hash] opts the optional parameters
68
+ # @return [AsyncResponse]
69
+ describe 'host_clusters_pk_put test' 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
+
64
75
  # unit tests for host_clusters_post
65
76
  # @param host_cluster_create
66
77
  # @param [Hash] opts the optional parameters
@@ -63,9 +63,9 @@ describe 'ServiceApi' do
63
63
 
64
64
  # unit tests for services_pk_put
65
65
  # @param pk
66
- # @param service
66
+ # @param service_update
67
67
  # @param [Hash] opts the optional parameters
68
- # @return [Service]
68
+ # @return [AsyncResponse]
69
69
  describe 'services_pk_put test' do
70
70
  it 'should work' do
71
71
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -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::HostClusterUpdate
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AutosdeOpenapiClient::HostClusterUpdate do
21
+ let(:instance) { AutosdeOpenapiClient::HostClusterUpdate.new }
22
+
23
+ describe 'test an instance of HostClusterUpdate' do
24
+ it 'should create an instance of HostClusterUpdate' do
25
+ expect(instance).to be_instance_of(AutosdeOpenapiClient::HostClusterUpdate)
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 "volumes"' 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,86 @@
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::ServiceUpdate
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe AutosdeOpenapiClient::ServiceUpdate do
21
+ let(:instance) { AutosdeOpenapiClient::ServiceUpdate.new }
22
+
23
+ describe 'test an instance of ServiceUpdate' do
24
+ it 'should create an instance of ServiceUpdate' do
25
+ expect(instance).to be_instance_of(AutosdeOpenapiClient::ServiceUpdate)
26
+ end
27
+ end
28
+ describe 'test attribute "capability_value_list"' 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 "description"' 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 "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 "profile"' 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 "project"' 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 "provisioning_strategy"' 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
+ describe 'test attribute "version"' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ 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: 3.0.1
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-21 00:00:00.000000000 Z
11
+ date: 2023-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -96,6 +96,7 @@ files:
96
96
  - docs/HostClusterMembership.md
97
97
  - docs/HostClusterMembershipApi.md
98
98
  - docs/HostClusterResponse.md
99
+ - docs/HostClusterUpdate.md
99
100
  - docs/HostClusterVolumeMapping.md
100
101
  - docs/HostClusterVolumeMappingApi.md
101
102
  - docs/HostClusterVolumeMappingCreate.md
@@ -126,6 +127,7 @@ files:
126
127
  - docs/ServiceResourceAttachmentApi.md
127
128
  - docs/ServiceResourceAttachmentResponse.md
128
129
  - docs/ServiceResponse.md
130
+ - docs/ServiceUpdate.md
129
131
  - docs/Snapshot.md
130
132
  - docs/SnapshotApi.md
131
133
  - docs/SnapshotCreate.md
@@ -231,6 +233,7 @@ files:
231
233
  - lib/autosde_openapi_client/models/host_cluster_create.rb
232
234
  - lib/autosde_openapi_client/models/host_cluster_membership.rb
233
235
  - lib/autosde_openapi_client/models/host_cluster_response.rb
236
+ - lib/autosde_openapi_client/models/host_cluster_update.rb
234
237
  - lib/autosde_openapi_client/models/host_cluster_volume_mapping.rb
235
238
  - lib/autosde_openapi_client/models/host_cluster_volume_mapping_create.rb
236
239
  - lib/autosde_openapi_client/models/host_cluster_volume_mapping_response.rb
@@ -251,6 +254,7 @@ files:
251
254
  - lib/autosde_openapi_client/models/service_resource_attachment.rb
252
255
  - lib/autosde_openapi_client/models/service_resource_attachment_response.rb
253
256
  - lib/autosde_openapi_client/models/service_response.rb
257
+ - lib/autosde_openapi_client/models/service_update.rb
254
258
  - lib/autosde_openapi_client/models/snapshot.rb
255
259
  - lib/autosde_openapi_client/models/snapshot_create.rb
256
260
  - lib/autosde_openapi_client/models/snapshot_response.rb
@@ -341,6 +345,7 @@ files:
341
345
  - spec/models/host_cluster_membership_spec.rb
342
346
  - spec/models/host_cluster_response_spec.rb
343
347
  - spec/models/host_cluster_spec.rb
348
+ - spec/models/host_cluster_update_spec.rb
344
349
  - spec/models/host_cluster_volume_mapping_create_spec.rb
345
350
  - spec/models/host_cluster_volume_mapping_response_spec.rb
346
351
  - spec/models/host_cluster_volume_mapping_spec.rb
@@ -362,6 +367,7 @@ files:
362
367
  - spec/models/service_resource_attachment_spec.rb
363
368
  - spec/models/service_response_spec.rb
364
369
  - spec/models/service_spec.rb
370
+ - spec/models/service_update_spec.rb
365
371
  - spec/models/snapshot_create_spec.rb
366
372
  - spec/models/snapshot_response_spec.rb
367
373
  - spec/models/snapshot_spec.rb
@@ -419,114 +425,116 @@ signing_key:
419
425
  specification_version: 4
420
426
  summary: Site Manager API Ruby Gem
421
427
  test_files:
422
- - spec/api/host_cluster_api_spec.rb
423
- - spec/api/host_api_spec.rb
424
- - spec/api/storage_resource_api_spec.rb
428
+ - spec/api/host_cluster_membership_api_spec.rb
429
+ - spec/api/capability_translation_api_spec.rb
430
+ - spec/api/storage_system_api_spec.rb
431
+ - spec/api/storage_host_api_spec.rb
432
+ - spec/api/volume_api_spec.rb
433
+ - spec/api/storage_host_wwpn_candidates_api_spec.rb
425
434
  - spec/api/validate_system_api_spec.rb
435
+ - spec/api/host_volume_connection_api_spec.rb
436
+ - spec/api/snapshot_api_spec.rb
426
437
  - spec/api/service_resource_attachment_api_spec.rb
438
+ - spec/api/host_cluster_api_spec.rb
439
+ - spec/api/volume_clone_api_spec.rb
440
+ - spec/api/host_api_spec.rb
441
+ - spec/api/refresh_system_api_spec.rb
442
+ - spec/api/host_cluster_volume_mapping_api_spec.rb
443
+ - spec/api/auto_sde_role_api_spec.rb
427
444
  - spec/api/address_api_spec.rb
428
445
  - spec/api/system_type_api_spec.rb
429
- - spec/api/volume_clone_api_spec.rb
430
- - spec/api/auto_sde_project_api_spec.rb
431
- - spec/api/snapshot_api_spec.rb
432
- - spec/api/celery_config_api_spec.rb
433
- - spec/api/abstract_capability_api_spec.rb
434
446
  - spec/api/volume_migration_api_spec.rb
435
- - spec/api/storage_host_wwpn_candidates_api_spec.rb
436
- - spec/api/host_volume_connection_api_spec.rb
437
- - spec/api/profile_api_spec.rb
438
447
  - spec/api/job_api_spec.rb
439
- - spec/api/volume_api_spec.rb
440
- - spec/api/service_api_spec.rb
441
- - spec/api/provisioning_strategy_api_spec.rb
442
- - spec/api/auto_sde_role_api_spec.rb
443
- - spec/api/account_api_spec.rb
448
+ - spec/api/profile_api_spec.rb
449
+ - spec/api/storage_hosts_mapping_api_spec.rb
450
+ - spec/api/storage_resource_api_spec.rb
444
451
  - spec/api/native_capability_api_spec.rb
445
- - spec/api/capability_translation_api_spec.rb
446
- - spec/api/service_abstract_capability_value_api_spec.rb
447
- - spec/api/host_cluster_volume_mapping_api_spec.rb
448
- - spec/api/refresh_system_api_spec.rb
452
+ - spec/api/celery_config_api_spec.rb
453
+ - spec/api/auto_sde_project_api_spec.rb
454
+ - spec/api/provisioning_strategy_api_spec.rb
455
+ - spec/api/event_api_spec.rb
449
456
  - spec/api/authentication_api_spec.rb
450
- - spec/api/storage_system_api_spec.rb
451
- - spec/api/host_cluster_membership_api_spec.rb
457
+ - spec/api/service_api_spec.rb
452
458
  - spec/api/user_api_spec.rb
453
- - spec/api/storage_hosts_mapping_api_spec.rb
454
- - spec/api/event_api_spec.rb
455
- - spec/api/storage_host_api_spec.rb
459
+ - spec/api/abstract_capability_api_spec.rb
460
+ - spec/api/service_abstract_capability_value_api_spec.rb
461
+ - spec/api/account_api_spec.rb
456
462
  - spec/api_client_spec.rb
457
463
  - spec/configuration_spec.rb
458
- - spec/models/account_post_request_spec.rb
459
- - spec/models/host_cluster_volume_mapping_spec.rb
460
- - spec/models/native_capability_spec.rb
461
- - spec/models/validate_system_spec.rb
462
- - spec/models/auth_response_spec.rb
463
- - spec/models/storage_system_create_spec.rb
464
- - spec/models/storage_hosts_mapping_create_spec.rb
464
+ - spec/models/storage_host_response_spec.rb
465
+ - spec/models/user_create_spec.rb
466
+ - spec/models/service_create_spec.rb
465
467
  - spec/models/storage_resource_create_spec.rb
466
- - spec/models/storage_host_spec.rb
467
- - spec/models/snapshot_spec.rb
468
- - spec/models/abstract_capability_spec.rb
469
- - spec/models/address_create_spec.rb
470
468
  - spec/models/host_volume_connection_create_spec.rb
471
- - spec/models/volume_create_spec.rb
472
- - spec/models/event_response_spec.rb
473
- - spec/models/storage_resource_update_spec.rb
474
- - spec/models/profile_spec.rb
475
- - spec/models/storage_system_spec.rb
476
- - spec/models/volume_clone_spec.rb
477
- - spec/models/user_spec.rb
478
- - spec/models/celery_config_spec.rb
479
- - spec/models/host_cluster_volume_mapping_create_spec.rb
480
- - spec/models/service_resource_attachment_spec.rb
481
- - spec/models/host_cluster_create_spec.rb
482
469
  - spec/models/system_type_spec.rb
470
+ - spec/models/service_abstract_capability_value_response_spec.rb
471
+ - spec/models/host_cluster_volume_mapping_create_spec.rb
472
+ - spec/models/capability_translation_spec.rb
473
+ - spec/models/storage_system_spec.rb
474
+ - spec/models/system_type_create_spec.rb
483
475
  - spec/models/auto_sde_role_spec.rb
484
- - spec/models/volume_response_spec.rb
476
+ - spec/models/service_resource_attachment_response_spec.rb
477
+ - spec/models/address_spec.rb
478
+ - spec/models/storage_hosts_mapping_create_spec.rb
485
479
  - spec/models/async_response_spec.rb
486
- - spec/models/storage_host_response_spec.rb
480
+ - spec/models/service_update_spec.rb
487
481
  - spec/models/storage_host_wwpn_candidates_spec.rb
488
- - spec/models/host_cluster_volume_mapping_response_spec.rb
489
- - spec/models/job_create_spec.rb
490
- - spec/models/service_abstract_capability_value_response_spec.rb
491
- - spec/models/host_spec.rb
482
+ - spec/models/storage_system_update_spec.rb
483
+ - spec/models/snapshot_spec.rb
484
+ - spec/models/validate_system_spec.rb
485
+ - spec/models/host_create_spec.rb
486
+ - spec/models/address_create_spec.rb
487
+ - spec/models/service_response_spec.rb
488
+ - spec/models/job_response_spec.rb
489
+ - spec/models/storage_hosts_mapping_spec.rb
492
490
  - spec/models/host_cluster_response_spec.rb
493
- - spec/models/provisioning_strategy_spec.rb
494
- - spec/models/account_spec.rb
495
- - spec/models/capability_translation_create_spec.rb
491
+ - spec/models/host_cluster_volume_mapping_response_spec.rb
492
+ - spec/models/event_response_spec.rb
493
+ - spec/models/profile_spec.rb
494
+ - spec/models/auto_sde_project_spec.rb
495
+ - spec/models/storage_resource_update_spec.rb
496
+ - spec/models/volume_update_spec.rb
497
+ - spec/models/volume_clone_spec.rb
496
498
  - spec/models/host_cluster_membership_spec.rb
497
- - spec/models/service_spec.rb
499
+ - spec/models/volume_create_spec.rb
500
+ - spec/models/user_spec.rb
498
501
  - spec/models/account_post_response_spec.rb
499
- - spec/models/service_create_spec.rb
500
- - spec/models/storage_hosts_mapping_response_spec.rb
501
- - spec/models/authentication_spec.rb
502
- - spec/models/volume_migration_spec.rb
503
- - spec/models/address_spec.rb
504
- - spec/models/snapshot_create_spec.rb
505
- - spec/models/refresh_system_spec.rb
502
+ - spec/models/host_cluster_update_spec.rb
506
503
  - spec/models/service_abstract_capability_value_spec.rb
507
- - spec/models/storage_system_update_spec.rb
508
- - spec/models/user_create_spec.rb
509
- - spec/models/job_response_spec.rb
510
- - spec/models/storage_system_response_spec.rb
504
+ - spec/models/authentication_spec.rb
505
+ - spec/models/account_post_request_spec.rb
506
+ - spec/models/service_resource_attachment_spec.rb
507
+ - spec/models/volume_response_spec.rb
508
+ - spec/models/provisioning_strategy_spec.rb
511
509
  - spec/models/event_spec.rb
512
- - spec/models/capability_translation_spec.rb
513
- - spec/models/volume_spec.rb
514
- - spec/models/storage_resource_response_spec.rb
515
- - spec/models/user_update_spec.rb
516
- - spec/models/auto_sde_project_spec.rb
510
+ - spec/models/native_capability_spec.rb
517
511
  - spec/models/abstract_capability_response_spec.rb
512
+ - spec/models/snapshot_create_spec.rb
513
+ - spec/models/system_type_response_spec.rb
514
+ - spec/models/job_create_spec.rb
518
515
  - spec/models/storage_host_update_spec.rb
519
- - spec/models/system_type_create_spec.rb
516
+ - spec/models/volume_spec.rb
517
+ - spec/models/host_cluster_spec.rb
520
518
  - spec/models/host_volume_connection_spec.rb
521
- - spec/models/storage_hosts_mapping_spec.rb
519
+ - spec/models/user_update_spec.rb
520
+ - spec/models/storage_system_create_spec.rb
521
+ - spec/models/account_spec.rb
522
+ - spec/models/refresh_system_spec.rb
523
+ - spec/models/host_cluster_create_spec.rb
524
+ - spec/models/host_spec.rb
525
+ - spec/models/capability_translation_create_spec.rb
526
+ - spec/models/host_cluster_volume_mapping_spec.rb
527
+ - spec/models/abstract_capability_spec.rb
528
+ - spec/models/storage_resource_response_spec.rb
529
+ - spec/models/auth_response_spec.rb
530
+ - spec/models/snapshot_response_spec.rb
531
+ - spec/models/storage_hosts_mapping_response_spec.rb
522
532
  - spec/models/storage_host_create_spec.rb
533
+ - spec/models/storage_host_spec.rb
523
534
  - spec/models/job_spec.rb
524
- - spec/models/host_cluster_spec.rb
525
- - spec/models/system_type_response_spec.rb
526
- - spec/models/service_resource_attachment_response_spec.rb
535
+ - spec/models/volume_migration_spec.rb
536
+ - spec/models/service_spec.rb
527
537
  - spec/models/storage_resource_spec.rb
528
- - spec/models/service_response_spec.rb
529
- - spec/models/snapshot_response_spec.rb
530
- - spec/models/host_create_spec.rb
531
- - spec/models/volume_update_spec.rb
538
+ - spec/models/celery_config_spec.rb
539
+ - spec/models/storage_system_response_spec.rb
532
540
  - spec/spec_helper.rb