gitlab-fog-google 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.codecov.yml +2 -0
- data/.editorconfig +11 -0
- data/.fog.example +25 -0
- data/.gitignore +20 -0
- data/.gitlab-ci.yml +13 -0
- data/.hound.yml +2 -0
- data/.rubocop.yml +255 -0
- data/.ruby-gemset +1 -0
- data/.travis.yml +33 -0
- data/CHANGELOG.md +464 -0
- data/CONTRIBUTING.md +175 -0
- data/CONTRIBUTORS.md +95 -0
- data/Gemfile +13 -0
- data/LICENSE.md +20 -0
- data/MIGRATING.md +1 -0
- data/README.md +177 -0
- data/Rakefile +19 -0
- data/SECURITY.md +16 -0
- data/ci/.gitignore +1 -0
- data/ci/README.md +65 -0
- data/ci/build-head-pipeline.yml +173 -0
- data/ci/credentials.yml.template +28 -0
- data/ci/docker-image/Dockerfile +18 -0
- data/ci/integration-pipeline.yml +226 -0
- data/ci/pipeline-dev.yml +58 -0
- data/ci/tasks/run-int.sh +53 -0
- data/ci/tasks/run-int.yml +18 -0
- data/ci/tasks/utils.sh +10 -0
- data/examples/backend_services.rb +23 -0
- data/examples/bootstrap.rb +27 -0
- data/examples/create_instance.rb +73 -0
- data/examples/create_instance_with_attached_disk.rb +53 -0
- data/examples/dns/project.rb +7 -0
- data/examples/dns/zones.rb +43 -0
- data/examples/get_list_images.rb +42 -0
- data/examples/get_list_snapshots.rb +28 -0
- data/examples/image_create.rb +17 -0
- data/examples/l7_load_balance.rb +79 -0
- data/examples/load-balance.rb +116 -0
- data/examples/metadata.rb +40 -0
- data/examples/monitoring/metric_descriptors.rb +24 -0
- data/examples/monitoring/monitored_resource_descriptors.rb +24 -0
- data/examples/monitoring/timeseries_collection.rb +32 -0
- data/examples/network.rb +55 -0
- data/examples/precreated_client.rb +24 -0
- data/examples/pubsub/subscriptions.rb +54 -0
- data/examples/pubsub/topics.rb +33 -0
- data/examples/sql/flags.rb +11 -0
- data/examples/sql/instances.rb +38 -0
- data/examples/sql/operations.rb +24 -0
- data/examples/sql/ssl_certs.rb +32 -0
- data/examples/sql/tiers.rb +11 -0
- data/examples/storage.rb +49 -0
- data/examples/storage_json.rb +37 -0
- data/gitlab-fog-google.gemspec +44 -0
- data/lib/fog/bin/google.rb +97 -0
- data/lib/fog/compute/google.rb +304 -0
- data/lib/fog/compute/google/mock.rb +845 -0
- data/lib/fog/compute/google/models/address.rb +133 -0
- data/lib/fog/compute/google/models/addresses.rb +63 -0
- data/lib/fog/compute/google/models/backend_service.rb +86 -0
- data/lib/fog/compute/google/models/backend_services.rb +24 -0
- data/lib/fog/compute/google/models/disk.rb +155 -0
- data/lib/fog/compute/google/models/disk_type.rb +27 -0
- data/lib/fog/compute/google/models/disk_types.rb +42 -0
- data/lib/fog/compute/google/models/disks.rb +88 -0
- data/lib/fog/compute/google/models/firewall.rb +94 -0
- data/lib/fog/compute/google/models/firewalls.rb +24 -0
- data/lib/fog/compute/google/models/forwarding_rule.rb +79 -0
- data/lib/fog/compute/google/models/forwarding_rules.rb +44 -0
- data/lib/fog/compute/google/models/global_address.rb +58 -0
- data/lib/fog/compute/google/models/global_addresses.rb +46 -0
- data/lib/fog/compute/google/models/global_forwarding_rule.rb +78 -0
- data/lib/fog/compute/google/models/global_forwarding_rules.rb +24 -0
- data/lib/fog/compute/google/models/http_health_check.rb +104 -0
- data/lib/fog/compute/google/models/http_health_checks.rb +24 -0
- data/lib/fog/compute/google/models/image.rb +81 -0
- data/lib/fog/compute/google/models/images.rb +109 -0
- data/lib/fog/compute/google/models/instance_group.rb +90 -0
- data/lib/fog/compute/google/models/instance_group_manager.rb +51 -0
- data/lib/fog/compute/google/models/instance_group_managers.rb +45 -0
- data/lib/fog/compute/google/models/instance_groups.rb +63 -0
- data/lib/fog/compute/google/models/instance_template.rb +47 -0
- data/lib/fog/compute/google/models/instance_templates.rb +24 -0
- data/lib/fog/compute/google/models/machine_type.rb +23 -0
- data/lib/fog/compute/google/models/machine_types.rb +46 -0
- data/lib/fog/compute/google/models/network.rb +60 -0
- data/lib/fog/compute/google/models/networks.rb +24 -0
- data/lib/fog/compute/google/models/operation.rb +73 -0
- data/lib/fog/compute/google/models/operations.rb +45 -0
- data/lib/fog/compute/google/models/project.rb +28 -0
- data/lib/fog/compute/google/models/projects.rb +19 -0
- data/lib/fog/compute/google/models/region.rb +30 -0
- data/lib/fog/compute/google/models/regions.rb +24 -0
- data/lib/fog/compute/google/models/route.rb +49 -0
- data/lib/fog/compute/google/models/routes.rb +24 -0
- data/lib/fog/compute/google/models/server.rb +604 -0
- data/lib/fog/compute/google/models/servers.rb +120 -0
- data/lib/fog/compute/google/models/snapshot.rb +62 -0
- data/lib/fog/compute/google/models/snapshots.rb +32 -0
- data/lib/fog/compute/google/models/ssl_certificate.rb +42 -0
- data/lib/fog/compute/google/models/ssl_certificates.rb +24 -0
- data/lib/fog/compute/google/models/subnetwork.rb +83 -0
- data/lib/fog/compute/google/models/subnetworks.rb +43 -0
- data/lib/fog/compute/google/models/target_http_proxies.rb +24 -0
- data/lib/fog/compute/google/models/target_http_proxy.rb +73 -0
- data/lib/fog/compute/google/models/target_https_proxies.rb +24 -0
- data/lib/fog/compute/google/models/target_https_proxy.rb +105 -0
- data/lib/fog/compute/google/models/target_instance.rb +67 -0
- data/lib/fog/compute/google/models/target_instances.rb +46 -0
- data/lib/fog/compute/google/models/target_pool.rb +171 -0
- data/lib/fog/compute/google/models/target_pools.rb +43 -0
- data/lib/fog/compute/google/models/url_map.rb +121 -0
- data/lib/fog/compute/google/models/url_maps.rb +24 -0
- data/lib/fog/compute/google/models/zone.rb +25 -0
- data/lib/fog/compute/google/models/zones.rb +24 -0
- data/lib/fog/compute/google/real.rb +24 -0
- data/lib/fog/compute/google/requests/abandon_instances.rb +28 -0
- data/lib/fog/compute/google/requests/add_backend_service_backends.rb +19 -0
- data/lib/fog/compute/google/requests/add_instance_group_instances.rb +37 -0
- data/lib/fog/compute/google/requests/add_server_access_config.rb +32 -0
- data/lib/fog/compute/google/requests/add_target_pool_health_checks.rb +32 -0
- data/lib/fog/compute/google/requests/add_target_pool_instances.rb +30 -0
- data/lib/fog/compute/google/requests/attach_disk.rb +22 -0
- data/lib/fog/compute/google/requests/create_disk_snapshot.rb +24 -0
- data/lib/fog/compute/google/requests/delete_address.rb +24 -0
- data/lib/fog/compute/google/requests/delete_backend_service.rb +19 -0
- data/lib/fog/compute/google/requests/delete_disk.rb +25 -0
- data/lib/fog/compute/google/requests/delete_firewall.rb +19 -0
- data/lib/fog/compute/google/requests/delete_forwarding_rule.rb +20 -0
- data/lib/fog/compute/google/requests/delete_global_address.rb +19 -0
- data/lib/fog/compute/google/requests/delete_global_forwarding_rule.rb +19 -0
- data/lib/fog/compute/google/requests/delete_global_operation.rb +20 -0
- data/lib/fog/compute/google/requests/delete_http_health_check.rb +19 -0
- data/lib/fog/compute/google/requests/delete_image.rb +19 -0
- data/lib/fog/compute/google/requests/delete_instance_group.rb +19 -0
- data/lib/fog/compute/google/requests/delete_instance_group_manager.rb +19 -0
- data/lib/fog/compute/google/requests/delete_instance_template.rb +19 -0
- data/lib/fog/compute/google/requests/delete_network.rb +19 -0
- data/lib/fog/compute/google/requests/delete_region_operation.rb +22 -0
- data/lib/fog/compute/google/requests/delete_route.rb +23 -0
- data/lib/fog/compute/google/requests/delete_server.rb +19 -0
- data/lib/fog/compute/google/requests/delete_server_access_config.rb +22 -0
- data/lib/fog/compute/google/requests/delete_snapshot.rb +19 -0
- data/lib/fog/compute/google/requests/delete_ssl_certificate.rb +19 -0
- data/lib/fog/compute/google/requests/delete_subnetwork.rb +31 -0
- data/lib/fog/compute/google/requests/delete_target_http_proxy.rb +19 -0
- data/lib/fog/compute/google/requests/delete_target_https_proxy.rb +19 -0
- data/lib/fog/compute/google/requests/delete_target_instance.rb +20 -0
- data/lib/fog/compute/google/requests/delete_target_pool.rb +20 -0
- data/lib/fog/compute/google/requests/delete_url_map.rb +19 -0
- data/lib/fog/compute/google/requests/delete_zone_operation.rb +22 -0
- data/lib/fog/compute/google/requests/deprecate_image.rb +22 -0
- data/lib/fog/compute/google/requests/detach_disk.rb +20 -0
- data/lib/fog/compute/google/requests/expand_subnetwork_ip_cidr_range.rb +38 -0
- data/lib/fog/compute/google/requests/get_address.rb +24 -0
- data/lib/fog/compute/google/requests/get_backend_service.rb +19 -0
- data/lib/fog/compute/google/requests/get_backend_service_health.rb +24 -0
- data/lib/fog/compute/google/requests/get_disk.rb +24 -0
- data/lib/fog/compute/google/requests/get_disk_type.rb +19 -0
- data/lib/fog/compute/google/requests/get_firewall.rb +19 -0
- data/lib/fog/compute/google/requests/get_forwarding_rule.rb +22 -0
- data/lib/fog/compute/google/requests/get_global_address.rb +19 -0
- data/lib/fog/compute/google/requests/get_global_forwarding_rule.rb +19 -0
- data/lib/fog/compute/google/requests/get_global_operation.rb +23 -0
- data/lib/fog/compute/google/requests/get_http_health_check.rb +19 -0
- data/lib/fog/compute/google/requests/get_image.rb +20 -0
- data/lib/fog/compute/google/requests/get_image_from_family.rb +26 -0
- data/lib/fog/compute/google/requests/get_instance_group.rb +19 -0
- data/lib/fog/compute/google/requests/get_instance_group_manager.rb +19 -0
- data/lib/fog/compute/google/requests/get_instance_template.rb +19 -0
- data/lib/fog/compute/google/requests/get_machine_type.rb +20 -0
- data/lib/fog/compute/google/requests/get_network.rb +19 -0
- data/lib/fog/compute/google/requests/get_project.rb +19 -0
- data/lib/fog/compute/google/requests/get_region.rb +19 -0
- data/lib/fog/compute/google/requests/get_region_operation.rb +20 -0
- data/lib/fog/compute/google/requests/get_route.rb +22 -0
- data/lib/fog/compute/google/requests/get_server.rb +19 -0
- data/lib/fog/compute/google/requests/get_server_serial_port_output.rb +38 -0
- data/lib/fog/compute/google/requests/get_snapshot.rb +20 -0
- data/lib/fog/compute/google/requests/get_ssl_certificate.rb +19 -0
- data/lib/fog/compute/google/requests/get_subnetwork.rb +29 -0
- data/lib/fog/compute/google/requests/get_target_http_proxy.rb +19 -0
- data/lib/fog/compute/google/requests/get_target_https_proxy.rb +19 -0
- data/lib/fog/compute/google/requests/get_target_instance.rb +20 -0
- data/lib/fog/compute/google/requests/get_target_pool.rb +20 -0
- data/lib/fog/compute/google/requests/get_target_pool_health.rb +24 -0
- data/lib/fog/compute/google/requests/get_url_map.rb +19 -0
- data/lib/fog/compute/google/requests/get_zone.rb +19 -0
- data/lib/fog/compute/google/requests/get_zone_operation.rb +25 -0
- data/lib/fog/compute/google/requests/insert_address.rb +30 -0
- data/lib/fog/compute/google/requests/insert_backend_service.rb +23 -0
- data/lib/fog/compute/google/requests/insert_disk.rb +48 -0
- data/lib/fog/compute/google/requests/insert_firewall.rb +65 -0
- data/lib/fog/compute/google/requests/insert_forwarding_rule.rb +29 -0
- data/lib/fog/compute/google/requests/insert_global_address.rb +25 -0
- data/lib/fog/compute/google/requests/insert_global_forwarding_rule.rb +26 -0
- data/lib/fog/compute/google/requests/insert_http_health_check.rb +24 -0
- data/lib/fog/compute/google/requests/insert_image.rb +23 -0
- data/lib/fog/compute/google/requests/insert_instance_group.rb +37 -0
- data/lib/fog/compute/google/requests/insert_instance_group_manager.rb +31 -0
- data/lib/fog/compute/google/requests/insert_instance_template.rb +38 -0
- data/lib/fog/compute/google/requests/insert_network.rb +34 -0
- data/lib/fog/compute/google/requests/insert_route.rb +35 -0
- data/lib/fog/compute/google/requests/insert_server.rb +122 -0
- data/lib/fog/compute/google/requests/insert_ssl_certificate.rb +27 -0
- data/lib/fog/compute/google/requests/insert_subnetwork.rb +61 -0
- data/lib/fog/compute/google/requests/insert_target_http_proxy.rb +26 -0
- data/lib/fog/compute/google/requests/insert_target_https_proxy.rb +29 -0
- data/lib/fog/compute/google/requests/insert_target_instance.rb +25 -0
- data/lib/fog/compute/google/requests/insert_target_pool.rb +22 -0
- data/lib/fog/compute/google/requests/insert_url_map.rb +37 -0
- data/lib/fog/compute/google/requests/invalidate_url_map_cache.rb +24 -0
- data/lib/fog/compute/google/requests/list_addresses.rb +28 -0
- data/lib/fog/compute/google/requests/list_aggregated_addresses.rb +23 -0
- data/lib/fog/compute/google/requests/list_aggregated_disk_types.rb +24 -0
- data/lib/fog/compute/google/requests/list_aggregated_disks.rb +32 -0
- data/lib/fog/compute/google/requests/list_aggregated_forwarding_rules.rb +24 -0
- data/lib/fog/compute/google/requests/list_aggregated_instance_group_managers.rb +26 -0
- data/lib/fog/compute/google/requests/list_aggregated_instance_groups.rb +19 -0
- data/lib/fog/compute/google/requests/list_aggregated_machine_types.rb +24 -0
- data/lib/fog/compute/google/requests/list_aggregated_servers.rb +24 -0
- data/lib/fog/compute/google/requests/list_aggregated_subnetworks.rb +36 -0
- data/lib/fog/compute/google/requests/list_aggregated_target_instances.rb +26 -0
- data/lib/fog/compute/google/requests/list_aggregated_target_pools.rb +26 -0
- data/lib/fog/compute/google/requests/list_backend_services.rb +22 -0
- data/lib/fog/compute/google/requests/list_disk_types.rb +24 -0
- data/lib/fog/compute/google/requests/list_disks.rb +28 -0
- data/lib/fog/compute/google/requests/list_firewalls.rb +24 -0
- data/lib/fog/compute/google/requests/list_forwarding_rules.rb +25 -0
- data/lib/fog/compute/google/requests/list_global_addresses.rb +26 -0
- data/lib/fog/compute/google/requests/list_global_forwarding_rules.rb +24 -0
- data/lib/fog/compute/google/requests/list_global_operations.rb +27 -0
- data/lib/fog/compute/google/requests/list_http_health_checks.rb +24 -0
- data/lib/fog/compute/google/requests/list_images.rb +25 -0
- data/lib/fog/compute/google/requests/list_instance_group_instances.rb +21 -0
- data/lib/fog/compute/google/requests/list_instance_group_managers.rb +22 -0
- data/lib/fog/compute/google/requests/list_instance_groups.rb +19 -0
- data/lib/fog/compute/google/requests/list_instance_templates.rb +26 -0
- data/lib/fog/compute/google/requests/list_machine_types.rb +25 -0
- data/lib/fog/compute/google/requests/list_networks.rb +24 -0
- data/lib/fog/compute/google/requests/list_region_operations.rb +29 -0
- data/lib/fog/compute/google/requests/list_regions.rb +23 -0
- data/lib/fog/compute/google/requests/list_routes.rb +28 -0
- data/lib/fog/compute/google/requests/list_servers.rb +24 -0
- data/lib/fog/compute/google/requests/list_snapshots.rb +22 -0
- data/lib/fog/compute/google/requests/list_ssl_certificates.rb +26 -0
- data/lib/fog/compute/google/requests/list_subnetworks.rb +39 -0
- data/lib/fog/compute/google/requests/list_target_http_proxies.rb +25 -0
- data/lib/fog/compute/google/requests/list_target_https_proxies.rb +24 -0
- data/lib/fog/compute/google/requests/list_target_instances.rb +27 -0
- data/lib/fog/compute/google/requests/list_target_pools.rb +26 -0
- data/lib/fog/compute/google/requests/list_url_maps.rb +25 -0
- data/lib/fog/compute/google/requests/list_zone_operations.rb +28 -0
- data/lib/fog/compute/google/requests/list_zones.rb +26 -0
- data/lib/fog/compute/google/requests/patch_firewall.rb +27 -0
- data/lib/fog/compute/google/requests/patch_url_map.rb +21 -0
- data/lib/fog/compute/google/requests/recreate_instances.rb +28 -0
- data/lib/fog/compute/google/requests/remove_instance_group_instances.rb +37 -0
- data/lib/fog/compute/google/requests/remove_target_pool_health_checks.rb +30 -0
- data/lib/fog/compute/google/requests/remove_target_pool_instance.rb +30 -0
- data/lib/fog/compute/google/requests/remove_target_pool_instances.rb +30 -0
- data/lib/fog/compute/google/requests/reset_server.rb +19 -0
- data/lib/fog/compute/google/requests/reset_windows_password.rb +154 -0
- data/lib/fog/compute/google/requests/set_common_instance_metadata.rb +23 -0
- data/lib/fog/compute/google/requests/set_forwarding_rule_target.rb +23 -0
- data/lib/fog/compute/google/requests/set_global_forwarding_rule_target.rb +22 -0
- data/lib/fog/compute/google/requests/set_instance_template.rb +28 -0
- data/lib/fog/compute/google/requests/set_server_disk_auto_delete.rb +26 -0
- data/lib/fog/compute/google/requests/set_server_machine_type.rb +23 -0
- data/lib/fog/compute/google/requests/set_server_metadata.rb +39 -0
- data/lib/fog/compute/google/requests/set_server_scheduling.rb +24 -0
- data/lib/fog/compute/google/requests/set_server_tags.rb +25 -0
- data/lib/fog/compute/google/requests/set_snapshot_labels.rb +25 -0
- data/lib/fog/compute/google/requests/set_subnetwork_private_ip_google_access.rb +42 -0
- data/lib/fog/compute/google/requests/set_target_http_proxy_url_map.rb +24 -0
- data/lib/fog/compute/google/requests/set_target_https_proxy_ssl_certificates.rb +24 -0
- data/lib/fog/compute/google/requests/set_target_https_proxy_url_map.rb +24 -0
- data/lib/fog/compute/google/requests/set_target_pool_backup.rb +31 -0
- data/lib/fog/compute/google/requests/start_server.rb +19 -0
- data/lib/fog/compute/google/requests/stop_server.rb +19 -0
- data/lib/fog/compute/google/requests/update_firewall.rb +49 -0
- data/lib/fog/compute/google/requests/update_http_health_check.rb +25 -0
- data/lib/fog/compute/google/requests/update_url_map.rb +28 -0
- data/lib/fog/compute/google/requests/validate_url_map.rb +24 -0
- data/lib/fog/dns/google.rb +67 -0
- data/lib/fog/dns/google/mock.rb +33 -0
- data/lib/fog/dns/google/models/change.rb +38 -0
- data/lib/fog/dns/google/models/changes.rb +50 -0
- data/lib/fog/dns/google/models/project.rb +73 -0
- data/lib/fog/dns/google/models/projects.rb +23 -0
- data/lib/fog/dns/google/models/record.rb +108 -0
- data/lib/fog/dns/google/models/records.rb +53 -0
- data/lib/fog/dns/google/models/zone.rb +72 -0
- data/lib/fog/dns/google/models/zones.rb +32 -0
- data/lib/fog/dns/google/real.rb +19 -0
- data/lib/fog/dns/google/requests/create_change.rb +29 -0
- data/lib/fog/dns/google/requests/create_managed_zone.rb +29 -0
- data/lib/fog/dns/google/requests/delete_managed_zone.rb +23 -0
- data/lib/fog/dns/google/requests/get_change.rb +23 -0
- data/lib/fog/dns/google/requests/get_managed_zone.rb +23 -0
- data/lib/fog/dns/google/requests/get_project.rb +24 -0
- data/lib/fog/dns/google/requests/list_changes.rb +30 -0
- data/lib/fog/dns/google/requests/list_managed_zones.rb +26 -0
- data/lib/fog/dns/google/requests/list_resource_record_sets.rb +30 -0
- data/lib/fog/google.rb +53 -0
- data/lib/fog/google/mock.rb +14 -0
- data/lib/fog/google/models/monitoring/metric_descriptor.rb +23 -0
- data/lib/fog/google/models/monitoring/metric_descriptors.rb +43 -0
- data/lib/fog/google/models/monitoring/monitored_resource_descriptor.rb +20 -0
- data/lib/fog/google/models/monitoring/monitored_resource_descriptors.rb +37 -0
- data/lib/fog/google/models/monitoring/timeseries.rb +19 -0
- data/lib/fog/google/models/monitoring/timeseries_collection.rb +48 -0
- data/lib/fog/google/models/pubsub/received_message.rb +40 -0
- data/lib/fog/google/models/pubsub/subscription.rb +86 -0
- data/lib/fog/google/models/pubsub/subscriptions.rb +33 -0
- data/lib/fog/google/models/pubsub/topic.rb +71 -0
- data/lib/fog/google/models/pubsub/topics.rb +32 -0
- data/lib/fog/google/models/sql/backup_run.rb +37 -0
- data/lib/fog/google/models/sql/backup_runs.rb +38 -0
- data/lib/fog/google/models/sql/flag.rb +23 -0
- data/lib/fog/google/models/sql/flags.rb +21 -0
- data/lib/fog/google/models/sql/instance.rb +339 -0
- data/lib/fog/google/models/sql/instances.rb +39 -0
- data/lib/fog/google/models/sql/operation.rb +67 -0
- data/lib/fog/google/models/sql/operations.rb +47 -0
- data/lib/fog/google/models/sql/ssl_cert.rb +77 -0
- data/lib/fog/google/models/sql/ssl_certs.rb +49 -0
- data/lib/fog/google/models/sql/tier.rb +20 -0
- data/lib/fog/google/models/sql/tiers.rb +21 -0
- data/lib/fog/google/models/sql/user.rb +52 -0
- data/lib/fog/google/models/sql/users.rb +21 -0
- data/lib/fog/google/monitoring.rb +60 -0
- data/lib/fog/google/monitoring/mock.rb +35 -0
- data/lib/fog/google/monitoring/real.rb +20 -0
- data/lib/fog/google/pubsub.rb +69 -0
- data/lib/fog/google/pubsub/mock.rb +34 -0
- data/lib/fog/google/pubsub/real.rb +21 -0
- data/lib/fog/google/requests/monitoring/create_metric_descriptor.rb +51 -0
- data/lib/fog/google/requests/monitoring/create_timeseries.rb +29 -0
- data/lib/fog/google/requests/monitoring/delete_metric_descriptor.rb +19 -0
- data/lib/fog/google/requests/monitoring/get_metric_descriptor.rb +19 -0
- data/lib/fog/google/requests/monitoring/get_monitored_resource_descriptor.rb +19 -0
- data/lib/fog/google/requests/monitoring/list_metric_descriptors.rb +26 -0
- data/lib/fog/google/requests/monitoring/list_monitored_resource_descriptors.rb +29 -0
- data/lib/fog/google/requests/monitoring/list_timeseries.rb +55 -0
- data/lib/fog/google/requests/pubsub/acknowledge_subscription.rb +29 -0
- data/lib/fog/google/requests/pubsub/create_subscription.rb +37 -0
- data/lib/fog/google/requests/pubsub/create_topic.rb +23 -0
- data/lib/fog/google/requests/pubsub/delete_subscription.rb +21 -0
- data/lib/fog/google/requests/pubsub/delete_topic.rb +21 -0
- data/lib/fog/google/requests/pubsub/get_subscription.rb +21 -0
- data/lib/fog/google/requests/pubsub/get_topic.rb +21 -0
- data/lib/fog/google/requests/pubsub/list_subscriptions.rb +29 -0
- data/lib/fog/google/requests/pubsub/list_topics.rb +29 -0
- data/lib/fog/google/requests/pubsub/publish_topic.rb +28 -0
- data/lib/fog/google/requests/pubsub/pull_subscription.rb +40 -0
- data/lib/fog/google/requests/sql/clone_instance.rb +42 -0
- data/lib/fog/google/requests/sql/delete_backup_run.rb +23 -0
- data/lib/fog/google/requests/sql/delete_instance.rb +24 -0
- data/lib/fog/google/requests/sql/delete_ssl_cert.rb +24 -0
- data/lib/fog/google/requests/sql/delete_user.rb +24 -0
- data/lib/fog/google/requests/sql/export_instance.rb +55 -0
- data/lib/fog/google/requests/sql/get_backup_run.rb +23 -0
- data/lib/fog/google/requests/sql/get_instance.rb +24 -0
- data/lib/fog/google/requests/sql/get_operation.rb +24 -0
- data/lib/fog/google/requests/sql/get_ssl_cert.rb +24 -0
- data/lib/fog/google/requests/sql/import_instance.rb +44 -0
- data/lib/fog/google/requests/sql/insert_backup_run.rb +28 -0
- data/lib/fog/google/requests/sql/insert_instance.rb +28 -0
- data/lib/fog/google/requests/sql/insert_ssl_cert.rb +30 -0
- data/lib/fog/google/requests/sql/insert_user.rb +25 -0
- data/lib/fog/google/requests/sql/list_backup_runs.rb +27 -0
- data/lib/fog/google/requests/sql/list_flags.rb +24 -0
- data/lib/fog/google/requests/sql/list_instances.rb +27 -0
- data/lib/fog/google/requests/sql/list_operations.rb +28 -0
- data/lib/fog/google/requests/sql/list_ssl_certs.rb +24 -0
- data/lib/fog/google/requests/sql/list_tiers.rb +24 -0
- data/lib/fog/google/requests/sql/list_users.rb +24 -0
- data/lib/fog/google/requests/sql/reset_instance_ssl_config.rb +26 -0
- data/lib/fog/google/requests/sql/restart_instance.rb +24 -0
- data/lib/fog/google/requests/sql/restore_instance_backup.rb +31 -0
- data/lib/fog/google/requests/sql/update_instance.rb +31 -0
- data/lib/fog/google/requests/sql/update_user.rb +27 -0
- data/lib/fog/google/shared.rb +253 -0
- data/lib/fog/google/sql.rb +104 -0
- data/lib/fog/google/sql/mock.rb +40 -0
- data/lib/fog/google/sql/real.rb +21 -0
- data/lib/fog/google/version.rb +5 -0
- data/lib/fog/parsers/storage/google.rb +15 -0
- data/lib/fog/parsers/storage/google/access_control_list.rb +44 -0
- data/lib/fog/parsers/storage/google/copy_object.rb +18 -0
- data/lib/fog/parsers/storage/google/get_bucket.rb +58 -0
- data/lib/fog/parsers/storage/google/get_bucket_logging.rb +36 -0
- data/lib/fog/parsers/storage/google/get_bucket_object_versions.rb +88 -0
- data/lib/fog/parsers/storage/google/get_bucket_versioning.rb +20 -0
- data/lib/fog/parsers/storage/google/get_request_payment.rb +16 -0
- data/lib/fog/parsers/storage/google/get_service.rb +28 -0
- data/lib/fog/storage/google.rb +20 -0
- data/lib/fog/storage/google_json.rb +74 -0
- data/lib/fog/storage/google_json/mock.rb +27 -0
- data/lib/fog/storage/google_json/models/directories.rb +41 -0
- data/lib/fog/storage/google_json/models/directory.rb +61 -0
- data/lib/fog/storage/google_json/models/file.rb +126 -0
- data/lib/fog/storage/google_json/models/files.rb +64 -0
- data/lib/fog/storage/google_json/real.rb +171 -0
- data/lib/fog/storage/google_json/requests/copy_object.rb +34 -0
- data/lib/fog/storage/google_json/requests/delete_bucket.rb +23 -0
- data/lib/fog/storage/google_json/requests/delete_object.rb +24 -0
- data/lib/fog/storage/google_json/requests/delete_object_url.rb +39 -0
- data/lib/fog/storage/google_json/requests/get_bucket.rb +43 -0
- data/lib/fog/storage/google_json/requests/get_bucket_acl.rb +32 -0
- data/lib/fog/storage/google_json/requests/get_object.rb +85 -0
- data/lib/fog/storage/google_json/requests/get_object_acl.rb +35 -0
- data/lib/fog/storage/google_json/requests/get_object_http_url.rb +32 -0
- data/lib/fog/storage/google_json/requests/get_object_https_url.rb +33 -0
- data/lib/fog/storage/google_json/requests/get_object_metadata.rb +32 -0
- data/lib/fog/storage/google_json/requests/get_object_url.rb +21 -0
- data/lib/fog/storage/google_json/requests/list_bucket_acl.rb +26 -0
- data/lib/fog/storage/google_json/requests/list_buckets.rb +30 -0
- data/lib/fog/storage/google_json/requests/list_object_acl.rb +29 -0
- data/lib/fog/storage/google_json/requests/list_objects.rb +48 -0
- data/lib/fog/storage/google_json/requests/put_bucket.rb +42 -0
- data/lib/fog/storage/google_json/requests/put_bucket_acl.rb +29 -0
- data/lib/fog/storage/google_json/requests/put_object.rb +102 -0
- data/lib/fog/storage/google_json/requests/put_object_acl.rb +35 -0
- data/lib/fog/storage/google_json/requests/put_object_url.rb +42 -0
- data/lib/fog/storage/google_json/utils.rb +40 -0
- data/lib/fog/storage/google_xml.rb +38 -0
- data/lib/fog/storage/google_xml/mock.rb +102 -0
- data/lib/fog/storage/google_xml/models/directories.rb +34 -0
- data/lib/fog/storage/google_xml/models/directory.rb +65 -0
- data/lib/fog/storage/google_xml/models/file.rb +130 -0
- data/lib/fog/storage/google_xml/models/files.rb +95 -0
- data/lib/fog/storage/google_xml/real.rb +108 -0
- data/lib/fog/storage/google_xml/requests/copy_object.rb +62 -0
- data/lib/fog/storage/google_xml/requests/delete_bucket.rb +39 -0
- data/lib/fog/storage/google_xml/requests/delete_object.rb +44 -0
- data/lib/fog/storage/google_xml/requests/delete_object_url.rb +42 -0
- data/lib/fog/storage/google_xml/requests/get_bucket.rb +95 -0
- data/lib/fog/storage/google_xml/requests/get_bucket_acl.rb +53 -0
- data/lib/fog/storage/google_xml/requests/get_object.rb +96 -0
- data/lib/fog/storage/google_xml/requests/get_object_acl.rb +62 -0
- data/lib/fog/storage/google_xml/requests/get_object_http_url.rb +37 -0
- data/lib/fog/storage/google_xml/requests/get_object_https_url.rb +37 -0
- data/lib/fog/storage/google_xml/requests/get_object_url.rb +31 -0
- data/lib/fog/storage/google_xml/requests/get_service.rb +44 -0
- data/lib/fog/storage/google_xml/requests/head_object.rb +55 -0
- data/lib/fog/storage/google_xml/requests/put_bucket.rb +71 -0
- data/lib/fog/storage/google_xml/requests/put_bucket_acl.rb +58 -0
- data/lib/fog/storage/google_xml/requests/put_object.rb +85 -0
- data/lib/fog/storage/google_xml/requests/put_object_acl.rb +58 -0
- data/lib/fog/storage/google_xml/requests/put_object_url.rb +42 -0
- data/lib/fog/storage/google_xml/utils.rb +83 -0
- data/tasks/bundler.rake +3 -0
- data/tasks/changelog.rake +39 -0
- data/tasks/console.rake +17 -0
- data/tasks/lint.rake +9 -0
- data/tasks/test.rake +115 -0
- data/test/helpers/client_helper.rb +63 -0
- data/test/helpers/integration_test_helper.rb +108 -0
- data/test/helpers/test_collection.rb +60 -0
- data/test/helpers/test_helper.rb +24 -0
- data/test/integration/compute/core_compute/test_client_options.rb +12 -0
- data/test/integration/compute/core_compute/test_coverage.rb +6 -0
- data/test/integration/compute/core_compute/test_disk_types.rb +43 -0
- data/test/integration/compute/core_compute/test_disks.rb +53 -0
- data/test/integration/compute/core_compute/test_images.rb +32 -0
- data/test/integration/compute/core_compute/test_machine_types.rb +55 -0
- data/test/integration/compute/core_compute/test_operations.rb +45 -0
- data/test/integration/compute/core_compute/test_projects.rb +19 -0
- data/test/integration/compute/core_compute/test_regions.rb +33 -0
- data/test/integration/compute/core_compute/test_servers.rb +149 -0
- data/test/integration/compute/core_compute/test_snapshots.rb +21 -0
- data/test/integration/compute/core_compute/test_zones.rb +35 -0
- data/test/integration/compute/core_networking/test_addresses.rb +107 -0
- data/test/integration/compute/core_networking/test_coverage.rb +6 -0
- data/test/integration/compute/core_networking/test_firewalls.rb +11 -0
- data/test/integration/compute/core_networking/test_networks.rb +41 -0
- data/test/integration/compute/core_networking/test_routes.rb +26 -0
- data/test/integration/compute/core_networking/test_subnetworks.rb +11 -0
- data/test/integration/compute/instance_groups/test_coverage.rb +6 -0
- data/test/integration/compute/instance_groups/test_instance_group_managers.rb +11 -0
- data/test/integration/compute/instance_groups/test_instance_groups.rb +11 -0
- data/test/integration/compute/instance_groups/test_instance_templates.rb +11 -0
- data/test/integration/compute/loadbalancing/test_backend_services.rb +11 -0
- data/test/integration/compute/loadbalancing/test_coverage.rb +6 -0
- data/test/integration/compute/loadbalancing/test_forwarding_rules.rb +11 -0
- data/test/integration/compute/loadbalancing/test_global_addresses.rb +11 -0
- data/test/integration/compute/loadbalancing/test_global_forwarding_rules.rb +11 -0
- data/test/integration/compute/loadbalancing/test_http_health_checks.rb +11 -0
- data/test/integration/compute/loadbalancing/test_ssl_certificates.rb +11 -0
- data/test/integration/compute/loadbalancing/test_target_http_proxies.rb +11 -0
- data/test/integration/compute/loadbalancing/test_target_https_proxies.rb +11 -0
- data/test/integration/compute/loadbalancing/test_target_instances.rb +11 -0
- data/test/integration/compute/loadbalancing/test_target_pools.rb +55 -0
- data/test/integration/compute/loadbalancing/test_url_maps.rb +11 -0
- data/test/integration/factories/addresses_factory.rb +20 -0
- data/test/integration/factories/backend_services_factory.rb +19 -0
- data/test/integration/factories/collection_factory.rb +52 -0
- data/test/integration/factories/disks_factory.rb +22 -0
- data/test/integration/factories/firewalls_factory.rb +13 -0
- data/test/integration/factories/forwarding_rules_factory.rb +25 -0
- data/test/integration/factories/global_addresses_factory.rb +15 -0
- data/test/integration/factories/global_forwarding_rules_factory.rb +20 -0
- data/test/integration/factories/http_health_checks_factory.rb +11 -0
- data/test/integration/factories/images_factory.rb +16 -0
- data/test/integration/factories/instance_group_manager_factory.rb +30 -0
- data/test/integration/factories/instance_groups_factory.rb +20 -0
- data/test/integration/factories/instance_template_factory.rb +24 -0
- data/test/integration/factories/networks_factory.rb +16 -0
- data/test/integration/factories/servers_factory.rb +30 -0
- data/test/integration/factories/sql_certs_factory.rb +20 -0
- data/test/integration/factories/sql_instances_factory.rb +19 -0
- data/test/integration/factories/sql_users_factory.rb +23 -0
- data/test/integration/factories/ssl_certificates_factory.rb +13 -0
- data/test/integration/factories/subnetworks_factory.rb +26 -0
- data/test/integration/factories/target_http_proxies_factory.rb +19 -0
- data/test/integration/factories/target_https_proxies_factory.rb +26 -0
- data/test/integration/factories/target_instances_factory.rb +24 -0
- data/test/integration/factories/target_pools_factory.rb +28 -0
- data/test/integration/factories/url_maps_factory.rb +19 -0
- data/test/integration/monitoring/test_coverage.rb +6 -0
- data/test/integration/monitoring/test_metric_descriptors.rb +131 -0
- data/test/integration/monitoring/test_monitored_resource_descriptors.rb +37 -0
- data/test/integration/monitoring/test_timeseries.rb +238 -0
- data/test/integration/pubsub/pubsub_shared.rb +75 -0
- data/test/integration/pubsub/test_coverage.rb +6 -0
- data/test/integration/pubsub/test_pubsub_models.rb +135 -0
- data/test/integration/pubsub/test_pubsub_requests.rb +105 -0
- data/test/integration/sql/test_certs.rb +50 -0
- data/test/integration/sql/test_common_flags.rb +31 -0
- data/test/integration/sql/test_common_tiers.rb +26 -0
- data/test/integration/sql/test_coverage.rb +6 -0
- data/test/integration/sql/test_instances.rb +101 -0
- data/test/integration/sql/test_users.rb +37 -0
- data/test/integration/storage/storage_shared.rb +96 -0
- data/test/integration/storage/test_buckets.rb +112 -0
- data/test/integration/storage/test_coverage.rb +6 -0
- data/test/integration/storage/test_directories.rb +67 -0
- data/test/integration/storage/test_files.rb +168 -0
- data/test/integration/storage/test_objects.rb +203 -0
- data/test/integration/test_authentication.rb +38 -0
- data/test/unit/compute/test_common_collections.rb +42 -0
- data/test/unit/compute/test_common_models.rb +35 -0
- data/test/unit/compute/test_server.rb +29 -0
- data/test/unit/dns/test_common_collections.rb +43 -0
- data/test/unit/monitoring/test_comon_collections.rb +44 -0
- data/test/unit/pubsub/test_common_collections.rb +35 -0
- data/test/unit/sql/test_common_collections.rb +46 -0
- data/test/unit/storage/test_common_json_collections.rb +38 -0
- data/test/unit/storage/test_common_xml_collections.rb +50 -0
- data/test/unit/storage/test_json_requests.rb +44 -0
- data/test/unit/storage/test_xml_requests.rb +60 -0
- metadata +897 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ab595e7918307d4a0a878511249810e27fedb6085917efe7f66968cfa799dfa4
|
4
|
+
data.tar.gz: 6391e8ab7b30a6f696c6374808f414e686a0176c2515319ab9682659e6be43fa
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: fdb61e087e3a4bdbed38e564889c6e7f402ecf2322d7a39c0338a8383640dc0c401af59a494470bb75db2f6eb9a0a1ed5b9c17cda9d55923ebbb3708bad317fe
|
7
|
+
data.tar.gz: 51384abc641d3f77c48539d1a321351eb7eadf78f591ce7f7f3314efb916de3de15b3629cae181f10bb8b7edc47e8f52927fa71762fca64b3d93832d3c10c032
|
data/.codecov.yml
ADDED
data/.editorconfig
ADDED
data/.fog.example
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
##################################################################
|
2
|
+
# This is configuration snippet to configure Google Cloud Platform
|
3
|
+
# for fog library.
|
4
|
+
#
|
5
|
+
# 1. Copy this file into your home dir: "~/.fog":
|
6
|
+
#
|
7
|
+
# $ cat .fog.example >> ~/.fog
|
8
|
+
#
|
9
|
+
# 2. Follow instructions to generate a private key:
|
10
|
+
# https://cloud.google.com/storage/docs/authentication#generating-a-private-key
|
11
|
+
#
|
12
|
+
# 3. Edit the new file accordingly.
|
13
|
+
#
|
14
|
+
##################################################################
|
15
|
+
# START GOOGLE CONFIG
|
16
|
+
my_google_credentials:
|
17
|
+
google_project: my-project-id
|
18
|
+
google_json_key_location: /path/to/my-project-xxxxxxxxxxxx.json
|
19
|
+
# You can also provide service account credentials with `google_json_key_string`
|
20
|
+
# If so, uncomment the two following lines.
|
21
|
+
# HMAC credentials follow a similar format:
|
22
|
+
#google_storage_access_key_id: GOOGXXXXXXXXXXXXXXXX
|
23
|
+
#google_storage_secret_access_key: XXXX+XXX/XXXXXXXX+XXXXXXXXXXXXXXXXXXXXX
|
24
|
+
# /END GOOGLE CONFIG
|
25
|
+
#################################################################
|
data/.gitignore
ADDED
data/.gitlab-ci.yml
ADDED
data/.hound.yml
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,255 @@
|
|
1
|
+
# Fog custom enforced styles
|
2
|
+
Layout/LineLength:
|
3
|
+
Enabled: false
|
4
|
+
|
5
|
+
Style/ConditionalAssignment:
|
6
|
+
SingleLineConditionsOnly: true
|
7
|
+
EnforcedStyle: assign_inside_condition
|
8
|
+
|
9
|
+
Style/RedundantReturn:
|
10
|
+
Enabled: false
|
11
|
+
|
12
|
+
Style/FormatString:
|
13
|
+
Enabled: false
|
14
|
+
|
15
|
+
Style/RegexpLiteral:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
#TODO: this needs to be adressed not through the linter
|
19
|
+
Style/FrozenStringLiteralComment:
|
20
|
+
Enabled: false
|
21
|
+
|
22
|
+
Style/MutableConstant:
|
23
|
+
Enabled: false
|
24
|
+
|
25
|
+
Style/HashSyntax:
|
26
|
+
EnforcedStyle: no_mixed_keys
|
27
|
+
|
28
|
+
# Do not enforce %i syntax
|
29
|
+
Style/SymbolArray:
|
30
|
+
Enabled: false
|
31
|
+
|
32
|
+
# HoundCI config
|
33
|
+
|
34
|
+
AllCops:
|
35
|
+
Exclude:
|
36
|
+
- "vendor/**/*"
|
37
|
+
- "db/schema.rb"
|
38
|
+
UseCache: false
|
39
|
+
TargetRubyVersion: 2.3
|
40
|
+
Style/CollectionMethods:
|
41
|
+
Description: Preferred collection methods.
|
42
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size
|
43
|
+
Enabled: true
|
44
|
+
PreferredMethods:
|
45
|
+
collect: map
|
46
|
+
collect!: map!
|
47
|
+
find: detect
|
48
|
+
find_all: select
|
49
|
+
reduce: inject
|
50
|
+
Layout/DotPosition:
|
51
|
+
Description: Checks the position of the dot in multi-line method calls.
|
52
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
|
53
|
+
Enabled: true
|
54
|
+
EnforcedStyle: leading
|
55
|
+
SupportedStyles:
|
56
|
+
- leading
|
57
|
+
- trailing
|
58
|
+
Naming/FileName:
|
59
|
+
Description: Use snake_case for source file names.
|
60
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
|
61
|
+
Enabled: false
|
62
|
+
Exclude: []
|
63
|
+
Style/GuardClause:
|
64
|
+
Description: Check for conditionals that can be replaced with guard clauses
|
65
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
|
66
|
+
Enabled: false
|
67
|
+
MinBodyLength: 1
|
68
|
+
Style/IfUnlessModifier:
|
69
|
+
Description: Favor modifier if/unless usage when you have a single-line body.
|
70
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
|
71
|
+
Enabled: false
|
72
|
+
Style/OptionHash:
|
73
|
+
Description: Don't use option hashes when you can use keyword arguments.
|
74
|
+
Enabled: false
|
75
|
+
Style/PercentLiteralDelimiters:
|
76
|
+
Description: Use `%`-literal delimiters consistently
|
77
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
|
78
|
+
Enabled: false
|
79
|
+
PreferredDelimiters:
|
80
|
+
"%": "()"
|
81
|
+
"%i": "()"
|
82
|
+
"%q": "()"
|
83
|
+
"%Q": "()"
|
84
|
+
"%r": "{}"
|
85
|
+
"%s": "()"
|
86
|
+
"%w": "()"
|
87
|
+
"%W": "()"
|
88
|
+
"%x": "()"
|
89
|
+
Naming/PredicateName:
|
90
|
+
Description: Check the names of predicate methods.
|
91
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
|
92
|
+
Enabled: true
|
93
|
+
NamePrefix:
|
94
|
+
- is_
|
95
|
+
- has_
|
96
|
+
- have_
|
97
|
+
ForbiddenPrefixes:
|
98
|
+
- is_
|
99
|
+
Exclude:
|
100
|
+
- spec/**/*
|
101
|
+
Style/RaiseArgs:
|
102
|
+
Description: Checks the arguments passed to raise/fail.
|
103
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#exception-class-messages
|
104
|
+
Enabled: false
|
105
|
+
EnforcedStyle: exploded
|
106
|
+
SupportedStyles:
|
107
|
+
- compact
|
108
|
+
- exploded
|
109
|
+
Style/SignalException:
|
110
|
+
Description: Checks for proper usage of fail and raise.
|
111
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method
|
112
|
+
Enabled: false
|
113
|
+
EnforcedStyle: semantic
|
114
|
+
SupportedStyles:
|
115
|
+
- only_raise
|
116
|
+
- only_fail
|
117
|
+
- semantic
|
118
|
+
Style/SingleLineBlockParams:
|
119
|
+
Description: Enforces the names of some block params.
|
120
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#reduce-blocks
|
121
|
+
Enabled: false
|
122
|
+
Methods:
|
123
|
+
- reduce:
|
124
|
+
- a
|
125
|
+
- e
|
126
|
+
- inject:
|
127
|
+
- a
|
128
|
+
- e
|
129
|
+
Style/SingleLineMethods:
|
130
|
+
Description: Avoid single-line methods.
|
131
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-single-line-methods
|
132
|
+
Enabled: false
|
133
|
+
AllowIfMethodIsEmpty: true
|
134
|
+
Style/StringLiterals:
|
135
|
+
Description: Checks if uses of quotes match the configured preference.
|
136
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
|
137
|
+
Enabled: true
|
138
|
+
EnforcedStyle: double_quotes
|
139
|
+
SupportedStyles:
|
140
|
+
- single_quotes
|
141
|
+
- double_quotes
|
142
|
+
Style/StringLiteralsInInterpolation:
|
143
|
+
Description: Checks if uses of quotes inside expressions in interpolated strings
|
144
|
+
match the configured preference.
|
145
|
+
Enabled: true
|
146
|
+
EnforcedStyle: single_quotes
|
147
|
+
SupportedStyles:
|
148
|
+
- single_quotes
|
149
|
+
- double_quotes
|
150
|
+
Metrics/AbcSize:
|
151
|
+
Description: A calculated magnitude based on number of assignments, branches, and
|
152
|
+
conditions.
|
153
|
+
Enabled: false
|
154
|
+
Max: 15
|
155
|
+
Metrics/ClassLength:
|
156
|
+
Description: Avoid classes longer than 100 lines of code.
|
157
|
+
Enabled: false
|
158
|
+
CountComments: false
|
159
|
+
Max: 100
|
160
|
+
Metrics/ModuleLength:
|
161
|
+
CountComments: false
|
162
|
+
Max: 100
|
163
|
+
Description: Avoid modules longer than 100 lines of code.
|
164
|
+
Enabled: false
|
165
|
+
Metrics/CyclomaticComplexity:
|
166
|
+
Description: A complexity metric that is strongly correlated to the number of test
|
167
|
+
cases needed to validate a method.
|
168
|
+
Enabled: false
|
169
|
+
Max: 6
|
170
|
+
Metrics/MethodLength:
|
171
|
+
Description: Avoid methods longer than 10 lines of code.
|
172
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
|
173
|
+
Enabled: false
|
174
|
+
CountComments: false
|
175
|
+
Max: 10
|
176
|
+
Metrics/ParameterLists:
|
177
|
+
Description: Avoid parameter lists longer than three or four parameters.
|
178
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
|
179
|
+
Enabled: false
|
180
|
+
Max: 5
|
181
|
+
CountKeywordArgs: true
|
182
|
+
Metrics/PerceivedComplexity:
|
183
|
+
Description: A complexity metric geared towards measuring complexity for a human
|
184
|
+
reader.
|
185
|
+
Enabled: false
|
186
|
+
Max: 7
|
187
|
+
Lint/AssignmentInCondition:
|
188
|
+
Description: Don't use assignment in conditions.
|
189
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
|
190
|
+
Enabled: false
|
191
|
+
AllowSafeAssignment: true
|
192
|
+
Style/InlineComment:
|
193
|
+
Description: Avoid inline comments.
|
194
|
+
Enabled: true
|
195
|
+
Naming/AccessorMethodName:
|
196
|
+
Description: Check the naming of accessor methods for get_/set_.
|
197
|
+
Enabled: false
|
198
|
+
Style/Alias:
|
199
|
+
Description: Use alias_method instead of alias.
|
200
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
|
201
|
+
Enabled: false
|
202
|
+
Style/Documentation:
|
203
|
+
Description: Document classes and non-namespace modules.
|
204
|
+
Enabled: false
|
205
|
+
Style/DoubleNegation:
|
206
|
+
Description: Checks for uses of double negation (!!).
|
207
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-bang-bang
|
208
|
+
Enabled: false
|
209
|
+
Style/EachWithObject:
|
210
|
+
Description: Prefer `each_with_object` over `inject` or `reduce`.
|
211
|
+
Enabled: false
|
212
|
+
Style/EmptyLiteral:
|
213
|
+
Description: Prefer literals to Array.new/Hash.new/String.new.
|
214
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#literal-array-hash
|
215
|
+
Enabled: false
|
216
|
+
Style/ModuleFunction:
|
217
|
+
Description: Checks for usage of `extend self` in modules.
|
218
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#module-function
|
219
|
+
Enabled: false
|
220
|
+
Style/OneLineConditional:
|
221
|
+
Description: Favor the ternary operator(?:) over if/then/else/end constructs.
|
222
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
|
223
|
+
Enabled: false
|
224
|
+
Style/PerlBackrefs:
|
225
|
+
Description: Avoid Perl-style regex back references.
|
226
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers
|
227
|
+
Enabled: false
|
228
|
+
Style/Send:
|
229
|
+
Description: Prefer `Object#__send__` or `Object#public_send` to `send`, as `send`
|
230
|
+
may overlap with existing methods.
|
231
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#prefer-public-send
|
232
|
+
Enabled: false
|
233
|
+
Style/SpecialGlobalVars:
|
234
|
+
Description: Avoid Perl-style global variables.
|
235
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms
|
236
|
+
Enabled: false
|
237
|
+
Style/VariableInterpolation:
|
238
|
+
Description: Don't interpolate global, instance and class variables directly in
|
239
|
+
strings.
|
240
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#curlies-interpolate
|
241
|
+
Enabled: false
|
242
|
+
Style/WhenThen:
|
243
|
+
Description: Use when x then ... for one-line cases.
|
244
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
|
245
|
+
Enabled: false
|
246
|
+
Lint/EachWithObjectArgument:
|
247
|
+
Description: Check for immutable argument given to each_with_object.
|
248
|
+
Enabled: true
|
249
|
+
Lint/SuppressedException:
|
250
|
+
Description: Don't suppress exception.
|
251
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
|
252
|
+
Enabled: false
|
253
|
+
Lint/LiteralInInterpolation:
|
254
|
+
Description: Checks for literals used in interpolation.
|
255
|
+
Enabled: false
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
fog-google
|
data/.travis.yml
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
language: ruby
|
2
|
+
cache: bundler
|
3
|
+
sudo: false
|
4
|
+
matrix:
|
5
|
+
fast_finish: true
|
6
|
+
include:
|
7
|
+
- rvm: 2.4
|
8
|
+
- rvm: 2.5
|
9
|
+
- rvm: 2.6
|
10
|
+
- rvm: 2.7
|
11
|
+
- rvm: jruby-9.2
|
12
|
+
- rvm: jruby-head
|
13
|
+
- rvm: truffleruby-head
|
14
|
+
# ppc64le support code
|
15
|
+
- rvm: 2.4
|
16
|
+
arch: ppc64le
|
17
|
+
- rvm: 2.5
|
18
|
+
arch: ppc64le
|
19
|
+
- rvm: 2.6
|
20
|
+
arch: ppc64le
|
21
|
+
- rvm: 2.7
|
22
|
+
arch: ppc64le
|
23
|
+
- rvm: jruby-9.2
|
24
|
+
arch: ppc64le
|
25
|
+
- rvm: jruby-head
|
26
|
+
arch: ppc64le
|
27
|
+
allow_failures:
|
28
|
+
- rvm: jruby-head
|
29
|
+
- rvm: truffleruby-head
|
30
|
+
- rvm: jruby-head
|
31
|
+
arch: ppc64le
|
32
|
+
notifications:
|
33
|
+
email: false
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,464 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
The format is loosely based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
4
|
+
|
5
|
+
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## Next
|
8
|
+
|
9
|
+
## 1.13.0
|
10
|
+
|
11
|
+
### User-facing
|
12
|
+
|
13
|
+
#### Fixed
|
14
|
+
|
15
|
+
- Stop using obsoleted URI.encode method !2
|
16
|
+
|
17
|
+
### Development changes
|
18
|
+
|
19
|
+
#### Added
|
20
|
+
|
21
|
+
- Add .gitlab-ci.yml to run unit tests !1
|
22
|
+
|
23
|
+
|
24
|
+
## 1.12.1
|
25
|
+
|
26
|
+
### User-facing
|
27
|
+
|
28
|
+
#### Fixed
|
29
|
+
|
30
|
+
\#513 - support passing other request options `StorageJSON#copy_object` [yosiat]
|
31
|
+
|
32
|
+
### Development changes
|
33
|
+
|
34
|
+
#### Added
|
35
|
+
|
36
|
+
\#514 - Update .travis.yml to support PPC architecture testing [nageshlop]
|
37
|
+
|
38
|
+
|
39
|
+
## 1.12.0
|
40
|
+
|
41
|
+
### User-facing
|
42
|
+
|
43
|
+
#### Added
|
44
|
+
|
45
|
+
- \#509 Add ShieldedInstanceConfig support to `Server#insert` [lcy0321]
|
46
|
+
|
47
|
+
#### Fixed
|
48
|
+
|
49
|
+
- \#508 Fix GoogleXML::File#save incorrectly passing body to headers [stanhu]
|
50
|
+
|
51
|
+
- \#506 Add Trufferuby head to CI [gogainda]
|
52
|
+
|
53
|
+
### Development changes
|
54
|
+
|
55
|
+
#### Fixed
|
56
|
+
|
57
|
+
- \#510 Upgrade CI docker image to Ubuntu 18.04 [temikus]
|
58
|
+
|
59
|
+
|
60
|
+
## 1.11.0
|
61
|
+
|
62
|
+
### User-facing
|
63
|
+
|
64
|
+
#### Added
|
65
|
+
|
66
|
+
- \#503 - Add fallback URL signing mechanism via IAM SignBlob API [temikus]
|
67
|
+
|
68
|
+
#### Fixed
|
69
|
+
|
70
|
+
- \#498 Add `:idempotent` flag to Fog::Storage::GoogleXML::Real#head_object, fixing
|
71
|
+
`Excon::Error::Socket: end of file reached (EOFError)` in certain scenarios, see \#416 [temikus]
|
72
|
+
- \#500 Set default options automatically if missing in `Pubsub#pull_subscription`
|
73
|
+
|
74
|
+
### Development changes
|
75
|
+
|
76
|
+
#### Fixed
|
77
|
+
|
78
|
+
- \#501 DRY'ed up the retry methods in monitoring tests [temikus]
|
79
|
+
- \#500 Cleanup unneeded constants in Server model, fix flaky PubSub tests [temikus]
|
80
|
+
|
81
|
+
## 1.10.0
|
82
|
+
|
83
|
+
### User-facing
|
84
|
+
|
85
|
+
#### Added
|
86
|
+
|
87
|
+
- \#480 Add label support to `Disk` model [militarpancho]
|
88
|
+
- \#485 Add a `Server#set_server_machine_type` request [gscho]
|
89
|
+
- \#490 Add RHEL SAP cloud image project [kgaikwad]
|
90
|
+
- \#491 Add `exclude_projects` option to exclude any global project [kgaikwad]
|
91
|
+
- \#495 Add support to perform Windows passwords reset procedure through Fog [dvanbrug]
|
92
|
+
|
93
|
+
#### Fixed
|
94
|
+
- \#455 Fix metadata format for `Server#add_ssh_key()` [kgaikwad]
|
95
|
+
- \#452 Fix `Address.{associate,disassociate}` methods [temikus]
|
96
|
+
- \#486 Fix `Monitoring#create_time_series` method [temikus]
|
97
|
+
- \#493 Add sync/async support to `Google::SQL::SslCert` model init [temikus]
|
98
|
+
|
99
|
+
### Development changes
|
100
|
+
|
101
|
+
#### Added
|
102
|
+
|
103
|
+
- \#474 Added a manually-triggered pipeline to build from HEAD [temikus]
|
104
|
+
- \#470 Added tests for `Server#add_ssh_key()` [kgaikwad]
|
105
|
+
- \#461 Added dependabot integration [temikus]
|
106
|
+
- \#458 Add SECURITY.md, outlining the lib security policy [icco]
|
107
|
+
- \#457 Added Ruby 2.6 to travis, switch to default distro [icco]
|
108
|
+
- \#453 Implemented worker-side caching of dependencies between jobs [temikus]
|
109
|
+
- \#452 Increase `Address` model test coverage [temikus]
|
110
|
+
|
111
|
+
#### Fixed
|
112
|
+
|
113
|
+
- \#469 Zone/Monitoring test logging/style improvements [icco]
|
114
|
+
- \#465 Stopped counting non-implemented mocks in code coverage [temikus]
|
115
|
+
- \#463 Fixed SQL tests broken by the API change [temikus]
|
116
|
+
- \#476 Re-enabled Stackdriver pagination tests [temikus]
|
117
|
+
- \#488 Tiny fix to ssh key tests to remove a race condition [temikus]
|
118
|
+
- \#493 Removing SQLv1 API support from tests [temikus]
|
119
|
+
|
120
|
+
## 1.9.1
|
121
|
+
|
122
|
+
### User-facing
|
123
|
+
|
124
|
+
#### Fixed
|
125
|
+
|
126
|
+
- \#448 Add `:google_application_default` as recognized argument in
|
127
|
+
Fog::Compute::Google client [mavin]
|
128
|
+
|
129
|
+
### Development changes
|
130
|
+
|
131
|
+
#### Added
|
132
|
+
|
133
|
+
- \#449 Add a helper rake task to populate changelog [temikus]
|
134
|
+
|
135
|
+
## 1.9.0
|
136
|
+
|
137
|
+
### User-facing
|
138
|
+
|
139
|
+
#### Added
|
140
|
+
|
141
|
+
- \#442 Add support for Application Default credentials [mavin]
|
142
|
+
- This change allows the use of Application Default Credentials so that end
|
143
|
+
users can authenticate without a service account for development, testing,
|
144
|
+
and one-off interactions by using `:google_application_default`client
|
145
|
+
option. See README for more details.
|
146
|
+
|
147
|
+
### Fixed
|
148
|
+
|
149
|
+
- \#444 Remove deprecated `google_client_email` option from client parameters
|
150
|
+
[temikus]
|
151
|
+
- \#446 Updating service parameters to avoid "unrecognised parameter" warnings
|
152
|
+
when initializing Fog client with application default auth [temikus]
|
153
|
+
|
154
|
+
### Development changes
|
155
|
+
|
156
|
+
#### Fixed
|
157
|
+
|
158
|
+
- \#441 Update CI pipeline to Concourse V4 [temikus]
|
159
|
+
- \#444 Rework client authentication workflow [temikus]
|
160
|
+
- Separate different auth streams into private helper methods
|
161
|
+
- Add a fallback auth option - Google Application Default credentials
|
162
|
+
- Minor fixes and performance optimizations
|
163
|
+
|
164
|
+
## 1.8.2
|
165
|
+
|
166
|
+
### User-facing
|
167
|
+
|
168
|
+
#### Added
|
169
|
+
|
170
|
+
- \#435 Added additional examples for attached disks usage. [temikus]
|
171
|
+
|
172
|
+
#### Fixed
|
173
|
+
|
174
|
+
- \#433 Allow the api to close Tempfiles inline, improving disk utilization.
|
175
|
+
[itopalov]
|
176
|
+
|
177
|
+
### Development changes
|
178
|
+
|
179
|
+
#### Added
|
180
|
+
|
181
|
+
- \#425 Integration on Jruby + disk snapshot tests: [temikus]
|
182
|
+
- Adding JRuby 9.1 into Travis
|
183
|
+
- Added integration tests for disk snapshots
|
184
|
+
|
185
|
+
#### Fixed
|
186
|
+
|
187
|
+
- \#432 Relax fog-json constraint to minor version. [pravi]
|
188
|
+
|
189
|
+
- \#425 Miscellaneous dev improvements around JRuby and disk handling: [temikus]
|
190
|
+
- Fix bundling in development environment on JRuby
|
191
|
+
- Remove EOL versions of ruby from Travis
|
192
|
+
- Consolidated logic of `Disk.get_as_boot_disk` and increase doc coverage of
|
193
|
+
disk-associated methods.
|
194
|
+
- Add a guard a guard method for `Snapshot.add_labels`
|
195
|
+
|
196
|
+
## 1.8.1
|
197
|
+
|
198
|
+
### User-facing
|
199
|
+
|
200
|
+
#### Fixed
|
201
|
+
|
202
|
+
- \#428 Relax fog-core lower version constraint for ManageIQ [temikus]
|
203
|
+
|
204
|
+
## 1.8.0
|
205
|
+
|
206
|
+
### User-facing
|
207
|
+
|
208
|
+
#### Added
|
209
|
+
- \#418 Reintroduce client options for proxy support, etc. [AlexanderZagaynov]
|
210
|
+
|
211
|
+
#### Fixed
|
212
|
+
|
213
|
+
- \#419 Locked down fog upstream dependencies to alleviate deprecation warnings
|
214
|
+
until they can be properly dealt with. [temikus]
|
215
|
+
- \#400 Small `%Collection%.get` and `%Collection%.all` behaviour fixes [temikus]
|
216
|
+
- `Fog::Google::SQL::Instances.get(nil)` no longer returns an invalid
|
217
|
+
`sql#instancesList` object.
|
218
|
+
- `Fog::Compute::Google::InstanceGroups.get` and `.all` methods now support
|
219
|
+
more than just `:filter` option, fixed `.all` output without `zone` option.
|
220
|
+
- Fix a typo causing `Operations.get(region:REGION)` to fail.
|
221
|
+
- `Fog::Compute::Google::Images.get(IMAGE, PROJECT)`, now returns `nil` if
|
222
|
+
image is not found rather than throwing `Google::Apis::ClientError`.
|
223
|
+
|
224
|
+
### Development changes
|
225
|
+
|
226
|
+
#### Added
|
227
|
+
|
228
|
+
- \#400 Additional test coverage [temikus]
|
229
|
+
- Expanded tests for `%Collection%.get` behavior - scoped requests
|
230
|
+
(e.g. `get(zone:ZONE)`) and their corresponding code paths are now also
|
231
|
+
properly tested.
|
232
|
+
- Increase `Fog::Compute::Google::Images` integration test coverage.
|
233
|
+
- Unit tests now work without a `~/.fog` config file set up.
|
234
|
+
- Expanded unit test coverage.
|
235
|
+
- \#424 Add simple integration tests to check client proxy options being
|
236
|
+
applied.
|
237
|
+
|
238
|
+
#### Changed
|
239
|
+
|
240
|
+
- \#400 Refactored most compute `get()` and `all()` methods to common format. [temikus]
|
241
|
+
|
242
|
+
#### Fixed
|
243
|
+
|
244
|
+
- \#400 Removed the Travis Ruby 2.5 workaround. [temikus]
|
245
|
+
|
246
|
+
## 1.7.1
|
247
|
+
|
248
|
+
### User-facing
|
249
|
+
|
250
|
+
#### Fixed
|
251
|
+
|
252
|
+
- \#412 Fixed `Fog::Storage::GoogleXML::GetObjectHttpUrl#get_object_http_url`
|
253
|
+
request
|
254
|
+
|
255
|
+
## 1.7.0
|
256
|
+
|
257
|
+
### User-facing
|
258
|
+
|
259
|
+
#### Added
|
260
|
+
|
261
|
+
- \#409 Support query parameters in `Fog::Storage::Google` GET requests [stanhu]
|
262
|
+
- \#394 Add some helper methods to `Fog::Compute::Google::Server` [temikus]
|
263
|
+
- `.private_ip_address`
|
264
|
+
- `.stopped?`
|
265
|
+
- \#375 Add timeout options to `Fog::Storage::GoogleJSON` client [dosuken123]
|
266
|
+
|
267
|
+
#### Changed
|
268
|
+
|
269
|
+
- \#394 `save/update/destroy` and other operations now wait until they are in a
|
270
|
+
DONE state, instead of !PENDING. This should be a no-op for users but should
|
271
|
+
safeguard from issues in the future. [temikus]
|
272
|
+
- \#383 `Fog::Compute::Google::Address` resources are now created synchronously
|
273
|
+
by default. [temikus]
|
274
|
+
|
275
|
+
### Development changes
|
276
|
+
|
277
|
+
#### Added
|
278
|
+
|
279
|
+
- \#409 Expand `Fog::Storage::Google` unit tests [stanhu]
|
280
|
+
- \#370 Introducing test coverage back, integrating with codecov.io [temikus]
|
281
|
+
- \#373 Increase integration test coverage. [temikus]
|
282
|
+
- Add Firewall factory and tests.
|
283
|
+
- Add InstanceGroup factory and tests.
|
284
|
+
- Add MachineType tests.
|
285
|
+
- \#376 Add doc coverage tracking. [temikus]
|
286
|
+
- \#383 Increase integration test coverage further. [temikus]
|
287
|
+
- Add collection tests and factories (when mutable) for following resources:
|
288
|
+
- Addresses
|
289
|
+
- Disks
|
290
|
+
- Projects
|
291
|
+
- Routes
|
292
|
+
- Operations
|
293
|
+
- Networks
|
294
|
+
- Subnetworks
|
295
|
+
- Fix compute tests Rake task.
|
296
|
+
- Remove old tests and helpers for Disk, Addresses and Networks.
|
297
|
+
- \#394 Improve `Server` model test coverage + miscellaneous improvements. [temikus]
|
298
|
+
- Add source_image parameter to `DiskFactory` so the Servers factory creates
|
299
|
+
properly running instances.
|
300
|
+
- `CollectionFactory.cleanup` method is now cleaning up resources per-suite
|
301
|
+
instead of using a global prefix.
|
302
|
+
- Add new test formatter improving observability of CI logs.
|
303
|
+
- Add debug logs to test.
|
304
|
+
- Improve doc coverage.
|
305
|
+
|
306
|
+
## 1.6.0
|
307
|
+
|
308
|
+
### User-facing
|
309
|
+
|
310
|
+
#### Changed
|
311
|
+
|
312
|
+
- \#338 `Fog::Google::SQL` resources are now created and destroyed synchronously by default.
|
313
|
+
You can override it in a standard manner by passing a parameter to async method, e.g.:
|
314
|
+
`Fog::Google::SQL::Instance.create(true)` [temikus]
|
315
|
+
- \#367 `Fog::Compute::Google::Server.bootstrap` changes [temikus]
|
316
|
+
- Now creates instances with disks that automatically delete on instance shutdown.
|
317
|
+
- Now creates instances with a public IP address by default.
|
318
|
+
|
319
|
+
#### Added
|
320
|
+
|
321
|
+
- \#361 `Fog::Compute::Google::Server` now recognises `network_ip` attribute to specify internal IP. [mattimatti]
|
322
|
+
|
323
|
+
#### Fixed
|
324
|
+
|
325
|
+
- \#338 Fixed SQL Users model workflow [temikus]
|
326
|
+
- \#359 Fix whitespace escaping in XML Storage methods [temikus]
|
327
|
+
- \#366 Fixing `Server` model to properly accept `:private_key_path` and `:public_key_path` attributes again. [temikus]
|
328
|
+
- \#367 `Fog::Compute::Google::Server.bootstrap` parameters are now properly merged with default ones. [tesmikus]
|
329
|
+
|
330
|
+
### Development changes
|
331
|
+
|
332
|
+
#### Added
|
333
|
+
|
334
|
+
- \#338 Major refactor of SQLv1 and SQLv2 tests + a lot of small test fixes/improvements
|
335
|
+
(see PR/commit messages for full set of changes) [temikus]
|
336
|
+
|
337
|
+
#### Fixed
|
338
|
+
|
339
|
+
- \#363 Fixed flaky Monitoring tests [temikus]
|
340
|
+
|
341
|
+
## 1.5.0
|
342
|
+
|
343
|
+
### User-facing
|
344
|
+
|
345
|
+
- \#348 Added Instance Group Manager and Instance Templates [bpaquet]
|
346
|
+
|
347
|
+
- `Fog::Compute::Google::InstanceGroupManager` model and associated requests:
|
348
|
+
- `:get_instance_group_manager`
|
349
|
+
- `:insert_instance_group_manager`
|
350
|
+
- `:delete_instance_group_manager`
|
351
|
+
- `:list_instance_group_managers`
|
352
|
+
- `:list_aggregated_instance_group_managers`
|
353
|
+
- `:recreate_instances`
|
354
|
+
- `:abandon_instances`
|
355
|
+
|
356
|
+
- `Fog::Compute::Google::InstanceTemplate` model and associated requests:
|
357
|
+
- `:list_instance_templates`
|
358
|
+
- `:get_instance_template`
|
359
|
+
- `:insert_instance_template`
|
360
|
+
- `:delete_instance_template`
|
361
|
+
- `:set_instance_template`
|
362
|
+
|
363
|
+
#### Fixed
|
364
|
+
|
365
|
+
- \#356 Hotfix - removing buggy deprecated 'google-containers' project, causing 403 errors
|
366
|
+
on `images.all` call. [tumido]
|
367
|
+
|
368
|
+
### Development changes
|
369
|
+
|
370
|
+
#### Added
|
371
|
+
|
372
|
+
- \#350 Added InstanceGroupManager and InstanceTemplate integration tests [temikus]
|
373
|
+
|
374
|
+
## 1.4.0
|
375
|
+
|
376
|
+
### User-facing
|
377
|
+
|
378
|
+
#### Added
|
379
|
+
|
380
|
+
- \#336 `Fog::Compute::Google::Server.set_metadata` is now working properly and adopted a simpler format, e.g. `{'foo' => 'bar', 'baz'=>'foo'}`
|
381
|
+
- \#334 Added a new helper method: `Fog::Compute::Google::Server.public_ip_address` [temikus]
|
382
|
+
- \#314 Added `Fog::Compute::Google::InstanceGroup.add_instance` method back [temikus]
|
383
|
+
- \#326 Added support for using predefined ACLs, refactor valid ACLs [vimutter]
|
384
|
+
- \#318 Added fog_public support in Storage JSON API [jayhsu21]
|
385
|
+
|
386
|
+
#### Fixed
|
387
|
+
|
388
|
+
- \#354 Bump Google API client to 0.23 [temikus]
|
389
|
+
- \#346 Fixed get_health when called with an instance name [bpaquet]
|
390
|
+
- \#317 Fixed source_image selection to get the image from name if the format is not compatible with new Google API Client [temikus]
|
391
|
+
- \#321 Fix string key instead of symbol for subnetworks listing [tumido]
|
392
|
+
- \#351 Fixed trailing spaces and added data presence check to `Fog::Storage::GoogleJSON.put_object` [vimutter]
|
393
|
+
|
394
|
+
### Development changes
|
395
|
+
|
396
|
+
#### Added
|
397
|
+
|
398
|
+
- \#353 Added collection/model unit tests to be run by Travis CI [temikus]
|
399
|
+
- \#347 Added target pool tests [temikus]
|
400
|
+
|
401
|
+
#### Fixed
|
402
|
+
|
403
|
+
- \#322 Fixed all broken integration tests, all tests now pass in CI [temikus]
|
404
|
+
- \#344 Updated CI pipeline to run in parallel, broke out test tasks [temikus]
|
405
|
+
|
406
|
+
## 1.0.1
|
407
|
+
|
408
|
+
\#290 - Fixes paperclip integration
|
409
|
+
\#288 - Fixes typo in server network code
|
410
|
+
|
411
|
+
## 1.0.0
|
412
|
+
|
413
|
+
1.0.0!!!!!!!!!!!!
|
414
|
+
|
415
|
+
This rewrites everything except for the legacy storage backend!
|
416
|
+
|
417
|
+
Shoutout to @emilymye, @Temikus, @DawidJanczak, @Everlag and everyone who has been asking for this for ~forever.
|
418
|
+
|
419
|
+
We did this major refactor because as of version 0.9, google-api-client rewrote their entire api, thus limiting our ability to integrate with google APIs, and also running into a bunch of deprecated gem collisions.
|
420
|
+
|
421
|
+
You no longer need to require google-api-client, we are now doing that for you.
|
422
|
+
|
423
|
+
HELP: We need help testing. Please report bugs! As this is a complete rewrite of the request layer, there are undoubetedly bugs. We had to throw away most of our tests, and due to the time this has taken us, we chose to ship, instead of writing tests for everything all over again. If you would like to write tests, we would love your PRs, as well as any ideas you have about how we can test this code better.
|
424
|
+
|
425
|
+
Thanks!
|
426
|
+
|
427
|
+
## 0.6.0
|
428
|
+
|
429
|
+
NOTE: New Monitoring models are not compatible in any way to old ones because of significant rewrite to monitoring api since v2beta2.
|
430
|
+
|
431
|
+
## 0.5.5
|
432
|
+
|
433
|
+
Adds support for SSL certificates, https proxies and global IP addresses: #244
|
434
|
+
|
435
|
+
## 0.5.4
|
436
|
+
|
437
|
+
Fixes a storage bug #224 and fixes an issue with compute snapshots #240
|
438
|
+
|
439
|
+
## 0.5.3
|
440
|
+
|
441
|
+
Fixes a bunch of bugs and adds subnetworks support.
|
442
|
+
|
443
|
+
PRs that change functionality: #212, #215, #203, #198, #201, #221, #222, #216
|
444
|
+
|
445
|
+
## 0.5.2
|
446
|
+
|
447
|
+
Rapid-releasing 0.5.2 due to regression fixed by #190 still present in v0.5.1
|
448
|
+
We encourage people using 0.5.1 to upgrade.
|
449
|
+
|
450
|
+
## Template to use
|
451
|
+
|
452
|
+
### User-facing
|
453
|
+
|
454
|
+
#### Changed
|
455
|
+
|
456
|
+
#### Added
|
457
|
+
|
458
|
+
#### Fixed
|
459
|
+
|
460
|
+
### Development changes
|
461
|
+
|
462
|
+
#### Added
|
463
|
+
|
464
|
+
#### Fixed
|