fog-google

Fog for Google Cloud Platform

MIT License

Downloads
74.8M
Stars
98
Committers
79
fog-google - v1.9.0

Published by Temikus over 5 years ago

User-facing

Added

  • #442 Add support for Application Default credentials [mavin]
    • This change allows the use of Application Default Credentials so that end
      users can authenticate without a service account for development, testing,
      and one-off interactions by using :google_application_defaultclient
      option. See README for more details.

Fixed

  • #444 Remove deprecated google_client_email option from client parameters
    [temikus]
  • #446 Updating service parameters to avoid "unrecognised parameter" warnings
    when initializing Fog client with application default auth [temikus]

Development changes

Fixed

  • #441 Update CI pipeline to Concourse V4 [temikus]
  • #444 Rework client authentication workflow [temikus]
    • Separate different auth streams into private helper methods
    • Add a fallback auth option - Google Application Default credentials
    • Minor fixes and performance optimizations
fog-google -

Published by Temikus almost 6 years ago

User-facing

Added

  • #435 Added additional examples for attached disks usage. [temikus]

Fixed

  • #433 Allow the api to close Tempfiles inline, improving disk utilization.
    [itopalov]

Development changes

Added

  • #425 Integration on Jruby + disk snapshot tests: [temikus]
    • Adding JRuby 9.1 into Travis
    • Added integration tests for disk snapshots

Fixed

  • #432 Relax fog-json constraint to minor version. [pravi]

  • #425 Miscellaneous dev improvements around JRuby and disk handling: [temikus]

    • Fix bundling in development environment on JRuby
    • Remove EOL versions of ruby from Travis
    • Consolidated logic of Disk.get_as_boot_disk and increase doc coverage of
      disk-associated methods.
    • Add a guard a guard method for Snapshot.add_labels
fog-google -

Published by Temikus almost 6 years ago

User-facing

Fixed

  • #428 Relax fog-core lower version constraint for ManageIQ [temikus]
fog-google -

Published by Temikus about 6 years ago

User-facing

Added

  • #418 Reintroduce client options for proxy support, etc. [AlexanderZagaynov]

Fixed

  • #419 Locked down fog upstream dependencies to alleviate deprecation warnings
    until they can be properly dealt with. [temikus]
  • #400 Small %Collection%.get and %Collection%.all behaviour fixes [temikus]
    • Fog::Google::SQL::Instances.get(nil) no longer returns an invalid
      sql#instancesList object.
    • Fog::Compute::Google::InstanceGroups.get and .all methods now support
      more than just :filter option, fixed .all output without zone option.
    • Fix a typo causing Operations.get(region:REGION) to fail.
    • Fog::Compute::Google::Images.get(IMAGE, PROJECT), now returns nil if
      image is not found rather than throwing Google::Apis::ClientError.

Development changes

Added

  • #400 Additional test coverage [temikus]
    • Expanded tests for %Collection%.get behavior - scoped requests
      (e.g. get(zone:ZONE)) and their corresponding code paths are now also
      properly tested.
    • Increase Fog::Compute::Google::Images integration test coverage.
    • Unit tests now work without a ~/.fog config file set up.
    • Expanded unit test coverage.
  • #424 Add simple integration tests to check client proxy options being
    applied.

Changed

  • #400 Refactored most compute get() and all() methods to common format. [temikus]

Fixed

  • #400 Removed the Travis Ruby 2.5 workaround. [temikus]
fog-google -

Published by Temikus about 6 years ago

User-facing

Fixed

  • #412 Fixed Fog::Storage::GoogleXML::GetObjectHttpUrl#get_object_http_url
    request
fog-google -

Published by icco about 6 years ago

1.7.0

User-facing

Added

  • #409 Support query parameters in Fog::Storage::Google GET requests [stanhu]
  • #394 Add some helper methods to Fog::Compute::Google::Server [temikus]
    • .private_ip_address
    • .stopped?
  • #375 Add timeout options to Fog::Storage::GoogleJSON client [dosuken123]

Changed

  • #394 save/update/destroy and other operations now wait until they are in a
    DONE state, instead of !PENDING. This should be a no-op for users but should
    safeguard from issues in the future. [temikus]
  • #383 Fog::Compute::Google::Address resources are now created synchronously
    by default. [temikus]

Development changes

Added

  • #409 Expand Fog::Storage::Google unit tests [stanhu]
  • #370 Introducing test coverage back, integrating with codecov.io [temikus]
  • #373 Increase integration test coverage. [temikus]
    • Add Firewall factory and tests.
    • Add InstanceGroup factory and tests.
    • Add MachineType tests.
  • #376 Add doc coverage tracking. [temikus]
  • #383 Increase integration test coverage further. [temikus]
    • Add collection tests and factories (when mutable) for following resources:
      • Addresses
      • Disks
      • Projects
      • Routes
      • Operations
      • Networks
      • Subnetworks
    • Fix compute tests Rake task.
    • Remove old tests and helpers for Disk, Addresses and Networks.
  • #394 Improve Server model test coverage + miscellaneous improvements. [temikus]
    • Add source_image parameter to DiskFactory so the Servers factory creates
      properly running instances.
    • CollectionFactory.cleanup method is now cleaning up resources per-suite
      instead of using a global prefix.
    • Add new test formatter improving observability of CI logs.
    • Add debug logs to test.
    • Improve doc coverage.
fog-google -

Published by Temikus over 6 years ago

1.6.0

User-facing

Changed

  • #338 Fog::Google::SQL resources are now created and destroyed synchronously by default.
    You can override it in a standard manner by passing a parameter to async method, e.g.:
    Fog::Google::SQL::Instance.create(true) [temikus]
  • #367 Fog::Compute::Google::Server.bootstrap changes [temikus]
    • Now creates instances with disks that automatically delete on instance shutdown.
    • Now creates instances with a public IP address by default.

Added

  • #361 Fog::Compute::Google::Server now recognises network_ip attribute to specify internal IP. [mattimatti]

Fixed

  • #338 Fixed SQL Users model workflow [temikus]
  • #359 Fix whitespace escaping in XML Storage methods [temikus]
  • #366 Fixing Server model to properly accept :private_key_path and :public_key_path attributes again. [temikus]
  • #367 Fog::Compute::Google::Server.bootstrap parameters are now properly merged with default ones. [tesmikus]

Development changes

Added

  • #338 Major refactor of SQLv1 and SQLv2 tests + a lot of small test fixes/improvements
    (see PR/commit messages for full set of changes) [temikus]

Fixed

  • #363 Fixed flaky Monitoring tests [temikus]
fog-google -

Published by Temikus over 6 years ago

User-facing

  • #348 Added Instance Group Manager and Instance Templates [bpaquet]

    • Fog::Compute::Google::InstanceGroupManager model and associated requests:

      • :get_instance_group_manager
      • :insert_instance_group_manager
      • :delete_instance_group_manager
      • :list_instance_group_managers
      • :list_aggregated_instance_group_managers
      • :recreate_instances
      • :abandon_instances
    • Fog::Compute::Google::InstanceTemplate model and associated requests:

      • :list_instance_templates
      • :get_instance_template
      • :insert_instance_template
      • :delete_instance_template
      • :set_instance_template

Fixed

  • #356 Hotfix - removing buggy deprecated 'google-containers' project, causing 403 errors
    on images.all call. [tumido]

Development changes

Added

  • #350 Added InstanceGroupManager and InstanceTemplate integration tests [temikus]

Huge thanks to all of our contributors!

fog-google -

Published by Temikus over 6 years ago

User-facing

Added

  • #336 Fog::Compute::Google::Server.set_metadata is now working properly and adopted a simpler format, e.g. {'foo' => 'bar', 'baz'=>'foo'}
  • #334 Added a new helper method: Fog::Compute::Google::Server.public_ip_address [temikus]
  • #314 Added Fog::Compute::Google::InstanceGroup.add_instance method back [temikus]
  • #326 Added support for using predefined ACLs, refactor valid ACLs [vimutter]
  • #318 Added fog_public support in Storage JSON API [jayhsu21]

Fixed

  • #354 Bump Google API client to 0.23 [temikus]
  • #346 Fixed get_health when called with an instance name [bpaquet]
  • #317 Fixed source_image selection to get the image from name if the format is not compatible with new Google API Client [temikus]
  • #321 Fix string key instead of symbol for subnetworks listing [tumido]
  • #351 Fixed trailing spaces and added data presence check to Fog::Storage::GoogleJSON.put_object [vimutter]

Development changes

Added

  • #353 Added collection/model unit tests to be run by Travis CI [temikus]
  • #347 Added target pool tests [temikus]

Fixed

  • #322 Fixed all broken integration tests, all tests now pass in CI [temikus]
  • #344 Updated CI pipeline to run in parallel, broke out test tasks [temikus]

Huge thanks to all of our contributors!

fog-google - 1.3.3

Published by icco over 6 years ago

#311 - Tweaks how put_object works when dealing with text/plain content types. Thanks @dosuken123!

fog-google - 1.3.2

Published by icco over 6 years ago

#310 - Fixes a logging error. Thanks @nolith!

fog-google - 1.3.1

Published by icco over 6 years ago

Thanks to @seanmalloy for fixing a bug in Disk#get_as_boot_disk in #307!

fog-google - 1.3.0

Published by icco over 6 years ago

  • #306 Add a new request to storage delete_object_url. Thanks @nolith!
  • #305 Fixes service accounts on instances. Thanks @seanmalloy!
fog-google - 1.2.2

Published by icco over 6 years ago

Fixes from #302 (test ruby 2.5) and #304 (fix server scheduling).

fog-google - 1.2.1

Published by icco over 6 years ago

Fixes #300. There was a bug in the implementation of Fog::Compute::Google::Disk#get_as_boot_disk due to our refactor released in v1.0.0 which made this method not work at all.

fog-google - 1.2.0

Published by icco over 6 years ago

  • Fixes #296 to allow passing of the prefix option to storage
  • Some in project documentation fixes
fog-google - 1.1.0

Published by icco over 6 years ago

#291 - Fixes discrepancies between GoogleXML and GoogleJSON storage models. Old methods restored, both method signatures should now look the same, despite acting differently. Thanks @tcdowney and @emilymye for the help!

fog-google - 1.0.1

Published by icco almost 7 years ago

#290 - Fixes paperclip integration
#288 - Fixes typo in server network code

fog-google - 1.0.0

Published by icco almost 7 years ago

1.0.0!!!!!!!!!!!!

This rewrites everything except for the legacy storage backend!

Shoutout to @emilymye, @Temikus, @DawidJanczak, @Everlag and everyone who has been asking for this for ~forever.

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.

You no longer need to require google-api-client, we are now doing that for you.

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.

Thanks!

fog-google - 0.6.0

Published by icco about 7 years ago

Upgrades Monitoring API to v3 #249.

NOTE: New Monitoring models are not compatible in any way to old ones because of significant rewrite to monitoring api since v2beta2.