You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2019/08/03 15:37:21 UTC

[libcloud] branch trunk updated (9006aa8 -> 537b590)

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git.


    from 9006aa8  Merge pull request #1331 from micafer/remove_sg
     new 11a403a  add first pass at gandi livedns implementation
     new 3c4f6c7  add test for gandi live driver, update driver to pass tests
     new 5aea8fd  adhere to style guide
     new 5eda14c  Merge remote-tracking branch 'upstream/trunk' into LIBCLOUD-949_add-gandi-livedns-driver
     new 2c9c6a8  correct to actually test get method
     new 738b33d  redefine success to include HTTP 204, shift API URL base to driver, unable to locate a way to set request_path instead, update minimum TTL to 300, not 30
     new cc3155a  documentation does not match up entirely with reality - location value is a full URL, not just a partial one, so break it up and take the last path segment; re-associating a domain is not as originally implemented, works differently for domains vs zones; documentation is wrong about updating a zone, you can only change the name, not the UUID as advertised, and only from zones, not domains, so a zone_uuid is required, which has been added to the _to_zone method when avail [...]
     new d6b7628  drop update zone method, has nothing to do, drop from tests and fixtures; add exception handling, and convert to well known exceptions for cases of not found or already existing
     new 7c35bae  flake8 adjustments
     new 31650de  rearrange methods per style guildelines
     new c786c85  fold common message generating logic into _get_error
     new ba3d977  add encode_data to driver, drop json encodings in driver and pass in python structure for driver encoding
     new 327ebd7  drop empty body path, unclear if some error states will have an empty response body on purpose, so continue and use response codes
     new ae02640  add zone_uuid to return value when creating zone, fix typo in string, drop unusable path, add note to self for future record rework
     new ea848bd  add further test for exceptions, update some fixtures with additional values to better match live responses
     new 44a9058  lint, unused variable
     new 2b1978c  remove unused fixture method
     new d884e87  make Record.data back into a string in all interfaces, placing all other values into Record.extra['other_values']; add ex_ methods to deal with Gandi zones
     new 9eb0bd0  reorder methods
     new 2077fc2  update how multivalue records are handled, add tests
     new 28b2d5d  lint
     new 58d63c8  add missing arguments
     new 537b590  Merge pull request #1323 from zepheiryan/LIBCLOUD-949_add-gandi-livedns-driver

The 6716 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 libcloud/common/gandi_live.py                      | 241 +++++++++++
 libcloud/dns/drivers/gandi_live.py                 | 482 +++++++++++++++++++++
 .../common/{test_ovh.py => test_gandi_live.py}     |   2 +-
 .../dns/fixtures/gandi_live/create_bad_zone.json   |   6 +
 .../dns/fixtures/gandi_live/create_domain.json     |   3 +
 .../gandi_live/create_existing_record.json         |   6 +
 .../dns/fixtures/gandi_live/create_record.json     |   3 +
 .../test/dns/fixtures/gandi_live/create_zone.json  |   3 +
 .../dns/fixtures/gandi_live/delete_gandi_zone.json |   3 +
 .../dns/fixtures/gandi_live/delete_record.json     |   3 +
 .../test/dns/fixtures/gandi_live/get_bad_zone.json |   9 +
 .../dns/fixtures/gandi_live/get_mx_record.json     |   9 +
 .../gandi_live/get_nonexistent_record.json         |   6 +
 .../fixtures/gandi_live/get_nonexistent_zone.json  |   6 +
 .../test/dns/fixtures/gandi_live/get_record.json   |   8 +
 .../test/dns/fixtures/gandi_live/get_zone.json     |   9 +
 .../test/dns/fixtures/gandi_live/list_records.json |  26 ++
 .../dns/fixtures/gandi_live/list_records_bind.txt  |   3 +
 .../test/dns/fixtures/gandi_live/list_zones.json   |  12 +
 .../dns/fixtures/gandi_live/update_bad_record.json |  13 +
 .../dns/fixtures/gandi_live/update_gandi_zone.json |   3 +
 .../dns/fixtures/gandi_live/update_mx_record.json  |   3 +
 .../dns/fixtures/gandi_live/update_record.json     |   3 +
 libcloud/test/dns/test_gandi_live.py               | 354 +++++++++++++++
 libcloud/test/secrets.py-dist                      |   1 +
 25 files changed, 1216 insertions(+), 1 deletion(-)
 create mode 100644 libcloud/common/gandi_live.py
 create mode 100644 libcloud/dns/drivers/gandi_live.py
 copy libcloud/test/common/{test_ovh.py => test_gandi_live.py} (96%)
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/create_bad_zone.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/create_domain.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/create_existing_record.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/create_record.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/create_zone.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/delete_gandi_zone.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/delete_record.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/get_bad_zone.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/get_mx_record.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/get_nonexistent_record.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/get_nonexistent_zone.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/get_record.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/get_zone.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/list_records.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/list_records_bind.txt
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/list_zones.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/update_bad_record.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/update_gandi_zone.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/update_mx_record.json
 create mode 100644 libcloud/test/dns/fixtures/gandi_live/update_record.json
 create mode 100644 libcloud/test/dns/test_gandi_live.py