topological_inventory-api-client 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/DefaultApi.md +1444 -1
- data/docs/ServiceInstance.md +2 -0
- data/docs/ServiceInstanceNode.md +2 -0
- data/docs/ServiceOffering.md +2 -0
- data/docs/ServiceOfferingNode.md +2 -0
- data/docs/Tag.md +2 -14
- data/docs/Vm.md +2 -0
- data/lib/topological_inventory-api-client.rb +1 -2
- data/lib/topological_inventory-api-client/api/default_api.rb +1925 -1
- data/lib/topological_inventory-api-client/api_client.rb +1 -1
- data/lib/topological_inventory-api-client/api_error.rb +1 -1
- data/lib/topological_inventory-api-client/configuration.rb +4 -4
- data/lib/topological_inventory-api-client/models/applied_inventories_parameters_service_plan.rb +1 -1
- data/lib/topological_inventory-api-client/models/availabilities_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/availability.rb +1 -1
- data/lib/topological_inventory-api-client/models/cluster.rb +1 -1
- data/lib/topological_inventory-api-client/models/clusters_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/collection_links.rb +1 -1
- data/lib/topological_inventory-api-client/models/collection_metadata.rb +1 -1
- data/lib/topological_inventory-api-client/models/container.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_group.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_groups_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_image.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_images_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_node.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_nodes_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_project.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_projects_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_resource_quota.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_resource_quota_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_template.rb +1 -1
- data/lib/topological_inventory-api-client/models/container_templates_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/containers_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/datastore.rb +1 -1
- data/lib/topological_inventory-api-client/models/datastores_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/error_not_found.rb +1 -1
- data/lib/topological_inventory-api-client/models/error_not_found_errors.rb +1 -1
- data/lib/topological_inventory-api-client/models/flavor.rb +1 -1
- data/lib/topological_inventory-api-client/models/flavors_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/graph_ql_request.rb +1 -1
- data/lib/topological_inventory-api-client/models/graph_ql_response.rb +1 -1
- data/lib/topological_inventory-api-client/models/host.rb +1 -1
- data/lib/topological_inventory-api-client/models/hosts_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/inline_response200.rb +1 -1
- data/lib/topological_inventory-api-client/models/ipaddress.rb +1 -1
- data/lib/topological_inventory-api-client/models/ipaddresses_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/network.rb +1 -1
- data/lib/topological_inventory-api-client/models/network_adapter.rb +1 -1
- data/lib/topological_inventory-api-client/models/network_adapters_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/networks_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/orchestration_stack.rb +1 -1
- data/lib/topological_inventory-api-client/models/orchestration_stacks_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/order_parameters_service_offering.rb +1 -1
- data/lib/topological_inventory-api-client/models/order_parameters_service_plan.rb +1 -1
- data/lib/topological_inventory-api-client/models/security_group.rb +1 -1
- data/lib/topological_inventory-api-client/models/security_groups_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/service_instance.rb +29 -2
- data/lib/topological_inventory-api-client/models/service_instance_node.rb +29 -2
- data/lib/topological_inventory-api-client/models/service_instance_nodes_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/service_instances_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/service_inventories_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/service_inventory.rb +1 -1
- data/lib/topological_inventory-api-client/models/service_offering.rb +29 -2
- data/lib/topological_inventory-api-client/models/service_offering_icon.rb +1 -1
- data/lib/topological_inventory-api-client/models/service_offering_icons_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/service_offering_node.rb +29 -2
- data/lib/topological_inventory-api-client/models/service_offering_nodes_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/service_offerings_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/service_plan.rb +1 -1
- data/lib/topological_inventory-api-client/models/service_plans_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/source.rb +1 -1
- data/lib/topological_inventory-api-client/models/source_region.rb +1 -1
- data/lib/topological_inventory-api-client/models/source_regions_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/sources_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/subnet.rb +1 -1
- data/lib/topological_inventory-api-client/models/subnets_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/subscription.rb +1 -1
- data/lib/topological_inventory-api-client/models/subscriptions_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/tag.rb +8 -80
- data/lib/topological_inventory-api-client/models/tags_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/task.rb +1 -1
- data/lib/topological_inventory-api-client/models/tasks_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/tenant.rb +1 -1
- data/lib/topological_inventory-api-client/models/vm.rb +29 -2
- data/lib/topological_inventory-api-client/models/vms_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/volume.rb +1 -1
- data/lib/topological_inventory-api-client/models/volume_attachment.rb +1 -1
- data/lib/topological_inventory-api-client/models/volume_attachments_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/volume_type.rb +1 -1
- data/lib/topological_inventory-api-client/models/volume_types_collection.rb +1 -1
- data/lib/topological_inventory-api-client/models/volumes_collection.rb +1 -1
- data/lib/topological_inventory-api-client/version.rb +2 -2
- data/spec/api/default_api_spec.rb +339 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/applied_inventories_parameters_service_plan_spec.rb +1 -1
- data/spec/models/availabilities_collection_spec.rb +1 -1
- data/spec/models/availability_spec.rb +1 -1
- data/spec/models/cluster_spec.rb +1 -1
- data/spec/models/clusters_collection_spec.rb +1 -1
- data/spec/models/collection_links_spec.rb +1 -1
- data/spec/models/collection_metadata_spec.rb +1 -1
- data/spec/models/container_group_spec.rb +1 -1
- data/spec/models/container_groups_collection_spec.rb +1 -1
- data/spec/models/container_image_spec.rb +1 -1
- data/spec/models/container_images_collection_spec.rb +1 -1
- data/spec/models/container_node_spec.rb +1 -1
- data/spec/models/container_nodes_collection_spec.rb +1 -1
- data/spec/models/container_project_spec.rb +1 -1
- data/spec/models/container_projects_collection_spec.rb +1 -1
- data/spec/models/container_resource_quota_collection_spec.rb +1 -1
- data/spec/models/container_resource_quota_spec.rb +1 -1
- data/spec/models/container_spec.rb +1 -1
- data/spec/models/container_template_spec.rb +1 -1
- data/spec/models/container_templates_collection_spec.rb +1 -1
- data/spec/models/containers_collection_spec.rb +1 -1
- data/spec/models/datastore_spec.rb +1 -1
- data/spec/models/datastores_collection_spec.rb +1 -1
- data/spec/models/error_not_found_errors_spec.rb +1 -1
- data/spec/models/error_not_found_spec.rb +1 -1
- data/spec/models/flavor_spec.rb +1 -1
- data/spec/models/flavors_collection_spec.rb +1 -1
- data/spec/models/graph_ql_request_spec.rb +1 -1
- data/spec/models/graph_ql_response_spec.rb +1 -1
- data/spec/models/host_spec.rb +1 -1
- data/spec/models/hosts_collection_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/ipaddress_spec.rb +1 -1
- data/spec/models/ipaddresses_collection_spec.rb +1 -1
- data/spec/models/network_adapter_spec.rb +1 -1
- data/spec/models/network_adapters_collection_spec.rb +1 -1
- data/spec/models/network_spec.rb +1 -1
- data/spec/models/networks_collection_spec.rb +1 -1
- data/spec/models/orchestration_stack_spec.rb +1 -1
- data/spec/models/orchestration_stacks_collection_spec.rb +1 -1
- data/spec/models/order_parameters_service_offering_spec.rb +1 -1
- data/spec/models/order_parameters_service_plan_spec.rb +1 -1
- data/spec/models/security_group_spec.rb +1 -1
- data/spec/models/security_groups_collection_spec.rb +1 -1
- data/spec/models/service_instance_node_spec.rb +7 -1
- data/spec/models/service_instance_nodes_collection_spec.rb +1 -1
- data/spec/models/service_instance_spec.rb +7 -1
- data/spec/models/service_instances_collection_spec.rb +1 -1
- data/spec/models/service_inventories_collection_spec.rb +1 -1
- data/spec/models/service_inventory_spec.rb +1 -1
- data/spec/models/service_offering_icon_spec.rb +1 -1
- data/spec/models/service_offering_icons_collection_spec.rb +1 -1
- data/spec/models/service_offering_node_spec.rb +7 -1
- data/spec/models/service_offering_nodes_collection_spec.rb +1 -1
- data/spec/models/service_offering_spec.rb +7 -1
- data/spec/models/service_offerings_collection_spec.rb +1 -1
- data/spec/models/service_plan_spec.rb +1 -1
- data/spec/models/service_plans_collection_spec.rb +1 -1
- data/spec/models/source_region_spec.rb +1 -1
- data/spec/models/source_regions_collection_spec.rb +1 -1
- data/spec/models/source_spec.rb +1 -1
- data/spec/models/sources_collection_spec.rb +1 -1
- data/spec/models/subnet_spec.rb +1 -1
- data/spec/models/subnets_collection_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/subscriptions_collection_spec.rb +1 -1
- data/spec/models/tag_spec.rb +2 -38
- data/spec/models/tags_collection_spec.rb +1 -1
- data/spec/models/task_spec.rb +1 -1
- data/spec/models/tasks_collection_spec.rb +1 -1
- data/spec/models/tenant_spec.rb +1 -1
- data/spec/models/vm_spec.rb +7 -1
- data/spec/models/vms_collection_spec.rb +1 -1
- data/spec/models/volume_attachment_spec.rb +1 -1
- data/spec/models/volume_attachments_collection_spec.rb +1 -1
- data/spec/models/volume_spec.rb +1 -1
- data/spec/models/volume_type_spec.rb +1 -1
- data/spec/models/volume_types_collection_spec.rb +1 -1
- data/spec/models/volumes_collection_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/topological_inventory-api-client.gemspec +1 -1
- metadata +2 -8
- data/docs/Tagging.md +0 -21
- data/lib/topological_inventory-api-client/models/tagging.rb +0 -242
- data/pkg/topological_inventory-api-client-1.0.0.gem +0 -0
- data/spec/models/tagging_spec.rb +0 -53
- data/topological_inventory-api-client-2.0.0.gem +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Topological Inventory
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: support@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.1
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.1
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module TopologicalInventoryApiClient
|
14
|
-
VERSION = '
|
14
|
+
VERSION = '2.0.0'
|
15
15
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Topological Inventory
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: support@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.1
|
@@ -2660,6 +2660,344 @@ describe 'DefaultApi' do
|
|
2660
2660
|
end
|
2661
2661
|
end
|
2662
2662
|
|
2663
|
+
# unit tests for tag_container_group
|
2664
|
+
# Tag a ContainerGroup
|
2665
|
+
# Tags a ContainerGroup object
|
2666
|
+
# @param id ID of the resource
|
2667
|
+
# @param tag Tag attributes to add
|
2668
|
+
# @param [Hash] opts the optional parameters
|
2669
|
+
# @return [Tag]
|
2670
|
+
describe 'tag_container_group test' do
|
2671
|
+
it 'should work' do
|
2672
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2673
|
+
end
|
2674
|
+
end
|
2675
|
+
|
2676
|
+
# unit tests for tag_container_image
|
2677
|
+
# Tag a ContainerImage
|
2678
|
+
# Tags a ContainerImage object
|
2679
|
+
# @param id ID of the resource
|
2680
|
+
# @param tag Tag attributes to add
|
2681
|
+
# @param [Hash] opts the optional parameters
|
2682
|
+
# @return [Tag]
|
2683
|
+
describe 'tag_container_image test' do
|
2684
|
+
it 'should work' do
|
2685
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2686
|
+
end
|
2687
|
+
end
|
2688
|
+
|
2689
|
+
# unit tests for tag_container_node
|
2690
|
+
# Tag a ContainerNode
|
2691
|
+
# Tags a ContainerNode object
|
2692
|
+
# @param id ID of the resource
|
2693
|
+
# @param tag Tag attributes to add
|
2694
|
+
# @param [Hash] opts the optional parameters
|
2695
|
+
# @return [Tag]
|
2696
|
+
describe 'tag_container_node test' do
|
2697
|
+
it 'should work' do
|
2698
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2699
|
+
end
|
2700
|
+
end
|
2701
|
+
|
2702
|
+
# unit tests for tag_container_project
|
2703
|
+
# Tag a ContainerProject
|
2704
|
+
# Tags a ContainerProject object
|
2705
|
+
# @param id ID of the resource
|
2706
|
+
# @param tag Tag attributes to add
|
2707
|
+
# @param [Hash] opts the optional parameters
|
2708
|
+
# @return [Tag]
|
2709
|
+
describe 'tag_container_project test' do
|
2710
|
+
it 'should work' do
|
2711
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2712
|
+
end
|
2713
|
+
end
|
2714
|
+
|
2715
|
+
# unit tests for tag_container_template
|
2716
|
+
# Tag a ContainerTemplate
|
2717
|
+
# Tags a ContainerTemplate object
|
2718
|
+
# @param id ID of the resource
|
2719
|
+
# @param tag Tag attributes to add
|
2720
|
+
# @param [Hash] opts the optional parameters
|
2721
|
+
# @return [Tag]
|
2722
|
+
describe 'tag_container_template test' do
|
2723
|
+
it 'should work' do
|
2724
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2725
|
+
end
|
2726
|
+
end
|
2727
|
+
|
2728
|
+
# unit tests for tag_ipaddress
|
2729
|
+
# Tag a Ipaddress
|
2730
|
+
# Tags a Ipaddress object
|
2731
|
+
# @param id ID of the resource
|
2732
|
+
# @param tag Tag attributes to add
|
2733
|
+
# @param [Hash] opts the optional parameters
|
2734
|
+
# @return [Tag]
|
2735
|
+
describe 'tag_ipaddress test' do
|
2736
|
+
it 'should work' do
|
2737
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2738
|
+
end
|
2739
|
+
end
|
2740
|
+
|
2741
|
+
# unit tests for tag_network
|
2742
|
+
# Tag a Network
|
2743
|
+
# Tags a Network object
|
2744
|
+
# @param id ID of the resource
|
2745
|
+
# @param tag Tag attributes to add
|
2746
|
+
# @param [Hash] opts the optional parameters
|
2747
|
+
# @return [Tag]
|
2748
|
+
describe 'tag_network test' do
|
2749
|
+
it 'should work' do
|
2750
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2751
|
+
end
|
2752
|
+
end
|
2753
|
+
|
2754
|
+
# unit tests for tag_network_adapter
|
2755
|
+
# Tag a NetworkAdapter
|
2756
|
+
# Tags a NetworkAdapter object
|
2757
|
+
# @param id ID of the resource
|
2758
|
+
# @param tag Tag attributes to add
|
2759
|
+
# @param [Hash] opts the optional parameters
|
2760
|
+
# @return [Tag]
|
2761
|
+
describe 'tag_network_adapter test' do
|
2762
|
+
it 'should work' do
|
2763
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2764
|
+
end
|
2765
|
+
end
|
2766
|
+
|
2767
|
+
# unit tests for tag_security_group
|
2768
|
+
# Tag a SecurityGroup
|
2769
|
+
# Tags a SecurityGroup object
|
2770
|
+
# @param id ID of the resource
|
2771
|
+
# @param tag Tag attributes to add
|
2772
|
+
# @param [Hash] opts the optional parameters
|
2773
|
+
# @return [Tag]
|
2774
|
+
describe 'tag_security_group test' do
|
2775
|
+
it 'should work' do
|
2776
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2777
|
+
end
|
2778
|
+
end
|
2779
|
+
|
2780
|
+
# unit tests for tag_service_inventory
|
2781
|
+
# Tag a ServiceInventory
|
2782
|
+
# Tags a ServiceInventory object
|
2783
|
+
# @param id ID of the resource
|
2784
|
+
# @param tag Tag attributes to add
|
2785
|
+
# @param [Hash] opts the optional parameters
|
2786
|
+
# @return [Tag]
|
2787
|
+
describe 'tag_service_inventory test' do
|
2788
|
+
it 'should work' do
|
2789
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2790
|
+
end
|
2791
|
+
end
|
2792
|
+
|
2793
|
+
# unit tests for tag_service_offering
|
2794
|
+
# Tag a ServiceOffering
|
2795
|
+
# Tags a ServiceOffering object
|
2796
|
+
# @param id ID of the resource
|
2797
|
+
# @param tag Tag attributes to add
|
2798
|
+
# @param [Hash] opts the optional parameters
|
2799
|
+
# @return [Tag]
|
2800
|
+
describe 'tag_service_offering test' do
|
2801
|
+
it 'should work' do
|
2802
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2803
|
+
end
|
2804
|
+
end
|
2805
|
+
|
2806
|
+
# unit tests for tag_subnet
|
2807
|
+
# Tag a Subnet
|
2808
|
+
# Tags a Subnet object
|
2809
|
+
# @param id ID of the resource
|
2810
|
+
# @param tag Tag attributes to add
|
2811
|
+
# @param [Hash] opts the optional parameters
|
2812
|
+
# @return [Tag]
|
2813
|
+
describe 'tag_subnet test' do
|
2814
|
+
it 'should work' do
|
2815
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2816
|
+
end
|
2817
|
+
end
|
2818
|
+
|
2819
|
+
# unit tests for tag_vm
|
2820
|
+
# Tag a Vm
|
2821
|
+
# Tags a Vm object
|
2822
|
+
# @param id ID of the resource
|
2823
|
+
# @param tag Tag attributes to add
|
2824
|
+
# @param [Hash] opts the optional parameters
|
2825
|
+
# @return [Tag]
|
2826
|
+
describe 'tag_vm test' do
|
2827
|
+
it 'should work' do
|
2828
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2829
|
+
end
|
2830
|
+
end
|
2831
|
+
|
2832
|
+
# unit tests for untag_container_group
|
2833
|
+
# Untag a ContainerGroup
|
2834
|
+
# Untags a ContainerGroup object
|
2835
|
+
# @param id ID of the resource
|
2836
|
+
# @param tag Tag attributes to removed
|
2837
|
+
# @param [Hash] opts the optional parameters
|
2838
|
+
# @return [nil]
|
2839
|
+
describe 'untag_container_group test' do
|
2840
|
+
it 'should work' do
|
2841
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2842
|
+
end
|
2843
|
+
end
|
2844
|
+
|
2845
|
+
# unit tests for untag_container_image
|
2846
|
+
# Untag a ContainerImage
|
2847
|
+
# Untags a ContainerImage object
|
2848
|
+
# @param id ID of the resource
|
2849
|
+
# @param tag Tag attributes to removed
|
2850
|
+
# @param [Hash] opts the optional parameters
|
2851
|
+
# @return [nil]
|
2852
|
+
describe 'untag_container_image test' do
|
2853
|
+
it 'should work' do
|
2854
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2855
|
+
end
|
2856
|
+
end
|
2857
|
+
|
2858
|
+
# unit tests for untag_container_node
|
2859
|
+
# Untag a ContainerNode
|
2860
|
+
# Untags a ContainerNode object
|
2861
|
+
# @param id ID of the resource
|
2862
|
+
# @param tag Tag attributes to removed
|
2863
|
+
# @param [Hash] opts the optional parameters
|
2864
|
+
# @return [nil]
|
2865
|
+
describe 'untag_container_node test' do
|
2866
|
+
it 'should work' do
|
2867
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2868
|
+
end
|
2869
|
+
end
|
2870
|
+
|
2871
|
+
# unit tests for untag_container_project
|
2872
|
+
# Untag a ContainerProject
|
2873
|
+
# Untags a ContainerProject object
|
2874
|
+
# @param id ID of the resource
|
2875
|
+
# @param tag Tag attributes to removed
|
2876
|
+
# @param [Hash] opts the optional parameters
|
2877
|
+
# @return [nil]
|
2878
|
+
describe 'untag_container_project test' do
|
2879
|
+
it 'should work' do
|
2880
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2881
|
+
end
|
2882
|
+
end
|
2883
|
+
|
2884
|
+
# unit tests for untag_container_template
|
2885
|
+
# Untag a ContainerTemplate
|
2886
|
+
# Untags a ContainerTemplate object
|
2887
|
+
# @param id ID of the resource
|
2888
|
+
# @param tag Tag attributes to removed
|
2889
|
+
# @param [Hash] opts the optional parameters
|
2890
|
+
# @return [nil]
|
2891
|
+
describe 'untag_container_template test' do
|
2892
|
+
it 'should work' do
|
2893
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2894
|
+
end
|
2895
|
+
end
|
2896
|
+
|
2897
|
+
# unit tests for untag_ipaddress
|
2898
|
+
# Untag a Ipaddress
|
2899
|
+
# Untags a Ipaddress object
|
2900
|
+
# @param id ID of the resource
|
2901
|
+
# @param tag Tag attributes to removed
|
2902
|
+
# @param [Hash] opts the optional parameters
|
2903
|
+
# @return [nil]
|
2904
|
+
describe 'untag_ipaddress test' do
|
2905
|
+
it 'should work' do
|
2906
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2907
|
+
end
|
2908
|
+
end
|
2909
|
+
|
2910
|
+
# unit tests for untag_network
|
2911
|
+
# Untag a Network
|
2912
|
+
# Untags a Network object
|
2913
|
+
# @param id ID of the resource
|
2914
|
+
# @param tag Tag attributes to removed
|
2915
|
+
# @param [Hash] opts the optional parameters
|
2916
|
+
# @return [nil]
|
2917
|
+
describe 'untag_network test' do
|
2918
|
+
it 'should work' do
|
2919
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2920
|
+
end
|
2921
|
+
end
|
2922
|
+
|
2923
|
+
# unit tests for untag_network_adapter
|
2924
|
+
# Untag a NetworkAdapter
|
2925
|
+
# Untags a NetworkAdapter object
|
2926
|
+
# @param id ID of the resource
|
2927
|
+
# @param tag Tag attributes to removed
|
2928
|
+
# @param [Hash] opts the optional parameters
|
2929
|
+
# @return [nil]
|
2930
|
+
describe 'untag_network_adapter test' do
|
2931
|
+
it 'should work' do
|
2932
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2933
|
+
end
|
2934
|
+
end
|
2935
|
+
|
2936
|
+
# unit tests for untag_security_group
|
2937
|
+
# Untag a SecurityGroup
|
2938
|
+
# Untags a SecurityGroup object
|
2939
|
+
# @param id ID of the resource
|
2940
|
+
# @param tag Tag attributes to removed
|
2941
|
+
# @param [Hash] opts the optional parameters
|
2942
|
+
# @return [nil]
|
2943
|
+
describe 'untag_security_group test' do
|
2944
|
+
it 'should work' do
|
2945
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2946
|
+
end
|
2947
|
+
end
|
2948
|
+
|
2949
|
+
# unit tests for untag_service_inventory
|
2950
|
+
# Untag a ServiceInventory
|
2951
|
+
# Untags a ServiceInventory object
|
2952
|
+
# @param id ID of the resource
|
2953
|
+
# @param tag Tag attributes to removed
|
2954
|
+
# @param [Hash] opts the optional parameters
|
2955
|
+
# @return [nil]
|
2956
|
+
describe 'untag_service_inventory test' do
|
2957
|
+
it 'should work' do
|
2958
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2959
|
+
end
|
2960
|
+
end
|
2961
|
+
|
2962
|
+
# unit tests for untag_service_offering
|
2963
|
+
# Untag a ServiceOffering
|
2964
|
+
# Untags a ServiceOffering object
|
2965
|
+
# @param id ID of the resource
|
2966
|
+
# @param tag Tag attributes to removed
|
2967
|
+
# @param [Hash] opts the optional parameters
|
2968
|
+
# @return [nil]
|
2969
|
+
describe 'untag_service_offering test' do
|
2970
|
+
it 'should work' do
|
2971
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2972
|
+
end
|
2973
|
+
end
|
2974
|
+
|
2975
|
+
# unit tests for untag_subnet
|
2976
|
+
# Untag a Subnet
|
2977
|
+
# Untags a Subnet object
|
2978
|
+
# @param id ID of the resource
|
2979
|
+
# @param tag Tag attributes to removed
|
2980
|
+
# @param [Hash] opts the optional parameters
|
2981
|
+
# @return [nil]
|
2982
|
+
describe 'untag_subnet test' do
|
2983
|
+
it 'should work' do
|
2984
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2985
|
+
end
|
2986
|
+
end
|
2987
|
+
|
2988
|
+
# unit tests for untag_vm
|
2989
|
+
# Untag a Vm
|
2990
|
+
# Untags a Vm object
|
2991
|
+
# @param id ID of the resource
|
2992
|
+
# @param tag Tag attributes to removed
|
2993
|
+
# @param [Hash] opts the optional parameters
|
2994
|
+
# @return [nil]
|
2995
|
+
describe 'untag_vm test' do
|
2996
|
+
it 'should work' do
|
2997
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
2998
|
+
end
|
2999
|
+
end
|
3000
|
+
|
2663
3001
|
# unit tests for update_task
|
2664
3002
|
# Update an existing Task
|
2665
3003
|
# Updates a Task object
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#Topological Inventory
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
Contact: support@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.2.1
|
@@ -18,7 +18,7 @@ describe TopologicalInventoryApiClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("https://cloud.redhat.com//api/topological-inventory/
|
21
|
+
# uri = URI.parse("https://cloud.redhat.com//api/topological-inventory/v2.0")
|
22
22
|
# TopologicalInventoryApiClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe TopologicalInventoryApiClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("https://cloud.redhat.com//api/topological-inventory/
|
31
|
+
# expect(config.base_url).to eq("https://cloud.redhat.com//api/topological-inventory/v2.0")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("https://cloud.redhat.com//api/topological-inventory/
|
38
|
+
# expect(config.base_url).to eq("https://cloud.redhat.com//api/topological-inventory/v2.0")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|