vsphere-automation-vcenter 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +11 -17
  3. data/README.md +1 -1
  4. data/lib/vsphere-automation-vcenter/version.rb +1 -1
  5. data/pkg/vsphere-automation-vcenter-0.4.0.gem +0 -0
  6. data/spec/api/certificate_management_vcenter_tls_api_spec.rb +0 -1
  7. data/spec/api/deployment_api_spec.rb +0 -1
  8. data/spec/api/deployment_import_history_api_spec.rb +0 -1
  9. data/spec/api/deployment_install_api_spec.rb +0 -1
  10. data/spec/api/deployment_install_psc_replicated_api_spec.rb +0 -1
  11. data/spec/api/deployment_install_psc_standalone_api_spec.rb +0 -1
  12. data/spec/api/deployment_install_remote_psc_api_spec.rb +0 -1
  13. data/spec/api/deployment_question_api_spec.rb +0 -1
  14. data/spec/api/deployment_upgrade_api_spec.rb +0 -1
  15. data/spec/api/inventory_datastore_api_spec.rb +0 -1
  16. data/spec/api/inventory_network_api_spec.rb +0 -1
  17. data/spec/api/iso_image_api_spec.rb +0 -2
  18. data/spec/api/ovf_library_item_api_spec.rb +0 -1
  19. data/spec/api/storage_policies_api_spec.rb +0 -1
  20. data/spec/api/topology_pscs_api_spec.rb +0 -1
  21. data/spec/api/vcha_cluster_active_api_spec.rb +0 -1
  22. data/spec/api/vcha_cluster_api_spec.rb +0 -1
  23. data/spec/api/vcha_cluster_mode_api_spec.rb +0 -1
  24. data/spec/api/vcha_cluster_passive_api_spec.rb +0 -1
  25. data/spec/api/vcha_cluster_witness_api_spec.rb +0 -1
  26. data/spec/api/vcha_vc_credentials_api_spec.rb +0 -1
  27. data/spec/api/vm_guest_power_api_spec.rb +0 -1
  28. data/spec/api/vm_storage_policy_compliance_api_spec.rb +0 -1
  29. data/spec/api/vm_template_library_items_api_spec.rb +0 -1
  30. data/spec/spec_helper.rb +3 -0
  31. data/vsphere-automation-vcenter.gemspec +2 -3
  32. metadata +7 -15
  33. data/lib/vsphere-automation-vcenter/api_client.rb +0 -390
  34. data/lib/vsphere-automation-vcenter/api_error.rb +0 -34
  35. data/lib/vsphere-automation-vcenter/configuration.rb +0 -212
  36. data/pkg/vsphere-automation-vcenter-0.2.1.gem +0 -0
  37. data/pkg/vsphere-automation-vcenter-0.2.2.gem +0 -0
  38. data/spec/api_client_spec.rb +0 -222
  39. data/spec/configuration_spec.rb +0 -38
@@ -1,38 +0,0 @@
1
- # Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved.
2
- # SPDX-License-Identifier: MIT
3
-
4
- # DO NOT MODIFY. THIS CODE IS GENERATED. CHANGES WILL BE OVERWRITTEN.
5
-
6
- # vcenter - VMware vCenter Server provides a centralized platform for managing your VMware vSphere environments
7
-
8
-
9
- require 'spec_helper'
10
-
11
- describe VSphereAutomation::Configuration do
12
- let(:config) { VSphereAutomation::Configuration.default }
13
-
14
- before(:each) do
15
- # uncomment below to setup host and base_path
16
- # require 'URI'
17
- # uri = URI.parse("https://<vcenter>/rest")
18
- # VSphereAutomation.configure do |c|
19
- # c.host = uri.host
20
- # c.base_path = uri.path
21
- # end
22
- end
23
-
24
- describe '#base_url' do
25
- it 'should have the default value' do
26
- # uncomment below to test default value of the base path
27
- # expect(config.base_url).to eq("https://<vcenter>/rest")
28
- end
29
-
30
- it 'should remove trailing slashes' do
31
- [nil, '', '/', '//'].each do |base_path|
32
- config.base_path = base_path
33
- # uncomment below to test trailing slashes
34
- # expect(config.base_url).to eq("https://<vcenter>/rest")
35
- end
36
- end
37
- end
38
- end