1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/vcloud_director/requests/compute
Mike Pountney c033ee8c82 Not specifying Owner details caused issue in Query Mock
In trying to emulate a bug in the API in Mock mode, we were not populating
required fields in the get_execute_query Mock, which were in turn intermittently
causing test failures.

Fix these two cases to return the correct value, but store the correct data in our Mock.
2014-09-24 23:24:00 +01:00
..
delete_catalog_item.rb
delete_catalog_item_metadata_item_metadata.rb
delete_disk.rb
delete_disk_metadata_item_metadata.rb
delete_logout.rb
delete_media.rb
delete_media_metadata_item_metadata.rb
delete_network.rb
delete_shadow_vm.rb
delete_vapp.rb
delete_vapp_metadata_item_metadata.rb
delete_vapp_template.rb
delete_vapp_template_metadata_item_metadata.rb
get_allocated_ip_addresses.rb
get_catalog.rb
get_catalog_item.rb
get_catalog_item_metadata.rb
get_catalog_item_metadata_item_metadata.rb
get_catalog_metadata.rb
get_catalog_metadata_item_metadata.rb
get_catalogs_from_query.rb
get_control_access_params_catalog.rb
get_control_access_params_vapp.rb
get_cpu_rasd_item.rb
get_current_session.rb
get_disk.rb
get_disk_metadata.rb
get_disk_metadata_item_metadata.rb
get_disk_owner.rb
get_disks_from_query.rb
get_disks_rasd_items_list.rb Fix 1.8.7 bug - trailing comma in arg list 2014-06-09 07:56:36 +01:00
get_edge_gateway.rb
get_entity.rb
get_execute_query.rb TaskRecord ObjectName is optional 2014-09-24 22:15:07 +01:00
get_groups_from_query.rb
get_guest_customization_system_section_vapp.rb
get_guest_customization_system_section_vapp_template.rb
get_href.rb
get_lease_settings_section_vapp.rb
get_lease_settings_section_vapp_template.rb
get_media.rb
get_media_drives_rasd_items_list.rb Fix 1.8.7 bug - trailing comma in arg list 2014-06-09 08:03:54 +01:00
get_media_metadata.rb
get_media_metadata_item_metadata.rb
get_media_owner.rb
get_medias_from_query.rb
get_memory_rasd_item.rb
get_metadata.rb
get_network.rb
get_network_cards_items_list.rb Fix 1.8.7 bug - trailing comma in arg list 2014-06-09 08:03:54 +01:00
get_network_complete.rb
get_network_config_section_vapp.rb Do not return a network from sample config 2014-07-04 15:30:10 +01:00
get_network_config_section_vapp_template.rb
get_network_connection_system_section_vapp.rb
get_network_connection_system_section_vapp_template.rb
get_network_metadata.rb
get_network_metadata_item_metadata.rb
get_network_section_vapp.rb
get_network_section_vapp_template.rb
get_operating_system_section.rb
get_org_settings.rb
get_org_vdc_gateways.rb
get_organization.rb
get_organization_metadata.rb
get_organization_metadata_item_metadata.rb
get_organizations.rb
get_organizations_from_query.rb
get_product_sections_vapp.rb
get_product_sections_vapp_template.rb
get_request.rb
get_runtime_info_section_type.rb
get_serial_ports_items_list.rb
get_shadow_vm.rb
get_snapshot_section.rb
get_startup_section.rb
get_supported_systems_info.rb
get_supported_versions.rb
get_task.rb
get_task_list.rb
get_thumbnail.rb
get_users_from_query.rb
get_vapp.rb Workaround for Hash.select in Ruby 1.8 2014-06-09 09:07:23 +01:00
get_vapp_metadata.rb Add Mock for get_vapp_metadata 2014-07-04 16:34:52 +01:00
get_vapp_metadata_item_metadata.rb
get_vapp_ovf_descriptor.rb
get_vapp_owner.rb
get_vapp_template.rb
get_vapp_template_customization_system_section.rb
get_vapp_template_metadata.rb
get_vapp_template_metadata_item_metadata.rb
get_vapp_template_ovf_descriptor.rb
get_vapp_template_owner.rb
get_vapp_templates_from_query.rb
get_vapps_in_lease_from_query.rb
get_vcloud.rb
get_vdc.rb
get_vdc_metadata.rb
get_vdc_metadata_item_metadata.rb
get_vdc_storage_class.rb
get_vdc_storage_class_metadata.rb
get_vdc_storage_class_metadata_item_metadata.rb
get_vdcs_from_query.rb
get_virtual_hardware_section.rb
get_vm.rb
get_vm_capabilities.rb
get_vm_compliance_results.rb
get_vm_customization.rb
get_vm_disks.rb
get_vm_network.rb
get_vm_pending_question.rb
get_vms.rb
get_vms_by_metadata.rb
get_vms_disk_attached_to.rb
get_vms_in_lease_from_query.rb Add Mock for get_vms_in_lease_from_query 2014-07-07 11:19:26 +01:00
instantiate_vapp_template.rb
post_acquire_ticket.rb
post_answer_vm_pending_question.rb
post_attach_disk.rb
post_cancel_task.rb
post_capture_vapp.rb
post_check_vm_compliance.rb
post_clone_media.rb
post_clone_vapp.rb
post_clone_vapp_template.rb
post_configure_edge_gateway_services.rb Not specifying Owner details caused issue in Query Mock 2014-09-24 23:24:00 +01:00
post_consolidate_vm_vapp.rb
post_consolidate_vm_vapp_template.rb
post_create_catalog_item.rb
post_create_org_vdc_network.rb
post_deploy_vapp.rb
post_detach_disk.rb
post_disable_nested_hv.rb
post_disable_vapp_template_download.rb
post_discard_vapp_state.rb
post_eject_cd_rom.rb
post_enable_nested_hv.rb
post_enable_vapp_template_download.rb
post_enter_maintenance_mode.rb
post_exit_maintenance_mode.rb
post_insert_cd_rom.rb
post_install_vmware_tools.rb
post_instantiate_vapp_template.rb Add Mock for get_vms_in_lease_from_query 2014-07-07 11:19:26 +01:00
post_login_session.rb
post_power_off_vapp.rb
post_power_on_vapp.rb
post_reboot_vapp.rb
post_remove_all_snapshots.rb
post_reset_vapp.rb
post_revert_snapshot.rb
post_shutdown_vapp.rb
post_suspend_vapp.rb
post_undeploy_vapp.rb
post_update_catalog_item_metadata.rb
post_update_disk_metadata.rb
post_update_media_metadata.rb
post_update_vapp_metadata.rb
post_update_vapp_template_metadata.rb
post_upgrade_hw_version.rb
post_upload_disk.rb
post_upload_media.rb
post_upload_vapp_template.rb
put_catalog_item_metadata_item_metadata.rb
put_cpu.rb Merge pull request #3044 from alphagov/add-mocks 2014-07-07 11:00:22 -05:00
put_disk_metadata_item_metadata.rb
put_disks.rb
put_guest_customization_section_vapp.rb
put_media_metadata_item_metadata.rb
put_memory.rb Merge pull request #3044 from alphagov/add-mocks 2014-07-07 11:00:22 -05:00
put_metadata_value.rb
put_network.rb Not specifying Owner details caused issue in Query Mock 2014-09-24 23:24:00 +01:00
put_network_connection_system_section_vapp.rb
put_product_sections.rb Rename method to put_product_sections and update it's documentation 2014-06-19 09:51:13 +01:00
put_vapp_metadata_item_metadata.rb Add Mock for put metadata 2014-07-04 16:35:12 +01:00
put_vapp_name_and_description.rb
put_vapp_template_metadata_item_metadata.rb
put_vm.rb Add Mock for put_vm 2014-07-04 15:52:54 +01:00
put_vm_capabilities.rb