Граф коммитов

71 Коммитов

Автор SHA1 Сообщение Дата
Ferran Rodenas 3939b021a2 [google|dns] Add get method to RRSet
- Add "get" method and tests to Resource Record Sets
2014-10-20 14:16:34 -07:00
Ferran Rodenas 763c7f2e05 [google|dns] Add Change resource
- Add Change models, requests and tests
- Add #changes method (and associated test) to Zone
- Add #destroy method (and associated test) to Zone
- Add #modify method (and associated test) to Zone
- Add #save method (and associated test) to Zone
2014-10-11 22:59:48 -07:00
Ferran Rodenas 6dadbf7306 [google|dns] Add Record resource
- Add Record models, requests and tests
- Add #record method (and associated test) to Zone
2014-10-11 22:59:42 -07:00
Ferran Rodenas 2680f8b7d4 [google|dns] Add Zone model
- Add Zone model and test
- Refactor zone mock request to use a single Hash
- create_managed_zone requires description, don't default it to blank
- Fix indentation
2014-10-11 18:58:22 -07:00
Ferran Rodenas ca011b5dca [google|dns] Add Project resource
- Add Project models, requests and tests
2014-10-11 18:58:22 -07:00
Nat Welch a2d41af9d7 [google|compute] Change target pool code to be correct and consistent with fog. 2014-09-17 11:19:59 -07:00
Nat Welch baffd91136 [google|compute] Change how get_region works for mocks. 2014-09-17 10:07:12 -07:00
geemus 8161529f95 [google|compute] mark target pool tests as pending to fix travis 2014-09-17 09:51:30 -05:00
geemus cd8c2e56aa [google|storage] fix for failing mocked object tests 2014-09-03 08:48:44 -05:00
Marcin Owsiany 46f7896079 [google|dns] Add support for get_managed_zone, with tests. 2014-08-21 08:58:18 +00:00
Marcin Owsiany 394b74390e [google|dns] Let non-mocked tests run by setting an env variable.
If $FOG_TEST_GOOGLE_DNS_ZONE is set in the environment, the tests run in
non-mocked mode too. Also perform some basic validation for the convenience of
the user - Google API just says "Invalid value for
'entity.managedZone.dnsName'" without hinting on what is wrong.
2014-08-21 08:18:43 +00:00
Nat Welch 9b177a7f6a Merge pull request #3078 from snyquist2/gce_l7
[google|compute] added more HTTP load balancing resources
2014-08-15 06:47:31 -10:00
snyquist2 8fef26fad1 Merge branch 'master' into gce_l7
Conflicts:
	lib/fog/google/requests/compute/insert_image.rb
2014-08-13 18:46:27 +00:00
snyquist2 20a31a5da7 Merge branch 'master' into gce_l7 2014-08-13 18:14:12 +00:00
snyquist2 39188c331c added tests for http health checks, images, target pools, and forwarding rules 2014-08-13 03:35:22 +00:00
Marcin Owsiany 9e4ea16f49 [google|dns] Add initial support for Google Cloud DNS.
- some common plumbing
- requests for creating, deleting and listing managed zones, with tests
2014-08-12 07:15:37 +00:00
snyquist2 bf46f69fe9 corrected naming on tests 2014-08-07 03:26:22 +00:00
snyquist2 6ab12ee6f2 added tests for list requests 2014-08-07 00:58:55 +00:00
snyquist2 8ad7e9e318 Merge remote-tracking branch 'new-upstream/master' into gce_l7
Conflicts:
	lib/fog/google/requests/compute/delete_backend_service.rb
2014-08-06 20:46:13 +00:00
Ferran Rodenas 200d81558f [google|sql] Add support for SslCerts
- Add models, requests and tests for SslCerts
2014-07-29 21:41:13 -07:00
Ferran Rodenas d29a5a296e [google|sql] Add support for Instances
- Add models, requests and tests for Instances
2014-07-29 21:41:12 -07:00
Ferran Rodenas 3a9a63bf14 [google|sql] Add support for Operations
- Add models, requests and tests for Operations
2014-07-29 21:41:06 -07:00
Ferran Rodenas 716f474545 [google|sql] Add support for Flags
- Add models, requests and tests for Flags
2014-07-29 19:46:20 -07:00
Ferran Rodenas ff158ffcae [google|monitoring] Add support for Google Cloud Monitoring
- Add models, requests, tests & examples for Timeseries
- Add models, requests, tests & examples for TimeseriesDescriptors
- Add models, requests, tests & examples for MetricDescriptors
2014-07-25 15:07:05 -07:00
Nat Welch 70a549dbb8 Merge pull request #2977 from frodenas/gce_sql
[google|sql] Initial support for Google Cloud SQL
2014-07-20 18:08:58 +01:00
Ferran Rodenas c23eb01c8d [google|compute] Add support for DiskTypes in Disks
- Add attribute 'type' to Disk model
- Enable 'type' option when inserting a Disk
- Update tests with new 'type' attribute
2014-07-12 12:38:11 -07:00
Ferran Rodenas 2afbca67eb [google|compute] Add DiskType resource
- Add models and requests for DiskType
- Add tests
2014-07-12 12:37:45 -07:00
A.S. Lomoff 63069dcbef fix 1.8.7 compatibility 2014-06-18 23:17:18 +03:00
A.S. Lomoff b56aef40c7 add new line to the end of google_tests_helper.rb 2014-06-16 14:16:12 +03:00
A.S. Lomoff 2b03b76e70 fix live tests for google engine 2014-06-16 14:14:34 +03:00
A.S. Lomoff 1db12cfe94 fix object test (it already was shared object with such name somewhere) 2014-06-16 12:08:57 +03:00
A.S. Lomoff d103cc5904 fix asynchronious disks collection tests 2014-06-16 11:59:19 +03:00
A.S. Lomoff 6d683ed00a rewrite the way model is waited in live tests 2014-06-14 19:45:24 +03:00
A.S. Lomoff 2f6dfc9ceb fix disks and servers live tests 2014-06-13 17:10:00 +03:00
Ferran Rodenas d801b2787e [google|sql] Initial support for Google Cloud SQL
This commit adds the initial support for Google Cloud SQL:
- Adds a new service 'SQL' to the existing 'Google' provider
- Creates new shared methods to be reused by different services
- Add requests, models and tests for Tiers
2014-06-05 00:09:26 -07:00
Nat Welch 2c189bfafb Merge pull request #2854 from frodenas/gce_disks
[google|compute] Improve Disks support
2014-04-21 11:25:16 +01:00
Ferran Rodenas 0a9884adfd [google|compute] Improve Disks support
- Add missing "Disk" properties
- Remove unnecessary property aliases
- Use "Operation" instead of the "backoff_if_unfound" method when
  inserting a "Disk" or "Snapshot"
- When destroying a "Disk" asyncronous return the "Operation" model instead
  of the raw operation response
- Add "list_aggregatted_disks" request
- If zone is not set on "all" and "get" methods, use the list aggregated
  disks request (1 API call) instead of fetching all zones
- Fix a bug when inserting a snapshot (description was not merged at the
  body request)
- Fix tests
2014-04-20 21:42:46 -07:00
Ferran Rodenas 918d9bc8d6 [google|compute] Update Servers support
- Add missing "Server" properties
- Remove unnecessary property aliases
- When destroying a "Server" asyncronously return the "Operation" model instead of the raw operation response
- If zone is not set on "all" and "get" methods, use the list aggregated servers request (1 API call) instead of fetching all zones
- Add "list_aggregated_servers" request
- Fix "attach_disk" request
- Fix "detach_disk" request
- Add "get_server_serial_port_output" request
- Add "reset_server" request
- Add "set_server_disk_auto_delete" request
- Add "set_server_scheduling" request
- Add "add_server_access_config" request
- Add "delete_server_access_config" request
- Fix "set_tags" request
2014-04-20 20:55:08 -07:00
Ferran Rodenas e00ab0dcf9 [google|compute] Add Region tests 2014-04-17 13:20:09 -07:00
Nat Welch c15f0aea62 Lists disks isn't a valid test since response varies greatly by disk. 2014-04-11 07:25:52 -07:00
Nat Welch 5ccc49388e Fix Disk tests 2014-04-11 02:36:12 -07:00
Nat Welch fd8d2461fa [google|compute] Also tweak default disk in tests 2014-04-11 02:19:57 -07:00
Carlos Sanchez 4c2736d0c2 [google][compute] Update to API v1
Simplify attachment of boot disk, get_as_boot_disk no longer needed
Add missing Disk.get_object method
Allow setting deviceName when attaching a disk
Add disks mocks
2013-12-19 21:37:46 +01:00
Carlos Sanchez 6c116666ed [google] Implement disk mocks and enable tests
Avoid repeating api_version
Add persistent disk to insert_server mock
Use Fog::Mock.delay properly instead of Fog.timeout
Update default image
2013-11-26 12:19:32 +01:00
Nat Welch 8e184aedd2 custome sshable 2013-04-30 18:35:02 -07:00
Nat Welch 1220c8989b add set_metadata to upload ssh keys 2013-04-30 18:11:22 -07:00
Nat Welch 0bb807fbde Fixes insert and delete 2013-04-29 19:41:08 -07:00
Nat Welch 8432d7ab77 slightly more accurate image test, although still failing. 2013-04-29 18:24:45 -07:00
Nat Welch 0b2a865cfc progress. 2013-04-29 17:09:51 -07:00
Nat Welch 4308d7d627 trying to get a simple model test working. 2013-04-29 16:55:38 -07:00