Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit ed95f00

Browse files
committed
Update VCR cassettes
1 parent 68cdf83 commit ed95f00

File tree

43 files changed

+7770
-4902
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+7770
-4902
lines changed

tests/fixtures/cassettes/TestFastlyCacheSettings_tearDown.yml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,81 +6,82 @@ interactions:
66
method: GET
77
uri: https://api.fastly.com/service/search?name=Fastly%20Ansible%20Module%20Test
88
response:
9-
body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4CK5APhrRbVyon7iGN64VZ","staging":false,"created_at":"2018-05-30T07:46:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:18Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:28Z","active":true,"number":2,"service_id":"4CK5APhrRbVyon7iGN64VZ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:19Z","comment":""}],"created_at":"2018-05-30T07:46:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:18Z","id":"4CK5APhrRbVyon7iGN64VZ"}'}
9+
body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":""}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq"}'}
1010
headers:
1111
accept-ranges: [bytes]
1212
age: ['0']
1313
cache-control: [no-cache]
1414
connection: [keep-alive]
1515
content-length: ['686']
1616
content-type: [application/json]
17-
date: ['Wed, 30 May 2018 07:46:29 GMT']
17+
date: ['Wed, 30 May 2018 15:01:26 GMT']
1818
status: [200 OK]
1919
vary: [Accept-Encoding]
2020
via: [1.1 varnish, 1.1 varnish]
2121
x-cache: ['MISS, MISS']
2222
x-cache-hits: ['0, 0']
23-
x-served-by: ['app-slwdc9051-SL, cache-fra19138-FRA']
24-
x-timer: ['S1527666389.410069,VS0,VE142']
23+
x-served-by: ['app-slwdc9051-SL, cache-fra19145-FRA']
24+
x-timer: ['S1527692486.161424,VS0,VE182']
2525
status: {code: 200, message: OK}
2626
- request:
2727
body: null
2828
headers:
2929
Content-Type: [application/json]
3030
method: GET
31-
uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/details
31+
uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/details
3232
response:
33-
body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"4CK5APhrRbVyon7iGN64VZ","staging":false,"created_at":"2018-05-30T07:46:18Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:18Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"4CK5APhrRbVyon7iGN64VZ","staging":false,"created_at":"2018-05-30T07:46:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:28Z","deployed":false}],"created_at":"2018-05-30T07:46:18Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T07:46:18Z","id":"4CK5APhrRbVyon7iGN64VZ","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:28Z","active":true,"number":2,"service_id":"4CK5APhrRbVyon7iGN64VZ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\"
33+
body: {string: !!python/unicode '{"name":"Fastly Ansible Module Test","deleted_at":null,"versions":[{"testing":false,"locked":false,"number":1,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T14:42:41Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T14:42:41Z","deployed":false},{"testing":false,"locked":true,"number":2,"active":true,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}],"created_at":"2018-05-30T14:42:41Z","customer_id":"31RPDMBpiruA1yfGA2djLm","comment":"","updated_at":"2018-05-30T14:42:41Z","id":"5Uofg7tBxthwFe9v68mLyq","version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\"
3434
req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set
35-
200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T07:46:28Z","active":true,"number":2,"service_id":"4CK5APhrRbVyon7iGN64VZ","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T07:46:19Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\"
35+
200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}},"active_version":{"testing":false,"staging":false,"updated_at":"2018-05-30T15:01:24Z","active":true,"number":2,"service_id":"5Uofg7tBxthwFe9v68mLyq","deployed":false,"locked":true,"deleted_at":null,"created_at":"2018-05-30T15:01:15Z","comment":"","acls":[],"backends":[{"max_tls_version":null,"ssl_ca_cert":null,"auto_loadbalance":false,"ssl_check_cert":true,"shield":null,"hostname":null,"ssl_client_cert":null,"error_threshold":0,"request_condition":"","first_byte_timeout":15000,"ssl_cert_hostname":null,"weight":100,"client_cert":null,"address":"127.0.0.1","ssl_hostname":null,"ssl_sni_hostname":null,"min_tls_version":null,"ipv6":null,"ipv4":"127.0.0.1","connect_timeout":1000,"ssl_ciphers":null,"name":"localhost","healthcheck":null,"port":80,"max_conn":200,"use_ssl":false,"comment":"","between_bytes_timeout":10000,"ssl_client_key":null}],"cache_settings":[{"stale_ttl":"10","ttl":null,"name":"cache-settings-config-name","action":null,"cache_condition":""}],"conditions":[],"dictionaries":[],"directors":[],"domains":[{"comment":"","name":"example8000.com"}],"gzips":[],"headers":[{"priority":"100","src":"\"https://u.jimcdn.com\"
3636
req.url.path","name":"Set Location header","substitution":"","ignore_if_set":"0","cache_condition":null,"request_condition":null,"regex":"","response_condition":null,"action":"set","type":"response","dst":"http.Location"}],"healthchecks":[],"request_settings":[],"response_objects":[{"request_condition":"","content_type":"","status":"200","response":"Ok","name":"Set
3737
200 status code","content":"","cache_condition":""}],"snippets":[],"vcls":[],"wordpress":[],"settings":{"general.stale_if_error_ttl":43200,"general.stale_if_error":false,"general.default_ttl":3600,"general.default_host":"","general.default_pci":0}}}'}
3838
headers:
3939
accept-ranges: [bytes]
40+
age: ['0']
4041
cache-control: [no-cache]
4142
connection: [keep-alive]
4243
content-length: ['4193']
4344
content-type: [application/json]
44-
date: ['Wed, 30 May 2018 07:46:29 GMT']
45+
date: ['Wed, 30 May 2018 15:01:26 GMT']
4546
status: [200 OK]
4647
vary: [Accept-Encoding]
4748
via: [1.1 varnish, 1.1 varnish]
4849
x-cache: ['MISS, MISS']
4950
x-cache-hits: ['0, 0']
50-
x-served-by: ['app-slwdc9051-SL, cache-fra19127-FRA']
51-
x-timer: ['S1527666390.610238,VS0,VE377']
51+
x-served-by: ['app-slwdc9051-SL, cache-fra19147-FRA']
52+
x-timer: ['S1527692486.401075,VS0,VE116']
5253
status: {code: 200, message: OK}
5354
- request:
5455
body: null
5556
headers:
5657
Content-Type: [application/json]
5758
method: PUT
58-
uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ/version/2/deactivate
59+
uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq/version/2/deactivate
5960
response:
60-
body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"4CK5APhrRbVyon7iGN64VZ","staging":false,"created_at":"2018-05-30T07:46:19Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T07:46:28Z","deployed":false}'}
61+
body: {string: !!python/unicode '{"testing":false,"locked":true,"number":2,"active":false,"service_id":"5Uofg7tBxthwFe9v68mLyq","staging":false,"created_at":"2018-05-30T15:01:15Z","deleted_at":null,"comment":"","updated_at":"2018-05-30T15:01:24Z","deployed":false}'}
6162
headers:
6263
accept-ranges: [bytes]
6364
cache-control: [no-cache]
6465
connection: [keep-alive]
6566
content-length: ['231']
6667
content-type: [application/json]
67-
date: ['Wed, 30 May 2018 07:46:30 GMT']
68-
fastly-ratelimit-remaining: ['673']
69-
fastly-ratelimit-reset: ['1527667200']
68+
date: ['Wed, 30 May 2018 15:01:27 GMT']
69+
fastly-ratelimit-remaining: ['991']
70+
fastly-ratelimit-reset: ['1527696000']
7071
status: [200 OK]
7172
vary: [Accept-Encoding]
7273
via: [1.1 varnish, 1.1 varnish]
7374
x-cache: ['MISS, MISS']
7475
x-cache-hits: ['0, 0']
75-
x-served-by: ['app-slwdc9051-SL, cache-fra19150-FRA']
76-
x-timer: ['S1527666390.048023,VS0,VE482']
76+
x-served-by: ['app-slwdc9051-SL, cache-fra19151-FRA']
77+
x-timer: ['S1527692487.575606,VS0,VE491']
7778
status: {code: 200, message: OK}
7879
- request:
7980
body: null
8081
headers:
8182
Content-Type: [application/json]
8283
method: DELETE
83-
uri: https://api.fastly.com/service/4CK5APhrRbVyon7iGN64VZ
84+
uri: https://api.fastly.com/service/5Uofg7tBxthwFe9v68mLyq
8485
response:
8586
body: {string: !!python/unicode '{"status":"ok"}'}
8687
headers:
@@ -89,15 +90,15 @@ interactions:
8990
connection: [keep-alive]
9091
content-length: ['15']
9192
content-type: [application/json]
92-
date: ['Wed, 30 May 2018 07:46:31 GMT']
93-
fastly-ratelimit-remaining: ['672']
94-
fastly-ratelimit-reset: ['1527667200']
93+
date: ['Wed, 30 May 2018 15:01:27 GMT']
94+
fastly-ratelimit-remaining: ['990']
95+
fastly-ratelimit-reset: ['1527696000']
9596
status: [200 OK]
9697
vary: [Accept-Encoding]
9798
via: [1.1 varnish, 1.1 varnish]
9899
x-cache: ['MISS, MISS']
99100
x-cache-hits: ['0, 0']
100-
x-served-by: ['app-slwdc9051-SL, cache-fra19144-FRA']
101-
x-timer: ['S1527666391.598323,VS0,VE469']
101+
x-served-by: ['app-slwdc9051-SL, cache-fra19132-FRA']
102+
x-timer: ['S1527692487.125148,VS0,VE144']
102103
status: {code: 200, message: OK}
103104
version: 1

0 commit comments

Comments
 (0)