diff -Nru lexicon-2.2.1/debian/changelog lexicon-2.2.1/debian/changelog --- lexicon-2.2.1/debian/changelog 2018-03-31 12:26:07.000000000 +0200 +++ lexicon-2.2.1/debian/changelog 2019-04-26 21:24:01.000000000 +0200 @@ -1,3 +1,9 @@ +lexicon (2.2.1-2.1) UNRELEASED; urgency=medium + + * Fix dnsimple provider to create records + + -- root Fri, 26 Apr 2019 21:24:01 +0200 + lexicon (2.2.1-2) unstable; urgency=medium [Chris Lamb ] diff -Nru lexicon-2.2.1/debian/patches/fix-dnsimple.patch lexicon-2.2.1/debian/patches/fix-dnsimple.patch --- lexicon-2.2.1/debian/patches/fix-dnsimple.patch 1970-01-01 01:00:00.000000000 +0100 +++ lexicon-2.2.1/debian/patches/fix-dnsimple.patch 2019-04-26 21:24:01.000000000 +0200 @@ -0,0 +1,322 @@ +diff --git a/lexicon/providers/dnsimple.py b/lexicon/providers/dnsimple.py +index a957124..a47c9bb 100644 +--- a/lexicon/providers/dnsimple.py ++++ b/lexicon/providers/dnsimple.py +@@ -61,7 +61,7 @@ class Provider(BaseProvider): + if self.options.get('regions'): + record['regions'] = self.options.get('regions') + +- payload = self._post('{0}/zones/{1}/records'.format(self.account_id, self.options.get('domain')), record) ++ payload = self._post('/{0}/zones/{1}/records'.format(self.account_id, self.options.get('domain')), record) + + logger.debug('create_record: %s', 'id' in payload) + return 'id' in payload +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml +index 4099f8d..b85c5a9 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362797,"zone_id":"lexicontest.com","parent_id":null,"name":"localhost","content":"127.0.0.1","ttl":3600,"priority":null,"type":"A","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:34:53Z","updated_at":"2018-03-23T05:34:53Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml +index 3ba0479..690fd6b 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_CNAME_with_valid_name_and_content.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362798,"zone_id":"lexicontest.com","parent_id":null,"name":"docs","content":"docs.example.com","ttl":3600,"priority":null,"type":"CNAME","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:34:55Z","updated_at":"2018-03-23T05:34:55Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_fqdn_name_and_content.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_fqdn_name_and_content.yaml +index b28a789..7d2ea67 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_fqdn_name_and_content.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_fqdn_name_and_content.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362799,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.fqdn","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:34:56Z","updated_at":"2018-03-23T05:34:56Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_full_name_and_content.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_full_name_and_content.yaml +index 07b3b48..2c89efa 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_full_name_and_content.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_full_name_and_content.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362800,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.full","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:34:58Z","updated_at":"2018-03-23T05:34:58Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_valid_name_and_content.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_valid_name_and_content.yaml +index 7785e65..1c6bf53 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_valid_name_and_content.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_valid_name_and_content.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362801,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.test","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:34:59Z","updated_at":"2018-03-23T05:34:59Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_multiple_times_should_create_record_set.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_multiple_times_should_create_record_set.yaml +index 6cb3b3a..98ae2fa 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_multiple_times_should_create_record_set.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_multiple_times_should_create_record_set.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362802,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.createrecordset","content":"challengetoken1","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:01Z","updated_at":"2018-03-23T05:35:01Z"}}'} + headers: +@@ -180,7 +180,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362803,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.createrecordset","content":"challengetoken2","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:02Z","updated_at":"2018-03-23T05:35:02Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_with_duplicate_records_should_be_noop.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_with_duplicate_records_should_be_noop.yaml +index 8ef2a9e..3a6dba6 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_with_duplicate_records_should_be_noop.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_create_record_with_duplicate_records_should_be_noop.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362804,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.noop","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:03Z","updated_at":"2018-03-23T05:35:03Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_should_remove_record.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_should_remove_record.yaml +index 282cbc1..f969edf 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_should_remove_record.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_should_remove_record.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362805,"zone_id":"lexicontest.com","parent_id":null,"name":"delete.testfilt","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:06Z","updated_at":"2018-03-23T05:35:06Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_fqdn_name_should_remove_record.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_fqdn_name_should_remove_record.yaml +index d5dee2a..9e06d0e 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_fqdn_name_should_remove_record.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_fqdn_name_should_remove_record.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362806,"zone_id":"lexicontest.com","parent_id":null,"name":"delete.testfqdn","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:09Z","updated_at":"2018-03-23T05:35:09Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_full_name_should_remove_record.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_full_name_should_remove_record.yaml +index a75a588..be6639f 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_full_name_should_remove_record.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_filter_with_full_name_should_remove_record.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362807,"zone_id":"lexicontest.com","parent_id":null,"name":"delete.testfull","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:11Z","updated_at":"2018-03-23T05:35:11Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_identifier_should_remove_record.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_identifier_should_remove_record.yaml +index a5567ea..f9402ad 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_identifier_should_remove_record.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_by_identifier_should_remove_record.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362808,"zone_id":"lexicontest.com","parent_id":null,"name":"delete.testid","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:14Z","updated_at":"2018-03-23T05:35:14Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_with_record_set_by_content_should_leave_others_untouched.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_with_record_set_by_content_should_leave_others_untouched.yaml +index c2f5334..c24c8a2 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_with_record_set_by_content_should_leave_others_untouched.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_with_record_set_by_content_should_leave_others_untouched.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362809,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.deleterecordinset","content":"challengetoken1","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:17Z","updated_at":"2018-03-23T05:35:17Z"}}'} + headers: +@@ -180,7 +180,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362810,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.deleterecordinset","content":"challengetoken2","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:18Z","updated_at":"2018-03-23T05:35:18Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_with_record_set_name_remove_all.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_with_record_set_name_remove_all.yaml +index da93ab2..2c0b7c6 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_with_record_set_name_remove_all.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_delete_record_with_record_set_name_remove_all.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362811,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.deleterecordset","content":"challengetoken1","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:21Z","updated_at":"2018-03-23T05:35:21Z"}}'} + headers: +@@ -180,7 +180,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362812,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.deleterecordset","content":"challengetoken2","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:21Z","updated_at":"2018-03-23T05:35:21Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_after_setting_ttl.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_after_setting_ttl.yaml +index 7d42e72..84119ea 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_after_setting_ttl.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_after_setting_ttl.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362813,"zone_id":"lexicontest.com","parent_id":null,"name":"ttl.fqdn","content":"ttlshouldbe3600","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:25Z","updated_at":"2018-03-23T05:35:25Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_should_handle_record_sets.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_should_handle_record_sets.yaml +index 5e059fa..687cf62 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_should_handle_record_sets.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_should_handle_record_sets.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362814,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.listrecordset","content":"challengetoken1","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:27Z","updated_at":"2018-03-23T05:35:27Z"}}'} + headers: +@@ -180,7 +180,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362815,"zone_id":"lexicontest.com","parent_id":null,"name":"_acme-challenge.listrecordset","content":"challengetoken2","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:28Z","updated_at":"2018-03-23T05:35:28Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_fqdn_name_filter_should_return_record.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_fqdn_name_filter_should_return_record.yaml +index a17ecee..6c6e6ac 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_fqdn_name_filter_should_return_record.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_fqdn_name_filter_should_return_record.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362816,"zone_id":"lexicontest.com","parent_id":null,"name":"random.fqdntest","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:30Z","updated_at":"2018-03-23T05:35:30Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml +index 145e9f8..0ac0216 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_full_name_filter_should_return_record.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362817,"zone_id":"lexicontest.com","parent_id":null,"name":"random.fulltest","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:32Z","updated_at":"2018-03-23T05:35:32Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_name_filter_should_return_record.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_name_filter_should_return_record.yaml +index 42ea969..9ba39e6 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_name_filter_should_return_record.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_list_records_with_name_filter_should_return_record.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362818,"zone_id":"lexicontest.com","parent_id":null,"name":"random.test","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:35Z","updated_at":"2018-03-23T05:35:35Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_should_modify_record.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_should_modify_record.yaml +index ff1c482..59edbbd 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_should_modify_record.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_should_modify_record.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362819,"zone_id":"lexicontest.com","parent_id":null,"name":"orig.test","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:38Z","updated_at":"2018-03-23T05:35:38Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_with_fqdn_name_should_modify_record.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_with_fqdn_name_should_modify_record.yaml +index 49fef0f..07bde87 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_with_fqdn_name_should_modify_record.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_with_fqdn_name_should_modify_record.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362820,"zone_id":"lexicontest.com","parent_id":null,"name":"orig.testfqdn","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:40Z","updated_at":"2018-03-23T05:35:40Z"}}'} + headers: +diff --git a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_with_full_name_should_modify_record.yaml b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_with_full_name_should_modify_record.yaml +index 0ab561c..691fd75 100644 +--- a/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_with_full_name_should_modify_record.yaml ++++ b/tests/fixtures/cassettes/dnsimple/IntegrationTests/test_Provider_when_calling_update_record_with_full_name_should_modify_record.yaml +@@ -112,7 +112,7 @@ interactions: + Content-Type: [application/json] + User-Agent: [python-requests/2.18.4] + method: POST +- uri: https://api.sandbox.dnsimple.com/v2762/zones/lexicontest.com/records ++ uri: https://api.sandbox.dnsimple.com/v2/762/zones/lexicontest.com/records + response: + body: {string: !!python/unicode '{"data":{"id":362821,"zone_id":"lexicontest.com","parent_id":null,"name":"orig.testfull","content":"challengetoken","ttl":3600,"priority":null,"type":"TXT","regions":["global"],"system_record":false,"created_at":"2018-03-23T05:35:43Z","updated_at":"2018-03-23T05:35:43Z"}}'} + headers: diff -Nru lexicon-2.2.1/debian/patches/series lexicon-2.2.1/debian/patches/series --- lexicon-2.2.1/debian/patches/series 2018-03-31 12:11:10.000000000 +0200 +++ lexicon-2.2.1/debian/patches/series 2019-04-26 21:24:01.000000000 +0200 @@ -1 +1,2 @@ reproducible-build.patch +fix-dnsimple.patch